Python Baseline Quiz for Y11 Students

Python Baseline Quiz for Y11 Students

10th Grade

20 Qs

quiz-placeholder

Similar activities

Python Review KS3

Python Review KS3

9th - 12th Grade

17 Qs

Python 10 Bài 4

Python 10 Bài 4

10th Grade

15 Qs

Python Basics - yr 9

Python Basics - yr 9

9th - 12th Grade

18 Qs

Python Basics & Syntax

Python Basics & Syntax

10th - 12th Grade

20 Qs

Python - Variables and Input

Python - Variables and Input

1st - 10th Grade

16 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

CSP Python Review 2

CSP Python Review 2

9th - 12th Grade

17 Qs

Python year 9

Python year 9

8th - 11th Grade

20 Qs

Python Baseline Quiz for Y11 Students

Python Baseline Quiz for Y11 Students

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Paul Shaddick

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct way to declare a variable called `age` and assign it the value 15 in Python?

age == 15

age = 15

int age = 15

15 = age

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What data type will the variable `name` have after the following code is executed? name = "Alice"

int

float

string

bool

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a simple data type in Python?

int

float

string

list

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following code? print(7.5)

7,5

"7.5"

7.5

75

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you get input from a user and store it in a variable called `user_input`?

user_input = input()

input(user_input)

user_input == input()

user_input = get.input()

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code? print("Hello, World!")

Hello, World!

"Hello, World!"

print("Hello, World!")

Hello World

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct way to use a for loop to print numbers from 1 to 10 (inclusive)?

for i in range(1, 11): print(i)

for i in range(1, 10): print(i)

for i in range(0, 10): print(i)

for i in range(1, 12): print(i)

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?