APCSP Quiz Study

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

1/95

encourage image

There's no tags or description

Looks like no tags are added yet.

96 Terms

1
New cards

What is the iterative development process?

The process by which computer programs are designed, developed, and tested in repeated cycles.

2
New cards

What does iterate mean?

To repeat a process to get a better result each time.

3
New cards

Why is the iterative development process a cycle?

Because testing and feedback are used to improve the program and repeat the process.

4
New cards

What is iteration?

Repeatedly applying a process to come closer to a solution.

5
New cards

What is incremental development?

Breaking a problem, it’s a smaller pieces and ensuring each piece works before adding more.

6
New cards

What does it mean to debug a program?

To identify and remove errors from a computer program.

7
New cards

What is innovating?

Creating something new with potential value and making it real.

8
New cards

Why is testing important and development?

And helps find problems and improve program

9
New cards

Why is feedback important in development?

It helps programmers make improvements.

10
New cards

What should programmers consider during development?

User concerns and programmer concerns

11
New cards

What is an algorithm?

A finite set of instructions that accomplishes a specific task

12
New cards

What is the purpose of an algorithm?

To solve a problem

13
New cards

What is a real world example of an algorithm?

A recipe

14
New cards

Why must algorithms be precise?

So they can be executed exactly as indeed

15
New cards

What does finite mean in an algorithm?

The algorithm has a limited number of steps

16
New cards

What are the three major parts of many algorithms?

Sequencing selection and iteration

17
New cards

What is sequencing?

Executing instructions in order

18
New cards

What is selection?

Choosing actions using conditions such as IF statements

19
New cards

What is iteration in algorithms?

Repeating instructions until the condition is met

20
New cards

Why are all steps in an algorithm important?

Every step contributes to solving the problem

21
New cards

What happens if a step is skipped or changed?

The algorithm may not work correctly

22
New cards

What is an imperative statement?

A command statement with the verb phrase

23
New cards

Give an example of an imperative statement

Move forward

24
New cards

What is a descriptive qualifier?

A word that provides additional detail

25
New cards

Given an example of a descriptive qualifier

Left shoe

26
New cards

Why are descriptive qualifiers important?

They make instructions more specific

27
New cards

What is a natural language?

A language that evolved naturally among humans

28
New cards

Give example examples of natural language languages

English Spanish, Arabic Chinese

29
New cards

What is a weakness of natural languages?

Ambiguity

30
New cards

What does ambiguity?

Begin open to more than one interpretation

31
New cards

Why is ambiguity a problem for computers?

Computers require precise instructions

32
New cards

What is an artificial language?

A language created for a specific purpose

33
New cards

Why are programming languages considered artificial language?

They were designed for communication with computers

34
New cards

Why are artificial languages useful?

They are structured and unambiguous

35
New cards

What is a high level language?

A programming language that is easier for humans to read and write

36
New cards

Give examples of higher level languages

Python Java scratch

37
New cards

What is a low level language?

A language that communicates closely with hardware

38
New cards

Give examples of low level languages

Assembly language and machine language

39
New cards

Which language type is easier for humans

High-level languages

40
New cards

Which language type is closer to hardware

Low low languages

41
New cards

Which language has more abstraction?

High level languages

42
New cards

Which level has less abstraction?

Low level languages

43
New cards

What does binary

A pattern of 0s and 1s used by computers

44
New cards

What is a bit

A binary digit

45
New cards

What values can a bit have

0 or 1

46
New cards

What is machine code

Instructions represented by binary numbers

47
New cards

What does CPU directly understand?

Machine code

48
New cards

Why is machine code difficult for humans

It consists of binary numbers

49
New cards

What is source code

Programs written in high level languages

50
New cards

Who writes source code

Programmers

51
New cards

What is a compilation

Translating source code into machine code,

52
New cards

Why is compilation necessary

Computers understand machine code, not source code

53
New cards

What is produced after compilation?

Machine code

54
New cards

What is abstraction?

Removing or suppressing details to manage complexity

55
New cards

Why is abstraction useful?

It makes complex systems easier to understand

56
New cards

Which language type uses more abstraction

High-level languages

57
New cards

How does abstraction help programmers

It allows them to focus on important details

58
New cards

What does abstraction hide?

Lower level details

59
New cards

What does CPU stand for?

Central processing unit

60
New cards

What is the CPU often called?

The brain of the computer

61
New cards

What does the CPU do?

Execute instructions and performs calculations

62
New cards

Where does the CPU get instructions from?

Memory RAM

63
New cards

What is a CPU process?

Binary instructions

64
New cards

What happens after the CPU performs calculations?

Results are stored in memory and sent to output devices

65
New cards

What does RAM stand for?

Random access memory

66
New cards

What is RAM used for?

Temporary storage while programs are running

67
New cards

Is RAM temporary or permanent?

Temporary

68
New cards

Why does the CPU use RAM?

To quickly access needed information

69
New cards

What happens to RAM when power is turned off?

The information is lost

70
New cards

What is a process?

An instance of a program running on a computer

71
New cards

When does a process begin?

When a program starts running

72
New cards

When does a process end?

When the program stops running

73
New cards

Can a computer run multiple processes

Yes

74
New cards

Give an example of a process

Opening a Web browser

75
New cards

What is input?

Information entered into a computer

76
New cards

Give examples of input

Mouse clicks, keyboard presses, touchscreen taps

77
New cards

What is output?

Information displayed or produced by a computer

78
New cards

Give examples of output

Monitor displays speakers printers

79
New cards

What are the four major parts of a process?

Input, memory, RAM, CPU, output

80
New cards

What happens first when opening a program

Input

81
New cards

What happens after input?

Instructions are sent to the CPU

82
New cards

What does the CPU use during processing?

Information stored in RAM

83
New cards

What happens after processing?

Output is displayed

84
New cards

What is processor clock speed measured in

Gigahertz

85
New cards

What is a higher clock speed generally mean?

More instructions can be executed per second

86
New cards

Approximately how many instructions per second can a 2.8 GHz processor execute?

About 2.8 billion

87
New cards

Do modern computers usually have one processor core or multiple courses

Multiple courses

88
New cards

What are the three main building blocks of algorithms?

Sequencing selections and iteration

89
New cards

What is the difference between source code and machine code?

Source code is written by humans. Machine code is binary. Understood by computer computers.

90
New cards

What is the difference between RAM and the CPU

RAM uses temporary data the CPU processes instructions

91
New cards

What is the difference between natural and artificial languages?

Natural language is evolved among humans artificial languages are designed for specific purposes

92
New cards

What’s the relationship between compilation and machine code

Compilation convert source code into machine code

93
New cards

Which component performs calculations

CPU

94
New cards

Which component temporarily stored information

RAM

95
New cards

Why is abstraction important?

Reduces complexity and makes systems easier to understand

96
New cards