Python Fundamentals Concept Checkup

Python Fundamentals Concept Checkup

9th Grade

38 Qs

quiz-placeholder

Similar activities

Y9 Programming Test

Y9 Programming Test

9th Grade

40 Qs

Python Chap 2-4

Python Chap 2-4

9th Grade

42 Qs

Python Operators

Python Operators

University

35 Qs

Python Quiz

Python Quiz

University

40 Qs

String in Python

String in Python

11th Grade

43 Qs

Python Test

Python Test

8th - 12th Grade

40 Qs

Python Midterm Review

Python Midterm Review

KG - Professional Development

33 Qs

Python

Python

10th Grade

40 Qs

Python Fundamentals Concept Checkup

Python Fundamentals Concept Checkup

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Kim Conant

Used 3+ times

FREE Resource

38 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: Indentation in Python is for readability only.

True

False

Answer explanation

Indentation is required for if/else, defining functions, and loops.

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Insert the missing part of the code to output "Hello World".

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following should go in the blank to print "YES" if 5 is larger than 2?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character is used to define a Python comment:

^

//

#

/*

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Comments in Python are written with a special character, which one?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct way to declare a Python variable?

var x = 5

#x = 5

$x = 5

x = 5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

True or False:
You can declare string variables with single or double quotes.

True

False

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?