Computer Organization Final

208 flashcardsby Joshua
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
The ________ scheduler is also known as the dispatcher.
Short Term
2
The ABI is the boundary between hardware and software.
False
3
The _________ scheduler determines which programs are admitted to the system for processing.
Long term
4
The OS must determine how much processor time is to be devoted to the execution of a particular user program.
True
5
Privileged instructions are certain instructions that are designated special and can be executed only by the monitor.
True
6
________ is when the processor spends most of its time swapping pages rather than executing instructions.
Thrashing
7
The _________ defines the repertoire of machine language instructions that a computer can follow.
Api
8
The __________ is a program that controls the execution of application programs and acts as an interface between applications and the computer hardware.
Operating system
9
Virtual memory schemes make use of a special cache called a ________ for page table entries.
TLB
10
A _________ is a collection of memory regions.
Domain
11
A _________ system works only one program at a time.
Uniprogramming
12
A _________ is a special type of programming language used to provide instructions to the monitor.
Job control language
13
ARM provides a versatile virtual memory system architecture that can be tailored to the needs of the embedded system designer.
True
14
The x86 includes hardware for both segmentation and paging.
True
15
An interrupt is a hardware-generated signal to the processor.
True
16
With demand paging it is necessary to load an entire process into the main memory.
False
17
The OS maintains a __________ for each process that shows the frame location for each page of the process.
page table
18
The ________ gives program access to the hardware resources and services available in a system through the user instruction set architecture supplemented with high-level language library calls.
API
19
Facilities and services provided by the OS that assist the programmer in creating programs are in the form of _________ programs that are not actually part of the OS but are accessible through the OS.
Utility
20
A _________ is an actual location in main memory.
Physical Address
21
With _________ the virtual address is the same as the physical address.
Unsegmented unpaged memory
22
The most important system program is the OS.
True
23
Managers are users of domains that must observe the access permissions of the individual sections and/or pages that make up that domain.
False
24
Both batch multiprogramming and time-sharing use multiprogramming.
True
25
Swapping is an I/O operation.
True
26
Uniprogramming is the central theme of modern operating systems.
False
27
The end user is concerned mainly with the computer's architecture.
False
28
With a batch operating system the user does not have direct access to the processor.
True
29
The _________ defines the system call interface to the operating system and the hardware resources and services available in a system through the user instruction set architecture.
ABI
30
Scheduling and memory management are the two OS functions that are most relevant to the study of computer organization and architecture.
True
31
Another term for "base" is __________.
Radix
32
It is extremely easy to convert between binary and hexadecimal notation.
True
33
Decimal "10" is _________ in hexadecimal.
A
34
In the number 3109, the 3 is referred to as the _________.
Most significant digit
35
Hexadecimal notation is only used for representing integers.
False
36
The decimal system has a radix of 100.
False
37
The _________ system uses only the numbers 0 and 1.
False
38
In any number, the rightmost digit is referred to as the most significant digit.
False
39
Binary 0101 is hexadecimal _________.
5
40
Numbers in the binary system are represented to the _________.
Base 2
41
Because of the inherent binary nature of digital computer components, all forms of data within computers are represented by various binary codes.
True
42
In the number 472.156 the 2 is the _________.
none of the above
43
A number cannot be converted from binary notation to decimal notation.
False
44
The decimal system has a base of _________.
10
45
A number with both an integer and fractional part has digits raised to both positive and negative powers of 10.
True
46
Decimal "10" is __________ in binary.
1010
47
The binary string 110111100001 is equivalent to __________.
de116
48
Hexadecimal has a base of _________.
16
49
There are 50 tens in the number 509.
true
50
A sequence of hexadecimal digits can be thought of as representing an integer in base 10.
False
51
Negative powers of 10 are used to represent the positions of the numbers for decimal fractions.
True
52
In the number 3109, the 9 is referred to as the _________.
Least significant digit
53
A nibble is a grouping of four decimal digits.
False
54
Which digit represents "hundreds" in the number 8732?
7
55
Which of the following is correct?
7523 = (7 x 103) + (5 x 102) + (2 x 101) + (3 x 100)
56
Although convenient for computers, the binary system is exceedingly cumbersome for human beings.
True
57
Hexadecimal notation is more compact than binary notation.
True
58
The decimal system is a special case of a positional number system with radix 10 and with digits in the range 0 through 9.
True
59
Our primary counting system is based on binary digits to represent numbers.
False
60
Four bits is called a _________.
nibble
61
Compared with addition and subtraction, multiplication is a complex operation, whether performed in hardware or software.
True
62
Booth's algorithm performs more additions and subtractions than a straightforward algorithm.
False
63
__________ representation is almost universally used as the processor representation for integers.
Twos compliment
64
Moving the sign bit to the new leftmost position and filling in with copies of the sign bit is called _________.
Sign extension
65
__________ is when a positive exponent exceeds the maximum possible exponent value.
Exponent overflow
66
In ________ representation the rule for forming the negation of an integer is to invert the sign bit.
Sign magnitude
67
Although considered obsolete, the term _________ is sometimes used instead of significant.
mantissa
68
Both sign-magnitude representation and twos complement representation use the most significant bit as a sign bit.
True
69
Overflow is a less serious problem because the result can generally be satisfactorily approximated by 0.
False
70
Addition and subtraction can be performed on numbers in twos complement notation by treating them as unsigned integers.
True
71
Positive numbers less than 2-127 are called ________.
Positive underflow
72
The numbers represented in floating-point notation are not spaced evenly along the number line, as are fixed-point numbers.
True
73
The most common scheme in implementing the integer portion of the ALU is:
Twos compliment representation
74
It is not necessary for the ALU to signal when overflow occurs.
False
75
An advantage of biased representation is that nonnegative floating-point numbers can be treated as integers for comparison purposes.
True
76
________ is when the result may be larger than can be held in the word size being used.
overflow
77
Negative numbers greater than 2-127 are called _________.
Negative underflow
78
Positive numbers greater than (2 – 2-23) x 2-128 are called _________.
Positive underflow
79
One of the trade-offs of floating-point math is that many calculations produce results that are not exact and have to be rounded to the nearest value that the notation can represent.
True
80
__________ involves the generation of partial products, one for each digit in the multiplier, which is then summed to produce the final product.
Multiplication
81
For base 2 representation, a normal number is one in which the most significant bit of the significand is zero.
False
82
Overflow can only occur if there is a carry.
False
83
Negative numbers less than –(2 – 2-23) x 2 128 are called _________.
negative overflow
84
For each 1 on the multiplier, an add, and a shift operation are required; but for each 0 only a shift is required.
True
85
One drawback of sign-magnitude representation is that there are two representations of 0.
True
86
__________ means that the number is too small to be represented and it may be reported as 0.
exponent underflow
87
_________ formats extend a supported basic format by providing additional bits in the exponent and in the significand.
extended precision
88
With a fixed-point notation it is possible to represent a range of positive and negative integers centered on or near 0.
True
89
Actual floating-point representations include a special bit pattern to designate zero.
True
90
________ are used in digital circuits to control signal and data routing.
Multiplexers
91
A _______ is an electronic circuit that produces an output signal that is a simple Boolean operation on its input signals.
Gate
92
In the absence of parentheses, the AND operation takes precedence over the OR operation.
True
93
A _________ accepts and/or transfers information serially.
Shift Register
94
Any Boolean function can be implemented in electronic form as a network of gates.
True
95
Binary addition is exactly the same as Boolean algebra.
False
96
The delay by the propagation time of signals through the gate is known as the gate delay.
False
97
A _________ is a PLD featuring a general structure that allows very high logic capacity and offers more narrow logic resources and a higher ration of flip-flops to logic resources than do CPLDs.
FPGA
98
The unary operation _________ inverts the value of its operand.
NOT
99
Events in the digital computer are synchronized to a clock pulse so that changes occur only when a clock pulse occurs.
True
100
Which of the following is a functionally complete set?
All of the above
101
Counters can be designated as _________.
Both asynchronous and synchronous
102
The _________ table provides the value of the next output when the inputs and the present output are known, which is exactly the information needed to design the counter or any sequential circuit.
Execution
103
In general, a decoder has n inputs and 2n outputs.
True
104
The operand ________ yields true if and only if both of its operands are true.
AND
105
"Don't care" conditions are when certain combinations of values of variables never occur, and therefore the corresponding output never occurs.
True
106
________ is implemented with combinational circuits.
Read Only Memory
107
A combinational circuit consists of n binary inputs and m binary outputs.
True
108
Logical functions are implemented by the interconnection of decoders.
False
109
The value to be loaded into the program counter can come from a binary counter, the instruction register, or the output of the ALU.
True
110
The operation of the digital computer is based on the storage and processing of binary data.
True
111
The operation _________ yields true if either or both of its operands are true.
Or
112
CPUs make use of _________ counters, in which all of the flip-flops of the counter change at the same time.
Synchronous
113
A Boolean function can be realized in the sum of products (SOP) form but not in the product of sums (POS) form.
False
114
For more than four variables an alternative approach is a tabular technique referred to as the _________ method.
Quine-McCluskey
115
Combinational circuits are often referred to as "memoryless" circuits because their output depends only on their current input and no history of prior inputs is retained.
True
116
Claude Shannon, a research assistant in the Electrical Engineering Department at M.I.T., proposed the basic principles of Boolean algebra.
False
117
The ________ flip-flop has two inputs and all possible combinations of input values are valid.
JK
118
The ________ exists in one of two states and, in the absence of input, remains in that state.
Flip flop
119
A register is a digital circuit used within the CPU to store one or more bits of data.
True
120
There must be ________ instructions for moving data between memory and the registers.
Memory
121
The most fundamental type of machine instruction is the _________ instruction.
Data transfer
122
________ instructions operate on the bits of a word as bits rather than as numbers, providing capabilities for processing any other type of data the user may wish to employ.
logic
123
The focus of MMX technology is multimedia programming.
True
124
Which data type is defined in MMX?
All of the above
125
Not all machine languages include numeric data types.
False
126
The entire set of parameters, including the return address, which is stored for a procedure invocation is referred to as a _________.
Stack frame
127
In the ARM architecture only _________ instructions access memory locations.
Load and store
128
One of the traditional ways of describing processor architecture is in terms of the number of addresses contained in each instruction.
true
129
Addresses are a form of data.
true
130
The instruction set is the programmer's means of controlling the processor.
True
131
The x86 data type that is a signed binary value contained in a byte, word, or doubleword, using twos complement representations is _________.
Integer
132
A(n) _________ expresses operations in a concise algebraic form using variables.
high level language
133
Which ARM operation category includes logical instructions (AND, OR, XOR), add and subtract instructions, and test and compare instructions?
Data processing instructions
134
The operation to be performed is specified by a binary code known as the operation code.
True
135
A branch can be either forward or backward.
True
136
_________ instructions provide computational capabilities for processing number data.
Arithmetic
137
ARM processors support data types of 8 (byte), 16 (halfword), and 32 (word) bits in length.
True
138
Most machines provide the basic arithmetic operations of add, subtract, multiply, and divide.
True
139
One boundary where the computer designer and the computer programmer can view the same machine as the machine instruction set.
True
140
_______ instructions are needed to transfer programs and data into memory and the results of computations back out to the user.
I/o
141
Procedures do not allow programming tasks to be subdivided into smaller units.
false
142
Which of the following is a true statement?
All of the above
143
Memory references are faster than register references.
False
144
The address of the next instruction to be fetched must be a real address, not a virtual address.
False
145
The ________ specifies the operation to be performed.
opcode
146
It has become common practice to use a symbolic representation of machine instructions.
true
147
A high-level language expresses operations in a basic form involving the movement of data to or from registers.
False
148
A branch instruction in which the branch is always taken is _________.
unconditional branch
149
The _________ instruction includes an implied address.
Skip
150
The __________ byte consists of three fields: the Scale field, the Index field and the Base field.
SIB
151
The base with index and displacement mode sums the contents of the base register, the index register, and a displacement to form the effective address.
True
152
Three of the most common uses of stack addressing are relative addressing, base-register addressing, and indexing.
False
153
The only form of addressing for branch instructions is _________ addressing.
Immediate
154
The disadvantage of immediate addressing is that the size of the number is restricted to the size of the address field.
True
155
One advantage of linking the addressing mode to the operand rather than the opcode is that any addressing mode can be used with any opcode.
true
156
Typically an instruction set will include both preindexing and postindexing.
false
157
The memory transfer rate has not kept up with increases in processor speed.
True
158
Indexing performed after the indirection is __________.
post indexing
159
With direct addressing, the length of the address field is usually less than the word length, thus limiting the address range.
True
160
The advantages of _________ addressing are that only a small address field is needed in the instruction and no time-consuming memory references are required.
register
161
The method of calculating the EA is the same for both base-register addressing and indexing.
True
162
In a system without virtual memory, the effective address is a virtual address or a register.
False
163
For addresses that reference memory the range of addresses that can be referenced is not related to the number of address bits.
false
164
All instructions in the ARM architecture are __________ bits long and follow a regular format.
32
165
__________ has the advantage of flexibility, but the disadvantage of complexity.
displacement addressing
166
The _________ was designed to provide a powerful and flexible instruction set within the constraints of a 16-bit minicomputer.
Pdp 11
167
The principal advantage of ___________ addressing is that it is a very simple form of addressing.
direct
168
For the _________ mode, the operand is included in the instruction.
immediate
169
The principal price to pay for variable-length instructions is an increase in the complexity of the processor.
True
170
__________ is a design principle employed in designing the PDP-10 instruction set.
All of the above
171
Which of the following interrelated factors go into determining the use of the addressing bits?
All of the above
172
__________ has the advantage of large address space, however, it has the disadvantage of multiple memory references.
indirect addressing
173
The x86 is equipped with a variety of addressing modes intended to allow the efficient execution of high-level languages.
True
174
Register indirect addressing uses the same number of memory references as indirect addressing.
False
175
The value of the mode field determines which addressing mode is to be used.
True
176
Register addressing is similar to direct addressing with the only difference being that the address field refers to a register rather than the main memory address.
True
177
For _________, the address field references the main memory address and the referenced register contains a positive displacement from that address.
indexing
178
The advantage of __________ is that no memory reference other than the instruction fetch is required to obtain the operand.
Immediate addressing.
179
_________ is a principle by which two variables are independent of each other.
orthogonality
180
Assembly language programming shows how data are represented in memory.
True
181
The __________ is the name of the operation or function of the assembly language statement.
mneomonic
182
An assembly language statement includes ___________ operands.
zero or more
183
__________ is a program that translates assembly language into machine code.
assembler
184
The comment begins with a special character that signals to the assembler that the rest of the line is a comment and is to be ignored by the assembler.
True
185
In essence, macros are handled by the hardware at run time, whereas subroutines are handled by the assembler at assembly time.
False
186
Software in a form that can be run on the computer is __________.
Executeable
187
__________ language consists of instructions directly executable by the processor.
machine
188
The __________ directive specifies whether NASM should generate code designed to run on a processor operating in 16-bit mode, 32-bit mode, or 64-bit mode.
Bits
189
A ___________ is a section of a program that is written once and can be used multiple times by calling the subroutine from any point in the program.
Subroutine
190
__________ is a program routine that copies an executable program into memory for execution.
Loader
191
The disadvantage of binding memory references to specific addresses prior to loading is that the resulting load module can only be placed in one region of the main memory.
True
192
A linker that produces a relocatable load module is often referred to as a linkage editor.
True
193
Assembly code is more difficult to debug and verify because there are more possibilities for errors than in high-level code.
True
194
An assembler is distinguished from a compiler by the fact that each input statement does not, in general, correspond to a single machine instruction or fixed sequence of instructions.
False
195
The __________ directive is used to declare a symbol that is not defined anywhere in the module being assembled, but is assumed to be defined in some other module and needs to be referred to by this one.
Extern
196
Writing code in assembly language takes much longer than writing in a high-level language.
True
197
All assembly languages allow the placement of comments in the program.
True
198
NASM has the advantage of being free and open source and is popular for use on Linux and UNIX operating systems.
True
199
__________ are most frequently used in branch instructions.
Labels
200
For immediate addressing, the name of the register is used in the instruction.
False
201
A processor cannot understand or execute machine instructions.
False
202
A(n) __________ identifies an immediate value, a register value, or a memory location.
Operand
203
A ___________ makes a single pass through the assembly code to produce the machine code.
one pass assembler
204
The __________ is a collection of all possible instructions for a particular computer.
Instruction set
205
__________ are continuous sequences of bits, bytes, words, or doublewords.
Strings
206
Assembly language is hardware dependent, with a different assembly language for each type of processor.
True
207
Assembly code is not platform-specific.
False
208
It is not necessary for an assembly language programmer to understand the computer's architecture.
False
Study all 208 cards for free