wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Computer Science: CPU performance

Total questions: 13

Worksheet time: 18mins

Name
Class
Date
1.

About the CPU cycle...

a)

CPU fetchs instructions from the main memory and the control unit decodes them.

b)

CPU fetchs instructions from the main memory and the ALU decodes them.

c)

Control unit decodes instructions and the registers perform simple operations.

d)

Control unit performs operations and ALU stores results in the registers.

2.

About multicomputer topology...

a)

Allows parallel computing

b)

Implies using two or more CPUs within a single computer.

c)

It is based on several computers that are interconnected to solve a problem.

d)

All the CPUs share the same local memory.

3.

Considering the program description and a CPU clock frequency of 300MHz...

a)

CPI=3.08 cycles/instruction

P=9 programs/second

b)

CPI=3.08 instructions/cycle

ET=0.12 seconds/program

c)

CPI=3.08 cycles/instruction

ET=0.12 seconds/program

d)

CPI=3.08 cycles/instruction

ET=0.012 seconds/program

4.

About multicomputer topology...

a)

Allows distributed computing (each processor performs a different task).

b)

Implies using two or more CPUs within a single computer.

c)

It allows parallel computing.

d)

Allows distributed computing (each computer works to solve the same task).

5.

For the following description, calculate the CPU performance:

a)

4 programs/second.

b)

0.25 programs/second.

c)

0.25 seconds/program.

d)

4 seconds/program.

6.

After some improvements, the speed up of a certain CPU is 1.33

a)

The execution time has been increased.

b)

It performs 1.33 programs per second.

c)

The CPU performance and its execution time have been increased.

d)

It runs the same program a 33% faster.

7.

Considering the description of the program, a CPU clock frequency of 200MHz and a total number of instructions of 10e6, calculate the execution time.

a)

0.175 ms/program

b)

5,7 programs/second

c)

175ms/program

d)

5,7 seconds/program

8.

About the CPU cycle...

a)

CPU fetchs instructions from the secondary memory and the control unit decodes them.

b)

CPU fetchs instructions from the main memory and the ALU decodes them.

c)

Control unit decodes instructions and ALU performs simple operations.

d)

Control unit performs operations and ALU stores results in the registers.

9.

Considering the program description and a CPU period of 1ns...

a)

CPI=2.5 cycles/instruction

P=27 programs/second

b)

CPI=2.5 cycles/instruction

P=27 seconds/program

c)

ET=0.037 seconds/instruction

P=27 programs/second

d)

ET=0.037 seconds/program

P=27 programs/second

10.

About multiprocessor topology...

a)

Allows distributed computing

b)

Implies using two or more CPUs within a single computer.

c)

It is based on several computers that are interconnected to solve a problem.

d)

All the CPUs share the same local memory.

11.

From top to bottom select the right order.

a)

Registers, RAM, Cache, Hard drive

b)

Registers, Cache, RAM, Hard drive

c)

Hard drive, RAM, Cache, Registers

d)

Cache, Registers, RAM, Hard drive

12.

Which one is false?

a)

SDD has a lower data transfer rate than HDD.

b)

HDD has a higher capacity than SSD (for the same price).

c)

HDD requires a higher energy consumption than SSD.

d)

HDD is cheaper than SSD (for the same capacity).

13.

Which one is false?

a)

Cache memory has three different levels (L1, L2, L3).

b)

Each core has its own L1 and L2 cache levels.

c)

Cache level 3 is shared among the different cores of the CPU.

d)

Each core in a CPU has its own L3 cache level.