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
Ratling [72]
3 years ago
8

Which of the following sentences is correct?a. Arithmetic log unit is used to perform both integer and floating point computatio

nb. CPU is used to fetch, decode and execute instructionsc. Control unit is used to perform integer arithmetic and bitwise logic operationsd. B and C only"
Computers and Technology
1 answer:
Alexxx [7]3 years ago
5 0

Answer:

Option B is correct.

CPU is used to fetch, decode and execute instructions. The CPU component used to perform this specific task is the Control Unit.

Explanation:

- The arithmetic-logic unit (ALU) is the part of a computer processor (CPU) that carries out arithmetic and logic operations on the operands in computer instruction words.

It doesn't do floating point computations (That's for the Floating Point Unit (FPU)). This makes option A false.

- Principal components of a CPU include the arithmetic logic unit (ALU) that performs arithmetic and logic operations, processor registers that supply operands to the ALU and store the results of ALU operations, and a control unit that ***orchestrates the fetching (from memory) and execution of instructions*** by directing the coordinated operations of the ALU, registers and other components.

- Control Unit is a component of a computer's central processing unit (CPU) that directs the operation of the processor. It tells the computer's memory, arithmetic and logic unit and input and output devices how to respond to the instructions that have been sent to the processor.

It is not directly and expressly used to perform integer arithmetic and bitwise logic operations.

You might be interested in
Why are response tests more difficult for some students? What can you do to make them easier for yourself?
Kobotan [32]

Answer:

Because some students think that teachers give you hard things so you could pass to go to a grade, if you study you might pass

3 0
3 years ago
Read 2 more answers
Which of the following describes the phishing method of information security crime?
Marianna [84]
<span>C. pretending to be someone else when asking for information</span>
3 0
3 years ago
Read 2 more answers
Which option should Gina click to edit the text contained in a text box on a slide in her presentation?
topjm [15]
Text box
hope this helped
3 0
2 years ago
The term callee save denotes the case where the __________ (calling / called) program saves the contents of registers whose cont
marysya [2.9K]

Answer:

The right approach is "called". The further explanation is described below.

Explanation:

  • Callee saved suggests that whenever the feature returns or exists, the callee needs to save other registrations and afterward recover them at either the conclusion of the conversation even though they have the promise for the caller just to maintain these very same values.
  • It's indeed necessary to retrieve them, even though at any stage mostly during call individuals are pummeling.
4 0
3 years ago
Define the missing method. licenseNum is created as: (100000 * customID) licenseYear, where customID is a method parameter. Samp
g100num [7]

Answer:

I am writing the program in JAVA and C++

JAVA:

public int createLicenseNum(int customID){  //class that takes the customID as parameter and creates and returns the licenseNum

       licenseNum = (100000 * customID) + licenseYear;  //licenseNum creation formula

       return(licenseNum);     }

In C++ :

void DogLicense::CreateLicenseNum(int customID){ //class that takes the customID as parameter and creates the licenseNum

licenseNum = (100000 * customID) + licenseYear; } //licenseNum creation formula

Explanation:

createLicenseNum method takes customID as its parameter. The formula inside the function is:

licenseNum = (100000 * customID) + licenseYear;

This multiplies 100000 to the customID and adds the result to the licenseYear and assigns the result of this whole expression to licenseNum.

For example if the SetYear(2014) means the value of licenseYear is set to 2014 and CreateLicenseNum(777) this statement calls createLicenseNum method by passing 777 value as customID to this function. So this means licenseYear = 2014 and customID  = 777

When the CreateLicenseNum function is invoked it computes and returns the value of licenseNum as:

licenseNum = (100000 * customID) + licenseYear;

                     = (100000 * 777) + 2014

                     = 77700000 + 2014

licenseNum = 77702014                                                                                                        

So the output is:

Dog license: 77702014          

To call this function in JAVA:

public class CallDogLicense {

public static void main(String[] args) {//start of main() function

    DogLicense dog1 = new DogLicense();//create instance of Dog class

dog1.setYear(2014); // calls setYear passing 2014

dog1.createLicenseNum(777);// calls createLicenseNum passing 777 as customID value

System.out.println("Dog license: " + dog1.getLicenseNum()); //calls getLicenseNum to get the computed licenceNum value

return; } }

Both the programs along with the output are attached as a screenshot.

3 0
4 years ago
Read 2 more answers
Other questions:
  • Ideally, how often should you back up the data on your computer? once an hour, once a day, once a month, once a year. Please hur
    5·2 answers
  • Which payment type is best if you are trying to sick to a budget?
    15·1 answer
  • Which option identifies the two natural wind patterns that move air masses in the United States?
    5·2 answers
  • You are managing an FTP server installed in Ubuntu Server. The server has created a very large log le, vsftpd.log. Which command
    14·1 answer
  • Briefly describe the fundamental differences between project-based and product-based Software Engineering.
    10·1 answer
  • An organization has hired a new remote workforce. Many new employees are reporting that they are unable to access the shared net
    11·1 answer
  • Write a loop that finds the sum of the numbers between 7 and 34
    11·1 answer
  • Create a Python program that computes the cost of carpeting a room. Your program should prompt the user for the width and length
    10·1 answer
  • Amaya is curious how her computer actually boots up. Which of the
    6·2 answers
  • What is the duty of WHH? (white hat hackers)<br><br><br>ANY WHH HERE?<br>​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!