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
aleksley [76]
3 years ago
9

Consider a computer with identical interpreters at levels 1, 2, and 3. It takes an interpreter n instructions to fetch, examine,

and execute one instruction (interpreter at each level to execute an instruction at that level). A level-1 instruction takes k nanoseconds to execute. How long does it take for an instruction at levels 2 and 3?
Computers and Technology
1 answer:
alexandr1967 [171]3 years ago
3 0

Answer:

instruction execution times at level 2 is kn

instruction execution times at level 2 is kn²

Explanation:

At each level,  a factor of n is lost. It is given that it takes an interpreter n instructions to fetch, examine, and execute one instruction. So if at level-1 an instruction takes k nanoseconds to execute then at level-2 instruction takes kn to execute as at each level we tend to lose a factor of n. At level-3 instruction takes k(n.n) = kn² to execute.

You might be interested in
As they relate to databases, which of the following describes forms?
melomori [17]

D is the correct answer.

3 0
4 years ago
Read 2 more answers
What will the value of x be after the following statements execute? int x = 0; int y = 5; int z = 4; x = y z * 2;
Diano4ka-milaya [45]
Technically you'd get a compile error, due to the absence of a semi-colon after the forth statement (x = y z * 2; is invalid). Additionally, z * 2; is an invalid statement, as all programming languages that I know require you to specify the new value of z, such as (z = z * 2) or (z *= 2).

If we assume there's a semi-colon there, then the value of x after the following statements would be 5, as we are setting x's value to the value of y (which is 4), and x is never again modified in those statements.
3 0
3 years ago
How do you print a document?
Anton [14]
Press ctrl +p and select the printer name then press print
5 0
3 years ago
Read 2 more answers
Mathematics and computer science share the concept of recursion.
GarryVolchara [31]

5! is equal to 120.

5 * 4 * 3 * 2 * 1 = 120

4 0
3 years ago
Read 2 more answers
How to send an email without showing recipients outlook
tia_tia [17]

Answer:

Outlook. When you open a new blank email in Outlook, click on the “Options” tab. From there, you'll want to select the Bcc field in the message header. This is your “blind carbon copy” option, meaning that your email recipients will not see other names on the list.

Explanation:

4 0
3 years ago
Other questions:
  • Which of the following is the MOST important consideration when planning your budget?
    15·2 answers
  • If the motherboard is not getting power, it will not start the boot. ... A four-year old laptop will not boot and presents error
    13·1 answer
  • Which one of the following types of statements is an instruction to replace the existing value of a variable with another value?
    13·1 answer
  • 7d2b:00a9:a0c4:0000:a772:00fd:a523:0358
    12·1 answer
  • Chris is a project manager. He would like to schedule a status meeting for the next week. Several of the group members work at a
    12·1 answer
  • Help????????????1,2,3,4,5,6
    15·1 answer
  • Name the major types of computer systems from slowest to fastest. ​
    9·1 answer
  • Label the parts of the plated salad.
    9·1 answer
  • What is the maximum number of guesses it will take to find a number <br> between 1 and 64?
    11·1 answer
  • Explain the unique reason why assember language is perfered to high level language
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!