Search Header Logo
flowchart lesson 2

flowchart lesson 2

Assessment

Presentation

Computers

9th Grade

Practice Problem

Medium

Created by

Ehtesham Malik

Used 1+ times

FREE Resource

31 Slides • 28 Questions

1

media
media

2

media

3

Multiple Choice

Which of the following best explains why developers do not start programming immediately when creating a new app?

1

They need to plan and design the app first.

2

They do not have the necessary tools.

3

Programming is not required for app development.

4

They want to delay the project.

4

Open Ended

Question image

Why is it important for developers to plan and design before starting to program a new game?

5

media

6

media

7

Multiple Choice

Which of the following best describes a flowchart?

1

A diagram that shows the inputs, outputs, and processes in an algorithm.

2

A series of steps to solve a problem or perform an action.

3

A simplified, not language specific style used to design algorithms.

4

A more formal 'code like' way of writing algorithms.

8

media

9

Multiple Choice

Which of the following are shown in a flowchart?

1

Inputs and outputs

2

Processes (actions)

3

Decisions and repetitions

4

All of the above

10

Open Ended

Explain how flowcharts and pseudocode are used to represent algorithms. Include their similarities and differences in your answer.

11

media

12

13

Fill in the Blanks

14

media

15

Fill in the Blanks

Type answer...

16

media

17

Fill in the Blanks

Type answer...

18

media

19

media

20

Fill in the Blanks

Type answer...

21

Multiple Choice

Which of the following statements best describes pseudocode?

1

It uses short English statements to describe an algorithm and is less precise than a programming language.

2

It is written in a programming language and can be compiled.

3

It is only used for describing hardware components.

4

It is more precise than a programming language.

22

media

23

media

24

media

25

Multiple Choice

Which actions are performed if the age is not 14, 15, or 16 according to the pseudocode examples?

1

Stand up

2

Clap

3

Sing a song

4

Sit on the floor

26

Open Ended

Compare the structure and clarity of the two pseudocode examples shown. What are the strengths and weaknesses of each approach?

27

media

28

Multiple Choice

Which of the following is NOT an advantage of using a reference language?

1

It can be read more easily by programmers.

2

It can be compiled directly into machine code.

3

It can be easier to write the program in a chosen language.

4

It is defined in a more formal way to represent an algorithm.

29

Open Ended

What are the advantages of using a reference language over pseudocode when representing an algorithm?

30

media

31

Multiple Choice

Which of the following is an example of selection in the OCR exam reference language?

1

print("Hello")

2

num = input("Enter a number")

3

if num == 2 then ... elseif num < 4 then ... endif

4

for i = 1 to 10 ... next i

32

media

33

Multiple Choice

What is the main difference between a FOR loop and a WHILE loop as shown in the OCR reference language examples?

1

A FOR loop repeats a fixed number of times, while a WHILE loop repeats until a condition is false.

2

A FOR loop can only count upwards, while a WHILE loop can count both ways.

3

A FOR loop is used for selection, while a WHILE loop is used for input.

4

A FOR loop always uses the variable i, while a WHILE loop uses any variable.

34

media

35

Multiple Choice

In the algorithm provided, what output will be given if the user's mark is 85?

1

Fail

2

Pass

3

Merit

4

Distinction

36

Open Ended

Write an algorithm that takes a user's age as input and outputs 'Teenager' if the age is between 13 and 19, otherwise outputs 'Not a teenager'.

37

media

38

media

39

Multiple Choice

The program asks the user to enter the number of hours they have been working for. What is the formula used to calculate the number of seconds they have been working?

1

hoursWorked * 60

2

hoursWorked * 3600

3

hoursWorked * 60 * 60

4

hoursWorked / 60

40

media

41

Fill in the Blanks

Type answer...

42

media

43

Multiple Choice

Which conditional statement is used in the program to determine which number is larger?

1

if-elseif-else

2

switch-case

3

for loop

4

while loop

44

media

45

Open Ended

Explain how the program in the second image checks if the user's answer is correct.

46

media

47

Multiple Choice

Which of the following best describes the purpose of the loop in the times table program?

1

To repeat the input process

2

To display the multiplication results for numbers 1 to 12

3

To check if the number is even or odd

4

To calculate the sum of numbers

48

media

49

media

50

Multiple Select

Select all the operations that the calculator program can perform based on the user's input symbol.

1

Addition

2

Subtraction

3

Multiplication

4

Exponentiation

51

media

52

Open Ended

Compare how user input is handled in the fish tank volume program and the calculator program. What are the similarities and differences?

53

Fill in the Blanks

Type answer...

54

media

55

media

56

media

57

media

58

Multiple Choice

Before developers start programming a new game, what is the essential first step they must take?

1

Start coding immediately

2

Plan and design the game

3

Release the game to the public

4

Test the game on devices

59

Open Ended

Why is it important for developers to plan and design before starting to program a new game for mobile devices?

media
media

Show answer

Auto Play

Slide 1 / 59

SLIDE