wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IT Hardware Software

Total questions: 54

Worksheet time: 28mins

Name
Class
Date
1.

What are the drawbacks of sequential interrupt processing?

a)

Does not allow to handle priority interrupts

b)

Does not give priority to time-critical needs

c)

Works with first come first serve basis

d)

Handle interrupts one after another

2.

Choose the answer which is not part of the 6 computer level hierarchy we mentioned during the class?

a)

Manufacturer

b)

User

c)

Assembly

d)

Digital Logic

3.

Which one of them is lowest level of computer level hierarchy?

a)

Digital Logic

b)

Machine

c)

User

d)

Control

4.

Interrupt handler routine is a part of...

a)

operating system

b)

hardware

c)

processor

d)

I/O module

5.

What is control bus responsible for?

a)

Sending control signals read, write or opcodes

b)

Sending data

c)

Sending address

d)

Connection between 2 devices

6.

What are the possible approaches to deal with multiple interrupts?

a)

Sequential, nested

b)

Sequential, parallel

c)

Nested, parallel

d)

Parallel, perpendicular

7.

16 bit long system, 4 bits for opcode. Instruction 4927 Hex.

What is the next memlory adress to execute data?

a)

927

b)

27

c)

7

d)

492

8.

Which of the following is not part of main structural element of the computer?

a)

Processor

b)

Memory

c)

System bus

d)

Motherboard

9.

Which module is responsible for exchange of daa between input output module and processor?

a)

IO BR

b)

MBR

c)

MAR

d)

IO AR

10.

It takes 277.78 nano seconds to complete 1 cycle. What is clock rateof CPU?

a)

3.6 MHz

b)

4.2 Ghz

c)

4.1 Mhz

d)

2 Mhz

11.

An increase in clock rate means that individual operations are executed...

a)

more rapidly

b)

the same

c)

slower

d)

with the little change

12.

Which is example of program interrupt?

a)

generated by timer

b)

generated by failure (power, memory)

c)

division by 0

d)

generated by system

13.

What is primary design goal of interrupts?

a)

improve IO processes

b)

improve processor utilization

c)

improve the lifetyme of a computer

d)

improve the brithness of screen

14.

What is function of MAR?

a)

Specifies the adress in memory forread or write

b)

Specifies a particular bus

c)

Specifies a memory type

d)

Executing instruction

15.

Which of the following is the correct execution cycle order?

a)

start, fetch, execute, halt

b)

fetch, execute, start, halt

c)

halt, start, execute, fetch

d)

fetch, execute

16.

A _______ is a core designed to perform parallel operations on graphics data

a)

GPU

b)

MIC

c)

ALU

d)

PGD

17.

Which one is one of the approaches to deal with multiple interrupts?

a)

Sequential interrupt processing

b)

Horizontal interrupt processing

c)

Parallel interrupt processing

d)

Vertical interrupt processing

18.

What are the drowbacks of sequential interupt processing?

a)

Does not allow to handle priority interrupts

b)

Does not give priority to time critical needs

c)

Works with first come first serve basis

d)

Handle interrupts oen after another

19.

Which is not a basic component of computer?

a)

Processor

b)

Memory

c)

Bus

d)

GPU

20.

16 bits long system, 4 bits for opcode,. Instruction: 4927 Hex. What is next instruction?

a)

0100

b)

1111

c)

927

d)

4927

21.

Clock rate of computer is 300KHz. How long it takes to complete 1 cycle?

a)

3.33 nanoseconds

b)

3.33 microseconds

c)

4.44 milliseconds

d)

3.33 seconds

22.

Interrupt handler routine is a part of

a)

operating system

b)

hardware

c)

processor

d)

IO module

23.

IO address register responsible for

a)

specyfying a particular IO device

b)

exchanging data between IO module and processor

c)

specifying memory address

d)

controlling execution process

24.

Planning to put 128 instructions in system, each 16 bits long. How many addresses can be direcly pointed from our instruction?

a)

2^9

b)

2^10

c)

2^6

d)

2^16

25.

Which is not part of main structural part of computer?

a)

Processor

b)

Memory

c)

System bus

d)

Motherboard

26.

Not part of CPU

a)

PC

b)

RAM

c)

Screen

d)

Video graphic card

27.

Primary design goal of interrupt

a)

improve IO processes

b)

improve processor utilization

c)

improve lifetyme of computer

d)

improve brightness of screen

28.

Types of interrupts

a)

program, timer,io, hardware failure

b)

cpu, java, power bi, c++

c)

error, exception, cpu, monitor

d)

none of above

29.

Which is mre specific to user level of the 6 computer level hierarchy?

a)

program execution and user interface (UI) level

b)

writing programs in high level languages

c)

controlling execution process on the system

d)

protecting system resources

30.

Which of them is not true for R7=R7+12

a)

ADD R7, R7, #12

b)

ADD R7, R7, #0xC

c)

ADD R7, R7, 0b1100

d)

ADD R7, R7, 0bxC

31.

Which of them is true? SUB R3 R4 R5

a)

SUB is mnemonic

b)

R3 source is source operand

c)

R3 and R4 are source operands

d)

R5 and R4 are destination operands

32.

What is spacial locality?

a)

tendency executing the instruction or accesing data location sequentially

b)

tendency accessing the instruction or data locations that have been visited

c)

geographical coordinates of CPU manufacturers

d)

iterative nature of process execution

33.

Temporal locality principle

a)

tendency accessing the instruction or data locations that have been visited recently

b)

the temporary storage of data

c)

accessing instruction sequentially

d)

accessing data sequentially

34.

What does exploiting the principle of locality solve?

a)

providing memory cycle times comparable to processor cycle times

b)

increases memory cycle time

c)

provides more space in memory

d)

provides connection between the processr and io module

35.

Where does virtual memory locate?

a)

hard disk

b)

RAM

c)

ROM

d)

Processor

36.

What does exploiting the principle of locality solve?

a)

provides memory cycle time compartable to processor cycle times

b)

increase memory cycle time

c)

provides more space in memory

d)

provides connection between the processor and io module

37.

What is temproral locality principle?

a)

tendency accesing the instructions or data locations that have been visited recently

b)

temporary storage of data

c)

accessing instructions sequentically

d)

accessing data sequentically

38.

Which condition flag may be effecred instruction below?


SUBS R2 R3 R7; R2 = R3

a)

N

b)

Z

c)

C

d)

All of them

39.

Spacial locality is

a)

tendency accesing the instructions or data locations that have been visited sequentially

b)

tendency accesing the instructions or data locations that have been visited recently

c)

geographical coordinates of cpu manufacturers

d)

iterative nature of process execution

40.

Correct order based on efficiency? (first lead efficient, last least efficient)

a)

programmed io, interrupt driven io, dma

b)

dma, interrupt driven io, programmed io

c)

programmed io, dma, interrupt driven io

d)

interrupt driven io, dma, programmed io

41.

What is assembly code instruction below?

Move register3 ro register 8.

a)

MOV R8, R3

b)

MOV R3, R8

c)

MOVE R3, R8

d)

MOVE R8, R3

42.

True statements about instruction sets

a)

ARM is architecture

b)

RISC computers can perform complex instructions

c)

Intel X86 is a CISC architecture

d)

CISC computers can perform complex instructions with multiple simple instructions

43.

In which case second instruction will be executed


CMP R4 R5

ADDEQ R1 R2 R3

a)

R4 = R5

b)

R2 = R1

c)

R5 > R4

d)

R2 = R3

44.

Memory cycle time is

a)

time required to write one word to memory

b)

time required to execute instruction

c)

time required to read one word from registers

d)

time required to write one word to IO data buffer

45.

Level 1: capacity 500 bytes cost per bit is 30

Level 1: capacity 2500 bytes cost per bit is 10


Avg cost per bit?

a)

40/3

b)

300/127

c)

500

d)

125

46.

Which is not flag of ARM instructions?

a)

M

b)

Z

c)

C

d)

V

47.

What does exploiting the principle of locality solve?

a)

provides memory time cycle times comparatble to processor cycle times

b)

increases memory cycle time

c)

provides more space in memory

d)

provides connection between the processor and io module

48.

Purpose of LRU algorithm in cache?

a)

an effective strategy to replace a block that has been read into the memory

b)

an effective strategy to write memory back to original place

c)

find data to read into cache

d)

mechanism that hardware uses to boot the system

49.

Choose all characteristics as you move down the memory hierarchy

a)

increasing capacity

b)

decreasing cost per bit

c)

increasing access time

d)

decreasing frequency of access to the memory by the processor

50.

Not computer architecture

a)

Assembly

b)

ARM

c)

x86

d)

Power PC

51.

Level 1: capacity 500 bytes. Access time 0.2ms

Level 1: capacity 5000 bytes. Access time 1ms


Suppose 98% of memory accesses are found in level 1. Suppose if data in level 2 needs to be transeffered to level 1, then accessed by processor. Find avg time needed to access a byte?

a)

0.22 ms

b)

0.4 s

c)

1.1 Bs

d)

1.1 Bms

52.

Tradeoffs among characteristics of memory

a)

capacity, access time, design

b)

cost, capacity, access time

c)

value, capacity, hardware

d)

software, cost, hardware

53.

Not true...

a)

Operands can be stored in registers or memory, or they may be contants stored in instruction itself

b)

Operands stored as constants or in registers are accesses slower, but they hold only a small amount of data

c)

Additional data must be accesses from memory , whch is large but slow

d)

ARM is a 32 bit architecture

54.

True about CMP instruction

a)

It substracts tthe 2nd source operand from the 1st and setd the condition flags based on the result

b)

If numbers are equal the result is zero

c)

If numbers are equal to Z flag is et

d)

number cannot be negative