Python - lists,loops,basics

Python - lists,loops,basics

9th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

BÀI 24-25 TIN 10

BÀI 24-25 TIN 10

10th Grade

20 Qs

9 сынып массив2

9 сынып массив2

9th Grade

15 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

HTML5 Basics

HTML5 Basics

7th - 10th Grade

20 Qs

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

UH1_INFO_XII

UH1_INFO_XII

11th Grade

20 Qs

Loops

Loops

9th Grade

19 Qs

Python - lists,loops,basics

Python - lists,loops,basics

Assessment

Quiz

Computers

9th - 11th Grade

Hard

Created by

Louise Lockwood

Used 522+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

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 

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print(9/3)
3
3.0
9/3
SyntaxError

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello" + 2 + "world")
Hello 2 world
Hello2world
TypeError
HelloHelloworld

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Joining elements together to make a string is called what?
Combining
Connecting
Concatenation
Stringing

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In python the ' INTEGER data type' can be defined as...?
holds alphanumeric data as text
holds whole numbers
holds numbers with a decimal point
holds either ‘true’ or ‘false’

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In python the ' STRING data type' can be defined as...?
holds alphanumeric text
hold whole numbers
holds numbers with a decimal point
holds either a true or false value

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?