NEW
Font size
Worksheetssăn đây CSI104
Total questions: 60
Worksheet time: 30mins
1. The _______ model is the basis for today’s computers.
Leibnitz
von Neumann
Pascal
Charles Babbage
In a computer, the _______ subsystem stores data and programs.
ALU
input/output
memory
control unit
In a computer, the _______ subsystem performs calculations and logical operations.
ALU
input/output
memory
control unit
In a computer, the _______ subsystem accepts data and programs and sends processing results to output devices
ALU
input/output
memory
control unit
In a computer, the _______ subsystem serves as a manager of the other subsystems.
ALU
input/output
memory
control unit
According to the von Neumann model, _______ are stored in memory.
only data
only programs
data and programs
neither data nor programs
A step-by-step solution to a problem is called _______.
hardware
an operating system
a computer language
an algorithm
FORTRAN and COBOL are examples of _______.
hardware
an operating system
an algorithm
a computer language
A 17th-century computing machine that could perform addition and subtraction was the _______.
Pascaline
Jacquard loom
Analytical Engine
Babbage machine
_______ is a set of instructions in a computer language that tells the computer what to do with data.
An operating system
An algorithm
A data processor
A program
_______ is the design and writing of a program in structured form.
Software engineering
Hardware engineering
Algorithm development
Instructional architecture
The first electronic special-purpose computer was called _______.
Pascal
Pascaline
ABC
ENIAC
One of the first computers based on the von Neumann model was called _______.
Pascal
Pascaline
ABC
EDVAC
The first computing machine to use the idea of storage and programming was called
the Madeline
EDVAC
the Babbage machine
the Jacquard loom
_______ separated the programming task from computer operation tasks.
Algorithms
Data processors
High-level programming languages
Operating systems
The base of the decimal number system is ____.
2
8
10
16
The base of the binary number system is ____.
2
8
10
16
The base of the octal number system is ____.
2
8
10
16
The base of the hexadecimal number system is ____.
2
8
10
16
When converting a decimal fraction to base b, we repeatedly ____b.
divide/. by
multiply/ by
add to
subtract from
When converting a decimal integer to base b, we repeatedly _____ b.
divide/. by
multiply/ by
add to
subtract from
Which of the following representations is erroneous?
(10111)2
(349)8
(3AB)16
256
Which of the following representations is erroneous?
(10211)2
(342)8
(EEE)16
145
Which of the following representations is erroneous?
(111)2
(346)8
(EEG)16
221
Which of the following representations is erroneous?
(110)2
(141)8
(EF)16
22A
Which of the following is equivalent to 12 in decimal?
(1110)2
(C)16
(15)8
None of the above
Which of the following is equivalent to 24 in decimal?
(11000)2
(1A)16
(31)8
None of the above
A byte consists of _______ bits.
2
4
8
16
In a set of 64 symbols, each symbol requires a bit pattern length of _______ bits.
4
5
6
7
How many symbols can be represented by a bit pattern with ten bits?
128
256
512
1024
If the ASCII code for E is 1000101, then the ASCII code for e is _______. Answer the question without consulting the ASCII table.
1000110
1000111
0000110
1100101
A 32-bit code called _______ represents symbols in all languages.
ANSI
Unicode
EBCDIC
Extended ASCII
An image can be represented in a computer using the _______ method.
Bitmap graphic
Only vector graphic
Only Excess system
Only either bitmap or vector graphic
In the _______ graphic method of representing an image in a computer, each pixel is assigned a bit patterns.
bitmap
vector
quantized
binary
In the _______ graphic method of representing an image in a computer, the image is decomposed into a combination of geometrical figures.
bitmap
vector
quantized
binary
In the _______ graphic method of representing an image in a computer, re-scaling of the image creates a ragged or grainy image.
bitmap
vector
quantized
binary
When we want to store music in a computer, the audio signal must be _______.
sampled only
quantized only
coded only
sampled, quantized, and coded
A floating-point value after normalization is (1.0101) ´ 2-4.
What is the value of exponent section in the Excess-127 representation?
4
-4
127
123
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
Which number representation method is often used to store the exponential value of a fractional part?
unsigned integers
two’s complement
Excess
ten’s complement
In an Excess conversion, we _______ the number to be converted.
add the bias number to
subtract the bias number from
multiply the bias number by
divide the bias number by
When a fractional part is normalized, the computer stores the _______.
only the sign
only the exponent
only the mantissa
the sign, exponent, and mantissa
The precision of the fractional part of a number stored in a computer is defined by the _______.
sign
exponent
mantissa
last digit
The combination of sign and mantissa of a real number in IEEE standard floating point format is stored as an integer in the ____________ representation.
unsigned
sign-and-magnitude
two’s complement
one’s complement
_______ is an arithmetic operation.
The exclusive OR
The unary NOT
Subtraction
The binary AND
_______ is a logical bit operator.
The exclusive OR
The unary NOT
The binary AND
exclusive OR, unary NOT, or binary AND
The _______ method of integer representation is the most common method for storing integers in computer memory.
sign-and-magnitude
one’s complement
two’s complement
unsigned integers
In two’s complement addition, if there is a final carry after the left most column addition, _______.
add it to the right most column
add it to the left most column
discard it
increase the bit length
For an 8-bit allocation, the smallest decimal number that can be represented in two’s complement form is _______.
-8
-127
-128
-256
For an 8-bit allocation, the largest decimal number that can be represented in two’s complement form is _______.
8
127
128
256
In two’s complement representation with a 4-bit allocation, we get _______ when we add 1 to 7.
8
1
-7
-8
In two’s complement representation with a 4-bit allocation, we get _______ when we add 5 to 5.
-5
-6
-7
10
If the exponent in Excess_127 is binary 10000101, the exponent in decimal is _______.
6
7
8
9
If we are adding two numbers, one of which has an exponent value of 7 and the other an exponent value of 9, we need to shift the decimal point of the smaller number _______.
one place to the left
one place to the right
two places to the left
two places to the right
_______ operator (s) takes two inputs to produce one output.
Only AND
Only OR
Only XOR
AND, OR, or XOR
The unary _______ operator inverts its single input.
AND
OR
NOT
XOR
_______ operator (s), if the input is two 0s, the output is 0.
In only AND
In only OR
In only XOR
In AND, OR, or XOR
_______ operator (s), if the input is two 1s, the output is 0
In only AND
In only OR
In only XOR
In AND, OR, or XOR
For the binary AND operation, only an input of _______ gives an output of 1.
two 0s
two 1s
one 0 and one 1
two 2s
For the binary OR operation, only an input of _______ gives an output of 0.
two 0s
two 1s
one 0 and one 1
two 2s
