Python Basics Test

Python Basics Test

9th - 11th Grade

35 Qs

quiz-placeholder

Similar activities

class 11 PYTHON BASICS quiz -1

class 11 PYTHON BASICS quiz -1

11th Grade

32 Qs

Python

Python

10th Grade

40 Qs

Y9 Programming Test

Y9 Programming Test

9th Grade

40 Qs

Python Assessment 1

Python Assessment 1

7th - 9th Grade

40 Qs

CB30: Unit 2 Test Review

CB30: Unit 2 Test Review

9th - 12th Grade

34 Qs

Python Quiz II

Python Quiz II

9th Grade - University

30 Qs

Python Review 1

Python Review 1

9th Grade - University

30 Qs

Python Basics-01

Python Basics-01

9th - 12th Grade

32 Qs

Python Basics Test

Python Basics Test

Assessment

Quiz

Computers

9th - 11th Grade

Medium

Created by

Mr Abbas

Used 76+ times

FREE Resource

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

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?