Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

What is ISA? a. Specifications of Machine code, Addressing modes, and etc.. b. S

ID: 3907667 • Letter: W

Question

What is ISA?

a. Specifications of Machine code, Addressing modes, and etc..

b. Specifications of Programming Languages, Data Types, etc..

c. Specifications of RAM (Internal Memory), Hard Drive, etc..

d. Specifications of Network Interface Cards, Ports, etc..

Which of the following will affect the performance of a program?

a. Algorithm of the program

b. Efficiency of the compiler

c. ISA of the Computer

d. All of the above

Consider a program that takes 16 sec to execute. It has two parts A and , where Part A runs for 9 sec and Part B runs for 7 sec. Sam discovered that with same cost part A can be improved to run 3 times faster, OR part B can be improved to run 7 times faster (but both parts cannot be improved at the same time). Which part should be improved to get better overall performance?

a. Part A, because it takes longer time to execute- make common case faster

b. Part B, because it can be improved to run 7 times faster

c. Either A or B ; both improvements give same overall performance (10 sec)

d. Neither A nor B; based on Amdhal’s law the overall performance cannot be improved

If 110b= 1210, what is b (in base 10)?

a. 8

b. 4

c. 3

d 2

Explanation / Answer

ISA

Answer: Option B

Different programming languages have different datatypes.

Which will affect the performance of a program

Answer: Option A

An algorithm written for the program will affect the performance.

Which part can be improved for better performance

Answer; Option B

Part B can be improved to achieve good performance as it is 7 times faster

110b=1210 then the value of b is 3

Answer: Option C

110 base 3 yields a value of 12 which is base 10.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote