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]
3 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]3 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]3 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
Write a Bare Bones program that takes as input a value for X and places 4 times the value of X into the value of Z. The value of
Vlada [557]

Answer:

See the code snippet in the explanation section

Explanation:

import java.util.Scanner;

public class BareBonesProgram{

public static void main (String[] args){

 Scanner scan = new Scanner(System.in);

 System.out.println("Please enter the value of x: ");

 int x = scan.nextInt();

 int z = 4 * x;

 System.out.println("The value of z is: " + z);

 System.out.println("The value of x is: " + x);

}

}

6 0
3 years ago
Class ____________ allow you to create one version of a class, without having to replicate code to handle multiple data types.
nasty-shy [4]

Class <em>t</em><em>e</em><em>m</em><em>p</em><em>l</em><em>a</em><em>t</em><em>e</em><em>s</em> allow you to create one version of a class, without having to replicate code to handle multiple data types.

7 0
2 years ago
Read 2 more answers
Directions: Using the decoder key and the code chart on the second page, find out the name that has been coded. After coding the
Karo-lina-s [1.5K]

What is the decodder key???

7 0
4 years ago
When you hear the word "automation" what comes to mind?
zloy xaker [14]

Answer:

The act of operation without direct control by a person.

Explanation:

The encyclopedia describes automation as “the procedure of producing an equipment, a method, or an arrangement function automatically.” We describe automation as "the formulation and utilization of technology to observe and regulate the reproduction and distribution of products and assistance.” to the society.

4 0
3 years ago
The ____ allows 127 different devices to connect to a computer via a single usb port on the computer’s system unit
hram777 [196]
<span>I'm 100% sure that correct answer should look like this: The USB standart port allows 127 different devices to connect to a computer via a single usb port on the computer’s system unit.</span>
4 0
3 years ago
Other questions:
  • In your memo, give three new employees directions for starting the computer and opening a word-processing document.
    9·1 answer
  • Which word most likely means "a timepiece fitted with a recording device that marks down exact intervals of time"? chronograph c
    9·2 answers
  • When you use your fingerprint on a reader attached to your computer to authenticate yourself as the legitimate computer user, wh
    6·1 answer
  • Name two common methods for performing dependency injection.
    15·1 answer
  • What car Is this because I want it for my daughters sweet 16th birthday
    13·1 answer
  • How do i recover a google account that was deleted?
    7·1 answer
  • Discuss the following
    14·1 answer
  • How to follow accounts on brainy
    11·1 answer
  • Select the correct answer.
    6·1 answer
  • What are the advantages of mine shaft gear and the disadvantaged​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!