Font size
WorksheetsComputer Science Quiz
Total questions: 125
Worksheet time: 1hrs 3mins
Which of the following is the expansion of EBCDIC
Extended bit comparable to digital interface for computer.
Extended bootable computerized digital infrared calculator.
Extended binary coded decimal interchange code.
Extended binary coded decimal information code.
None of the others.
FORTRAN is a(n)__-s language.
A. Procedural
B. Functional
C. Declarative
D. Object-oriented
In paging, a program is divided into equally sized sections called
Pages
Frames
Segments
Partitions
Instructions and memory addresses are represented by
A. Character codes
B. Binary codes
C. Binary word
D. Parity bit
E. None of the others
The of ethics says that we should avoid doing anything if it is against universal morality
Moral rules
Social contract
Ultilization
Nonmaleficence
In the hierarchical database model, data is organized as an inverted
Graph
Tree
Array
Record
___ is a measure of how tightly two modules are bound to each other.
Modularity
Coupling
Interoperability
Cohesion
A one-bit signal that indicates the start of data transmission by an asynchronous device is _______.
Parity bit
Status bit
Zero bit
Start bit
None of the others
If modules are written so that they can be reused in other systems then they have high levels of ________.
Flexibility
Interoperability
Reusability
Changeability
In the system development process, structure charts are tools used in the ______ phase.
Analysis
Design
Implementation
Testing
Symmetric-key cryptography is based on sharing secrecy; asymmetric-key cryptography is based on__
Secrets
Mathematical function
Privacy data
Personal secrecy
___________means concealing the contents of a message by enciphering.
Steganography
Cryptography
Compressing
Authentication
The Stack operation returns an
Full stack
Empty stack
Check status of stack
All of above
Each element in a record is called _________.
A variable
An index
A field
The __is the highest level in the file system hierarchy. This does not have a parent directory
Root directory
Home directory
Working directory
Parent directory
What is the result of difference database operation from 2 relation tables?
Neither the first relation nor the second.
Both of the first relation and the second.
The first relation but not the second.
The second but not the first.
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
The dequeue operation __ the item at the __ of the queue
Delete front
Delete end
Inserts front
Insert rear
_______is abasic algorithm that adds a list of numbers.
A. Summation
B. Product
C. Smallest
D. Largest
Where have the program and data to be located before the ALU and control unit of a computer can operate on it?
A. Internal memory
B. Secondary memory
C. Microprocessor
D. Magnetic tapes
E. None of the others
__________ is required to allow any relation in the database to be represented, to allow a query language
Relational database
Database system
Atomic operations
Normalization
A register in a CPU can hold :
Only data
Only instructions
Only program counter values
Data, instruction, or program counter values
_____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.
TCP
UDP
IP
HTTP
Each element in a record is called _________.
A. A variable
B. An index
C. A field
D. A node
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. Directed graph
B. Undirected graph
C. Edges
D. Arcs
Human beings are referred to as Homosapiens. Which device is called Silico sapiens?
Monitor
Hardware
Robot
Computer
None of the others
_______is a protocol for accessing and transferring documents on the WWW.
FTP
SMTP
TELNET
HTTP
What is method in black-box testing which tests are designed to include representatives of boundary values in a range?
Boundary-value testing
Random testing
Exhaustive testing
Data flow testing
An operating system is:
A. An interface between the hardware of a computer and the user
B. A program (or a set of programs) that facilitates the execution of other programs.
C. A general manager supervising the activity of each component in the computer system.
D. Convert multimedia into binary.
A technique used by codes to convert an analog signal into a digital bit stream is known as
A. Pulse code modulation
B. Pulse stretcher
C. Query processing
D. Queue management
E. None of the above
A program that is employed in the development, repair or enhancement of other programs is known as
System software
Software tool
Applications program
Utility program
None of the others
The device manager maintains one or more for similar input/output devices
A. Graph
B. Array
C. Stack
D. Queue
In the ______ hashing method, selected digits are extracted from the key and used as the address.
Direct
Division remainder
Modulo division
Digit extraction
The image encoding method, but it does not store the bit patterns for each pixel
A. Bitmap
B. Quantized
C. Vector graphic
D. Binary
In the modulo division hashing the reason for adding a 1 to the mod operation resultis
That our list starts with 1 instead of 0
That the key starts from 1
That the prime number more than 1
All of others
An____is a language-specific token that requires an action to be taken such as arithmetic and relational
Expression
Operator
Variables
Input/output
_______is usually privately owned, limited in size and connects some hosts in a single office, building, or campus.
A. LAN
B. WAN
C. Internet
D. Network
The in the TCP/IP protocol suite is responsible for the host-to-host delivery of messages
Physical
Data-link
Network
Transport
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. Monoalphabetic cipher
B. Substitution cipher
C. Polyalphabetic cipher
D. Transposition cipher
The layer ______ of the TCP/IP protocol suite is responsible for node-to-node delivery of a frame between two adjacent nodes.
A. Transport
B. Network
C. Data-tink
D. Session
Which is another name for functional language?
A. Machine
B. Application language
C. Low-level language
D. High-level language
E. None of the others
Which component is not an operating system component?
A. File access management program
B. Device driver program
C. Program scheduler for process
D. Free memory management program
_______ results in a specification document that shows what the software will do without specifying how it will be done.
Analysis phase
Design phase
Implementation phase
Testing phase
What is the result of one's complement B?
NotB
Add B with 1
XOR B with 0
AND B with 0
OR B with 1
____is an ordered set of unambiguous steps that produces a result and terminates in a finite time.
A. Aconstruct
B. Arecursion
C. An iteration
D. An algorithm
A group contains __bits in the binary system are represented as one digit in the octal system
1
2
3
4
None of the others
Use a simple right shift operation on the bit pattern 1001 1000.
1001 1001
1001 1000
0100 1101
0100 1100
Which of the following is equivalent to 24 in decimal?
A. (11000)2
B. (1A)16
C. (31)8
D. None of the above
In ____ traversal of a perfect binary tree, the left subtree is processed second.
preorder
inorder
postorder
out of order
Which of the following is a physical record in a database?
Group
Blocking factor
Sector
Field
None of the others
A process in the ready state goes to the running state when
A. It enters memory
B. It requests I/O
C. It gets access to the CPU
D. It finishes running
One phase in system development is
Analysis
Application
Designing
Collecting
In RSA, if user A wants to send an encrypted message to user B, the plaintext is encrypted with the public key of
User A
User B
The network
A third party
A number which ts stored and processed but not in the standard exponential form is called_______.
A. Floating point number
B. Fixed point number
C. Octal number
D. Decimal number
E. None of the others
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
Which of the following attacks is threatening integrity?
A. Snooping
B. Repudiation
C. Denial of service
D. Traffic analysis
The ____ construct tests a condition.
sequence
decision
repetition
flow
When was Apple Macintosh II microcomputer introduced in the market?
A. 1964
B. 1970
C. 1986
D. 1987
E. None of the others
____ is the breaking up of a large project into smaller parts.
Coupling
Incrementing
Obsolescence
Modularization
What can a data structure be?
Only an array
Only a record
Only a linked list
An array, a record, or a linked list
Before insertion into a linked list we first apply the searching algorithm because we DO NOT ___
A. Allow insertion into an empty list
B. Allow insertion in the middle of the list
C. Allow insertion at the beginning of the list
D. Allow data with duplicate values
E. None of the others
In ____ cryptography, the same key is used in both directions.
symmetric-key
asymmetric-key
public-key
open-key
How many layers does the TCP/IP model have?
Five
Six
Seven
Eight
Who is considered the 'father' of the minicomputer and one of the founder fathers of the modern computer industry world-wide?
George Tate
Kenneth H. Olsen
Seymour Cray
Basic Pascal
None of the above
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.
Programmed I/O
Interrupt-driven I/O
DMA
Isolated I/O
____ operator (s) takes two inputs to produce one output.
Only AND
Only OR
Only XOR
AND, OR, or XOR
What is used to search for an ordered list?
Sequential
Binary
Bubble
Insertion
A byte consists of _____ bits A. 2 B. 4 C. 8 D. 16
2
4
8
16
Which is a unit representing the no bits of discrete.
Baud
Byte
Bit
All of the above
None of the above
The octal equivalent of 1100101 001010 is _____ A. 624.12 B. 145.12 C. 154.12 D. 145.21 E. None of the above
624.12
145.12
154.12
145.21
None of the above
to everyone's public key.
symmetric-key
asymmetric-key
secret-key
private-key
In an inorder traversal of a perfect binary tree, the root is processed ______
First
Second
Last
two times
The index of an indexed file has ______ fields A. Two B. Three C. Four D. any number of
Two
Three
Four
any number of
Who are those who exploit the internet systems only to make public certain vast datasets of information that would be of benefit to everyone?
Black Hat Hacker
Grey Hat Hacker
Red Hat Hacker
Blue Hat Hacker
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
Page printer
Line printer
Laser printer
Dot matrix printer
None of the above
The no of logical records in a physical record is .
A. Group
B. Blocking factor
C. Sector
D. Field
E. None of the others
______ is a stand-alone storage location that holds data temporarily
An ALU
A register
A control unit
A tape drive
A data structure can be________.
A. Only an array
B. Only arecord
C. Only a linked list
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
Data element
Elementary data item
Data entry
Database management
None of the above
The maximum value of a hexadecimal integer with K digits is Nmax = ____ ?
A. 16 bits
B. 16^K
C. 16^K - 1
D. 2^K.2^4
E. None of the others
A ____ controller is a high-speed serial interface that transfers data in packets.
SCSI
USB
FireWire
USB and FireWire
___ 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
deletes an item from the top
deletes an item from the bottom
inserts an item at the top
inserts an item at the bottom
What is the binary equivalent of the Octal number 13.54?
1011.1011
1101.1110
1001.1110
All of the others
None of the others
____ operator (s), if the input is two 1s, the output is 0.
Inonly AND
Inonly OR
In only XOR
In AND, OR, or XOR
What is a program of UNIX that accepts requests from users (processes) and interprets them for the rest of the operating system?
Software
Function
SHELL
Feature
_______ 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
Sorting
Searching
Product
summation
The ASCII code for the character J is
1001 0001
1001 1010
0100 1010
1010 0001
A data item which is not broken down into smaller units is _____
Data element
Elementary data item
Data entry
Database management
_____ operator(s) takes two inputs to produce one output
Only AND
Only OR
Only XOR
AND, OR, or XOR
In a DBMS, who are those humans who can access the database directly to get information?
Database administrators
Normal users
Application programs
End users
_____ protocol(s) is one of the protocols in the transport layer
Only TCP
Only UDP
Only SCTP
TCP, UDP, and SCTP
To traverse a list, you need a ____ pointer A. Null B. Walking C. Beginning D. insertion
Null
Walking
Beginning
insertion
How many symbols can be represented by a bit pattern with ten bits?
128
256
512
1024
The address produced by a hashing algorithm is the _____ address. A. Probe B. Synonym C. Collision D. Home
Probe
Synonym
Collision
Home
____ between modules in a software system must be minimized.
Coupling
Cohesion
Neither coupling nor cohesion
Both coupling and cohesion
When a sequential file is updated, the ____ file contains the changes to be applied
new master
old master
Transaction
error report
The third generation of computers covers the period:
1971-1982
1982-1994
1959-1964
1965-1971
1995-now
________ means that the data must arrive at the receiver exactly as they were sent
Nonrepudiation
Message integrity
Authentication
Secrecy
_________ is a protocol for file transfer
FTP
SMTP
TELNET
HTTP
The unary ____ operation always results in a relation that has exactly one more row than the original relation.
insert
delete
update
select
__________ is a program that facilitates the execution of other programs.
A queue
An operating system
An Application program
Hardware
When there is memory space available to load the program totally or partially, the job moves to the It …now becomes a process
Hold state
Ready state
Running state
Waiting state
The base of the octal number system is _____
2
8
10
16
To prevent ______ an operating system can put resource restrictions on processes
Starvation
Synchronization
Paging
Deadlock
Convert the binary number (110.11)2 to decimal
6.7
7.75
6.75
27
The smallest storage area on a magnetic disk that can be accessed at one time is a ________
Sector
Head
Track
Frame
A program that converts computer data into some code system other than the normal one is known as:
Encoder
Simulation
Emulator
Coding
If you want to change the value of an attribute of a tuple, you use the ____ operation.
Project
Join
Update
Select
A step-by-step solution to a problem is called ______:
Hardware
An Algorithm
An Operating system
A Computer language
_________ is the breaking up of a large project into smaller parts.
Obsolescence
Modularization
Incrementing
Coupling
Tape is an example of a storage device that can be accessed _________
Sequentially
Randomly
Hash
no
Index register that is automatically incremented or decremented with each use is:
None of the others
Assembler
Asynchronous
Auto index
Compiler
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.
32-bit
None of others
128-bit
64-bit
The RSA algorithm for confidentiality uses ______ cryptography
Asymmetric-key
Symmetric-key
Substitution
Transposition
_____ were designed in the 1950s to control mainframe computers.
Time-sharing systems
Parallel systems
Batch operating system
Personal systems
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
Array
Record
Linked list
Tree
All the members of a record must be _____:
Character Type
Related types
The same type
Integer type
What is returned from an output device when it retrieves the bit string 00101011 stored in memory as an unsigned integer?
-43
53
43
-53
A multi programming system is one that can
A. Run very fast
B. Share hardware resources with many programs simultaneously
C. Compute many programs simultaneously
D. Use many operating systems
E. None of the others
The base of the binary number system is_____
2
16
Inside the ADT are two different parts of the model that are__ and___
Application program and public operations
Data structure and application program
Application program and private operations
Data structure and operations
The process of entering data into a storage location
adds to the contents of the location
cause variation in its address number
is known as a readout operation
is destructive of previous contents
________ means that the sender and the receiver expect confidentiality.
Authentication
Integrity
encryption and decryption
Nonrepudiation
A word can be _____ bits.
only 32
only 8
8 or 16 or 32
only 16
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. Method
B. Inheritance
C. Polymorphism
D. Classes
