wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Science Quiz

Total questions: 125

Worksheet time: 1hrs 3mins

Name
Class
Date
1.

Which of the following is the expansion of EBCDIC

a)

Extended bit comparable to digital interface for computer.

b)

Extended bootable computerized digital infrared calculator.

c)

Extended binary coded decimal interchange code.

d)

Extended binary coded decimal information code.

e)

None of the others.

2.

FORTRAN is a(n)__-s language.

a)

A. Procedural

b)

B. Functional

c)

C. Declarative

d)

D. Object-oriented

3.

In paging, a program is divided into equally sized sections called

a)

Pages

b)

Frames

c)

Segments

d)

Partitions

4.

Instructions and memory addresses are represented by

a)

A. Character codes

b)

B. Binary codes

c)

C. Binary word

d)

D. Parity bit

e)

E. None of the others

5.

The of ethics says that we should avoid doing anything if it is against universal morality

a)

Moral rules

b)

Social contract

c)

Ultilization

d)

Nonmaleficence

6.

In the hierarchical database model, data is organized as an inverted

a)

Graph

b)

Tree

c)

Array

d)

Record

7.

___ is a measure of how tightly two modules are bound to each other.

a)

Modularity

b)

Coupling

c)

Interoperability

d)

Cohesion

8.

A one-bit signal that indicates the start of data transmission by an asynchronous device is _______.

a)

Parity bit

b)

Status bit

c)

Zero bit

d)

Start bit

e)

None of the others

9.

If modules are written so that they can be reused in other systems then they have high levels of ________.

a)

Flexibility

b)

Interoperability

c)

Reusability

d)

Changeability

10.

In the system development process, structure charts are tools used in the ______ phase.

a)

Analysis

b)

Design

c)

Implementation

d)

Testing

11.

Symmetric-key cryptography is based on sharing secrecy; asymmetric-key cryptography is based on__

a)

Secrets

b)

Mathematical function

c)

Privacy data

d)

Personal secrecy

12.

___________means concealing the contents of a message by enciphering.

a)

Steganography

b)

Cryptography

c)

Compressing

d)

Authentication

13.

The Stack operation returns an

a)

Full stack

b)

Empty stack

c)

Check status of stack

d)

All of above

14.

Each element in a record is called _________.

a)

A variable

b)

An index

c)

A field

15.

The __is the highest level in the file system hierarchy. This does not have a parent directory

a)

Root directory

b)

Home directory

c)

Working directory

d)

Parent directory

16.

What is the result of difference database operation from 2 relation tables?

a)

Neither the first relation nor the second.

b)

Both of the first relation and the second.

c)

The first relation but not the second.

d)

The second but not the first.

17.

In a three-level DBMS architecture, the layer that interacts directly with the hardware is the _______ level.

a)

A. External

b)

B. Conceptual

c)

C. Internal

d)

D. Physical

18.

The dequeue operation __ the item at the __ of the queue

a)

Delete front

b)

Delete end

c)

Inserts front

d)

Insert rear

19.

_______is abasic algorithm that adds a list of numbers.

a)

A. Summation

b)

B. Product

c)

C. Smallest

d)

D. Largest

20.

Where have the program and data to be located before the ALU and control unit of a computer can operate on it?

a)

A. Internal memory

b)

B. Secondary memory

c)

C. Microprocessor

d)

D. Magnetic tapes

e)

E. None of the others

21.

__________ is required to allow any relation in the database to be represented, to allow a query language

a)

Relational database

b)

Database system

c)

Atomic operations

d)

Normalization

22.

A register in a CPU can hold :

a)

Only data

b)

Only instructions

c)

Only program counter values

d)

Data, instruction, or program counter values

23.

_____is avery simple protocol using a minimum of overhead. If a process wants to send a small message and does not care much about reliability.

a)

TCP

b)

UDP

c)

IP

d)

HTTP

24.

Each element in a record is called _________.

a)

A. A variable

b)

B. An index

c)

C. A field

d)

D. A node

25.

In , edges are ordered pairs of vertices. If x and y are two vertices and an edge ¢ = (x, y), x is called the starting point and y is called the endpoint of the edge.

a)

A. Directed graph

b)

B. Undirected graph

c)

C. Edges

d)

D. Arcs

26.

Human beings are referred to as Homosapiens. Which device is called Silico sapiens?

a)

Monitor

b)

Hardware

c)

Robot

d)

Computer

e)

None of the others

27.

_______is a protocol for accessing and transferring documents on the WWW.

a)

FTP

b)

SMTP

c)

TELNET

d)

HTTP

28.

What is method in black-box testing which tests are designed to include representatives of boundary values in a range?

a)

Boundary-value testing

b)

Random testing

c)

Exhaustive testing

d)

Data flow testing

29.

An operating system is:

a)

A. An interface between the hardware of a computer and the user

b)

B. A program (or a set of programs) that facilitates the execution of other programs.

c)

C. A general manager supervising the activity of each component in the computer system.

d)

D. Convert multimedia into binary.

30.

A technique used by codes to convert an analog signal into a digital bit stream is known as

a)

A. Pulse code modulation

b)

B. Pulse stretcher

c)

C. Query processing

d)

D. Queue management

e)

E. None of the above

31.

A program that is employed in the development, repair or enhancement of other programs is known as

a)

System software

b)

Software tool

c)

Applications program

d)

Utility program

e)

None of the others

32.

The device manager maintains one or more for similar input/output devices

a)

A. Graph

b)

B. Array

c)

C. Stack

d)

D. Queue

33.

In the ______ hashing method, selected digits are extracted from the key and used as the address.

a)

Direct

b)

Division remainder

c)

Modulo division

d)

Digit extraction

34.

The image encoding method, but it does not store the bit patterns for each pixel

a)

A. Bitmap

b)

B. Quantized

c)

C. Vector graphic

d)

D. Binary

35.

In the modulo division hashing the reason for adding a 1 to the mod operation resultis

a)

That our list starts with 1 instead of 0

b)

That the key starts from 1

c)

That the prime number more than 1

d)

All of others

36.

An____is a language-specific token that requires an action to be taken such as arithmetic and relational

a)

Expression

b)

Operator

c)

Variables

d)

Input/output

37.

_______is usually privately owned, limited in size and connects some hosts in a single office, building, or campus.

a)

A. LAN

b)

B. WAN

c)

C. Internet

d)

D. Network

38.

The in the TCP/IP protocol suite is responsible for the host-to-host delivery of messages

a)

Physical

b)

Data-link

c)

Network

d)

Transport

39.

In a the ciphertext regardless of its position in the text a character (or a symbol) in the plaintext is always changed to the same character (or symbol) in

a)

A. Monoalphabetic cipher

b)

B. Substitution cipher

c)

C. Polyalphabetic cipher

d)

D. Transposition cipher

40.

The layer ______ of the TCP/IP protocol suite is responsible for node-to-node delivery of a frame between two adjacent nodes.

a)

A. Transport

b)

B. Network

c)

C. Data-tink

d)

D. Session

41.

Which is another name for functional language?

a)

A. Machine

b)

B. Application language

c)

C. Low-level language

d)

D. High-level language

e)

E. None of the others

42.

Which component is not an operating system component?

a)

A. File access management program

b)

B. Device driver program

c)

C. Program scheduler for process

d)

D. Free memory management program

43.

_______ results in a specification document that shows what the software will do without specifying how it will be done.

a)

Analysis phase

b)

Design phase

c)

Implementation phase

d)

Testing phase

44.

What is the result of one's complement B?

a)

NotB

b)

Add B with 1

c)

XOR B with 0

d)

AND B with 0

e)

OR B with 1

45.

____is an ordered set of unambiguous steps that produces a result and terminates in a finite time.

a)

A. Aconstruct

b)

B. Arecursion

c)

C. An iteration

d)

D. An algorithm

46.

A group contains __bits in the binary system are represented as one digit in the octal system

a)

1

b)

2

c)

3

d)

4

e)

None of the others

47.

Use a simple right shift operation on the bit pattern 1001 1000.

a)

1001 1001

b)

1001 1000

c)

0100 1101

d)

0100 1100

48.

Which of the following is equivalent to 24 in decimal?

a)

A. (11000)2

b)

B. (1A)16

c)

C. (31)8

d)

D. None of the above

49.

In ____ traversal of a perfect binary tree, the left subtree is processed second.

a)

preorder

b)

inorder

c)

postorder

d)

out of order

50.

Which of the following is a physical record in a database?

a)

Group

b)

Blocking factor

c)

Sector

d)

Field

e)

None of the others

51.

A process in the ready state goes to the running state when

a)

A. It enters memory

b)

B. It requests I/O

c)

C. It gets access to the CPU

d)

D. It finishes running

52.

One phase in system development is

a)

Analysis

b)

Application

c)

Designing

d)

Collecting

53.

In RSA, if user A wants to send an encrypted message to user B, the plaintext is encrypted with the public key of

a)

User A

b)

User B

c)

The network

d)

A third party

54.

A number which ts stored and processed but not in the standard exponential form is called_______.

a)

A. Floating point number

b)

B. Fixed point number

c)

C. Octal number

d)

D. Decimal number

e)

E. None of the others

55.

According to the von Neumann model, are stored in memory.

a)

A. Only data

b)

B. Only programs

c)

C. Data and programs

d)

D. Neither data nor programs

56.

Which of the following attacks is threatening integrity?

a)

A. Snooping

b)

B. Repudiation

c)

C. Denial of service

d)

D. Traffic analysis

57.

The ____ construct tests a condition.

a)

sequence

b)

decision

c)

repetition

d)

flow

58.

When was Apple Macintosh II microcomputer introduced in the market?

a)

A. 1964

b)

B. 1970

c)

C. 1986

d)

D. 1987

e)

E. None of the others

59.

____ is the breaking up of a large project into smaller parts.

a)

Coupling

b)

Incrementing

c)

Obsolescence

d)

Modularization

60.

What can a data structure be?

a)

Only an array

b)

Only a record

c)

Only a linked list

d)

An array, a record, or a linked list

61.

Before insertion into a linked list we first apply the searching algorithm because we DO NOT ___

a)

A. Allow insertion into an empty list

b)

B. Allow insertion in the middle of the list

c)

C. Allow insertion at the beginning of the list

d)

D. Allow data with duplicate values

e)

E. None of the others

62.

In ____ cryptography, the same key is used in both directions.

a)

symmetric-key

b)

asymmetric-key

c)

public-key

d)

open-key

63.

How many layers does the TCP/IP model have?

a)

Five

b)

Six

c)

Seven

d)

Eight

64.

Who is considered the 'father' of the minicomputer and one of the founder fathers of the modern computer industry world-wide?

a)

George Tate

b)

Kenneth H. Olsen

c)

Seymour Cray

d)

Basic Pascal

e)

None of the above

65.

In the method for synchronizing the operation of the CPU with an I/O device, the CPU is idle until the I/O operation is finished.

a)

Programmed I/O

b)

Interrupt-driven I/O

c)

DMA

d)

Isolated I/O

66.

____ operator (s) takes two inputs to produce one output.

a)

Only AND

b)

Only OR

c)

Only XOR

d)

AND, OR, or XOR

67.

What is used to search for an ordered list?

a)

Sequential

b)

Binary

c)

Bubble

d)

Insertion

68.

A byte consists of _____ bits A. 2 B. 4 C. 8 D. 16

a)

2

b)

4

c)

8

d)

16

69.

Which is a unit representing the no bits of discrete.

a)

Baud

b)

Byte

c)

Bit

d)

All of the above

e)

None of the above

70.

The octal equivalent of 1100101 001010 is _____ A. 624.12 B. 145.12 C. 154.12 D. 145.21 E. None of the above

a)

624.12

b)

145.12

c)

154.12

d)

145.21

e)

None of the above

71.

to everyone's public key.

a)

symmetric-key

b)

asymmetric-key

c)

secret-key

d)

private-key

72.

In an inorder traversal of a perfect binary tree, the root is processed ______

a)

First

b)

Second

c)

Last

d)

two times

73.

The index of an indexed file has ______ fields A. Two B. Three C. Four D. any number of

a)

Two

b)

Three

c)

Four

d)

any number of

74.

Who are those who exploit the internet systems only to make public certain vast datasets of information that would be of benefit to everyone?

a)

Black Hat Hacker

b)

Grey Hat Hacker

c)

Red Hat Hacker

d)

Blue Hat Hacker

75.

A stand-alone system which produces one page of printed output at a time is A. Page printer B. Line printer C. Laser printer D. Dot matrix printer E. None of the above

a)

Page printer

b)

Line printer

c)

Laser printer

d)

Dot matrix printer

e)

None of the above

76.

The no of logical records in a physical record is .

a)

A. Group

b)

B. Blocking factor

c)

C. Sector

d)

D. Field

e)

E. None of the others

77.

______ is a stand-alone storage location that holds data temporarily

a)

An ALU

b)

A register

c)

A control unit

d)

A tape drive

78.

A data structure can be________.

a)

A. Only an array

b)

B. Only arecord

c)

C. Only a linked list

79.

A data item which is not broken down into smaller units is _____ A. Data element B. Elementary data item C. Data entry D. Database management E. None of the above

a)

Data element

b)

Elementary data item

c)

Data entry

d)

Database management

e)

None of the above

80.

The maximum value of a hexadecimal integer with K digits is Nmax = ____ ?

a)

A. 16 bits

b)

B. 16^K

c)

C. 16^K - 1

d)

D. 2^K.2^4

e)

E. None of the others

81.

A ____ controller is a high-speed serial interface that transfers data in packets.

a)

SCSI

b)

USB

c)

FireWire

d)

USB and FireWire

82.

___ of the stack A. deletes an item from the top B. deletes an item from the bottom C. inserts an item at the top D. inserts an item at the bottom

a)

deletes an item from the top

b)

deletes an item from the bottom

c)

inserts an item at the top

d)

inserts an item at the bottom

83.

What is the binary equivalent of the Octal number 13.54?

a)

1011.1011

b)

1101.1110

c)

1001.1110

d)

All of the others

e)

None of the others

84.

____ operator (s), if the input is two 1s, the output is 0.

a)

Inonly AND

b)

Inonly OR

c)

In only XOR

d)

In AND, OR, or XOR

85.

What is a program of UNIX that accepts requests from users (processes) and interprets them for the rest of the operating system?

a)

Software

b)

Function

c)

SHELL

d)

Feature

86.

_______ is a basic algorithm in which we want to find the location of a target in a list of items. A. Sorting B. Searching C. Product D. summation

a)

Sorting

b)

Searching

c)

Product

d)

summation

87.

The ASCII code for the character J is

a)

1001 0001

b)

1001 1010

c)

0100 1010

d)

1010 0001

88.

A data item which is not broken down into smaller units is _____

a)

Data element

b)

Elementary data item

c)

Data entry

d)

Database management

89.

_____ operator(s) takes two inputs to produce one output

a)

Only AND

b)

Only OR

c)

Only XOR

d)

AND, OR, or XOR

90.

In a DBMS, who are those humans who can access the database directly to get information?

a)

Database administrators

b)

Normal users

c)

Application programs

d)

End users

91.

_____ protocol(s) is one of the protocols in the transport layer

a)

Only TCP

b)

Only UDP

c)

Only SCTP

d)

TCP, UDP, and SCTP

92.

To traverse a list, you need a ____ pointer A. Null B. Walking C. Beginning D. insertion

a)

Null

b)

Walking

c)

Beginning

d)

insertion

93.

How many symbols can be represented by a bit pattern with ten bits?

a)

128

b)

256

c)

512

d)

1024

94.

The address produced by a hashing algorithm is the _____ address. A. Probe B. Synonym C. Collision D. Home

a)

Probe

b)

Synonym

c)

Collision

d)

Home

95.

____ between modules in a software system must be minimized.

a)

Coupling

b)

Cohesion

c)

Neither coupling nor cohesion

d)

Both coupling and cohesion

96.

When a sequential file is updated, the ____ file contains the changes to be applied

a)

new master

b)

old master

c)

Transaction

d)

error report

97.

The third generation of computers covers the period:

a)

1971-1982

b)

1982-1994

c)

1959-1964

d)

1965-1971

e)

1995-now

98.

________ means that the data must arrive at the receiver exactly as they were sent

a)

Nonrepudiation

b)

Message integrity

c)

Authentication

d)

Secrecy

99.

_________ is a protocol for file transfer

a)

FTP

b)

SMTP

c)

TELNET

d)

HTTP

100.

The unary ____ operation always results in a relation that has exactly one more row than the original relation.

a)

insert

b)

delete

c)

update

d)

select

101.

__________ is a program that facilitates the execution of other programs.

a)

A queue

b)

An operating system

c)

An Application program

d)

Hardware

102.

When there is memory space available to load the program totally or partially, the job moves to the It …now becomes a process

a)

Hold state

b)

Ready state

c)

Running state

d)

Waiting state

103.

The base of the octal number system is _____

a)

2

b)

8

c)

10

d)

16

104.

To prevent ______ an operating system can put resource restrictions on processes

a)

Starvation

b)

Synchronization

c)

Paging

d)

Deadlock

105.

Convert the binary number (110.11)2 to decimal

a)

6.7

b)

7.75

c)

6.75

d)

27

106.

The smallest storage area on a magnetic disk that can be accessed at one time is a ________

a)

Sector

b)

Head

c)

Track

d)

Frame

107.

A program that converts computer data into some code system other than the normal one is known as:

a)

Encoder

b)

Simulation

c)

Emulator

d)

Coding

108.

If you want to change the value of an attribute of a tuple, you use the ____ operation.

a)

Project

b)

Join

c)

Update

d)

Select

109.

A step-by-step solution to a problem is called ______:

a)

Hardware

b)

An Algorithm

c)

An Operating system

d)

A Computer language

110.

_________ is the breaking up of a large project into smaller parts.

a)

Obsolescence

b)

Modularization

c)

Incrementing

d)

Coupling

111.

Tape is an example of a storage device that can be accessed _________

a)

Sequentially

b)

Randomly

c)

Hash

d)

no

112.

Index register that is automatically incremented or decremented with each use is:

a)

None of the others

b)

Assembler

c)

Asynchronous

d)

Auto index

e)

Compiler

113.

An IPv4 address is a _______ address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.

a)

32-bit

b)

None of others

c)

128-bit

d)

64-bit

114.

The RSA algorithm for confidentiality uses ______ cryptography

a)

Asymmetric-key

b)

Symmetric-key

c)

Substitution

d)

Transposition

115.

_____ were designed in the 1950s to control mainframe computers.

a)

Time-sharing systems

b)

Parallel systems

c)

Batch operating system

d)

Personal systems

116.

A(n) ___ is a sequenced collection of elements of the same data type and uses an index to indicate the ordinal number of the element counting from the beginning

a)

Array

b)

Record

c)

Linked list

d)

Tree

117.

All the members of a record must be _____:

a)

Character Type

b)

Related types

c)

The same type

d)

Integer type

118.

What is returned from an output device when it retrieves the bit string 00101011 stored in memory as an unsigned integer?

a)

-43

b)

53

c)

43

d)

-53

119.

A multi programming system is one that can

a)

A. Run very fast

b)

B. Share hardware resources with many programs simultaneously

c)

C. Compute many programs simultaneously

d)

D. Use many operating systems

e)

E. None of the others

120.

The base of the binary number system is_____

a)

2

b)

16

121.

Inside the ADT are two different parts of the model that are__ and___

a)

Application program and public operations

b)

Data structure and application program

c)

Application program and private operations

d)

Data structure and operations

122.

The process of entering data into a storage location

a)

adds to the contents of the location

b)

cause variation in its address number

c)

is known as a readout operation

d)

is destructive of previous contents

123.

________ means that the sender and the receiver expect confidentiality.

a)

Authentication

b)

Integrity

c)

encryption and decryption

d)

Nonrepudiation

124.

A word can be _____ bits.

a)

only 32

b)

only 8

c)

8 or 16 or 32

d)

only 16

125.

What is method in the object-oriented paradigm means that we can define several operations with the same name that can do different things in related classes?

a)

A. Method

b)

B. Inheritance

c)

C. Polymorphism

d)

D. Classes