compsci chapters 1+2

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 52

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

53 Terms

1

program

a set of instructions that a computer follows to perform a task, commonly known as software

New cards
2

programmer

a person who can design, create, and tests computer programs, also known as software developer

New cards
3

hardware

the physical devices that make up a computer

New cards
4

5 major components of a computer

central processing unit (CPU), main memory, secondary storage devices, and input and output devices

New cards
5

central processing unit

the part of the computer that actually runs programs

New cards
6

microprocessors

the CPUs located on small chips

New cards
7

main memory

where a computer stores a program while program is running, and data used by the program

New cards
8

random access memory

volatile memory used for temporary storage while program is running; contents are erased when computer is off

New cards
9

secondary storage

holds data for long periods of time; programs are normally stored here and loaded to main memory when needed

New cards
10

3 major types of secondary memory

solid state drive, disk drive, flash memory

New cards
11

disk drive

loads magnetically encoded data onto a spinning circular *****

New cards
12

solid state drive (SSD)

faster than disk drive, no moving parts, stores data in ********* memory

New cards
13

flash memory

portable drive, no physical disk

New cards
14

input

data that the computer collects from people and other devices

New cards
15

input device

the component that collects the data and sends it to the computer

New cards
16

output

data that is produced by the computer for other people or devices

New cards
17

output device

any device that presents data from the computer

New cards
18

software

a program or instructions that give directions to the computer and controls it

New cards
19

application software

programs that make computer useful for everyday tasks (ex: word processing, email, games, and web browsers)

New cards
20

system software

programs that control and manage basic operations of a computer (ex: operating system, utility program, and software development tools)

New cards
21

operating system

controls operations of hardware components

New cards
22

utility program

a “________” performs specific task to enhance computer operation or safeguard data

New cards
23

software development tools

used to create, modify, and test software programs

New cards
24

byte

enough memory to store letter or small number; divded into 8 bits

New cards
25

bit

an electrical component that can hold positive or negative charge, like on/off switch

New cards
26

binary number

this is how data stored in the computer must be stored

New cards
27

ASCII

most important coding scheme, defines codes for only 128 characters

New cards
28

digital data

any device that stores data as binary numbers

New cards
29

fetch-decode-execute

3-step CPU program cycle

New cards
30

assembly language

uses short words (mnemonics) for instructions instead of binary numbers

New cards
31

assembler

translates assembly language to machine language for execution by CPU

New cards
32

low-level language

a language which is close to machine code, and is closely related to the design of the machine.

New cards
33

high-level language

a language that is human readable and allows simple creation of powerful and complex programs

New cards
34

keywords

predefined words used to write program in high-level language

New cards
35

operators

“_________” perform operations on data and/or actions that take the problem from one state to another

New cards
36

syntax

a set of rules to be followed when writing program

New cards
37

statement

an individual instruction used in high-level language

New cards
38

compiler

translates high-level language program into separate machine language program

New cards
39

interpreter

translates and executes instructions in high-level language program

New cards
40

source code

statements written by the programmer

New cards
41

syntax error

prevents code from being translated and running

New cards
42

algorithm

set of well-defined logical steps that must be taken to perform a task

New cards
43

pseudocode

code not meant to be compiled or executed, and is used to create model program

New cards
44

flowchart

diagram that graphically depicts the steps in a program

New cards
45

computer's typical 3-step process

Receive input, perform some process on the input, produce output

New cards
46

function

piece of prewritten code that performs an operation

New cards
47

argument

data given to a function

New cards
48

string

sequence of characters that is used as data

New cards
49

string literal

string that appears in actual code of a program

New cards
50

end-line comment

appears at the end of a line of code, typically explains the purpose of that line

New cards
51

variable

name that represents a value stored in the computer memory

New cards
52

assignment statement

used to create a variable and make it reference data

New cards
53

garbage collection

removal of values that are no longer referenced by variables

New cards
robot