Python Basics Test

Python Basics Test

9th - 11th Grade

35 Qs

quiz-placeholder

Similar activities

AP CSP Unit 1

AP CSP Unit 1

9th - 12th Grade

40 Qs

Ujian Sekolah Tikom

Ujian Sekolah Tikom

9th Grade

40 Qs

Entrepreneurship Honors 1 Unit 4

Entrepreneurship Honors 1 Unit 4

9th - 12th Grade

30 Qs

Excel

Excel

1st Grade - University

40 Qs

Soal Sumatif 1_v2 - HTML - Fase F

Soal Sumatif 1_v2 - HTML - Fase F

11th Grade

40 Qs

ปลายภาคเทคโนโลยีสารสนเทศ 3

ปลายภาคเทคโนโลยีสารสนเทศ 3

11th Grade

31 Qs

Programacion Vb (11)

Programacion Vb (11)

11th Grade

35 Qs

PSAS Informatika X

PSAS Informatika X

10th Grade

40 Qs

Python Basics Test

Python Basics Test

Assessment

Quiz

Computers

9th - 11th Grade

Practice Problem

Medium

Created by

Mr Abbas

Used 77+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python command is used to output information to the screen?

read
output
print
display

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax?

Syntax is the word used to describe a variable
Syntax is the rules of the programming language
This is used to read information
It is used to output information 

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the following code do:
print("What is your name")

Allow you to type in your name
Display the words 'What is your name' on the screen
Allows you to enter information
prints your name to the screen

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Why will the following code not work:
print("Welcome to my program)

There is a quotation mark missing
print should be in uppercase
There should not be any brackets
print is spelt incorrectly

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The following code is used to create a variable and store a value. Why will it NOT work?
my number = 36

The variable can't store a number
A variable name cannot have any spaces
There variable name can't be called my number
It can't store the number 36

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which command in Python allows you to type information in?

print
IF
read
input

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you add comments to your code?

You can't add comments
By using the hash (#) symbol
By using the asterisk (*) symbol
Using the print command

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?