Implement a function mystery( ) that takes as input a positive integer n and answers this
question. How many times can n be halved (using integer division) before reaching 1?
The function mystery that takes as input a positive integer n is given below. The number of times that can n be halved (using integer division) before reaching 1 is infinite.
What are function mysteries?The non-negative integers are used to define the mystery function. The more common name of this method is hidden to avoid tempting you to explore the Web for assistance in completing this task, which would be a very dishonorable thing to do. Assume n has m bits.
Count= 0
While n > 1
n = n
Count += 1
Return count
Once. You now have 1/2. You can split 1/2 in half to make quarters, but that is not dividing one, it is dividing one half. If you mean how long the series of subsequent subdivisions you can make can be, the answer is infinite.
Therefore, the number of times that can n be halved (using integer division) before reaching 1 is infinite.
To learn more about function mysteries, refer to the below link:
https://brainly.com/question/14201335
#SPJ2
P3. Produce a plan to use social media in a business to meet its business requirements.
The plan to use social media in a business include:
It is important to audit the current social presence. The company should document who their Ideal customer is. A mission statement should be created. One should identify the key success metrics. An engaging content should be created. The company should also invest in a social media management tool.It should be noted that using social media in a business is an effective way to meet its business requirements and achieve organizational goals.
Learn more about social media on:
https://brainly.com/question/1163631
Write a program to test if an integer input from the keyboard is odd or even. Sample Run 1: Enter a Number: 78 Even Sample Run 2: Enter a Number: 17 Odd
Answer:
number = int(input("Enter a number: "))
if number % 2 == 0:
print("Even")
else:
print("Odd")
Explanation:
Currently taking python at school. On the last few lessons.
What is the difference between * and **operator? in python
Answer: "**" is used for power off while "*" is used for multiplication
Explanation: you just have to memorize it
In python language the "**" operator is used for 'power of" and "*" is used for multiplication.
To alter the value of operands in Python, utilise the operators constructs. These are the figurative representations of logical, mathematical, and other operations.
Consider the equation 4 + 5 = 9. The operator in this instance is +, and the operands are 4 and 5. We'll examine numerous Python operators in this session.
The following operator categories are supported by the Python language.
Comparison (Relational) Operators for ArithmeticOperators of assignmentsIntelligent OperatorsOperators in bitsOwners of membershipsIndividual OperatorsLet's quickly review each of these operators in turn.In python language the "**" operator is used for 'power of" and "*" is used for multiplication.
Therefore, in python language the "**" operator is used for 'power of" and "*" is used for multiplication.
Learn more about the python language here:
https://brainly.com/question/11288191.
#SPJ3
Which of the four factors of production are hit the hardest when high unemployment occurs ?
Answer:
Economic growth,cyclical and structural factors, demographics, education and training
Explanation:
.........
Tumblr, Jaiku is an example of _____________ website.
a) Microblogging
b) Blogging
c) Social Networking
d) None of the Above
Answer:
Microblogging One of the best-known channels in the microblogging world. Twitter is a quick and convenient way to share short posts, GIFs, article links, videos and more. Pinterest: Companies on Pinterest link to products, articles and other useful information for audiences .Explanation:
Hope this helps you !!The term for an operator that may not evaluate one of its subexpressions is
Answer:
short-circuit
Explanation:
Type the correct answer in each box. Spell all words correctly, and use numerals instead of words for numbers. If necessary, use / for the fraction bar(s). What is the hexadecimal equivalent of the decimal number 125.28? The hexadecimal equivalent of the decimal number 125.28 is
Answer:
125.28₁₀ in hexadecimal = 7D.47AE147AE1₁₆
Step-by-Step Explanation:
To convert decimal number 125.28, we convert its integer and fraction part individually and then add them to get the equivalent hexadecimal number, as below:
To convert integer 125 to hexadecimal, follow these steps:
Divide 125 by 16 keeping notice of the quotient and the remainder. Continue dividing the quotient by 2 until you get a quotient of zero.
Then just write out the remainders in the reverse order to get the equivalent hexadecimal number.
125 / 16 = 7 with remainder 13 (D)
7 / 16 = 0 with remainder 7
Here is the answer to 125 decimal to hexadecimal number:
7D
For converting decimal fraction 0.28 to hexadecimal number, follow these steps:
Multiply 0.28 by 16 keeping notice of the resulting integer and fractional part. Continue multiplying by 16 until you get a resulting fractional part equal to zero (we calcuclate upto ten digits).
Then just write out the integer parts from the results of each multiplication to get equivalent hexadecimal number.
0.28 × 16 = 4 + 0.48
0.48 × 16 = 7 + 0.68000000000001
0.68000000000001 × 16 = 10 (A) + 0.88000000000011
0.88000000000011 × 16 = 14 (E) + 0.080000000001746
0.080000000001746 × 16 = 1 + 0.28000000002794
0.28000000002794 × 16 = 4 + 0.48000000044703
0.48000000044703 × 16 = 7 + 0.68000000715256
0.68000000715256 × 16 = 10 (A) + 0.88000011444092
0.88000011444092 × 16 = 14 (E) + 0.080001831054688
0.080001831054688 × 16 = 1 + 0.280029296875
Here is the answer to 0.28 decimal to hexadecimal number:
0.47AE147AE1
Therefore, decimal number 125.28 converted to hexadecimal is equal:
7D.47AE147AE1
A user calls the help desk to report that a mobile device exhibits very slow performance. What could cause this problem
The performance of a mobile device is relative rather than absolute, since it depends on the utility the user requires of it.
It could be that the space remaining on the storage is low or the ram is too small.
Often times, users tend to load their devices with tonnes of applications not considering the RAM size, available memory of the device, these applications may be space demanding and expensive, and in the long run lead to the low performance of the device.
Learn more about Mobile device specification here:
https://brainly.com/question/25363479
how does the internet bring people farther apart
use a paragraph to answer the question
Answer:
First of all you may not be able to see your friend in person and it gets very sad. Sometimes you call them but they don't answer you because they don't have enough time to talk or they have something else to do. They won't always want to be on the internet you know, they want to go outside and get a life and not be like the FRE-KIN T-I-K T-O-K-E-R-S WHO ARE CHILDREN AND BEING VERY STU-PID AND ARE TOTAL IDIOTS AND SAY STUFF THAT MAKE NO SENSE AND TRY TO GET ATTENTION. OH DON'T BRING TOWARDS THE GA-CHA IT SO TRASH. I still hate gacha :) and I am happy. Another thing is what some people post, you see you meet friends in real life and sometimes you get to know them but you don't know what they might be doing on the internet and another thing is that they post stuff that makes you feel uncomfortable and disgusted.
Explain the 3 types of control transfer structures in programming using flowchart symbols
Answer:
Process Flowchart.
Data Flowchart.
Business Process Modeling Diagram.
How does critical thinking relates to peer assessment?
Answer:
Peer review is a critical component of the life of the mind and an effective teaching strategy for nurturing students' critical thinking skills. ... peer review of writing is most effective when students have an opportunity to revise their writings prior to submitting a grade. Is it true that peer assessment helps students develop their critical thinking skills?
The students' perceptions of the peer evaluation activity were later elicited in interviews and a short written survey. The findings of the study indicate that peer evaluation activities did help in developing critical thinking skills, thus improving their academic writing performance.
Explanation:
There are two kinds of emotions: positive and negative. True False
Answer:
False
Explanation:
There are many emotions the human brain can experience
True or False. The 'C' programming language guarantees that R0 will always contain a zero value on the ATmega328P
1. Go to a popular online electronic commerce site like Amazon. Place several items in your shopping cart, and then go to check out. When you reach the screen that asks for your credit card number, right-click on the Web browser and select Properties. You may need to use the help feature of your browser to find the security protocols in use and the certificates used to secure your transactions. What did you find out about the cryptosystems and protocols in use to protect the transaction
Write a program that:
a) Inputs TWO numbers and finds the average of both numbers, only if BOTH numbers are less than 100
Answer:
num1 = int(input("Enter number 1: "))
num2 = int(input("Enter number 2: "))
if num1 < 100 and num2 < 100:
newnum = num1 + num2
finalnum = newnum // 2
elif num1 >= 100 or num2 >= 100:
print("Invalid input.")
else:
pass
Explanation:
Gg ez.
(I assumed the language was python. Next time, put what programming language you want it to be in.)
what changes might you make to a circuit in order to slow the flow of electrical energy?
Answer: The resistor uses the energy of the electrons around the wire and slows down the flow of electrons.
Explanation:
All Office programs have similar commands on the tab for changing the document view a. File b. View c. Locate d. display
Answer:
B. View
Explanation:
So you can eliminate "Locate" and "Display", since those do not exist on the Microsoft Word task bar.
Now you're left with File and View. File has everything to do with sharing and exporting your file, such as printing or saving it to your computer as a specific file.
With that being said, we're left with "B. View", which as you can see when you click it, presents many us with ways to view our document.
Good luck on your Microsoft Office/Word Certification!
Convert the binary number 100101 to decimal. Show your solution
) Give the assembly language instruction sequence to enable external interrupt 0 (INT0) as an interrupt source and to make it falling-edge triggered. What signal (port and port pin) must be low to trigger a falling-edge trigger event for INT0
"1. What sorts of problems does this declaration imagine being solved through science and technology?"
a web server is a computer that manages files for multiple user on a net work. true or false
See if you can do better then I did
Answer:
no i can't do better ggs
Explanation:
im not smart (also I did answer the question ;) )
Does technology always follow the science,yes or no explain why to choice
Answer:
NoExplanation:
because Technology does not always follow science but it may actually lead science in some instances. An example is weather forecasting.Again Mark me brainliest plz i really need itWhich of the following is not an Error Style for data validation?
Based on the Microsoft Excel data validation, the option that is not an Error Style for data validation is the choice that does not show an error alert.
Given that there is no option available, the best way to answer this question is to show the types of Error Styles for data validation available.
Different types of Error Style for data validationStop style: this will bring the option of "Retry, " "Cancel, " and "Help."Warning style: this will show "Continue," with options of "Yes," "No," "Cancel," and "Help."Information Style: this will ask you to input the whole number with the option of "Ok," "Cancel," and "Help."Hence, in this case, it is concluded that the Error Style for data validation is Stop, Warning, and Information Style.
Learn more about Error Style for data validation here: https://brainly.com/question/18497347
What should you look out for when choosing snacks that seem healthy? How can you make sure that the snacks you are choosing are actually healthy?
Answer:
You can make sure that the snack is healthy by looking at the ingreadents. A healthy snack should not have alot of persavatives and sugars. A good golden rule is if you can't pronaunce the word then its not good for you.
Explanation:
What did World Com do to try to keep its stock price from falling?
Briefly explain the Conleptual model 044
effective computer Based instruction
for adult outlining the three units
(output, process, input)
According to computer analysis, the concept of effective computer-based instruction for adults is the embedment of the fundamental parts of computer-based instruction to provide the expected stratagems for inquiry in CBI for adults.
The three (3) units output, process, and input
Output in CBI External supportCBI DesignInstructional Strategy designProcess in CBISelf DirectednessComputer Self EfficacyLearning Goal LevelOutput in CBILearning OutcomeScreen DesignPractice StrategyHence, in this case, it is concluded that computer-based instructions can be effective for adult learning.
Learn more about Computer Based Instructions here: brainly.com/question/15697793
True or False: Reader Accounts are able to extract data from shared data objects for use outside of Snowflake.
The statement that Reader Accounts are able to extract data from shared data objects for use outside of Snowflake is; A: True
Snowflake is all about cloud computing data warehousing. This platform offers cloud-based data storage and analytics service that enables corporate users to store and analyze data with the aid of their cloud based hardware and software.
Now, Reader Accounts are Snowflake accounts that are created and managed by data providers on behalf of their consumers. These reader accounts make it a lot more easy for organizations to easily share data with anyone and as such they can also extract data from shared objects for use outside of snowflake.
Read more about snowflake at; https://brainly.com/question/9124395
Briefly the conceptual model of effective computer based instruction for adults outlining three units (output, Process and input )