wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Selection Considerations Quiz

Total questions: 100

Worksheet time: 50mins

Name
Class
Date
1.

From a purchasing perspective, which aspect is important when choosing a computer?

a)

Fastest execution speed

b)

Lowest power consumption

c)

Best design architecture

d)

Highest cost

2.

What is a key consideration from a design perspective when selecting computer architecture?

a)

Highest power consumption

b)

Fastest execution speed

c)

Most expensive hardware

d)

Largest size

3.

What do both purchasing and design perspectives require when evaluating computers?

a)

Aesthetic appeal

b)

Brand popularity

c)

Basis for comparison

d)

Color variety

4.

What are the three important metrics for computers mentioned in the document?

a)

Speed, reliability, and cost

b)

Performance, cost, and energy consumption

c)

Efficiency, durability, and size

d)

Performance, speed, and reliability

5.

What factors decide the performance and energy consumption of a computer?

a)

Software only

b)

Hardware only

c)

Both hardware and software

d)

Neither hardware nor software

6.

Which factors influence the cost of a computer according to the document?

a)

Software complexity and user interface

b)

Hardware complexity and production volume

c)

Energy consumption and speed

d)

Performance and reliability

7.

What do we want to understand about computer design?

a)

The color of the computer

b)

The factors contributing to overall system performance

c)

The brand of the computer

d)

The size of the computer

8.

What can we answer once we understand computer performance factors?

a)

Why some software is more expensive

b)

Why some hardware is better for a program

c)

Why computers are heavy

d)

Why screens are large

9.

How does understanding instruction set architecture help?

a)

It helps in designing colorful interfaces

b)

It affects performance

c)

It determines the weight of the computer

d)

It decides the price of the computer

10.

Which airplane has the best passenger capacity?

a)

Boeing 777

b)

Boeing 747

c)

Concorde

d)

Douglas DC-8

11.

Which airplane has the best cruising range?

a)

Boeing 777

b)

Boeing 747

c)

Concorde

d)

Douglas DC-8

12.

Which airplane has the best cruising speed?

a)

Boeing 777

b)

Boeing 747

c)

Concorde

d)

Douglas DC-8

13.

Which airplane has the best passenger throughput?

a)

Boeing 777

b)

Boeing 747

c)

Concorde

d)

Douglas DC-8

14.

What is execution time?

a)

The total work done per unit time

b)

How long it takes to finish a task

c)

The speed of data transfer

d)

The amount of data processed

15.

Why is throughput important?

a)

It determines the speed of a single task

b)

It is crucial for individual users

c)

It is important to data centers

d)

It measures the energy consumption

16.

What can a faster processor reduce?

a)

Throughput

b)

Execution time

c)

Energy consumption

d)

Data storage

17.

What can an extra processor increase?

a)

Execution time

b)

Data storage

c)

Throughput

d)

Energy consumption

18.

What is the formula for performance in terms of execution time?

a)

Performance = Execution Time

b)

Performance=ExecutionTime2Performance = Execution Time^2

c)

Performance = 1/Execution Time

d)

Performance = Execution Time/2

19.

If computer X is n times faster than computer Y, what is the relationship between their performances?

a)

performance_X = performance_Y * n

b)

performance_X/performance_Y = n

c)

performance_X = performance_Y/n

d)

performance_X * performance_Y = n

20.

If a program takes 10 seconds on computer A and 15 seconds on computer B, how many times faster is computer A than computer B?

a)

1.2 times

b)

1.5 times

c)

2 times

d)

0.5 times

21.

What is the execution time of a program on a computer measured by?

a)

Wall clock time

b)

CPU speed

c)

Memory usage

d)

Network latency

22.

Which components are involved in measuring the execution time of a program?

a)

CPU, hard disk, memory, I/O, operating system

b)

Only CPU and memory

c)

Only hard disk and I/O

d)

Only operating system

23.

What does CPU execution time not include?

a)

Time to wait for I/O

b)

Time spent on a program

c)

Time spent on calculations

d)

Time spent on data transfer

24.

What are the two parts of CPU time?

a)

User CPU time and System CPU time

b)

Execution time and Response time

c)

Input time and Output time

d)

Processing time and Idle time

25.

What is User CPU time used to measure?

a)

CPU performance

b)

Memory performance

c)

Network performance

d)

Disk performance

26.

What is used to measure CPU time in a program?

a)

Number of CPU clock cycles

b)

Amount of RAM

c)

Number of CPU cores

d)

Size of the hard drive

27.

What do CPUs use to coordinate and synchronize activities?

a)

Clock signals

b)

Data buses

c)

Power supply

d)

Heat sinks

28.

What is the relationship between clock rate and clock period?

a)

Clock rate = 1 / clock period

b)

Clock rate = clock period x 2

c)

Clock rate = clock period + 1

d)

Clock rate = clock period - 1

29.

What is the clock period of a 1GHz CPU?

a)

1ns

b)

10ns

c)

100ns

d)

1000ns

30.

What is one method to reduce CPU time to improve performance?

a)

Increase the clock period

b)

Reduce the clock period

c)

Increase the number of clock cycles

d)

Increase the clock rate

31.

What might be a consequence of reducing the clock period?

a)

Decrease in clock cycles

b)

Increase in clock cycles

c)

Decrease in clock rate

d)

Increase in clock rate

32.

What is the formula for CPU time for a program?

a)

CPU time = (# CPU clock cycles for a program) x (clock rate)

b)

CPU time = (# CPU clock cycles for a program) / (clock period)

c)

CPU time = (# CPU clock cycles for a program) x (clock period)

d)

CPU time = (# CPU clock cycles for a program) + (clock rate)

33.

What trade-off must engineers often consider to achieve higher performance?

a)

Clock rate and memory size

b)

Clock period and power consumption

c)

Clock rate and cycle count

d)

Cycle count and memory speed

34.

How long does it take Computer B to run the same program as Computer A, given that Computer A needs 10 seconds and has a 4 GHz clock, while Computer B runs at 8 GHz and needs 1.2 times as many clock cycles?

a)

6 seconds

b)

8 seconds

c)

10 seconds

d)

12 seconds

35.

What is the formula for calculating CPU time for a program?

a)

CPU time = (# CPU clock cycles for a program) / (clock rate)

b)

CPU time = (clock rate) / (# CPU clock cycles for a program)

c)

CPU time = (# CPU clock cycles for a program) x (clock rate)

d)

CPU time = (clock rate) x (# CPU clock cycles for a program)

36.

What is one method to determine the number of CPU clock cycles for a program?

a)

Run the program on a computer or its simulator

b)

Count the number of lines in the code

c)

Measure the power consumption

d)

Check the memory usage

37.

What is the formula to estimate CPU clock cycles for a program?

a)

CPU clock cycles = instruction count x CPI

b)

CPU clock cycles = instruction count + CPI

c)

CPU clock cycles = instruction count / CPI

d)

CPU clock cycles = instruction count - CPI

38.

What does the instruction count represent?

a)

The number of executed instructions in a program

b)

The number of lines of code

c)

The number of functions in a program

d)

The number of variables used

39.

What does CPI stand for in the context of CPU clock cycles?

a)

Clock cycles per instruction

b)

Cycles per iteration

c)

Central processing index

d)

Core performance indicator

40.

What is the formula for CPU time according to the performance equation?

a)

CPU time = instruction count x CPI x clock period

b)

CPU time = instruction count + CPI + clock period

c)

CPU time = instruction count / CPI / clock period

d)

CPU time = instruction count - CPI - clock period

41.

How can instruction count be measured?

a)

By using a profiler or simulator

b)

By using a calculator

c)

By using a stopwatch

d)

By using a thermometer

42.

What does CPI stand for in the context of CPU performance?

a)

Cycles Per Instruction

b)

Cycles Per Interval

c)

Cycles Per Integration

d)

Cycles Per Input

43.

Why might the same instruction require different numbers of clock cycles?

a)

Due to different conditions, such as instruction sequence

b)

Due to the color of the CPU

c)

Due to the size of the CPU

d)

Due to the brand of the CPU

44.

Which computer's CPU is faster based on the given clock periods and CPI values?

a)

Computer A

b)

Computer B

c)

Both are equally fast

d)

Cannot be determined

45.

What is the clock period of Computer A?

a)

250ps

b)

500ps

c)

2.0ps

d)

1.2ps

46.

What is the CPI of Computer B for the program?

a)

2.0

b)

1.2

c)

500ps

d)

250ps

47.

What is the ratio of performance between Computer A and Computer B?

a)

1.2

b)

2.0

c)

0.5

d)

1.0

48.

What is an instruction mix?

a)

A measure of the frequency of instructions in one or many programs

b)

A type of programming language

c)

A method for optimizing code

d)

A tool for debugging software

49.

How is instruction mix measured?

a)

By the percentage of different instruction types/classes

b)

By the speed of execution

c)

By the number of lines of code

d)

By the memory usage

50.

What do instructions in the same class have in common?

a)

Similar CPI

b)

Similar memory usage

c)

Similar execution time

d)

Similar syntax

51.

Which of the following is an example of an instruction mix?

a)

50% ALU instructions, 20% load instructions, 10% store instructions, 20% branch instructions

b)

30% ALU instructions, 30% load instructions, 30% store instructions, 10% branch instructions

c)

40% ALU instructions, 30% load instructions, 20% store instructions, 10% branch instructions

d)

25% ALU instructions, 25% load instructions, 25% store instructions, 25% branch instructions

52.

What is the formula to estimate CPU clock cycles for a program using instruction mix?

a)

CPU clock cycles = instruction count x CPI

b)

CPU clock cycles = instruction count / CPI

c)

CPU clock cycles = instruction count + CPI

d)

CPU clock cycles = instruction count - CPI

53.

In the formula for CPU clock cycles, what does $ C_i $ represent?

a)

The number of classes

b)

The number of instructions in class $ i $

c)

The average clock cycles per instruction in class $ i $

d)

The percentage of instructions in class $ i $

54.

What does $ P_i $ stand for in the context of instruction mix?

a)

The number of classes

b)

The number of instructions in class $ i $

c)

The average clock cycles per instruction in class $ i $

d)

The percentage of instructions in class $ i $

55.

How is the total CPU clock cycles for a program calculated using the summation formula?

a)

i=1n(Ci+CPIi)\sum_{i=1}^{n} (C_i + CPI_i)

b)

i=1n(Ci×CPIi)\sum_{i=1}^{n} (C_i \times CPI_i)

c)

i=1n(CiCPIi)\sum_{i=1}^{n} (C_i - CPI_i)

d)

i=1n(Ci/CPIi)\sum_{i=1}^{n} (C_i / CPI_i)

56.

What is the CPI for the first code sequence?

a)

2

b)

1.5

c)

3

d)

2.5

57.

How many instructions of class A are in the second code sequence?

a)

2

b)

4

c)

1

d)

3

58.

Which code sequence is faster based on the given CPI values?

a)

First code sequence

b)

Second code sequence

c)

Both are equally fast

d)

Cannot be determined

59.

What is the formula for calculating CPU clock cycles?

a)

CPU clock cycles = instruction count x CPI

b)

CPU clock cycles = instruction count / CPI

c)

CPU clock cycles = CPI / instruction count

d)

CPU clock cycles = instruction count + CPI

60.

What is the percentage of ALU instructions in the given instruction mix?

a)

50%

b)

20%

c)

10%

d)

30%

61.

What is the CPI for Load instructions in the given instruction mix?

a)

1

b)

5

c)

3

d)

2

62.

How much faster would the computer be if a better architecture reduced the average load time to 2 cycles?

a)

1.375 times

b)

1.5 times

c)

1.25 times

d)

1.75 times

63.

What is the formula for performance in terms of execution time?

a)

performance = execution_time

b)

performance = execution_time / 2

c)

performance = 1 / execution_time

d)

performance = execution_time x 2

64.

How is CPU execution time for a program calculated?

a)

CPU execution time = # CPU clock cycles x clock rate

b)

CPU execution time = # CPU clock cycles / clock rate

c)

CPU execution time = # CPU clock cycles + clock period

d)

CPU execution time = # CPU clock cycles - clock period

65.

What is the relationship between CPU clock cycles and instruction count?

a)

CPU clock cycles = instruction count / CPI

b)

CPU clock cycles = instruction count + CPI

c)

CPU clock cycles = instruction count x CPI

d)

CPU clock cycles = instruction count - CPI

66.

How can CPU time be expressed in terms of instruction count, CPI, and clock period?

a)

CPU time = Instruction count / CPI / clock period

b)

CPU time = Instruction count x CPI x clock period

c)

CPU time = Instruction count + CPI + clock period

d)

CPU time = Instruction count - CPI - clock period

67.

What is the formula for CPU time?

a)

CPU time = instruction count + CPI + clock period

b)

CPU time = instruction count x CPI x clock period

c)

CPU time = instruction count / CPI / clock period

d)

CPU time = instruction count - CPI - clock period

68.

Which factor can be improved to reduce the clock period?

a)

Programming language

b)

Algorithm

c)

Hardware architecture and IC design technology

d)

Compiler

69.

What does CPI stand for in the context of CPU performance?

a)

Cycles Per Instruction

b)

Clock Period Interval

c)

Central Processing Interface

d)

Computational Performance Index

70.

Which method can lower both instruction count and CPI?

a)

Improving hardware architecture

b)

Enhancing compiler

c)

Changing programming language

d)

Modifying algorithm

71.

What is Amdahl's Law used for?

a)

To evaluate potential performance improvement of new design

b)

To calculate the cost of new hardware

c)

To determine the lifespan of a program

d)

To assess the security of a system

72.

According to Amdahl's Law, what should be made fast?

a)

The common case

b)

The rare case

c)

The entire system

d)

The unaffected part

73.

In the given example, if a program runs in 100 seconds and multiplication is responsible for 80 seconds, how much do we need to improve the speed of multiplication to make the program run 4 times faster?

a)

16 times

b)

4 times

c)

8 times

d)

20 times

74.

What does MIPS stand for in the context of computer performance?

a)

Million Instructions per Second

b)

Multiple Instructions per Second

c)

Mega Instructions per Second

d)

Micro Instructions per Second

75.

Why should MIPS not be used to compare computers with different ISAs?

a)

MIPS is a universal standard

b)

MIPS varies with ISA

c)

MIPS is always constant

d)

MIPS is not related to ISA

76.

How is MIPS calculated?

a)

(executiontime)/(instructioncountx106)(execution time)/(instruction count x 10^6)

b)

(instruction count)/(execution time x 10^6)

c)

(execution time x 10^6)/(instruction count)

d)

(instructioncountx106)/(executiontime)(instruction count x 10^6)/(execution time)

77.

What is a common joke about MIPS among computer salesmen?

a)

Meaningful Indication of Processor Speed

b)

Meaningless Indication of Processor Speed

c)

Major Indication of Processor Speed

d)

Minor Indication of Processor Speed

78.

What is the execution time for compiler 1 on a 4 GHz machine?

a)

2.5 seconds

b)

3.75 seconds

c)

4.0 seconds

d)

2.0 seconds

79.

What is the MIPS rating for compiler 2 based on the given testing sequences?

a)

3200 MIPS

b)

2800 MIPS

c)

3000 MIPS

d)

3500 MIPS

80.

Which of the following is the correct formula for calculating execution time?

a)

Execution time = CPU clock cycles / clock rate

b)

Execution time = clock rate / CPU clock cycles

c)

Execution time = CPU clock cycles x clock rate

d)

Execution time = clock rate x CPU clock cycles

81.

What is the CPI for instruction class B?

a)

2

b)

1

c)

3

d)

4

82.

What is the best way to determine the performance of a computer?

a)

Running synthetic benchmarks

b)

Running real application programs

c)

Checking hardware specifications

d)

Using theoretical models

83.

What is benchmarking used for in computer performance evaluation?

a)

To increase the speed of the computer

b)

To evaluate performance under realistic workload

c)

To reduce power consumption

d)

To improve software compatibility

84.

What does a workload consist of in the context of benchmarking?

a)

A single program running multiple times

b)

A set of programs running on a computer

c)

A list of hardware components

d)

A collection of user data

85.

What should be specified when defining a workload for benchmarking?

a)

The operating system version

b)

The programs and their relative frequency

c)

The network speed

d)

The user interface design

86.

Which benchmark is used for CPU performance in desktops?

a)

SPEC CPU2006

b)

SPECweb99

c)

EEMBC

d)

SPEC CPU2010

87.

What is SPECweb99 used for?

a)

Web server benchmarking

b)

CPU performance

c)

Embedded systems

d)

Video playback

88.

What does EEMBC stand for?

a)

EDN Embedded Microprocessor Benchmark Consortium

b)

Electronic Embedded Microprocessor Benchmark Consortium

c)

Embedded Microprocessor Benchmarking Corporation

d)

Embedded Microprocessor Benchmarking Council

89.

What should a performance report include besides the results?

a)

Hardware configuration and OS versions

b)

Only the final results

c)

User feedback

d)

Marketing strategies

90.

What is the arithmetic mean (AM) used for in summarizing performance?

a)

To calculate the total execution time of all programs

b)

To find the average execution time of all programs

c)

To determine the fastest program in the set

d)

To compare the execution time of two specific programs

91.

What does a smaller arithmetic mean (AM) indicate in terms of performance?

a)

Larger average execution time and reduced performance

b)

Smaller average execution time and improved performance

c)

No change in execution time or performance

d)

Increased workload and decreased performance

92.

What is the weighted arithmetic mean (WAM) used for?

a)

To calculate the total execution time of all programs

b)

To find the average execution time of all programs

c)

To account for the percentage contribution of each program to the workload

d)

To determine the fastest program in the set

93.

In what scenario does the arithmetic mean (AM) become a special case of the weighted arithmetic mean (WAM)?

a)

When all execution times are zero

b)

When all weights $ W_i $ are equal

c)

When there is only one program

d)

When the execution times are identical

94.

Which computer is faster when both programs are used at the same frequency in the workload?

a)

Computer A

b)

Computer B

c)

Both are equally fast

d)

Cannot be determined

95.

What is the average time for Computer A when both programs are used at the same frequency?

a)

10.5 s

b)

7 s

c)

8.8 s

d)

4.8 s

96.

When Program 1 is used 80% of the time and Program 2 is used 20% of the time, which computer is faster?

a)

Computer A

b)

Computer B

c)

Both are equally fast

d)

Cannot be determined

97.

What is the weighted average time for Computer B when Program 1 is used 80% of the time and Program 2 is used 20% of the time?

a)

4.8 s

b)

8.8 s

c)

10.5 s

d)

7 s

98.

What was the approximate annual improvement rate in microprocessor performance from 1978 to 1986?

a)

25% per year

b)

52% per year

c)

23% per year

d)

12% per year

99.

Which factor contributed to the improvement in microprocessor performance between 1986 and 2002?

a)

Higher clock rate, different levels of parallelism, and larger caches

b)

Increased power consumption

c)

Reduced memory latency

d)

Decreased parallelism limitations

100.

What slowed down the improvement in microprocessor performance after 2002?

a)

Power consumption, parallelism limitations, and memory latency

b)

Lack of technological advancements

c)

Decrease in demand for faster processors

d)

Increase in manufacturing costs