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
Iteru [2.4K]
3 years ago
6

Write a recursive method in pseudo code that returns the number of 1's in the binary representation of n. use the fact that this

equal to the number of 1's in the representation of n/2, plus 1, if n is odd.
Computers and Technology
1 answer:
Deffense [45]3 years ago
4 0
Int count(int num)

if   num==0   return  0;
return   (n&1)+count (n/2)


You might be interested in
How do say phone in French?
olga_2 [115]

Answer:

téléphone

Explanation:

thats how you say phone in French also you can go on Google translate or word reference to translate words.

6 0
4 years ago
Read 2 more answers
An agile team used planning poker to estimate user stories. After all team members read a user story, the facilitator asks every
Natali [406]

Answer:

The answer is "Option B"

Explanation:

In the given-choices, the only option B is correct because by reassessing instantly, the team loses is its advantage of debating its projections and how it chose those assessments, and the wrong choice can be defined as follows:

  • In choice A, Mostly as a unit for the projections, respondents should not use the ideal days.  
  • In choice C, Whenever the procedure should've been anonymous, no cards were released.
  • In choice D, Its mediator was incorrect and the laws were followed.
4 0
3 years ago
Where do deleted files go?
Alexus [3.1K]
Deleted files go to the "Recycle bin"
4 0
3 years ago
Read 2 more answers
(True or False)
Marat540 [252]
True is the right answer.
5 0
3 years ago
Read 2 more answers
Touchdowns were worth 7 points. Braydenand Gavin scored 7 touchdowns. Cole andFreddy's team scored 9 touchdowns. Howmany more PO
Lubov Fominskaja [6]

Answer:

14 points

Explanation:

Touchdowns are worth 7 points

Since Brayden and Gavin scored 7 touchdowns, they will have 7 * 7 = 49 points

Since Cole and Freddy scored 9 touchdowns, they will have 9 * 7 = 63 points

Cole and Freddy have 63 - 49 = 14 more points than Brayden and Gavin.

7 0
4 years ago
Other questions:
  • Which statement is a good reason for backing up your data to the cloud?
    7·2 answers
  • How do you use a iPad when it has a password ?
    9·2 answers
  • Python
    5·1 answer
  • Juan copied and pasted information from a Word document
    8·1 answer
  • What is the purpose of a report?
    14·1 answer
  • Inputting a range of numbers comprising a batch and then inputting each serially numbered document is characteristic of the cont
    11·1 answer
  • Original documents or objects used during Internet research are known as
    8·2 answers
  • Cuales fueron las consecuencias que creo el storm worm (gusano storm, el informatico)??
    5·1 answer
  • What does an arrow after a command indicate
    13·2 answers
  • Which is considered both an input and output device?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!