• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/97

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

97 Cards in this Set

  • Front
  • Back
_________ is responsible for fetching program instructions, decoding each instruction that is fectched, and performing the indicated sequence of operations on the correct data.
Central Processing Unit (CPU)
The ___________ consists of an arithmetic-logic unit and storage units (registers) that are interconnected by a data bus that is also connected to main memory.
Datapath
A module responsible for sequencing operations and making sure the correct data are where they need to be at the correct time.
Control Unit
The _______________ carries out logical and arithmetic operations as directed by the control unit.
arithmetic-logic unit (ALU)
The control unit uses a(n) ___________register to find the next instruction for execution and a (n) _____________ register to keep track of overflows, carries, borrows and the like.
Program counter, Status Register
_________ are used widely in computer systems as places to store a wide variety of data, such as addresses, program counters, or data necessary for program execution.
Registers
Every computer contains an internal _______ that regulates how quickly instructions can be executed. The ________ also synchronizes all of the components in the system.
Clock
_____________ take a programmer's assembly language program, which is really a symbolic representation of the binary numbers, and convert it into binary instructions, or the machine code equivalent.
Assemblers
How many bits would you need to address a 2M x 32 bits memory if the memory is byte-addressable?
23 bits
How many bits would you need to address a 2M x 32 bits memory if the memory is word-addressable?
21 bits
Suppose that a 2M x 16 main memory is built using 256K x 8 RAM chips and memory is word-addressable.
How many RAM chips are necessary?
16
Suppose that a 2M x 16 main memory is built using 256Kx 8 RAM chips and memory is word-addressable.
How many RAM chips are there per memory word?
2
Suppose that a 2M x 16 bits main memory is built using 256K x 8 RAM chips and memory is word-addressable.
How many address bits are needed for each RAM chip?
18
A digital computer has a memory unit with 24 bits per word. The instruction set consists of 250 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.
How many bits are needed for the opcode?
8
__________ are events that alter the normal flow of execution in a computer system. They are used for I/O, error handling, and other miscellaneous events, and the system cannot function properly without them.
Interrupts
______________ interrupts are those interrupts that must be processed in order to keep the system in a stable condition.
Nonmaskable
In __________addressing, the address of the operand is explicitly stated in the instruction.
direct
1 NAND 1 is ?
0
A' EXOR B' is equivalent to
A EXOR B
A' NAND B' is equivalent to?
A AND B
A' NAND B' NAND C' ((A'*B'*C')') is equivalent to?
A AND B AND C
Use DeMorgan's theorem to convert the maxterm (product of sum) expression to a minterm (sum of products) form

Y = ((A+B'+C')*(A'+B+C'))'
Y = A' * B* C + A * B' * C
Use DeMorgan's theorems to convert the following POS expression to it's SOP form: (A'*B'*C +A*B*C)' = Y
(A+B+C') * (A'+B'+C') = Y
What state is a J-K flip flop in when J=1 and K=1?
Toggle
What state is a J-K flip flop in when J=1 and K=0?
Set state (to 1)
What state is a J-K flip flop in when J=0 and K=1?
Reset State (to 0)
What state is a J-K flip flop in when J=0 and K=0?
Hold state
What would be the output of a JK Flip-Flop at the end if J=1 and K=0 for one clock pulse and then J=1 and K=1 for 2 clock pulses?
1
What would be the output of a JK Flip-Flop (assume 74LS112) at the end if J=0 and K=1 for one clock pulse and then J=1 and K=1 for the next 3 clock pulses? Assume that PS and CLR are both 1.
1
The turning points in the historical development of computers are based on the technology incorporated into the devices. t/f
TRUE
The Principle of Equivalence of Hardware and Software supports the claim that it is not possible to build a special purpose computer to perform only word processing.(True or False)
False
How many milliseconds (ms) are in 0.5 seconds?
500
One million bytes can be represented as 2^20 bytes.(True or False)
TRUE
The Principle of Equivalence of Hardware and Software says that hardware and software are basically equivalent, and implementations done via either method will run at the same speeds. t/f
FALSE
They will run at different speeds
A Hertz is one million cycles per second.(True or False)
FALSE
Amdahl's Law states that the performance enhancement possible with a given improvement is limited by the amount that the improved feature is used. t/f
TRUE
Moore's Law states that the density of silicon chips is cut in half every 18 months.(True or False)
FALSE
It doubles every 18 months
A CPU typically contains a control unit, an arithmetic logic unit, registers, and a program counter. t/f
TRUE
The levels of integration in circuits discussed in the book include all but which of the following:
A. SSI
B. MSI
C. LSI
D. VLSI
E. all of these are levels of integration in circuits
E: All of the above
The Von Neumann architecture includes all of the following except:
A. stored program
B. parallel processing
C. a CPU, memory and I/O system
D. sequential processing of instructions
B. parallel processing
Name and explain the main components of a von Neumann computer.
• A central processing unit The main computing unit, where problems are worked out.
• A main memory system Where instructions for programs are stored.
• An I/O system System to interact with humans.
The von Neumann architecture, which is the basis for most digital computers today, suffers from the von Neumann bottleneck. Explain.
The von Neumann bottleneck is a technical limitation involving the processor and main memory, the bus connecting these cannot operate at the same speed as either the CPU or the memory, so data transfer between them is limited, thus creating a "bottleneck."
If Moore's Law is to hold, Rock's Law must fall.(True or False)
TRUE
Given n bits, how many distinct combinations of the n bits exist?
2^n
There are 26 characters in the alphabet we use for writing English. What is the least number of bits needed to give each character a unique bit pattern?
2^26 bits
There are 26 characters in the alphabet we use for writing English. How many bits would we need to distinguish between upper and lowercase version of all 26 characters?
6 bits
Algorithm
A step by step procedure that guaranteed to terminate, such that step is precisely stated and can be carried out by the computer.
ISA
Specify the set of instructions the computer can carry out.
Microarchitecture
Detailed organization of the implementation
Instruction
The most basic unit of processing.
Control Unit
Keeps track of both where we are within the process of executing the program and where we are in the process of executing each instruction.
Instruction Register
Holds the instruction being executed.
Program Counter
Keeps track of which instruction is to be processed next.
How may different positive integers can be expressed in k digits using radix r numbers?
r^k
A computer has a word length of 8 bits (including sign). If 2's complement is used to represent negative numbers. What range of numbers can be stored in the computer?
Between -128 and 127
A computer has a word length of 8 bits (including sign). If 1's complement is used to represent negative numbers. What range of numbers can be stored in the computer?(Express your answer in decimal)
Between -127 and 127
How many bits does an "unsigned int" use compared to a regular "int"?
They both use the same number of bits.
What is the smallest number in 4 bit 2's complement representation
-8
In order to avoid multiple representations for the same number, floating-point numbers are maintained in ______________ form.
Normalized
Which of the following factors is not considered to differentiate the instruction set of any computer?
1. Number of bits per instruction.
2. Number of explicit operands per instruction.
3. Operand location.
4. Types of operations.
5. Position of the Opcode in the instruction
5. Position of the Opcode in the instruction
Instruction set architectures are measured according to following except:
1. Main memory space occupied by a program.
2. Instruction complexity.
3. Instruction length (in bits).
4. Total number of bits in the program counter.
4. Total number of bits in the program counter.
In____________ machines, when storing a two-byte integer, the least significant byte is followed by the most significant byte.
Little endian
In____________ machines, the strings and integers are stored in the same order.
big endian
Regarding architecture design, how will the CPU store data with its Architecture.:

The operands cannot be accessed randomly
A stack architecture
Regarding architecture design, how will the CPU will store data with its Architecture.:

Results in longer instructions
A general purpose register (GPR) architecture
Regarding architecture design, how will the CPU store data with its Architecture.:

One operand is in memory, creating lots of bus traffic
An accumulator architecture
The following operation given in infix notation is equivalent to what postfix notation?

A x B x C + D x E x F
ABxCxDExFx+
________________specify where an operand is located:

1. Operand locator
2. Operation mode
3. Addressing modes
4. Location Code
3. Addressing modes
The actual location of an operand is its _____________ .

1. Effective address.
2. Present Location
3. Operand Box Office
4. Operand Memory
1. Effective address.
Immediate addressing
is where the data is part of the instruction.
Indirect addressing
gives the address of the address of the data in the instruction.
Register addressing
is where the data is located in a register.
Register indirect addressing
uses a register to store the address of the address of the data.
Direct addressing
is where the address of the data is given in the instruction.
Based addressing
a base register is used instead of an index register.
Indexed addressing
uses a register (implicitly or explicitly) as an offset, which is added to the address in the operand to determine the effective address of the data.
_________ is used to store permanent, or semi-permanent data that persists even while the system is turned off.
1. Dynamic RAM
2. Static RAM - SRAM
3. Read only Memories
3. Read only Memories - ROM
_____________ consists of capacitors that slowly leak their charge over time. Thus they must be refreshed every few milliseconds to prevent data loss.
1. Dynamic RAM
2. Static RAM - SRAM
3. Read only Memories
1. Dynamic RAM - DRAM
__________ consists of circuits similar to the D flip-flop
1. Dynamic RAM
2. Static RAM - SRAM
3. Read only Memories
2. Static RAM - SRAM
The _______________ tells us that once a byte is accessed, it is likely that a nearby data element will be needed soon.
1. principle of uncertainty
2. principle of recurrence
3. principle of locality
3. principle of locality
Temporal locality
Recently-accessed data elements tend to be accessed again
Spatial locality
Accesses tend to cluster
Sequential locality
Instructions tend to be accessed sequentially.
The ________ is the time required to process a miss, including the time that it takes to replace a block of memory plus the time it takes to deliver the data to the processor.
1. Miss Rate
2. Miss penalty
2. Miss penalty
Regarding cache memory concepts,
A hit
is when data is found at a given memory level
Regarding cache memory concepts,
A miss
is when data is not found at a given memory level
Regarding cache memory concepts,
The hit rate
is the percentage of time data is found at a given memory level.
Regarding cache memory concepts,
The miss rate
is the percentage of time data is NOT found at a given memory level.
also 1- hit rate
The purpose of cache memory is
to speed up accesses by storing recently used data closer to the CPU, instead of storing it in main memory.
In a ______________ cache consisting of N blocks of cache, block X of main memory maps to cache block Y = X mod N.
1. direct mapped
2. fully associative
3. N-way set associative
1. direct mapped
If a computer that uses direct mapping cache have 10 blocks of cache, block 15 of main memory would be copied to block _________ of cache memory:
Block 5
Refers to a memory organization in which the memory is accessed by its content (as opposed to an explicit address):

1. Dynamic Random Access Memory
2. Interleaved Memory
3. Associative Memory
4. Explicit Content Memory
3. Associative Memory
A replacement policy is invoked when it becomes necessary to evict a block from cache whenever the following cache is used:

1. Direct mapped cache
2. Fully associative
3. N-way set associative
2. Fully associative
and
3. N-way set associative
The disadvantage of __________ is that memory must be updated with each cache write, which slows down the access time on updates. This slowdown is usually negligible, because the majority of accesses tend to be reads, not writes.
Write through
________________ occurs when the paging process results in the creation of small, unusable clusters of memory addresses.
1. Page faults
2. Memory overlapping
3. Memory fragmentation
4. Blank pages
3. Memory fragmentation
The virtual address is divided into two fields: A (n)______ field, and a (n) ______ field. The _______ field determines the page location of the address, and the ________ field indicates the location of the address within the page.
Page, offset, page, offset
In virtual memory, if the __________ is zero in the page table entry for the logical address, this means that the page is not in memory and must be fetched from disk.
1. Offset
2. Dirty bit
3. Valid bit
4. Page flag
3. Valid bit