Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Science Quiz - Grade 6

Total questions: 15

Worksheet time: 20mins

Name
Class
Date
1.

Which operator is used for floor division in Python?

a)

/

b)

//

c)

%

d)

**

2.

What is the output of: 9 // 2 + 3 ?

a)

4.5

b)

7

c)

5

d)

6

3.

The shape of a Decision box in a flowchart is:

a)

Rectangle

b)

Circle

c)

Diamond

d)

Parallelogram

4.

Which of these is an example of a Floating Point literal?

a)

100

b)

2.34

c)

"Hello"

d)

2 + 3j

5.

Debugging in Python means:

a)

Running a program faster

b)

Removing spaces in code

c)

Detecting and correcting errors

d)

Writing flowcharts

6.

Identifiers are the names given to (a)   in Python.

7.

The output of val = [5, 3, 5, 3]; print(val[1] + val[3]) is (a)   .

8.

An (a)   is a step-by-step procedure to solve a problem.

9.

The number of flow lines used in a decision box is (a)   .

10.

2**3 * 5 = (a)   .

11.

Define Identifier in Python with an example.

4 lines
12.

Write a simple Python program to find the sum of two numbers.

4 lines
13.

Differentiate between an Algorithm and a Flowchart (any two points).

4 lines
14.

Explain Debugging in your own words with an example.

4 lines
15.

List any three data types in Python with one example each.

4 lines