PTHS

PTHS

10th Grade

30 Qs

quiz-placeholder

Similar activities

Python GCSE

Python GCSE

10th Grade

27 Qs

Introduction to Python

Introduction to Python

KG - University

25 Qs

GCSE Computer Science: Programming (Python)

GCSE Computer Science: Programming (Python)

9th - 12th Grade

25 Qs

Python Programming with sequences a selection

Python Programming with sequences a selection

9th - 12th Grade

25 Qs

Python Basics - Variables

Python Basics - Variables

10th Grade

25 Qs

Python Christmas Quizizz

Python Christmas Quizizz

10th Grade

25 Qs

Programming Techniques

Programming Techniques

8th - 10th Grade

30 Qs

AQA GCSE Programming

AQA GCSE Programming

10th Grade

25 Qs

PTHS

PTHS

Assessment

Quiz

Computers

10th Grade

Hard

Created by

George Aryeetey

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct way to declare a variable in Python?

var x = 5

x = 5

int x = 5

declare x = 5

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a valid Python datatype?

List

Dictionary

Stack

Tuple

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which datatype in Python is immutable?

List

Tuple

Dictionary

Set

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the result of 5 + 2 in Python?

7

52

3

Error

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What datatype is used to store text in Python?

Integer

Float

String

Boolean

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator is used for exponentiation in Python?

^

**

//

%

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of 10 / 3 in Python?

3.3333

3

3.0

Error

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?