1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
icang [17]
2 years ago
9

Give a big-O estimate for the number of comparisons used by the algorithm that determines the number of 1s in a bit string of le

ngth n by examining each bit of the string to determine whether it is a 1 bit.
Computers and Technology
2 answers:
larisa [96]2 years ago
7 0
The answer is "n". 
Algorithms are considered to be process or a bunch or rules that is to be followed in computing or calculating. This is used to solve operational problems especially by a computer. Algorithms perform data processing, calculation<span>, </span><span>or/and </span>automated reasoning<span> activities. </span><span>

</span>
Illusion [34]2 years ago
3 0
The notation would be O (n-1) because there would be no need to compare with the first bit however this notation is most commonly noted as O (n) but the first is also technically correct
You might be interested in
Public static void prefixmerge(customer[] list1, customer[] list2, customer[] result {
White raven [17]
I can't get what do you need, but I guess it's a part of java code. I can explain what it means. It's used to unite two rising sorted arrays which are list1 and list2. The result is stored in result array. I suggest you to clearly explain your task as it's difficult to give you correct answer.
8 0
3 years ago
Careful driving requires appropriate reaction time, both simple and complex. Braking and then shifting gears, followed by signal
QveST [7]
The correct answer is complex.
There are two types of reaction times when it comes to driving - simple and complex. Simple reaction time refers to your action after receiving some sort of a stimulus - when you see the red light, you are supposed to break. When it comes to complex reaction time, however, it has to do with your assessment of the situation, and realization what it is you have to do in order to avoid an accident, for example. 
4 0
3 years ago
Read 2 more answers
Name all the keys of the home row.
Kaylis [27]

Answer:

Search key, a, s, d, f, g, h, j, k, l, : and ;, ¨ and ´, and the enter key.

5 0
3 years ago
5
Tom [10]

Answer:

ما هو السؤال هنا؟

Explanation:

من فضلك أجب.

8 0
2 years ago
Read 2 more answers
Which type of data is generally stored in different file formats, such as text files, spreadsheets, and so on?
zepelin [54]

Answer:

Plain text storage (eg, CSV, TSV files)

Sequence Files.

Avro.

Parquet.

3 0
2 years ago
Read 2 more answers
Other questions:
  • 1. Grade data is:
    5·1 answer
  • Functions that are built-in into PHP to perform some standard operations.
    15·1 answer
  • . Html documents are created by adding what to text?
    13·1 answer
  • How long does food remain in the small intestine?
    15·1 answer
  • What type of account provides the same functions as managed service accounts but can be managed across multiple servers as in a
    8·1 answer
  • PLZ help
    5·1 answer
  • "The principle of ______________ states that programs tend to access data and instructions nearby recently used data and instruc
    12·1 answer
  • If you are writing an algorithm and you aren’t confident that you understand the problem, what can you do?
    7·1 answer
  • You've just installed a new video card in a user's Windows workstation. When the system is powered on the screen is blank. You
    10·1 answer
  • What role does the automated surface observing system.
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!