wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

chapter (1+2) by "<\Human>"

Total questions: 133

Worksheet time: 1hrs 7mins

Name
Class
Date
1.

is the systematic study of the structure and behavior of computational system.

a)

Computer program

b)

Computer science

c)

an algorithm

d)

Arithmetic and Logical Unit (ALU)

2.

is a sequence of steps required to implement a solution using giving resources.

a)

Register File

b)

(ISA)

c)

Computer Program

d)

An algorithm

3.

Components of Computer Science

a)

Control Register, Instruction decoder

b)

Arithmetic / Logic, Data Transfer , Branch & Jump

c)

(ALU), Register File

d)

Theory, Tools, Techniques

4.

The primary component responsible for these computations is called

a)

Register File

b)

A processor

c)

RAM

d)

Cache

5.

A processor has two main functions

a)

Data path

b)

Register File

c)

Control unit

d)

Data Transfer

6.

"Data path" consists of two main components :

a)

Control Register

b)

(ALU)

c)

Instruction decoder

d)

Register File

7.

"Control unit" consists of two main components :

a)

(ALU)

b)

Control Register

c)

Instruction decoder

d)

Register File

8.

It has the ability to perform different mathematical operations on numbers, Comparing the magnitude of numbers :

a)

ISA

b)

processor

c)

Arithmetic and Logical Unit (ALU)

d)

RAM

9.

is the small memory component used to hold the data temporarily for the ALU:

a)

RAM

b)

Register File

c)

BIOS

d)

Cache

10.

The complete list of instructions that a processor can understand and execute is called

a)

Computer program

b)

ISA

c)

an algorithm

d)

Arithmetic and Logical Unit (ALU)

11.

ISA defines the types of instructions supported by the processor which typically classified into three type :

تذكر : لوجيتك ححول قفزا

a)

Control Register, Instruction decoder. Data path

b)

Arithmetic / Logic, Data Transfer , Branch & Jump

c)

(ALU), Register File

d)

Theory, Tools, Techniques

12.

An ISA that implements basic operations is called a Reduced Instruction Set Computer

a)

ROM

b)

DRAM

c)

RISC

d)

SRAM

13.

An ISA that implement complex operations is called a Complex Instruction Set Computer

a)

ALU

b)

SRAM

c)

processor

d)

CISC

14.

stores the data as long as power is available.

a)

SSD

b)

Volatile memory

c)

RAM

d)

Non-volatile

15.

memory keeps its data even when the power is turned off

a)

ROM

b)

Volatile memory

c)

ssd

d)

Non-volatile memory

16.

RAM can be read and written on, and is usually volatile

a)

صح

b)

خطأ

17.

An important property of software programs regularly exploited in computer systems is called

a)

Instructions-per-speed

b)

A disk cache

c)

the Principle of locality

d)

Cache

18.

ROM is volatile Memory

a)

صح

b)

خطأ

19.

are most widely used as online/ active storage for desktop computers.

a)

memory

b)

ssd

c)

hdd

d)

A disk cache

20.

consists of multiple platters, read-write heads

a)

cpu

b)

hdd

c)

ssd

d)

Magnetic Tape

21.

It still used for archival purposes.

a)

cpu

b)

hdd

c)

ssd

d)

Magnetic Tape

22.

has longer shelf life then hard disks.

a)

ram

b)

Magnetic Tape

c)

ssd

d)

Cache

23.

provide high data rates, fast , have no moving parts

a)

hdd

b)

ram

c)

ssd

d)

CPU

24.

also called: Processor bus ,Front side bus ,Back side bus

a)

Address Bus

b)

Data Bus

c)

Control Bus

d)

address space

25.

is based on non-volatile flash memory, which stores data using transistors.

a)

hdd

b)

Dram

c)

Solid State Drive

d)

Magnetic Tape

26.

is a key component of computer science

a)

computer programming

b)

Instruction Set Computer

c)

computer architecture

d)

computer scientist

27.

How much memory can be connected to a processor depends on the bit-size of the processor, Also known as its :

a)

Memory Hierarchy

b)

Principle of locality

c)

Address Bus

d)

Address Space

28.

Used to specify the address of a device or memory location to communicate with. typically a 32 bit system would have 32 line for addresses.

a)

Data Bus

b)

Address Bus

c)

Control Bus

d)

Address Space

29.

Used to transfer data between the address specified by the address bus and the Processor

a)

Data Bus

b)

Address Bus

c)

Control Bus

d)

Address Space

30.

Used to control the timing ,events ,and transaction

a)

Data Bus

b)

Address Bus

c)

Control Bus

d)

Address Space

31.

If a larger number of devices is connected to the control bus , performance will suffer

a)

false

b)

true

32.

the speed at which the data is passed from one component to another in a computer system

a)

The bus speed

b)

Instructions-per-speed

c)

Clock speed

d)

Disk caching

33.

Higher clock speed mean is that the processor think faster.

a)

true

b)

false

34.

a higher bus speed means that a processor talks faster

a)

true

b)

false

35.

dictates the rate at which data can enter and leaves the processor chips

a)

The bus speed

b)

Instructions-per-speed

c)

Clock speed

d)

Disk caching

36.

is the number of instructions a processor can process in one second

a)

The bus speed

b)

Instructions-per-speed

c)

Clock speed

d)

Disk caching

37.

Cache is a high-speed access area that can be a reserved section of main memory

a)

true

b)

false

38.

Disk caching is used to access commonly accessed data

a)

true

b)

false

39.

A disk cache is :

a)

A sequence of very precise instructions that a computer executes for an intended purpose

b)

a mechanism for improving the time it takes to read from or write to a hard disk.

c)

consisting of a connector or set of wires, that provides transportation for data.

d)

is the systematic study of the structure and behavior of computational system.

40.

Computer Program is

a)

a sequence of steps required to implement a solution using giving resources.

b)

none of the above

c)

A plan for understanding a computer system

d)

a sequence of very precise instructions that a computer executes for an intended purpose

41.

Intels X86 architecture is an example of ........................... architecture

a)

RISC

b)

CISC

c)

64-bit

d)

ARM

42.

The standard method of measuring a processors performance is through program called

a)

Processor performance standard

b)

flowgorithm

c)

Benchmarks

d)

flowchart

43.

............... Is used to transfer data between devices

a)

Data Bus

b)

Address Bus

c)

Control Bus

d)

Address Space

44.

The two processors, Exynos by Samsung and snapdragon by Qualcomm are examples of

a)

X64 ISA

b)

X86 ISA

c)

ARM ISA

d)

All of above

45.

Function are able to receive values of variables to work on , called ..............

a)

Argument

b)

Functions

c)

Parameters

d)

Call

46.

We move further away from the processor , the memory in the level below become .....

a)

Fast and smaller

b)

Slow and larger

c)

Slow and smaller

d)

Fast and larger

47.

In flowgorithm, it is used to create variables and arrays

a)

Declare

b)

Output

c)

Input

d)

Main

48.

The implemented instructions in hardware varies from one processor to another even when both processors implement the same ISA.

a)

true

b)

false

49.

Programmer to be able to observe the value of all valuable at every step to program called

a)

Watching variable

b)

Debugging

c)

Tracking

d)

Conditioning

50.

Which of the following loops performance a pre-iteration of the loop condition

a)

while

b)

For

c)

do- while

d)

For and while

51.

In a processor which component determines what instruction mean and what needs to be done for the instruction

a)

(ALU)

b)

Control Register

c)

Instruction decoder

d)

Register File

52.

Available will be used to store text like data , the most appropriate type of variable

( available) in flowgorithm is a ....................

a)

Integr

b)

Boolean

c)

Real

d)

String

53.

When comparing two processors , which of the following is considered a better metric than others :

هنا اختلف العلماء بين اجابتين ولكن وضعت الخيار الصحيح حسب الكتاب

a)

Benchmarks

b)

Instruction per second

c)

Clock speed

d)

Bus speed

54.

Which block is used to print a message to the console window ?

a)

Input

b)

Output

c)

declare

d)

None of above

55.

Which of the following keyboard keys make you save a flowgorithm file ؟

a)

Control + O

b)

F12

c)

Control + S

d)

Control + Z

56.

Set of the value passed to function

a)

Argument

b)

Functions

c)

Parameters

d)

Call

57.

Access time is the time taken to position the head on a specific track ?

a)

True

b)

False

58.

The CPU understands instructions written in a binary machine language

a)

True

b)

False

59.

The three components of computer science are theory , tools and Techniques

a)

True

b)

False

60.

All elements of an array are of the same data type

a)

True

b)

False

61.

is a system within a computer or device, consisting of a connector or set of wires, that provides transportation for data

a)

Data Bus

b)

Address Bus

c)

Control Bus

d)

Address Space

62.

-----------design and analyze algorithms to solve computationally intensive problems .

a)

Computer program

b)

Computer scientists

c)

an algorithm

d)

Computer science

63.

Computer scientists Use :

a)

computer toy

b)

ahmed algammdi

c)

algorithm

d)

mathematics

64.

The success depends on things

a)

Theory Mathematics

b)

Understanding the Tool

c)

Mastering the implementation Techniques

d)

all

65.

.........computation, algorithms and data structures

a)

Theory

b)

Tools

c)

Techniques

d)

none of above

66.

..........Computer elements and architecture

a)

Theory

b)

Tools

c)

Techniques

d)

none of above

67.

......Programming methodology and languages

a)

Theory

b)

Tools

c)

Techniques

d)

none of above

68.

Ability to perform different mathematical operation

a)

(ALU)

b)

Control Register

c)

Instruction decoder

d)

Register File

69.

part of very small memory component Which receives instructions AND keep track instructions that need executed : ص19

a)

Control Register

b)

Instruction decoder

c)

Control Unit

d)

Register File

70.

Some processors used for complex applications are still 8-bits or 16-bits.

a)

True

b)

False

71.

most high-performance processors used in scientific applications are 128-bit architectures.

a)

True

b)

False

72.

its The bit size and it a processor determines the magnitude of integers that it can process

a)

True

b)

False

73.

ADD, SUB, XOR. Its a

a)

Arithmetic / Logic Instructions

b)

Data Transfer Instructions

c)

Branch & Jump Instructions

d)

instruction set

74.

registers & vise versa.

E.g.: MOV, LOAD

a)

Arithmetic / Logic Instructions

b)

Data Transfer Instructions

c)

Branch & Jump Instructions

d)

instruction set

75.

instructions & jumping to instructions at various other locations

a)

Arithmetic / Logic Instructions

b)

Data Transfer Instructions

c)

Branch & Jump Instructions

d)

instruction set

76.

results in higher performance but requires more expensive hardware

a)

RISC

b)

CISC

77.

new data can be stored on it flash memory and Cd card

a)

Non-volatile memory

b)

Volatile memory

78.

Main memory ex for

a)

hdd

b)

ram

c)

Solid State Drive

d)

Magnetic Tape

79.

It stores input data, intermediate results, programs, and other information Temporarily

a)

rom

b)

ram

c)

dram

d)

Main memory

80.

The processor gets all the instructions from it.

and stores all its data in it.

a)

rom

b)

ram

c)

Dram

d)

Sram

81.

There are some programs and instructions which the computer needs whenever it turns on.

a)

rom

b)

ram

c)

Dram

d)

BIOS

82.

most program tend to reuse data and ins they have used recently

(ins = instructions) معلومة

a)

Memory Hierarchy

b)

Principle of locality

c)

Address Bus

d)

loop

83.

There are two kind of locality in softwere

a)

Memory Hierarchy

b)

Principle of locality

c)

Temporal locality

d)

Spatial locality

84.

pertain item that whose address are near one another and tend to be referenced closely together in time

a)

Memory Hierarchy

b)

Principle of locality

c)

Temporal locality

d)

Spatial locality

85.

pertains to recently accessed item are likely to be accessed in the near future

a)

Memory Hierarchy

b)

Principle of locality

c)

Temporal locality

d)

Spatial locality

86.

Any hardware that is physically placed closer to the processor is faster.

a)

true

b)

false

87.

Which is not directly addressable by the processor but is accesse through an input/output device interface AND It refers to a kind of non-volatile long

term memory.

a)

RAM

b)

storage unit

c)

MAIN MEMORY

d)

cache hit

88.

is safe place for store thing it is first level of memory

a)

Cach

b)

Cache hit

c)

Cache miss

d)

Cache disk

89.

Cache is type of memory it place so close to processor

Processor finds request data item in cache it called

a)

cache hit

b)

cache miss

90.

Processor don’t found request or data called

a)

cache hit

b)

cache miss

91.

example for storage unit

a)

all

b)

hdd

c)

ssd

d)

Magnetic Tape

92.

Hard disk have two important parameter which determine access speed

a)

seek time

b)

Rotational delay

c)

Ram

d)

rom

93.

time take to position the head on specific track

a)

seek time

b)

Rotational delay

c)

Ram

d)

rom

94.

the time required to move a requested sector under the head

a)

seek time

b)

Rotational delay

c)

Ram

d)

rom

95.

most embedded computer employed in simpler device suc h as -TV- microwaves - use :

a)

RISC ISA ARM

b)

CISC ISA x 86

96.

Hard disk slower then RAM

a)

false

b)

true

97.

Core I7 runing at 3 GHZ faster then core I7 run at 2.8 GHZ

a)

true

b)

false

98.

flow charts

a)

express a sequence of step to perform a certain task

b)

It software package

c)

Tool control the speed at which computer program runs

d)

nothing...

99.

Flowgorithm :

a)

Lets new programming build flowcharts that can be executed step by step showing

user how value of variable change with each step currently

b)

Free software package to create flowchart

c)

Free software packet to execute and debug flowchart

d)

All

100.

Flowgorithm can change language from press

a)

Control + O

b)

F12

c)

Control + S

d)

Control + Z

101.

computers need the ability to store or remember values. This is done using

a)

variables

b)

number

c)

declare

d)

Integer

102.

----------------in computer programs are containers that can store different kinds of numbers or text

a)

variables

b)

number

c)

declare

d)

Integer

103.

Types of variables

a)

Real

b)

Integer

c)

String

d)

All

104.

------------------- value are write in double quotes (“----”) Number store as string cannot used for collations

a)

Real

b)

Integer

c)

String

d)

All

105.

Stores only 1 bit of inf with one or two possible option

a)

Real

b)

Integer

c)

String

d)

Boolean

106.

Simple mathematic operation

a)

(+)---addition

b)

(-) ----subtraction

c)

(*)----multiplication

d)

(/)----- Division

107.

10 Mod 3 (يعني باقي القسمة اقسم العدد وشوف كم باقي)

a)

2

b)

1

c)

3

d)

10

108.

Task Repetition is an essential element of computer program the structure used to define repetition in computer program is called

a)

if

b)

Loop

c)

sum

d)

for

109.

sequences of blocks, is put inside a loop and is run repeatedly and is called :

a)

Loop

b)

body of the loop

c)

if

d)

sum

110.

Each execution of the code inside a loop

a)

Loop

b)

body of the loop

c)

Iteration

111.

loops are mainly three different types:

a)

For loop

b)

While loop

c)

Do-while loop

d)

all

112.

----------usually used when it is know beforehand how many time the body of the loop is to be executed

a)

For loop

b)

While loop

c)

Do-while loop

d)

if

113.

------------.Usually use when it is not known beforehand how manytime the body of the loop is to be executed

a)

For loop

b)

While loop

c)

Do-while loop

d)

if

114.

Different between do-while , while

a)

Do-while is pre test loop

b)

While loop post test

c)

Do-while post test loop test after execution

115.

While begins by checking the condtion to determine whether to execute thevery iteration then execute the body of loop

a)

Pre_test loop

b)

Post test loop

116.

Do while begin by executing the first iteration and only after ward cechs the status of the condtion

a)

Pre_test loop

b)

Post test loop

117.

Each element of an array can be accessed by the name given to the array and a number indicating its location in the array

a)

Index

b)

array

c)

list

d)

value

118.

read statement value from the keyboard and stores the result in a variable

a)

Input

b)

output

c)

declare

d)

if

119.

calculates an expression and then stores the result in a variable

a)

Declare

b)

Assignment

c)

Input

d)

Main

120.

diamond chip mean

a)

loop

b)

output

c)

declare

d)

if

121.

hexagon

a)

For loop

b)

While loop

c)

Declare

d)

if

122.

evaluates a Boolean expression and if true executes statement . it rechecks the expression and loop until it is false

a)

For loop

b)

While loop

c)

Do-while loop

d)

if

123.

Allow program to both reuse code and simplify logic data is passed into function using parameters

a)

Function

b)

While loop

c)

Do-while loop

d)

if

124.

transfer control to function inf is passed into the function using “argument”

a)

Argument

b)

Functions

c)

Parameters

d)

Call

125.

don’t affect how your program run used for documentation about program for other programmer

a)

Comments

b)

call

c)

breakpoint

d)

nothing

126.

refer to process of removing any error in computer program

a)

Comments

b)

call

c)

breakpoint

d)

Debugging program

127.

temporarily halts execution of program is useful both debugging program for demonstration

a)

Breakpoint

b)

comment

c)

function

d)

comments

128.

. “condition check – execute condition check – execute – ... – condition check –exit

a)

For loop

b)

while loop

c)

do while loop

d)

if

129.

Execute condition check – executive – ... – condition check – exit

a)

For loop

b)

while loop

c)

do while loop

d)

if

130.

When the decision of performing a certain number of step depend on truth or falsehood of logical or mathematical statement the appropriate block to use in flowchart is

a)

Declare block

b)

Output block

c)

Input block

d)

If block

131.

Break point is a block that

a)

a- Can be added to a flowchart to pause the execution of flowchart every time the

breakpoint is reached

b)

Stands output message to console window

c)

None of above

132.

Number of type variable

a)

1

b)

2

c)

3

d)

4

133.

The keyboard symbol used to represent the mathematics multiplication operation is

a)

(+)---addition

b)

(-) ----subtraction

c)

(*)----multiplication

d)

(/)----- Division