Computer Hardware, Software, and Programming Fundamentals Review

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/65

flashcard set

Earn XP

Description and Tags

Comprehensive review flashcards covering hardware components, binary and data representation, Python programming concepts, decision structures, and loop constructs.

Last updated 5:24 PM on 9/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

66 Terms

1
New cards

What is a set of instructions that a computer follows to perform a task?

Program

2
New cards

What are the physical devices that a computer is made of referred to as?

Hardware

3
New cards

What is the part of a computer that runs programs called?

The CPU

4
New cards

What are CPUs known as today?

Microprocessors

5
New cards

Where does a computer store a program while it is running, along with the data it is working with?

Main memory

6
New cards

What volatile type of memory is used only for temporary storage while a program is running?

RAM

7
New cards

What type of memory can hold data for long periods of time, even when there is no power to the computer?

Secondary storage

8
New cards

What component collects data from people or other devices and sends it to the computer?

An input device

9
New cards

What type of device is a video display?

An output device

10
New cards

How much memory is enough to store a letter of the alphabet or a small number?

A byte

11
New cards

How many bits make up a single byte?

Eight bits

12
New cards

In which numbering system are all numeric values written as sequences of 0s and 1s?

Binary numbering system

13
New cards

What value does a bit represent when it is turned off?

0

14
New cards

What is the set of 128 numeric codes used to represent English letters, punctuation marks, and other characters?

ASCII

15
New cards

Which extensive encoding scheme can represent characters for many languages in the world?

Unicode

16
New cards

Which technique is used to encode negative numbers?

Two's complement

17
New cards

Which technique is used to encode real numbers?

Floating point

18
New cards

What are the tiny dots of color that digital images are composed of called?

Pixels

19
New cards

What would you see if you looked directly at a machine language program?

A stream of binary numbers

20
New cards

In which part of the fetch-decode-execute cycle does the CPU determine which operation it should perform?

Decode

21
New cards

What is the only language that a CPU can directly understand and execute?

Machine language

22
New cards

What program translates an assembly language program to a machine language program?

Assembler

23
New cards

What are the words that make up a high-level programming language called?

Keywords

24
New cards

What are the rules that must be followed when writing a program?

Syntax

25
New cards

What type of program translates a high-level language program into a separate machine language program?

Compiler

26
New cards

What type of error does not prevent a program from running, but causes it to produce incorrect results?

Logic error

27
New cards

What is a single function that a program must perform in order to satisfy the customer?

Software requirement

28
New cards

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

Algorithm

29
New cards

What is an informal language with no syntax rules that is not meant to be compiled or executed?

Pseudocode

30
New cards

What is a diagram that graphically depicts the steps taking place in a program?

Flowchart

31
New cards

What is a sequence of characters called?

String

32
New cards

What is a name that references a value in the computer's memory?

Variable

33
New cards

Who is any hypothetical person using a program and providing input for it?

User

34
New cards

How must a string literal be enclosed in Python?

In either single-quotes or double-quotes

35
New cards

What are short notes placed in different parts of a program explaining how those parts work called?

Comments

36
New cards

What type of statement makes a variable reference a value in memory?

Assignment statement

37
New cards

Which symbol marks the beginning of a comment in Python?

#

38
New cards

In the expression 12 + 7, what are the values on the right and left of the + symbol called?

Operands

39
New cards

Which Python operator performs integer division?

//

40
New cards

Which Python operator raises a number to a power?

**

41
New cards

Which operator performs division and returns the remainder instead of the quotient?

%

42
New cards

What built-in function can be used to read input typed on the keyboard?

input()

43
New cards

Which built-in function converts an int value to a float?

float()

44
New cards

What is an unexplained value that appears in a program's code called?

Magic number

45
New cards

What is a name that represents a value that does not change during program execution?

Named constant

46
New cards

What structure can execute a set of statements only under certain circumstances?

Decision structure

47
New cards

What structure provides one alternative path of execution?

Single alternative decision structure

48
New cards

What type of expression has a value of either True or False?

Boolean expression

49
New cards

What kind of operators are >, <, and ==?

Relational operators

50
New cards

Which statement is used to write a single alternative decision structure?

if statement

51
New cards

Which statement is used to write a dual alternative decision structure?

if-else statement

52
New cards

What kind of operators are and, or, and not?

Logical operators

53
New cards

A compound Boolean expression created with which operator is true only if both subexpressions are true?

and operator

54
New cards

A compound Boolean expression created with which operator is true if either subexpression is true?

or operator

55
New cards

Which operator takes a Boolean expression as its operand and reverses its logical value?

not operator

56
New cards

What is a Boolean variable that signals when some condition exists in a program?

Flag

57
New cards

What type of loop uses a true/false condition to control repetitions?

Condition-controlled loop

58
New cards

What type of loop repeats a specific number of times?

Count-controlled loop

59
New cards

What is each repetition of a loop known as?

Iteration

60
New cards

What type of loop is the while loop?

Pretest loop

61
New cards

What is a loop that has no way of ending and repeats until the program is interrupted?

Infinite loop

62
New cards

What type of variable keeps a running total?

Accumulator

63
New cards

What is a special value that signals when there are no more items from a list to process?

Sentinel

64
New cards

What does GIGO stand for?

Garbage in, garbage out

65
New cards

What is the input operation that appears just before a validation loop known as?

Priming read

66
New cards

What are validation loops also known as?

Error traps