L1 Python Recall - Do Now

L1 Python Recall - Do Now

8 Qs

quiz-placeholder

Similar activities

Python Loops and Control Statements Quiz9a

Python Loops and Control Statements Quiz9a

KG - University

10 Qs

Synergy quiz

Synergy quiz

KG - University

13 Qs

Parcial 1-Laboratorio II-5to BACO-I Unidad Forma A

Parcial 1-Laboratorio II-5to BACO-I Unidad Forma A

KG - University

13 Qs

Parcial 1-Laboratorio II-5to BACO-I Unidad Forma B

Parcial 1-Laboratorio II-5to BACO-I Unidad Forma B

KG - University

13 Qs

แบบทดสอบหลังเรียน 10 คะแนน

แบบทดสอบหลังเรียน 10 คะแนน

KG - University

13 Qs

Simple Coding Test Level 1

Simple Coding Test Level 1

KG - University

10 Qs

Conditional Statements

Conditional Statements

7th Grade

10 Qs

L1 Python Recall - Do Now

L1 Python Recall - Do Now

Assessment

Quiz

others

Hard

Created by

Ms Chaima

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?
A) A fixed value that cannot change
B) A named storage location for data
C) A type of function
D) A mathematical equation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of this Python code? print(10 // 3)
3.33
3
4
Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid data type in Python?
Boolean
String
Character
Integer
Float

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of this code below? print(type(3.14))

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is typecasting in programming?
Changing one data type into another
Storing multiple values in a variable
Writing comments in a program
Debugging code

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly converts a string "123" into an integer in Python?
int("123")
str(123)
float("123")
123.toInt()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of this Python code? print("Hello" + " World")
HelloWorld
Hello World
Hello + World
Hello world
Error

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the print() function?
To save data to a file
To display output on the screen
To create a variable
To exit a program