• 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/128

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;

128 Cards in this Set

  • Front
  • Back
What are three components of computer systems?
processors, memory (or storage) and wires (networks)
These devices allow interaction between the computer and the user(s), e.g., keyboards, monitors, mice, etc.
Peripheral devices
The speed of a processor is measured in ?
Hertz or cycles per second
Memory capacity is measured in ?
bytes
The speed of a network (throughput) is measured in ?
bps (bits per second)
In general, storage capacity is measured in powers of ?
2
Networking speeds are measured in powers of ?
10
The theory/observation that transistor density doubles every 18 to 24 months.
Moore's Law
_________ provides the physical mechanisms for input, processing (manipulation), and output (including storage) of data.
Hardware
What are the two types of hardware devices?
external and internal
Some examples of external hardware devices include:
Keyboard, Mouse, Monitor, Printer, Plotter

*Note: Keyboard and mouse are input devices, while the monitor, printer and plotter are for output
The _____ is where the instructions that make up programs or software are executed.
Central Processing Unit (CPU)
______ is where instructions and data are stored during processing.
Main Memory or Random Access Memory (RAM)
T/F: RAM is non-volatile storage.
False
_______ is where programs and data are stored until needed.
Hard (disk) drive
T/F: A hard (disk) drive is non-volatile storage.
True
________ consists of instructions made up of 1s and 0s that are in files on non-volatile storage, usually the hard disk.
Software
Software instructions are loaded into _____ and then fetched to the CPU, where they are executed.
RAM
Software can be classified as __________ & ___________ software.
system software and application software
This type of software consists of the operating system (OS) and utilities.
System Software
The Operating System (OS) does at least the following:
- Helps manage files
- Loads and executes programs
- Provides and interface to the user to access other necessary functions
___________ include software that are not part of the OS but often are required to build applications that interact with the OS.
Utilities
_________ translate readable high-level computer languages into the unreadable 1's and 0's that are executed by he CPU.
Compilers
The most important utilities include:
Compilers, editors, assemblers, interpreters, disassemblers, debuggers
____________ software includes the popular Microsoft Office products -- Word, PowerPoint or Excel; web browsers, iTunes, games,etc.
Application
Programmers who write applications interact with the OS though its _____________________.
Application Programming Interface (API)
____________________ provides the services the application needs like opening files, sending information across the network, keeping track of dates and times, etc.
Application Programming Interface (API)
Computer standards consist of ___________ & _____________.
Formats and Protocols
___________ are rules that describe how a computer communicates with another computer or I/O device, or how programs will communicate with each other.
Protocols
An Internet protocol that guides communications between Web servers and Web browsers.
HyperText Transfer Protocol (HTTP)
This Internet protocol guides communications between email servers.
Simple Mail Transport Protocol (SMTP)
This Internet protocol is used to transfer files from/to an FTP client and FTP server.
File Transfer Protocol (FTP)
________ are special purpose interpretations of bit patterns.
Formats
____________ is a format to store positive and negative integers.
2's complement
__________ is a format used to store alphanumeric characters, punctuation, and other control characters to print or process text.
American Standard Code for Information Exchange (ASCII)
Defines the transmission & processing of digital video images.
MPEG-2
A standard audio format.
MP3
_____________ is used to describe the pages a web server sends to a web browser.
HTML (HyperText Markup Language)
Many of the Internet protocols have specific formats that are described in their _______________.
RFC (Request for Comment)
The __________ architecture, the Stored Program concept, uses memory for both instructions (code, a program) and data.
Von Neumann
The LMC (Little Man Computer) contains a ___________, _____________, and __________ for input and output.
processor (CPU), memory (RAM), and peripherals
Within the LMC model, ___________ have the same purpose as Main Memory (RAM) in a real computer.
Mailboxes
Within the LMC model, there are ____ mailboxes, number __ - ___.
100 mailboxes, numbered 0-99
Within the LMC model, each mailbox can hold a __-digit decimal number, which represent either instructions or the data used by the instruction.
3
Within the LMC model, the _________ corresponds to the Arithmetic Logic Unit (ALU) in a real computer.
Calculator
A _________ is a storage location in the CPU large enough to hold the largest value brought from memory in a single fetch.
register
T/F: The LMC calculator contains a special purpose register called the accumulator and is used to execute addition and subtraction instructions, as well as for input and output.
False, the accumulator is a general purpose register
Within the LMC model, the ______ corresponds to an input device like a keyboard attached to a real computer. It holds the input for the LMC.
In-basket
The contents of the In-basket will be read into the accumulator when the LMC excutes an _____ instruction.
INP (input)
Within the LMC model, the _______ corresponds to an output device like a monitor or printer attached to a real computer.
Out-basket
The Out-basket will contain the value in the accumulator register when the LMC executes an ______ instruction.
OUT (output)
The ______________ is the name for the special purpose register usually called the Program Counter (PC) used in all real computers.
Instruction Location Counter
The ______________ points to the mailbox (memory) of the instruction currently executing or to the location of the next instruction that the LMC will fetch (read) and execute.
Instruction Location Counter
The _______ ______ will reset the Instruction Location Counter or PC to zero, the first mailbox or location in the LMC memory.
Reset button
The ______ _____ corresponds to the Control Unit (CU) in a real computer.
Little Man
The Little Man fetches the next instruction pointed to by the Instruction Location Counter or PC or data to put into the ___________ register in the Calculator or ALU.
accumulator
The 3-digit number in a mailbox represents an ___________, also referred to as an operation, or data.
instruction
The first digit in a 3-digit instruction code in a mailbox is the _______.
Opcode
The last two digits in a 3-digit instruction found in a mailbox typically represents what?
a mailbox address
In the LMC, this instruction causes the value in the In-basket to be moved to the accumulator.
901 or INP (input)
In the LMC, this instruction causes the value in the Calculator's accumulator to be written to the Out-basket.
902 or OUT
In the LMC, this instruction is the reverse of the Load instruction.
3xx or STA (STO)
In the LMC, this instruction copies the content of the mailbox specified and puts it into the accumulator.
5xx or LDA
T/F: In the Out-basket, any value is overwritten when a new value is placed there.
True
In the LMC, this instruction will cause the value in the specified mailbox to be added to the current value in the accumulator.
1xx or ADD
In the LMC, this instruction causes the value in the specified mailbox to be subtracted from the value in the Calculator's accumulator and the result overwrites the number subtracted from.
2xx or SUB
LMC programs always start at Mailbox ___.
00
When the reset button is pressed, Mailbox 00 is placed in the ______________.
Instruction Location Counter or PC
What are three LMC supported instructions for comparison and branching?
BRA, BRZ, BRP
In the LMC, this instruction changes which instruction will be executed next by changing the Program Counter to the mailbox specified.
6xx or BRA
In the LMC, this instruction changes which instruction will be executed next but ONLY if the value in the accumulator is zero.
7xx or BRZ (Branch on Zero)
In the LMC, this instruction changes which instruction will be executed next when the value in the accumulator is zero or greater.
8xx or BRP (Branch on Zero or Positive)
The __________ _____ refers to steps that the processor performs in order to execute the instruction stored in the mailbox at the current Instruction Location Counter or PC.
instruction cycle
The instruction cycle for the LMC is broken up into two parts, ______ & _______.
Fetch & Execute
The ______ portion is where the Little Man finds out what instruction to execute and grabs it from memory (mailboxes).
Fetch
The _______ portion is where the Little Man performs the task specified by the instruction.
Execute
The five components of a computer are:
input, output, memory, datapath, control
__________ and __________ are implemented in the Central Processing Unit (CPU).
Datapath and control
Datapath consists of one or more __________ _________ ______, which execute instructions on data in storage locations called registers.
Arithmetic Logic Units
The datapath implements __________ registers to fetch instructions and data from memory.
special purpose
The special purpose registers are called:
- Memory Access Register (MAR)
- Memory Data Register (MDR)
- Program Counter (PC)
Part of the datapath where calculations take place.
Arithmetic Logic Unit (ALU)
Controls and interprets the execution of instructions.
Control Unit (CU)
A storage location within the CPU.
Register
A ______________ is used to hold a bit pattern representing a memory address location or data for manipulation during the execution of an instruction.
general purpose register
A ________________ is wired within the CPU to perform specific roles, unlike memory where every location is like every other one.
Special purpose register
________ holds the address of the current instruction being executed.
Program Counter (PC)
_________ holds the actual instruction being executed; part of the control unit.
Instruction Register (IR)
Each bit in a status register stands for the presence or absence of a condition of the processor.
Program Status Register
________ is where instructions execute and data is stored.
Memory
____________ is the attribute of a CPU that indicates whether integers are represented from left (low) to right (high) or right (high) to left (low).
Endianness
In ____ endian, numbers are represented with the most significant byte on the left (lowest byte address) side.
big
In ____ endian, numbers are represented with the most significant byte on the right (highest byte address) side.
little
Complex Instruction Set Computers (CISC) are big or little endian machines?
little
Reduced Instruction Set Computers are big or little endian machines?
big
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
IR(ADDR) --> MAR
A + MDR --> A
PC + 1 --> PC
ADD :: 1xx
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
IR(ADDR) --> MAR
A - MDR --> A
PC + 1 --> PC
SUB :: 2xx
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
IR(ADDR) --> MAR
A --> MDR
PC + 1 --> PC
STA (STO) :: 3xx
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
IR(ADDR) --> MAR
MDR --> A
PC + 1 --> PC
LDA :: 5xx
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
IR(ADDR) --> MAR
BRA :: 6xx
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
If A == 0 : IR[ADDR] --> PC
Else : PC + 1 --> PC
BRZ :: 7xx
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
If A >= 0 : IR[ADDR] --> PC
Else : PC + 1 --> PC
BRP :: 8xx
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
INBOX --> A
PC + 1 --> PC
INP :: 901
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
A --> OUTBOX
PC + 1 --> PC
OUT :: 902
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
HALT
HLT :: 000
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
STACK --> PC
RETURN
The following steps represent which Fetch-Decode-Execute Cycle?

PC --> MAR
MDR --> IR
PC + 1 --> STACK
IR[ADDR] --> PC
CALL / PUSH
Are CISC instructions fixed or variable length?
Variable
Are RISC instructions fixed or variable length?
Fixed
________ moves the data bits left or right one or more bits.
Shift
_________ rotates the data bits left or right one or more bits, and the bit that is shifted out of the end is placed into the vacated space at the other end.
Rotate
_______ & ________ instructions allow the program to branch to subroutines.
Call & Return
The ______ instruction enables program modularization.
Call
The ______ is used to store data when the most recently used data is the first needed, also referred to as LIFO (last in first out).
stack
_______ and _______ are two instructions used to add and remove values to/from a stack.
PUSH & POP
What are four characteristics of a RISC system?
- Instructions should only operate on registers
- Instructions should be a fixed size
- Nearly all registers should be general purpose
- Addressing modes should be few
What are four characteristics of a CISC system?
- Instructions operate on both registers and memory
- Instructions are variable in length
- Most registers are dedicated to a special purpose
- There are more addressing modes
What are two examples of how RISC has triumphed over CISC?
- For hardware, simpler is faster
- Regularity benefits greatly
In the x86 CPUs, there were how many general-purpose registers?
Four
ax: arithmetic
bx: base address pointer
cx: counter
dx: other/more arithmetic
How many segment registers did the x86 CPUs have?
Four
cs: code segment
ds: data segment
es: extra data segment
ss: stack segment
How many specialized registers did the x86 computers have?
Four
bp: base pointer
sp: stack pointer
si: source index
di: destination index
The 80386 introduced two additional segment registers. What were they called and what was their purpose?
FS: Used for data
GS: Used for data
How many registers did the first x86 CPUs have and what were they used for?
13 (4 - general purpose, 4 - specialized, 4 - segment, and a flag register)
Does a CISC or RISC have more instructions?
CISC
Does a CISC or RISC have more addressing modes?
CISC
The segment register and another register holding a logical address combine to determine the _________ _________ in real mode.
physical address
___________________ was responsible for allowing multitasking, virtual storage, memory management which isolates the operating system and running tasks, and provides efficient task switching.
Protected Mode
This mode, added with the 80386, allows the operating system to run multiple 8086 tasks at once.
Virtual 8086 Mode