compsci chapters 1+2

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/52

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

53 Terms

1
New cards

program

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

2
New cards

programmer

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

3
New cards

hardware

the physical devices that make up a computer

4
New cards

5 major components of a computer

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

5
New cards

central processing unit

the part of the computer that actually runs programs

6
New cards

microprocessors

the CPUs located on small chips

7
New cards

main memory

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

8
New cards

random access memory

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

9
New cards

secondary storage

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

10
New cards

3 major types of secondary memory

solid state drive, disk drive, flash memory

11
New cards

disk drive

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

12
New cards

solid state drive (SSD)

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

13
New cards

flash memory

portable drive, no physical disk

14
New cards

input

data that the computer collects from people and other devices

15
New cards

input device

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

16
New cards

output

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

17
New cards

output device

any device that presents data from the computer

18
New cards

software

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

19
New cards

application software

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

20
New cards

system software

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

21
New cards

operating system

controls operations of hardware components

22
New cards

utility program

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

23
New cards

software development tools

used to create, modify, and test software programs

24
New cards

byte

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

25
New cards

bit

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

26
New cards

binary number

this is how data stored in the computer must be stored

27
New cards

ASCII

most important coding scheme, defines codes for only 128 characters

28
New cards

digital data

any device that stores data as binary numbers

29
New cards

fetch-decode-execute

3-step CPU program cycle

30
New cards

assembly language

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

31
New cards

assembler

translates assembly language to machine language for execution by CPU

32
New cards

low-level language

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

33
New cards

high-level language

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

34
New cards

keywords

predefined words used to write program in high-level language

35
New cards

operators

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

36
New cards

syntax

a set of rules to be followed when writing program

37
New cards

statement

an individual instruction used in high-level language

38
New cards

compiler

translates high-level language program into separate machine language program

39
New cards

interpreter

translates and executes instructions in high-level language program

40
New cards

source code

statements written by the programmer

41
New cards

syntax error

prevents code from being translated and running

42
New cards

algorithm

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

43
New cards

pseudocode

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

44
New cards

flowchart

diagram that graphically depicts the steps in a program

45
New cards

computer's typical 3-step process

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

46
New cards

function

piece of prewritten code that performs an operation

47
New cards

argument

data given to a function

48
New cards

string

sequence of characters that is used as data

49
New cards

string literal

string that appears in actual code of a program

50
New cards

end-line comment

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

51
New cards

variable

name that represents a value stored in the computer memory

52
New cards

assignment statement

used to create a variable and make it reference data

53
New cards

garbage collection

removal of values that are no longer referenced by variables