CSI104 Kì 1 Exam With
Complete Solution
The ________ model is the basis for today's computers. - Answer von Neumann
In a computer, the ________ subsystem stores data and programs. - Answer memory
In a computer, the ________ subsystem performs calculations and
logical operations. - Answer ALU
1-4 In a computer, the ________ subsystem accepts data and programs and
sends processing results to output devices. - Answer input/output
1-5 In a computer, the ________ subsystem serves as a manager of the
other subsystems. - Answer control unit
1-6 According to the von Neumann model, ________ are stored in memory. - Answer data
and programs
1-7 A step-by-step solution to a problem is called ________ - Answer an algorithm
1-8 FORTRAN and COBOL are examples of ________ . - Answer computer languages
1-9 A 17th-century computing machine that could perform addition and
subtraction was the ________ - Answer Pascaline
1-10 ________ is a set of instructions in a computer language that tells the
computer what to do with data. - Answer A program
1-11 ________ is the design and writing of a program in structured form. - Answer
Software engineering
1-12 The first electronic special-purpose computer was called ________ - Answer ABC
1-13 One of the first computers based on the von Neumann model was called ________ . -
Answer EDVAC
1-14 The first computing machine to use the idea of storage and
programming was called ________ . - Answer the Jacquard loom
1-15 ________ separated the programming task from computer operation tasks. - Answer
High-level programming languages
,2-1 The base of the decimal number system is ________ - Answer 10
2-2 The base of the binary number system is ________ . - Answer 2
2-3 The base of the octal number system is ________ . - Answer 8
2-4 The base of the hexadecimal number system is ________ . - Answer 16
2-5 When converting a decimal integer to base b, we repeatedly ________ - Answer .
divide by
2-6 When converting a decimal fraction to base b, we repeatedly ________ - Answer
multiply by
3-2 In a set of 64 symbols, each symbol requires a bit pattern length of
________ bits. - Answer 6
3-3 How many symbols can be represented by a bit pattern with ten bits? - Answer 1024
3-4 If the ASCII code for E is 1000101, then the ASCII code for e is
________ . Answer the question without consulting the ASCII table. - Answer 1100101
3-5 A 32-bit code called ________ represents symbols in all languages. - Answer Unicode
3-6 An image can be represented in a computer using the ________ method. - Answer
either bitmap or vector graphic
3-7 In the ________ graphic method of representing an image in a computer,
each pixel is assigned a bit patterns. - Answer bitmap
3-8 In the ________ graphic method of representing an image in a computer,
the image is decomposed into a combination of geometrical figures. - Answer vector
3-9 In the ________ graphic method of representing an image in a computer,
re-scaling of the image creates a ragged or grainy image. - Answer bitmap
3-10 When we want to store music in a computer, the audio signal must be
________ . - Answer sampled, quantized, and coded
3-11 A floating-point value after normalization is (1.0101) ? 2?4. What is the
value of exponent section in the Excess-127 representation? - Answer 123
3-12 Assume a new Excess system uses 17 bits to represent the exponent
section. What is the bias value in this system? - Answer 65535
,3-13 Which number representation method is often used to store the
exponential value of a fractional part? - Answer Excess
3-14 In an Excess conversion, we ________ the number to be converted. - Answer add the
bias number to
3-15 When a fractional part is normalized, the computer stores the ________ - Answer the
sign, exponent, and mantissa
3-17 The combination of sign and mantissa of a real number in IEEE
standard floating point format is stored as an integer in the ________
representation. - Answer sign-and-magnitude
4-1 ________ is an arithmetic operation. - Answer Subtraction
4-2 ________ is a logical bit operator. - Answer exclusive OR, unary NOT, or binary AND
4-3 The ________ method of integer representation is the most common
method for storing integers in computer memory. - Answer two's complement
4-4 In two's complement addition, if there is a final carry after the left most
column addition, ________ . - Answer discard it
4-5 For an 8-bit allocation, the smallest decimal number that can be
represented in two's complement form is ________ - Answer -128
4-6 For an 8-bit allocation, the largest decimal number that can be
represented in two's complement form is ________ - Answer 127
4-7 In two's complement representation with a 4-bit allocation, we get
________ when we add 1 to 7. - Answer -8
4-8 In two's complement representation with a 4-bit allocation, we get
________ when we add 5 to 5. - Answer -6
4-9 If the exponent in Excess_127 is binary 10000101, the exponent in
decimal is ________ . - Answer 6
4-10 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 ________ . - Answer two places to the left
, 4-11 ________ operator (s) takes two inputs to produce one output. - Answer AND, OR, or
XOR
4-12 The unary ________ operator inverts its single input. - Answer NOT
4-13 ________ operator (s), if the input is two 0s, the output is 0. - Answer In AND, OR, or
XOR
4-14 ________ operator (s), if the input is two 1s, the output is 0. - Answer In only XOR
4-15 For the binary AND operation, only an input of ________ gives an
output of 1. - Answer two 1s
4-16 For the binary OR operation, only an input of ________ gives an output of 0. - Answer
two 0s
4-17 We use a bit pattern called a ________ to modify another bit pattern. - Answer mask
4-18 To flip all the bits of a bit pattern, make a mask of all 1s and then
________ the bit pattern and the mask. - Answer XOR
4-19 To un-set (force to 0) all the bits of a bit pattern, make a mask of all 0s
and then ________ the bit pattern and the mask. - Answer AND
4-20 To set (force to 1) all the bits of a bit pattern, make a mask of all 1s and then
________ the bit pattern and the mask. - Answer OR
5-1 The ________ is a computer subsystem that performs operations on
data. - Answer CPU
5-2 ________ is a stand-alone storage location that holds data temporarily. - Answer A
register
5-3 ________ is a unit that can add two inputs. - Answer An ALU
5-4 A register in a CPU can hold ________ . - Answer data, instruction, or program
counter values
5-5 A control unit with five wires can define up to ________ operations. - Answer 32
5-6 A word can be ________ bits. - Answer 8, or 16, or 32
5-7 If the memory address space is 16 MB and the word size is 8 bits, then________ bits
are needed to access each word. - Answer 24
5-8 The data in ________ is erased if the computer is powered down. - Answer RAM
5-9 ________ is a memory type with capacitors that need to be refreshed periodically. -