Python Basics

Python Basics

7th Grade

14 Qs

quiz-placeholder

Similar activities

Semester 1- Exploration of Robotics (Units 5-7)

Semester 1- Exploration of Robotics (Units 5-7)

6th - 8th Grade

17 Qs

B Words GCSE Computer Science

B Words GCSE Computer Science

1st - 10th Grade

15 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

Spreadsheets

Spreadsheets

6th - 8th Grade

13 Qs

BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU

BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU

1st - 12th Grade

10 Qs

Cyber Security

Cyber Security

1st - 10th Grade

10 Qs

Acceptable Use Policy

Acceptable Use Policy

6th - 9th Grade

16 Qs

BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ

BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ

6th Grade - University

14 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

7th Grade

Hard

Created by

Simon Errington

Used 389+ times

FREE Resource

AI

Enhance your content in a minute

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

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why did Guido van Rossum call his programming language Python?

He thinks Pythons were cool

He couldn't think of anything else

A friend suggested it

He loves Monty Python

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will:

answer = input("Give me a number")

print(answer * 5)

output?

An error message

The value of answer multiplied by 5

answer * 5

The value of answer repeated 5 times

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do we change a user input from string to integer?

Casing

Flipping

Casting

Numerising

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does == mean?

Assign a value to a variable

Nothing, it's an error caused by typing == instead of =

Check that the value on the right of the == matches the value on the left

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is concatenation?

Replacing a string variable with another string variable

Combining two variables such as first name and last name

One of the food options in the canteen on Friday

A large collection of cats in an open space

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can a variable not start with?

A special character

A capital letter

A number

A lower case letter

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use at the start of a comment line?

@

#

"

*

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?