wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

grade 6 week 5

Total questions: 52

Worksheet time: 17mins

Name
Class
Date
1.

What is a flowchart?

a)

Program code

b)

A diagram that shows the steps in a process

c)

List of variables

d)

Type of loop

2.

What shape is used for the start/end in a flowchart?

a)

Rectangle

b)

Oval

c)

Diamond

d)

Parallelogram

3.

What shape is used for processes in a flowchart?

a)

Rectangle

b)

Oval

c)

Diamond

d)

Triangle

4.

What shape is used for decision making?

a)

Circle

b)

Diamond

c)

Rectangle

d)

Square

5.

What shape is used for input/output in a flowchart?

a)

Oval

b)

Parallelogram

c)

Rectangle

d)

Diamond

6.

What does the arrow represent in the flowchart?

a)

New process

b)

Control flow

c)

Loop

d)

Bug

7.

Which of the following is NOT a benefit of flowcharts?

a)

Easy to understand

b)

Helps in debugging

c)

Shows program logic

d)

Runs faster

8.

In a decision box, how many possible outcomes are there?

a)

1

b)

2

c)

3

d)

Unlimited

9.

What is the purpose of a flowchart?

a)

To store data

b)

To plan and visualize processes

c)

To debug code only

d)

To design graphics

10.

Which of these is the correct flowchart sequence?

a)

Start → Decision → Process → End

b)

Start → End → Process → Decision

c)

Process → Start → Decision → End

d)

Start → Output → Start

11.

What is the symbol for input in a flowchart?

a)

Parallelogram

b)

Rectangle

c)

Diamond

d)

Oval

12.

If you want to check "Is X > 10?" in a flowchart, what shape do you use?

a)

Oval

b)

Diamond

c)

Rectangle

d)

Parallelogram

13.

Which flowchart symbol is used for “Display results”?

a)

Rectangle

b)

Parallelogram

c)

Diamond

d)

Oval

14.

What should always appear at the beginning of a flowchart?

a)

Process

b)

Start symbol

c)

Output

d)

Decision

15.

What is the last symbol in a flowchart?

a)

End symbol

b)

Process

c)

Decision

d)

Loop

16.

Which of these is a common mistake in flowcharts?

a)

Incorrect symbols used

b)

Arrows pointing in the correct direction

c)

Clear labels

d)

Simple layout

17.

What is the main advantage of using flowcharts?

a)

The program runs faster

b)

Helps visualize logic

c)

Uses less memory

d)

Avoids the use of variables

18.

What is missing if a flowchart does not have arrows?

a)

Logic

b)

Flow direction

c)

Output

d)

Input

19.

In a flowchart, decisions often lead to…

a)

End only

b)

Two or more paths

c)

Only one process

d)

Start symbol

20.

What does the diamond shape represent?

a)

Input/Output

b)

Process

c)

Decision

d)

Start

21.

If a flowchart has incorrect logic, what is it called?

a)

Loop

b)

Bug

c)

Function

d)

Variable

22.

What is the difference between process and decision in a flowchart?

a)

Process makes choices, decision executes tasks

b)

Process executes tasks, decision makes choices

c)

Both are the same

d)

Process is faster

23.

What is an algorithm in relation to flowcharts?

a)

Visual representation of steps

b)

Only programming code

c)

Diagram for hardware

d)

Type of bug

24.

Can flowcharts help in debugging?

a)

Yes

b)

No

c)

Only sometimes

d)

Never

25.

Flowcharts are best used...

a)

Before coding

b)

After debugging

c)

Only during code execution

d)

To replace programming

26.

What is a bug in programming?

a)

Virus

b)

Error in the program

c)

Flowchart symbol

d)

Type of loop

27.

What is debugging?

a)

Writing new code

b)

Fixing program errors

c)

Drawing flowcharts

d)

Cre

28.

What is a bug in programming?

a)

Virus

b)

Error in the program

c)

Flowchart symbol

d)

Type of loop

29.

What is debugging?

a)

Writing new code

b)

Fixing program errors

c)

Drawing flowcharts

d)

Creating variables

30.

What type of bug is included?

a)

Syntax error

b)

Arrow direction

c)

Oval symbol

d)

Flowchart step

31.

What type of bug is included?

a)

Logical error

b)

Rectangular shape

c)

Start symbol

d)

None

32.

What type of bug is included?

a)

Runtime error

b)

Parallel process

c)

Input form

d)

End

33.

What is the first step in debugging?

a)

Run the code

b)

Identify the error

c)

Fix the bug

d)

Write new code

34.

What is the last step in debugging?

a)

Test the program

b)

Write a flowchart

c)

Create variables

d)

Print output

35.

What tool is used to find bugs?

a)

Debugger

b)

Compiler

c)

Flowchart

d)

Decision box

36.

What is a syntax error?

a)

Incorrect programming grammar

b)

Incorrect answer

c)

Incorrect variable name

d)

Incorrect number

37.

What is a logical error?

a)

Program hangs

b)

Program runs but gives incorrect results

c)

Program does not start

d)

Code is missing

38.

What is a runtime error?

a)

Occurs during program execution

b)

Occurs before running

c)

Occurs after compiling

d)

Occurs in a flowchart

39.

Which method is NOT used in debugging?

a)

Print statements

b)

Error messages

c)

Random guessing

d)

Debugger tools

40.

What is an example of a logic bug?

a)

Using the wrong condition in an if statement

b)

Missing colon

c)

Typographical error

d)

Missing variable

41.

What is an example of a syntax bug?

a)

Missing parentheses

b)

Incorrect calculation

c)

Incorrect flowchart

d)

Slow program

42.

Why is debugging important?

a)

To make the code shorter

b)

To ensure the program works correctly

c)

To make the program colorful

d)

To remove flowcharts

43.

Which best practice is for debugging?

a)

Test small parts of the code

b)

Write the entire program before testing

c)

Ignore errors

d)

Never use print statements

44.

How can flowcharts assist in debugging?

a)

By showing the structure of the program

b)

By making the code shorter

c)

By automatically removing bugs

d)

By storing data

45.

What does 'code trace' mean?

a)

Read code step by step

b)

Draw new code

c)

Remove bugs

d)

Change variables

46.

If the decision box in a flowchart is inverted, what type of bug is that?

a)

Logic error

b)

Syntax error

c)

Runtime error

d)

Hardware issue

47.

Which type of error will stop the program from running at all?

a)

Syntax error

b)

Logic error

c)

Runtime error

d)

None

48.

Which type of error allows a program to run but gives incorrect output?

a)

Logic error

b)

Syntax error

c)

Runtime error

d)

None

49.

Which type of error occurs only when you run the program?

a)

Runtime error

b)

Syntax error

c)

Logic error

d)

None

50.

What is the main purpose of debugging?

a)

Remove bugs

b)

Make the program shorter

c)

Add more features

d)

Remove flowcharts

51.

Jenis bug mana yang TIDAK termasuk?

a)

Kesalahan sintaks

b)

Kesalahan logika

c)

Kesalahan desain

d)

Kesalahan runtime

52.

Jika Anda memperbaiki satu bug dan bug lain muncul, apa yang harus Anda lakukan?

a)

Abaikan

b)

Debug lagi

c)

Berhenti coding

d)

Hapus program