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
Rzqust [24]
3 years ago
8

(tco 5) how many 4-bit parallel adders are required to add the numbers 5,345 and 3,892? explain how you got your answer.

Computers and Technology
1 answer:
Igoryamba3 years ago
7 0
The sum is 9237. To express this as binary requires log(9237)/log(2) bits ≈ 13.2 bits, rounded up at least 14 bits. (You can check: 2^13 is not enough, 2^14 is enough)

So you need four 4-bit adders, giving you 16 bits resolution.
You might be interested in
Is this statement true or false? You can apply only one of these at a time: underline, bold, or italics. true false
Lelechka [254]
I think false not sure but let other people help u answer and u can decide
8 0
3 years ago
The Java compiler does not check for an ArrayIndexOutorBoundsException during the compilation of a program containing arrays. O
yulyashka [42]

Answer:

TRUE

Explanation:

  • Let us first understand what is an ArrayIndexOutOfBounds Exception.
  • As the name itself suggests the index for the array has gone out of bound (permissible value) and an exception (anamoly) is resulted.
  • So, it throws an error.
  • That means if an array, Employee of size n is defined then the permissible elements are Employee[0] to Employee[n-1]. If any negative index or with the index is greater than n-1 is tried to access it throws an error saying ArrayIndexOutOfBounds Exception.
  • In java, during the compilation of the program the compiler doesn't check for the ArrayIndexOutOfBounds Exception.It checks during running the program.
  • So, it is called a Runtime Exception.
7 0
3 years ago
In 1–2 sentences, describe how you would create a border around a group of cells
iragen [17]
Pick one of the cells you<span> want to format and then click the down arrow beside the </span>Borders<span> button in the Font </span>group<span> on the Home tab. A drop-down menu comes up with all the</span>border<span> options that </span>you can<span> apply to the </span>cell<span> selection</span>
4 0
3 years ago
Read 2 more answers
A loop decision point for an algorithm consists of three features: an initial value, a set of actions to be performed, and a(n)
pychu [463]

Answer:

Option c is the correct answer for the above question.

Explanation:

A loop is used to repeat some lines in some specific times which depends on some conditions of the loop. If a person wants to print "welcome" on 5 times then he can do this by two ways one is writing a print statement 5 times and the other is states a loop that executes 5 times through condition. The loop is described or written by three necessary points which are:-

  1. The fist is to initialize the initial value which tells the compiler for the starting point of the loop.
  2. The second is to any action for that condition variable which takes the loop for the direction of ending points.
  3. The third is a condition that defines the ending point of the loop.

The above question also states about the loop in which first and second points are given then the third point is necessary to complete the sentence which is states in option c. Hence the option c is correct while the other is not because--

  • Option 'a' states about the class operator which is not the part of the loop.
  • Option b states about the documentation plan which is also not the part of the loop.

5 0
3 years ago
Write a function [change,flag] = makeChangeRecursive(cost,paid) that takes the cost of an item cost (a 1x1 double) and the amoun
vaieri [72.5K]

Answer:

The answer to this question can be given as:

function [change,flag]=makeChangeRecursive(cost,paid)          

//define function

change=[];    

flag=false;                  //use flag for true or false.

if((paid-cost)>=100)         //checking condition value greater then equal to 100

[m,f]=makeChangeRecursive(cost,paid-100);

change=[100;m];

flag=true;

return;

elseif((paid-cost)>=50)     //checking condition value greater then equal to 50

[m,f]=makeChangeRecursive(cost,paid-50);       //holding value.

change=[50;m];    

flag=true;

return;

elseif((paid-cost)>=20)    //checking condition value greater then equal to 20

[m,f]=makeChangeRecursive(cost,paid-20);

change=[20;m];

flag=true;

return;

elseif((paid-cost)>=10)      //checking condition value greater then equal to 10

[m,f]=makeChangeRecursive(cost,paid-10);

change=[10;m];

flag=true;

return;

elseif((paid-cost)>=5)         //checking condition value greater then equal to 5

[m,f]=makeChangeRecursive(cost,paid-5);

change=[5;m];    

flag=true;

return;

elseif((paid-cost)>=2)   //checking condition value greater then equal to 2

[m,f]=makeChangeRecursive(cost,paid-2);

change=[2;m];

flag=true;

return;

elseif((paid-cost)>=1)  //checking condition value greater then equal to 1

[m,f]=makeChangeRecursive(cost,paid-1);

change=[1;m];    

flag=true;

return;

elseif((paid-cost)<0)                        //checking condition value less then 0

warning('That''s not enough to but an item.');         //print message

flag=false;

return;

elseif(paid==cost)               //checking condition if value is equal.

flag=1;                                   //falg value.

change=[];

return;    

end                              

end        //end function

Explanation:

In the above program code the function must use the recursion to change the variable.This function run in 4 case i.e. case 1  In this case when we pass the  value [change,flag]=makeChangeRecursive(2,100) in the function so the change value will be 50,20,20,5,2,1,and flag= ,1. In case 2 when we pass the value(3,20) in the function so the change value will be 10,5,2,and flag= ,1. In case 3 when we pass the value(20,20) in the function so the change value will be change= {},flag= 1. In case 4 when we pass the value(59,20) in the function so the change value will be warning message i.e That''s not enough to but an item.

5 0
2 years ago
Other questions:
  • Checking the ___________ will reduce the possibility of having to rebuild or replace the engine.
    9·2 answers
  • Access to sensitive or restricted information is controlled describes which of the key communications and information systems pr
    8·1 answer
  • Using the scenario below, answer the following questions:
    11·1 answer
  • The manager of a sports club has data about the club members' ages in a workbook. He wants to find which age is most common. Whi
    13·2 answers
  • In Windows 7/Vista, the information that establishes basic settings such as the location of the operating system and other key s
    7·1 answer
  • How do you know when a spreadsheet object is active in a powerpoint presentation?
    11·1 answer
  • How can you continue learning about computer science and improve your coding abilities?
    5·1 answer
  • (I WILL GIVE BRAINLIEST) Which steps will delete an appointment?
    8·1 answer
  • What is a personal data?
    12·1 answer
  • How many times is the second for loop going to loop in this block of code? Write your answer in numeric form in the box provided
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!