Python Jr Quiz

Python Jr Quiz

6th Grade

17 Qs

quiz-placeholder

Similar activities

Python

Python

6th - 8th Grade

21 Qs

Year 7 Python: quiz 1

Year 7 Python: quiz 1

6th Grade

15 Qs

Computer Programming Languages

Computer Programming Languages

4th - 6th Grade

17 Qs

Coding 2 Performance Final

Coding 2 Performance Final

6th - 8th Grade

20 Qs

Functions Review (codeHS Tracy Python)

Functions Review (codeHS Tracy Python)

6th - 8th Grade

12 Qs

Coding Vocabulary

Coding Vocabulary

4th - 6th Grade

13 Qs

loops in python

loops in python

6th - 8th Grade

15 Qs

Python Week 6

Python Week 6

6th - 10th Grade

16 Qs

Python Jr Quiz

Python Jr Quiz

Assessment

Quiz

Computers

6th Grade

Hard

Created by

Sheema Begum

Used 1+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in Python?

A type of Python snake

A reserved word that cannot be used for anything other than its pre-defined purpose

A name that is used to denote something or a value is called a variable

A tool used to control the flow of a program

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is the number 5 in Python?

int

float

str

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to represent a Boolean value of True in Python?

"True"

1

True

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following operation: 3 *2?

6

9

5

8

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the == operator do in Python?

Assigns a value

Compares two values to see if they are equal

Adds two values together

Subtracts one value from another

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you start writing an if statement in Python?

if condition:

if (condition)

if [condition]

if condition do:

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet? ```python x = 10 if x > 5: print("Hello") else: print("Goodbye") ```

Hello

Goodbye

SyntaxError

None of the above

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?