WorksheetsComputer Science Quiz
Total questions: 103
Worksheet time: 52mins
The physic-layer addresses, sometimes called ____ are locally defined addresses, each of specific host or router in a network (LAN or WAN).
TCP
Port numbers
MAC addresses
IP address
____ file can be accessed randomly.
A sequential
An indexed
A hashed
Any
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.
operating system
monoprogramming
multiprogramming
Microprogramming
Of the various database models, the model is the most prevalent today.
Hierarchical
Network
Relational
Linked list
According to the von Neumann model, are stored in memory.
Only data
Only programs
Data and programs
Neither data nor programs
In the fetch phase, the control unit orders the system to copy the next instruction into the ____ in the CPU.
Program counter
Instruction register
Memory
Register
A ______ is a storage device that can undergo multiple writes and erasures.
CD-ROM
CD-R
CD-RW
CD-RR
What is the name of the display feature that highlights areas of the screen which require operator attention?
Pixel
Reverse video
Touch screen
Cursor
None of the other
Binary numbers need more places for counting because:
O's and 1's can be added in front of them
O's and 1's have to be properly placed
They are always big numbers
Binary base is small
None of the others
Convert the FRACTION decimal number 0.625 to binary.
1.010
0.101
1.110
0.110
A group contains bits in the binary system are represented as one digit in the octal system.
1
2
3
4
Assume a new Excess system uses 17 bits to represent the exponent section. What is he bias value in this system?
17
16
65535
65536
A 32-bit code called ____ represents symbols in all languages.
ANSI
Unicode
EBCDIC
Extended ASCII
In storing audio, how many samples per second is good enough to reproduce an audio signal?
10 000
20 000
30 000
40 000
Use a simple right shift operation on the bit pattern 1001 1000.
1001 1001
1001 1000
0100 1101
0100 1100
A hybrid computer uses a to convert digital signals from a computer into analog signals.
Modulator
Demodulator
Modem
Decoder
None of the others
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.
Personal systems
Distributed systems
Parallel systems
Real-time system
____ can occur if a process has too many resource restrictions.
Starvation
Synchronization
Paging
Deadlock
The construct uses a set of actions one after another.
Sequence
Decision
Repetition
Flow
____ is a basic algorithm that arranges data according to its value.
Inquiry
Sorting
Searching
Recursion
____ refers to the process of translating each line of the source program into the corresponding line of the object program and executing the line.
Object program
Source program
Translation
Interpretation
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.
Procedural paradigm
Functional paradigm
Declarative paradigm
Object-oriented paradigm
What is model a process of software development where requirements divided into multiple standalone modules of the software development cycle?
Waterfall model
Incremental model
Development process
Software engineering
____ is a measure of how tightly two modules are bound to each other.
Modularity
Coupling
Interoperability
Cohesion
To search for elements, we can use...... on sorted arrays that can help to decrease time complexity.
Sequential search
Insertion sort
Selection sort
Binary search
A stack is a ____ structure.
FIFO
LIFO
DIFO
SIFO
A(n) ____ list is also known as a queue.
LIFO
FIFO
unordered
Ordered
If the transaction file key is 20 and the first master file key is 25, then we ____.
add the new record to the new master file
revise the contents of the old master file
delete the data
write the old master file record to the new master file
The is the highest level in the file system hierarchy. This does not have a parent directory.
Home directory
Working directory
Parent directory
____ 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.
Relational database
Database system
Atomic operations
Normalization
In ____ cryptography, everyone has access to everyone's public key.
symmetric-key
asymmetric-key
secret-key
Private-key
How many digits are in the hexadecimal representation of decimal 20?
1
2
3
4
None
How many bits are in the binary representation of decimal 20?
4
5
6
7
Which representation is erroneous?
(11)92
(14)98
(5F)16
22A
Which is not a valid time unit?
Millisecond
Microsecond
Nanosecond
Procseconds
None
Which 32-bit microprocessor was used in IBM PS/2 Model 80?
0008
50086
80086
80486
None
Which computer generation covers 1964-1971?
First
Second
Third
Fourth
None
In the Turing model, the ____ depends on input data and program.
Output data
Instructions
Algorithm
Data processing
An English-like representation of code is called ____.
A URL diagram
A program
Pseudocode
An algorithm
Why is the OS responsible for efficient I/O device use?
Maintains queues for each device.
Devices are slower than CPU/memory.
May use FIFO for one device.
Needs to know when a device finishes serving a process.
Every process is ____.
Only a job
Only a program
Only a partition
A job and a program
A multiprogramming method where programs occupy fixed memory spaces is called ____.
Positioning
Paging
Demand paging
Fixed partitioning
The OS does NOT need to manage ____.
Memory manager
Process manager
Device manager
Input/output data manager
What supervises computer system components?
Operating system
Hardware
A queue
An application program
The protocol to retrieve web pages is ____.
FTP
SMTP
TELNET
HTTP
In asymmetric-key cryptography, which key(s) is/are publicly known?
Encryption key only
Decryption key only
Both encryption and decryption keys
Neither encryption key nor decryption key
____ cryptography is often used for short messages.
Symmetric-key
Asymmetric-key
Steerlekey
Open-key
An attack that modifies information to benefit the attacker threatens ____.
Snooping
Repudiation
Denial of service
Traffic analysis
A DBMS is a combination of ____ components.
2
3
4
5
In the internet today, Backbones and provider networks are also called ____.
Customer networks
Provider networks
Peering points
Internet service providers (ISPs)
The role of the physical layer is to transfer the bits received from the data-link layer and convert them to for transmission.
Analog signals
Electromagnetic signals
Digital signals
Electronic signals
What is the domain name in the e-mail address kayla@nasa.gov?
kayla
kayla@nasa.gov
nasa.gov
.gov
____ 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.
TCP
UDP
IP
HTTP
A program that reads each of the instructions in mnemonic form and translates it into the machine-language equivalent:
Machine language
Assembler
Interpreter
C program
A program that reads each of the instructions in mnemonic form and translates it into the machine-language equivalent:
Machine language
Assembler
Interpreter
C program
Programs designed to perform specific tasks is called known as:
System software
Application software
Utility programs
Operating system
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
The result of the decode step is the ____ for some operation that the system will perform.
Output
Data processing
Binary code
Code
A number which is stored and processed but not in the standard exponential form is called
Fixating point number
Fixed point number
Octal number
Decimal number
None of the others
Which of the following representations is erroneous?
(11)2
(24)2
(EEC)16
21
The maximum value of a binary integer with K digits (e.g., K=5) is ____.
30
31
32
33
A group includes ____ bits in the binary system represented as one digit in the hexadecimal system.
1
2
3
4
None of the others
In two's complement representation with a 4-bit allocation, we get ____ where we add 5 to 6.
-5
-8
-7
10
EBCDDCC can code up to how many different characters?
8
16
32
64
256
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.
Quantization
Sampling rate
Encoding
Images are stored in computers using ____ techniques.
Raster graphics and bit map
Vector graphics and bit map
Time-color and raster graphics
Index-color and vector graphics
Bit map
Use a circular right shift operation on the bit pattern 1001 1000.
0100 1100
0011 0001
1001 1001
1001 1000
Use a simple left shift operator on the bit pattern 1001 1000.
0001 1001
0001 1010
0011 0000
0011 0001
A ____ is usually privately owned, limited in size, and connects hosts in a single office, building, or campus.
LAN
WAN
Internet
Network
Instead of using a numeric address, what unique address connects a host to the Internet in TCP/IP?
DNS
Port number
MAC addresses
IP address
At the transport layer, TCP groups bytes into a packet called a ____.
Frame
Bit pattern
Segment
Packet
In the ____ paradigm, a service provider runs continuously, waiting for another application to connect via the Internet.
PSP
Traditional
Client-server
Model
Instructions stored in ROM to start up a computer in IBM-compatible PCs are called the ____.
RAM BIOS
ROM BIOS
EPROM
POST
None of the others
Which of the following is the user-programmed semiconductor memory?
SRAM
DRAM
EPROM
At of the others
None of the others
A mechanism for arranging controlled access to a shared resource is ____.
Reviewing
Sorting
Blalking
Look-out
None of the others
In peripheral device management, what is the principle of hierarchical work in third-generation OS?
Processes - Peripheral device - Control device
Processes - Control device - Peripheral device
Control device - Peripheral device - Processor
None of the answers are correct
____ is an English-like representation of an algorithm with no strict standard.
Pseudocode
Unified Modeling Language (UML)
Flowchart
State diagram
____ is a basic algorithm to find the location of a target in a list.
Sorting
Searching
Product
Summation
In ____ sort, the item added to the sorted list is always the first from the unsorted list.
Selection
Bubble
Insertion
Every
Time during which a job is processed by the computer is called ____.
Delay time
Rest time
Execution time
Down time
None of the others
Prolog is an example of a ____ language.
Procedural
Functional
Declarative
Object-oriented
Pascal is a ____ language.
Procedural
Functional
Declarative
Object-oriented
Which data of the following cannot change value with time?
Consensus
Literals
Input/output
Variables
What is the analysis process in the system implementation phase that uses a program as an active agent manipulating passive objects?
Procedure-oriented analysis
Structured analysis
Classical analysis
AI of others
Between modules in a software system, ____ must be minimized.
Coupling
Cohesion
Neither coupling nor cohesion
Both coupling and cohesion
In software quality, what factor measures maintainability?
Accuracy
Timeliness
Potestability
Changeability
____ is a method in which each statement in the software is executed at least once.
Basis path testing
Condition testing
Loop testing
Boundary testing
A ____ is a collection of related elements, possibly of different types, under a single name.
Array
Record
LinkedList
Tree
The ____ of each node includes one of its children and all descendants of that child.
Left tree
Binary tree
Subtree
Right tree
Key ____ list is also known as a queue.
LIFO
FIFO
unordered
ordered
A ____ is a collection of data stored in the internal format of the computer, meaningful only if properly interpreted by a program.
Text file
Binary file
Sequential file
EOF
In the ____ hashing method, the key is divided by the file size, and the address is the remainder plus 1.
Direct
Division remainder
Module division
Digit extension
In a three-level DBMS architecture, the layer that interacts directly with the hardware is the ____ level.
External
Conceptual
Internal
Physical
Each item in a relation is called ____.
An attribute
A tuple
A union
An attitude
What is the result of a difference operation between two 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
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.
n-1
n
n+1
1-n
When the ciphertext is received, the receiver must transform the ciphertext back into the plaintext-this is ____.
Plain text
Cipher text
Encryption
Decryption
The main principles of ethics are ____.
Moral rules, social contract, utilization
Ethical decision, social justice, procedural justice
Beneficence, procedural justice, fidelity
Normalisiveness, social justice, fidelity
Who exploits internet systems to make public certain vast datasets of information that would benefit everyone?
Black Hat Hacker
Grey Hat Hacker
Red Hat Hacker
Blue Hat Hacker
In ____, the identity of a party is verified once for the entire duration of system access.
entity authentication
message integrity
message authentication
message encryption
The ____ model is the basis for today's computers.
Leibniz
Von Neumann
Pascal
Charles Babbage
C++ and C# languages are ____ languages.
Procedural
Functional
Declarative
Object-oriented
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
