Python Quiz

Python Quiz

10th Grade

29 Qs

quiz-placeholder

Similar activities

GCSE Computer Science- 2.2 Programming Techniques

GCSE Computer Science- 2.2 Programming Techniques

9th - 11th Grade

25 Qs

Python Vocab

Python Vocab

9th - 12th Grade

34 Qs

Algorithms - python (GCSE)

Algorithms - python (GCSE)

10th - 12th Grade

25 Qs

Java Loops

Java Loops

10th - 12th Grade

24 Qs

Intro to Microbit

Intro to Microbit

9th - 12th Grade

27 Qs

Program Development - Python: Loops

Program Development - Python: Loops

9th - 10th Grade

26 Qs

AP CSP Programming Basics

AP CSP Programming Basics

10th - 12th Grade

30 Qs

2.2 Programming techniques

2.2 Programming techniques

10th - 11th Grade

24 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Computers

10th Grade

Medium

Created by

CSC Teachers

Used 4+ times

FREE Resource

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are constants conventionally named in Python?

In lowercase characters

In mixed case characters

In all uppercase characters

In camel case

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type for a sequence of characters?

int

float

str

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the meaning of the arithmetic operator '*'?

division

multiplication

exponentiation

subtraction

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the relational operator '!=' mean?

equal to

not equal to

greater than

less than

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which logical operator is used to check if both sides of a test must be true to return true?

or

not

and

==

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for integer division? (floor division)

/

//

%

*

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of an assignment in programming?

To set or change the value of a variable

To execute a command repeatedly

To check a condition

To block code segments

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?