IPO

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

1/70

flashcard set

Earn XP

Description and Tags

Last updated 7:01 PM on 8/26/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

71 Terms

1
New cards

What is the first step in programming?

Designing the program.

2
New cards

What tools help with program design?

Flowcharts and pseudocode.

3
New cards

What is the purpose of Programming Logic and Design?

To focus on flowcharts and pseudocode.

4
New cards

Why is program design important?

The design is the foundation of a good program.

5
New cards

What are the steps in the program development cycle?

Design the program, write the code, correct syntax errors, test the executable code, and debug the code.

6
New cards

What are the two steps in designing a program?

Understand the tasks the program must perform and determine the steps needed to perform the task.

7
New cards

What is an algorithm?

Step-by-step directions to solve a problem.

8
New cards

What is pseudocode?

Fake code used as a model for programs.

9
New cards

Does pseudocode have strict syntax rules?

No, pseudocode does not have syntax rules.

10
New cards

Why is well-written pseudocode useful?

It can be easily translated into actual code.

11
New cards

What is a flowchart?

A diagram that graphically depicts the steps that take place in a program.

12
New cards

What is the purpose of a flowchart connector symbol?

To break a flowchart into two or more smaller flowcharts placed side-by-side.

13
New cards

What is an off-page connector symbol used for?

To connect flowcharts on different pages.

14
New cards

What is output?

Data generated and displayed by a program.

15
New cards

What is input?

Data that a program receives.

16
New cards

What are variables?

Storage locations in memory for data.

17
New cards

What are the three basic steps followed by computer programs?

Input is received, processing is performed, and output is produced.

18
New cards

What is an IPO chart?

A chart that describes the input, processing, and output of a program.

19
New cards

What does Display do?

It shows output to the screen.

20
New cards

What does Input do?

It takes values from the user of the program.

21
New cards

What is sequence in programming?

Lines execute in the order they appear.

22
New cards

What are string literals?

A sequence of characters.

23
New cards

What are the rules for variable names?

They must be one word, have no spaces, avoid punctuation characters, and generally cannot start with a number.

24
New cards

What naming convention is popular for variables?

camelCase.

25
New cards

What is variable assignment?

Setting a variable value through an assignment statement.

26
New cards

Give an example of assignment statement.

Set price = 20.

27
New cards

What are common math operators?

Addition, subtraction, multiplication, division, modulus, and exponent.

28
New cards

What does the addition operator do?

Adds two numbers.

29
New cards

What does the subtraction operator do?

Subtracts one number from another.

30
New cards

What does the multiplication operator do?

Multiplies one number by another.

31
New cards

What does the division operator do?

Divides one number by another and gives the quotient.

32
New cards

What does MOD do?

Divides one number by another and gives the remainder.

33
New cards

What does the exponent operator do?

Raises a number to a power.

34
New cards

What is a data type?

It defines the type of data stored in a variable.

35
New cards

What are common data types?

Integer, real, and string.

36
New cards

What does an integer data type store?

Whole numbers.

37
New cards

What does a real data type store?

Whole or decimal numbers.

38
New cards

What does a string data type store?

A series of characters.

39
New cards

Why should variables be initialized?

To avoid safety issues and logic errors.

40
New cards

What is a named constant?

A name that represents a value that cannot be changed.

41
New cards

Why use named constants?

They make programs more self-explanatory and changes only need to be made in one place.

42
New cards

What is hand tracing?

A debugging process for locating hard-to-find errors in a program.

43
New cards

How is hand tracing performed?

By creating a chart with a column for each variable and a row for each line of code.

44
New cards

What is external documentation?

Documentation that describes aspects of a program for the user.

45
New cards

What is internal documentation?

Comments that explain how parts of a program work for the programmer.

46
New cards

What is the input for a batting average program?

The number of hits and the number of times at bat.

47
New cards

What is the process for calculating batting average?

Divide the number of hits by the number of times at bat.

48
New cards

What is the output of a batting average program?

The player's batting average.

49
New cards

What does Java System.out.println() do?

It displays a line of output and advances the cursor to the next line.

50
New cards

What does Java System.out.print() do?

It displays output without advancing to the next line.

51
New cards

What is a Java Scanner object used for?

Reading keyboard input.

52
New cards

How do you read an integer in Java?

Use keyboard.nextInt().

53
New cards

How do you read a real number in Java?

Use keyboard.nextDouble().

54
New cards

How do you read a string in Java?

Use keyboard.nextLine().

55
New cards

What does the Java + operator do in output statements?

It combines multiple items for display.

56
New cards

What operators are used for calculations in Java?

+, -, *, /, and %.

57
New cards

What keyword creates named constants in Java?

final.

58
New cards

What symbol starts a single-line Java comment?

//.

59
New cards

What does Python print() do?

It displays output on the screen.

60
New cards

How are variables created in Python?

By using assignment statements.

61
New cards

How do you read string input in Python?

Use input().

62
New cards

How do you read an integer in Python?

Use int(input()).

63
New cards

How do you read a real number in Python?

Use float(input()).

64
New cards

What operators are used for calculations in Python?

+, -, *, /, %, and **.

65
New cards

What symbol starts a Python comment?

#

66
New cards

What statement displays output in C++?

cout.

67
New cards

What operator follows cout in C++?

The << operator.

68
New cards

How do you read input in C++?

Use cin.

69
New cards

What function reads strings containing spaces in C++?

getline().

70
New cards

What keyword creates named constants in C++?

const.

71
New cards

What symbols are used for C++ comments?

// for single-line comments and /* */ for multiline comments.