Python Programming Basics_4may20

Python Programming Basics_4may20

4th - 10th Grade

18 Qs

quiz-placeholder

Similar activities

Variables, Inputs and Concatenation

Variables, Inputs and Concatenation

9th Grade

16 Qs

Python year 9

Python year 9

8th - 11th Grade

20 Qs

Python Review KS3

Python Review KS3

9th - 12th Grade

17 Qs

Programming 8.1

Programming 8.1

9th Grade

20 Qs

Python 3

Python 3

7th - 10th Grade

16 Qs

Introduction to Python

Introduction to Python

8th - 9th Grade

17 Qs

Python Programming

Python Programming

8th - 9th Grade

17 Qs

Post-Break Python Refresher

Post-Break Python Refresher

9th - 12th Grade

20 Qs

Python Programming Basics_4may20

Python Programming Basics_4may20

Assessment

Quiz

Computers

4th - 10th Grade

Hard

CCSS
L.2.2C

Standards-aligned

Created by

Shalaka Ekbote

Used 20+ times

FREE Resource

AI

Enhance your content

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

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!\nHello world!")
Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello" + str(2) + "world!")
Hello world! Hello world!
Hello2world!
Hello Hello world! world!
SyntaxError

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax?
Syntax is the word used to describe an error
Syntax is the rules of the programming language
It is used to read information
It is used to output information 

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Code executed based on a condition being true
Sequence
Selection
Iteration
Variable

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Code repeated / looped until a condition has been met or a set number of times.
Sequence
Selection
Iteration
Variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code do? myAge = int (myAge)

Converts the var (variable) myAge to a string

Converts the var (variable) myAge to a integer

Converts the var (variable) myAge from a integer to a string

Converts the var (variable) myAge to if statement

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is python named after
The snake
Television show called Monty Python

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?