
Python Programming: Variables, F-string, User Input

Quiz
•
Education
•
Professional Development
•
Medium

Ivy Professional School
Used 2+ times
FREE Resource
13 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Full Name
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Email ID
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Student ID
Evaluate responses using AI:
OFF
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
x = 10
x= x + 5
print(x)
10
15
Error
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following?
x = 'hello'
y = x
x = x + ' world'
print(y)
'hello'
'hello world'
'world'
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print?
x = 10
y = 20
print(f"{x=} and {y=}")
10 and 20
10= and 20=
x=10 and y=20
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following variable names is valid in Python?
1variable
variable name
variable-name
_variable
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
MES 3.0 - GL Pool

Quiz
•
Professional Development
11 questions
GINCANA PYTHON

Quiz
•
Professional Development
10 questions
Abkürzungsrally ZiTh

Quiz
•
Professional Development
10 questions
Javascript Basics

Quiz
•
Professional Development
10 questions
Python

Quiz
•
1st Grade - Professio...
15 questions
3D PRINTING WITH RP MAKER

Quiz
•
1st Grade - Professio...
15 questions
Microsoft 365 Review

Quiz
•
7th Grade - Professio...
15 questions
Basic Logistics C. Information

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade