Shared Flashcard Set

Details

Ch 3 Getting Started
UNIX The Textbook 2nd edition
44
Computer Science
Undergraduate 2
09/29/2014

Additional Computer Science Flashcards

 


 

Cards

Term
the size of a memory location is typically 1 ___
Definition
byte
Term
a ___ is the smallest unit of storage that can store a 1 or a 0
Definition
bit
Term
What is the purpose of main memory?
Definition
to store executing programs, or processes
Term
main memory is also called ___ storage because, when the power to the computer system is turned off, it loses whatever is stored in it
Definition
volatile
Term
this subsystem executes your programs by fetching them from the RAM, one instruction at a time
Definition
CPU
Term
the speed at which a CPU can execute instructions is dictated by its ___ ____
Definition
clock speed
Term
every CPU has its own language called its ___ ___
Definition
instruction set
Term
What two parts comprise the CPU
Definition
control unit, execution unit
Term
What is the purpose of the control unit?
Definition
to interact with the devices on the computer system via the controllers (electronic circuitry) in these devices. It also fetches a program instruction fro the main memory and decodes it to determine whether the instruction is valid
Term
what is the purpose of the execution unit?
Definition
executes an instruction by delivering the appropriate sequence of control signals
Term
what is the purpose of the CPU?
Definition
to fetch, decode and execute program instructions
Term
These storage locations are used by the CPU as scratch pads
Definition
registers
Term
what comprises a machine cycle?
Definition
the fetch, decode, and execute actions within a CPU
Term
What is a disk?
Definition
a storage place that contains all the computer systems programs and applications.
Term
A disk is a ____ storage place that retains its contents even if the power to the computer is turned off
Definition
nonvolatile
Term
Disks are read and written in terms of ____ or ____
Definition
sectors, blocks
Term
What is latency time for a disk?
Definition
it is dictated by the speed at which the drive can spin in rotations per minute
Term
what is the seek time for a disk?
Definition
is governed by the speed at which the head can move(laterally).
Term
A typical disk drive has a latency time in ____
Definition
milliseconds
Term
a set of parallel wires used to carry information in the form of bits from subsystem in a computer to another
Definition
bus
Term
a system bus consists of what three types of buses?
Definition
data bus, address bus, and control bus
Term
used to carry data from on subsystem to another
Definition
data bus
Term
carries the address of a main memory location that has to be written to or read from
Definition
address bus
Term
carries the control information, such as read or write instructions from the CPU to the main memory
Definition
control bus
Term
reads the application from the disk and loads it into the main memory when the user types a command and hits
Definition
loader program
Term
Give the sequence of events that take place when you type a command line and press before the command executes. Be precise.
Definition
1. loader program reads the application from disk and loads it into main memory when the user types a command and hits
2. It sets the control state of the CPU so that it knows the location of the program's first instruction.
3. The control unit then fetches the first instruction and decodes it to determine if it valid
4. If valid, the control unit it is given to the execution unit,which executes the instruction
Term
What comprises the architecture of the UNIX operating system?
Definition
- application user interface
- application programming interface
- the kernel
- device drivers
- hardware
Term
what comprises the application user interface?
Definition
compilers, word processors, spreadsheets, ftp, telnet, Web browser, etc
Term
what comprises the application programming interface?
Definition
language libraries and system call interfaces (entry point to kernel)
Term
What is an operating system kernel?
Definition
the UNIX kernel is the actual operating system that interfaces between the user via language libraries and system call interfaces and the hardware via device drivers.
Term
What are the primary tasks performed by the UNIX kernel?
Definition
a. process management
b. file management
c. disk management
d. primary and secondary storage management
e. interprocess communication
Term
How can you tell which shell is running by default?
Definition
At the command prompt type 'echo $SHELL'
Term
what is the command that displays a list of environment variables and their current settings?
Definition
set | more
Term
what is the purpose of the device driver layer?
Definition
to allow the kernel to interact with various hardware devices such as disk drive, keyboard, mouse, and display
Term
what is a pipe?
Definition
a temporary channel that resides in main memory and is created by the kernel on behalf of the parent process
Term
what is a named pipe?
Definition
a permanent connection channel that resides on the disk and can be used for IPC by two or more related or unrelated processes that are running on the same computer.
Term
what is a socket?
Definition
a temporary channel that allows two or more processes in a network to communicate
Term
what is the process address space?
Definition
the space allocated to a process in the memory for its execution
Term
what is disk scheduling?
Definition
when the kernel is deciding which request to serve next when multiple requests arrive for the same disk
Term
what is the system call interface
Definition
entry points into the kernel code so that users processes can invoke the execution of kernel code.
Term
what is a library?
Definition
a set of prewritten and pretested functions available to programmers for use with the software they develop.
Term
You can connect to a UNIX operating system in what three basic ways?
Definition
1. local are connection
2. Internet connection
3. Stand-alone connection
Term
you identify yourself to a UNIX system by typing in a valid ___ and ____
Definition
username, password
Term
to set an environment variable for all subsequent sessions, you must edit the ___ ___ for the shell you are running by using a text editor
Definition
configuration file
Supporting users have an ad free experience!