Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Science Quiz

Total questions: 103

Worksheet time: 52mins

Name
Class
Date
1.

The physic-layer addresses, sometimes called ____ are locally defined addresses, each of specific host or router in a network (LAN or WAN).

a)

TCP

b)

Port numbers

c)

MAC addresses

d)

IP address

2.

____ file can be accessed randomly.

a)

A sequential

b)

An indexed

c)

A hashed

d)

Any

3.

In ____, more than one program is in memory at the same time, and they are executed concurrently, with the CPU switching rapidly between the programs.

a)

operating system

b)

monoprogramming

c)

multiprogramming

d)

Microprogramming

4.

Of the various database models, the model is the most prevalent today.

a)

Hierarchical

b)

Network

c)

Relational

d)

Linked list

5.

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

a)

Only data

b)

Only programs

c)

Data and programs

d)

Neither data nor programs

6.

In the fetch phase, the control unit orders the system to copy the next instruction into the ____ in the CPU.

a)

Program counter

b)

Instruction register

c)

Memory

d)

Register

7.

A ______ is a storage device that can undergo multiple writes and erasures.

a)

CD-ROM

b)

CD-R

c)

CD-RW

d)

CD-RR

8.

What is the name of the display feature that highlights areas of the screen which require operator attention?

a)

Pixel

b)

Reverse video

c)

Touch screen

d)

Cursor

e)

None of the other

9.

Binary numbers need more places for counting because:

a)

O's and 1's can be added in front of them

b)

O's and 1's have to be properly placed

c)

They are always big numbers

d)

Binary base is small

e)

None of the others

10.

Convert the FRACTION decimal number 0.625 to binary.

a)

1.010

b)

0.101

c)

1.110

d)

0.110

11.

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

12.

Assume a new Excess system uses 17 bits to represent the exponent section. What is he bias value in this system?

a)

17

b)

16

c)

65535

d)

65536

13.

A 32-bit code called ____ represents symbols in all languages.

a)

ANSI

b)

Unicode

c)

EBCDIC

d)

Extended ASCII

14.

In storing audio, how many samples per second is good enough to reproduce an audio signal?

a)

10 000

b)

20 000

c)

30 000

d)

40 000

15.

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

a)

1001 1001

b)

1001 1000

c)

0100 1101

d)

0100 1100

16.

A hybrid computer uses a to convert digital signals from a computer into analog signals.

a)

Modulator

b)

Demodulator

c)

Modem

d)

Decoder

e)

None of the others

17.

A program may need files located in different parts of the world. Networking and internetworking have created a new dimension in operating system that is1.

a)

Personal systems

b)

Distributed systems

c)

Parallel systems

d)

Real-time system

18.

____ can occur if a process has too many resource restrictions.

a)

Starvation

b)

Synchronization

c)

Paging

d)

Deadlock

19.

The construct uses a set of actions one after another.

a)

Sequence

b)

Decision

c)

Repetition

d)

Flow

20.

____ is a basic algorithm that arranges data according to its value.

a)

Inquiry

b)

Sorting

c)

Searching

d)

Recursion

21.

____ refers to the process of translating each line of the source program into the corresponding line of the object program and executing the line.

a)

Object program

b)

Source program

c)

Translation

d)

Interpretation

22.

A ____ uses the principle of logical reasoning to answer queries. It is based on formal logic defined by Greek mathematicians and later developed into first-order predicate calculus.

a)

Procedural paradigm

b)

Functional paradigm

c)

Declarative paradigm

d)

Object-oriented paradigm

23.

What is model a process of software development where requirements divided into multiple standalone modules of the software development cycle?

a)

Waterfall model

b)

Incremental model

c)

Development process

d)

Software engineering

24.

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

a)

Modularity

b)

Coupling

c)

Interoperability

d)

Cohesion

25.

To search for elements, we can use...... on sorted arrays that can help to decrease time complexity.

a)

Sequential search

b)

Insertion sort

c)

Selection sort

d)

Binary search

26.

A stack is a ____ structure.

a)

FIFO

b)

LIFO

c)

DIFO

d)

SIFO

27.

A(n) ____ list is also known as a queue.

a)

LIFO

b)

FIFO

c)

unordered

d)

Ordered

28.

If the transaction file key is 20 and the first master file key is 25, then we ____.

a)

add the new record to the new master file

b)

revise the contents of the old master file

c)

delete the data

d)

write the old master file record to the new master file

29.

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

a)

Home directory

b)

Working directory

c)

Parent directory

30.

____ is needed to allow any relation in the database to be represented, to allow a language like SQL to use powerful retrieval operations composed of atomic operations, to remove anomalies in insertion, deletion, and updating, and reduce the need for restructuring the database as new data types are added.

a)

Relational database

b)

Database system

c)

Atomic operations

d)

Normalization

31.

In ____ cryptography, everyone has access to everyone's public key.

a)

symmetric-key

b)

asymmetric-key

c)

secret-key

d)

Private-key

32.

How many digits are in the hexadecimal representation of decimal 20?

a)

1

b)

2

c)

3

d)

4

e)

None

33.

How many bits are in the binary representation of decimal 20?

a)

4

b)

5

c)

6

d)

7

34.

Which representation is erroneous?

a)

(11)92

b)

(14)98

c)

(5F)16

d)

22A

35.

Which is not a valid time unit?

a)

Millisecond

b)

Microsecond

c)

Nanosecond

d)

Procseconds

e)

None

36.

Which 32-bit microprocessor was used in IBM PS/2 Model 80?

a)

0008

b)

50086

c)

80086

d)

80486

e)

None

37.

Which computer generation covers 1964-1971?

a)

First

b)

Second

c)

Third

d)

Fourth

e)

None

38.

In the Turing model, the ____ depends on input data and program.

a)

Output data

b)

Instructions

c)

Algorithm

d)

Data processing

39.

An English-like representation of code is called ____.

a)

A URL diagram

b)

A program

c)

Pseudocode

d)

An algorithm

40.

Why is the OS responsible for efficient I/O device use?

a)

Maintains queues for each device.

b)

Devices are slower than CPU/memory.

c)

May use FIFO for one device.

d)

Needs to know when a device finishes serving a process.

41.

Every process is ____.

a)

Only a job

b)

Only a program

c)

Only a partition

d)

A job and a program

42.

A multiprogramming method where programs occupy fixed memory spaces is called ____.

a)

Positioning

b)

Paging

c)

Demand paging

d)

Fixed partitioning

43.

The OS does NOT need to manage ____.

a)

Memory manager

b)

Process manager

c)

Device manager

d)

Input/output data manager

44.

What supervises computer system components?

a)

Operating system

b)

Hardware

c)

A queue

d)

An application program

45.

The protocol to retrieve web pages is ____.

a)

FTP

b)

SMTP

c)

TELNET

d)

HTTP

46.

In asymmetric-key cryptography, which key(s) is/are publicly known?

a)

Encryption key only

b)

Decryption key only

c)

Both encryption and decryption keys

d)

Neither encryption key nor decryption key

47.

____ cryptography is often used for short messages.

a)

Symmetric-key

b)

Asymmetric-key

c)

Steerlekey

d)

Open-key

48.

An attack that modifies information to benefit the attacker threatens ____.

a)

Snooping

b)

Repudiation

c)

Denial of service

d)

Traffic analysis

49.

A DBMS is a combination of ____ components.

a)

2

b)

3

c)

4

d)

5

50.

In the internet today, Backbones and provider networks are also called ____.

a)

Customer networks

b)

Provider networks

c)

Peering points

d)

Internet service providers (ISPs)

51.

The role of the physical layer is to transfer the bits received from the data-link layer and convert them to for transmission.

a)

Analog signals

b)

Electromagnetic signals

c)

Digital signals

d)

Electronic signals

52.

What is the domain name in the e-mail address kayla@nasa.gov?

a)

kayla

b)

kayla@nasa.gov

c)

nasa.gov

d)

.gov

53.

____ is a very 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

54.

A program that reads each of the instructions in mnemonic form and translates it into the machine-language equivalent:

a)

Machine language

b)

Assembler

c)

Interpreter

d)

C program

55.

A program that reads each of the instructions in mnemonic form and translates it into the machine-language equivalent:

a)

Machine language

b)

Assembler

c)

Interpreter

d)

C program

56.

Programs designed to perform specific tasks is called known as:

a)

System software

b)

Application software

c)

Utility programs

d)

Operating system

e)

None of the others

57.

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

58.

The result of the decode step is the ____ for some operation that the system will perform.

a)

Output

b)

Data processing

c)

Binary code

d)

Code

59.

A number which is stored and processed but not in the standard exponential form is called

a)

Fixating point number

b)

Fixed point number

c)

Octal number

d)

Decimal number

e)

None of the others

60.

Which of the following representations is erroneous?

a)

(11)2

b)

(24)2

c)

(EEC)16

d)

21

61.

The maximum value of a binary integer with K digits (e.g., K=5) is ____.

a)

30

b)

31

c)

32

d)

33

62.

A group includes ____ bits in the binary system represented as one digit in the hexadecimal system.

a)

1

b)

2

c)

3

d)

4

e)

None of the others

63.

In two's complement representation with a 4-bit allocation, we get ____ where we add 5 to 6.

a)

-5

b)

-8

c)

-7

d)

10

64.

EBCDDCC can code up to how many different characters?

a)

8

b)

16

c)

32

d)

64

e)

256

65.

In storing audio, if the signal changes rapidly, we need more samples. A ____ of 40,000 samples per second is sufficient to reproduce an audio signal.

a)

Quantization

b)

Sampling rate

c)

Encoding

66.

Images are stored in computers using ____ techniques.

a)

Raster graphics and bit map

b)

Vector graphics and bit map

c)

Time-color and raster graphics

d)

Index-color and vector graphics

e)

Bit map

67.

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

a)

0100 1100

b)

0011 0001

c)

1001 1001

d)

1001 1000

68.

Use a simple left shift operator on the bit pattern 1001 1000.

a)

0001 1001

b)

0001 1010

c)

0011 0000

d)

0011 0001

69.

A ____ is usually privately owned, limited in size, and connects hosts in a single office, building, or campus.

a)

LAN

b)

WAN

c)

Internet

d)

Network

70.

Instead of using a numeric address, what unique address connects a host to the Internet in TCP/IP?

a)

DNS

b)

Port number

c)

MAC addresses

d)

IP address

71.

At the transport layer, TCP groups bytes into a packet called a ____.

a)

Frame

b)

Bit pattern

c)

Segment

d)

Packet

72.

In the ____ paradigm, a service provider runs continuously, waiting for another application to connect via the Internet.

a)

PSP

b)

Traditional

c)

Client-server

d)

Model

73.

Instructions stored in ROM to start up a computer in IBM-compatible PCs are called the ____.

a)

RAM BIOS

b)

ROM BIOS

c)

EPROM

d)

POST

e)

None of the others

74.

Which of the following is the user-programmed semiconductor memory?

a)

SRAM

b)

DRAM

c)

EPROM

d)

At of the others

e)

None of the others

75.

A mechanism for arranging controlled access to a shared resource is ____.

a)

Reviewing

b)

Sorting

c)

Blalking

d)

Look-out

e)

None of the others

76.

In peripheral device management, what is the principle of hierarchical work in third-generation OS?

a)

Processes - Peripheral device - Control device

b)

Processes - Control device - Peripheral device

c)

Control device - Peripheral device - Processor

d)

None of the answers are correct

77.

____ is an English-like representation of an algorithm with no strict standard.

a)

Pseudocode

b)

Unified Modeling Language (UML)

c)

Flowchart

d)

State diagram

78.

____ is a basic algorithm to find the location of a target in a list.

a)

Sorting

b)

Searching

c)

Product

d)

Summation

79.

In ____ sort, the item added to the sorted list is always the first from the unsorted list.

a)

Selection

b)

Bubble

c)

Insertion

d)

Every

80.

Time during which a job is processed by the computer is called ____.

a)

Delay time

b)

Rest time

c)

Execution time

d)

Down time

e)

None of the others

81.

Prolog is an example of a ____ language.

a)

Procedural

b)

Functional

c)

Declarative

d)

Object-oriented

82.

Pascal is a ____ language.

a)

Procedural

b)

Functional

c)

Declarative

d)

Object-oriented

83.

Which data of the following cannot change value with time?

a)

Consensus

b)

Literals

c)

Input/output

d)

Variables

84.

What is the analysis process in the system implementation phase that uses a program as an active agent manipulating passive objects?

a)

Procedure-oriented analysis

b)

Structured analysis

c)

Classical analysis

d)

AI of others

85.

Between modules in a software system, ____ must be minimized.

a)

Coupling

b)

Cohesion

c)

Neither coupling nor cohesion

d)

Both coupling and cohesion

86.

In software quality, what factor measures maintainability?

a)

Accuracy

b)

Timeliness

c)

Potestability

d)

Changeability

87.

____ is a method in which each statement in the software is executed at least once.

a)

Basis path testing

b)

Condition testing

c)

Loop testing

d)

Boundary testing

88.

A ____ is a collection of related elements, possibly of different types, under a single name.

a)

Array

b)

Record

c)

LinkedList

d)

Tree

89.

The ____ of each node includes one of its children and all descendants of that child.

a)

Left tree

b)

Binary tree

c)

Subtree

d)

Right tree

90.

Key ____ list is also known as a queue.

a)

LIFO

b)

FIFO

c)

unordered

d)

ordered

91.

A ____ is a collection of data stored in the internal format of the computer, meaningful only if properly interpreted by a program.

a)

Text file

b)

Binary file

c)

Sequential file

d)

EOF

92.

In the ____ hashing method, the key is divided by the file size, and the address is the remainder plus 1.

a)

Direct

b)

Division remainder

c)

Module division

d)

Digit extension

93.

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

a)

External

b)

Conceptual

c)

Internal

d)

Physical

94.

Each item in a relation is called ____.

a)

An attribute

b)

A tuple

c)

A union

d)

An attitude

95.

What is the result of a difference operation between two 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

96.

For each entity set in the E-R diagram, we create a relation (table) in which there are n columns related to the attributes defined for that set.

a)

n-1

b)

n

c)

n+1

d)

1-n

97.

When the ciphertext is received, the receiver must transform the ciphertext back into the plaintext-this is ____.

a)

Plain text

b)

Cipher text

c)

Encryption

d)

Decryption

98.

The main principles of ethics are ____.

a)

Moral rules, social contract, utilization

b)

Ethical decision, social justice, procedural justice

c)

Beneficence, procedural justice, fidelity

d)

Normalisiveness, social justice, fidelity

99.

Who exploits internet systems to make public certain vast datasets of information that would benefit everyone?

a)

Black Hat Hacker

b)

Grey Hat Hacker

c)

Red Hat Hacker

d)

Blue Hat Hacker

100.

In ____, the identity of a party is verified once for the entire duration of system access.

a)

entity authentication

b)

message integrity

c)

message authentication

d)

message encryption

101.

The ____ model is the basis for today's computers.

a)

Leibniz

b)

Von Neumann

c)

Pascal

d)

Charles Babbage

102.

C++ and C# languages are ____ languages.

a)

Procedural

b)

Functional

c)

Declarative

d)

Object-oriented

103.

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