Chapter 1 Flashcards

(29 cards)

1
Q

set of instructions stored in memory that a comp follows to perform a task; aka software

A

program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

essential to comp; can’t do anything without it

A

software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

performing tasks given by program

A

running/executing the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

performs mathematical operations

A

arithmetic and logic unit (ALU)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

when CPU’s control unit fetches, from main memory, the next instruction in sequence of prgm instructions

A

fetch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

when instruction is encoded into a form of a #, the control unit ___ the instruction and generates an electronic signal

A

decode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

when electrical signal is routed to appropriate component of a comp (ALU, disk drive, etc), causes component to perform an operation

A

execute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

computer’s work area, where comp stores a program while prgrm is running as well as data prgm is working w/; only used for temporary storage while program is running; volatile; contents erased when comp turned off

A

random-access memory (RAM)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

tiny storage location; con hold a letter or small #; composed of 8 smaller units

A

byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

tiny electrical components that hold either a (+)/on or (-)/off charge

A

bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

unique number assigned to a byte; ordered from lowest to highest

A

address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

device that collects info and sends it to comp

A

input device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

device to which info is sent, formats and presents info

A

output device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

info comp collects from outside world

A

input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

info comp sends to outside world

A

output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

prgrms that control and manage basic operations of a comp; includes operating systems, utility programs, and software devment tools

A

system software

17
Q

most fundamental set of prgms on comp; controls internal operations of comp’s hardware, manages all devices connected to comp; allows data to be sent and retrieved, and allows prgms to run on comp

A

operating systems

18
Q

prgrms that make comp useful for everyday tasks

A

application software

19
Q

instructions for a program; set of well-defined steps for performing task or solving prblm

20
Q

uses binary numbers vs uses words

A

machine lang vs human lang

21
Q

written on one type of comp and can run on many other types of systems only after a simple recompilation

22
Q

what C++ is written in

23
Q

statements written by prgmr and file statements are saved in

A

source code and source file

24
Q

process source code goes through

A

source code -> preprocessor -> modified source code -> compiler -> object code -> linker -> executable code

25
prgrm that reads source code; searches for #symbol/____ directives; modifies source code
preprocessor
26
goes thru preprocessed code, translating each instruction into appropriate machine lang instruction; uncovers syntax errors
compiler
27
combines object file with necessary run-time library routines
linker
28
named storage location in comp's memory for holding a piece of info; info may change while prgm is running; symbolic names that rep locations in com's RAM
variable
29
3 step process of comp prgms
1) gathering input 2) performing some process on that info 3) producing output