Python

Python

11th Grade

26 Qs

quiz-placeholder

Similar activities

APCSP CodeHS Unit 3

APCSP CodeHS Unit 3

11th - 12th Grade

22 Qs

CSP CodeHS U8 8.2 & 8.2

CSP CodeHS U8 8.2 & 8.2

11th - 12th Grade

22 Qs

CodeHS Computer Science Principles

CodeHS Computer Science Principles

11th - 12th Grade

22 Qs

Python - Conditional Statements

Python - Conditional Statements

9th - 11th Grade

23 Qs

GCSE Python Programming Basics

GCSE Python Programming Basics

11th Grade

23 Qs

Python Concepts Quiz

Python Concepts Quiz

11th Grade

21 Qs

Python Basics-02

Python Basics-02

9th - 12th Grade

21 Qs

Python Test

Python Test

9th - 12th Grade

25 Qs

Python

Python

Assessment

Quiz

Computers

11th Grade

Medium

Created by

turgut kalfaoglu

Used 3+ times

FREE Resource

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the difference between the data types "int" and "float"?

'int' represents whole numbers, while 'float' represents sequences of characters.

'int' represents characters, while 'float' represents numbers.

'int' represents whole numbers, while 'float' represents decimal numbers.

'int' represents positive numbers, while 'float' represents negative numbers.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What are variables in Python?

Variables in Python are used to control the flow of a program.

Variables in Python are used to look cool and awesome.

Variables in Python are used to store data values.
Variables in Python are used to define functions.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What are booleans?

Numbers between 1 and 10
Strings of text
Arrays of values
True or false values

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you check if two values are equal in Python?

==
<>
is
!=

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the difference between "=" and "==" in Python?

The '=' operator is used for assignment, while the '==' operator is used for comparison.
The '=' operator is used for assignment, while the '==' operator is used for arithmetic operations.
The '=' operator is used for comparison, while the '==' operator is used for logical operations.
The '=' operator is used for comparison, while the '==' operator is used for assignment.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output to the python code?
X = 5

Y = 5

print(X == Y)

Error
True
None
False

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output to this Python code?

X = 5

Y = 3

print(X == Y)

False
3
5
True

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?