
Python Basics Quiz
Quiz
•
Information Technology (IT)
•
1st Grade
•
Practice Problem
•
Hard
Amira Abd El-aziz
Used 2+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare a variable in Python?
a) x : int = 5
b) int x = 5
c) x = 5
d) declare x = 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid variable name?
a) student_name
b) 3score
c) _age
d) price$
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type of the following variable? num = 10.5
a) int
b) float
c) str
d) bool
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? x = "10" y = 5 print(x + y)
a) 15
b) 105
c) Error
d) "10 5"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types can store decimal numbers?
a) int
b) bool
c) float
d) str
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? print("Hello", "World", sep="-")
a) Hello-World
b) Hello World
c) Hello, World
d) Hello- World
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of print(5, 10, 15, end="!")?
a) 5 10 15
b) 5 10 15!
c) 5, 10, 15
d) Error
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
KUIS TIK 6 NEW
Quiz
•
1st - 5th Grade
25 questions
Quiz SSI ID101 - Partie 2
Quiz
•
1st Grade
16 questions
Bài Tập Công Nghệ HK2
Quiz
•
1st Grade
15 questions
Retomada 1 ano Javascript p5JS Qual filme assistir?
Quiz
•
1st Grade
15 questions
Sistemas Operacionais e Software Open Source
Quiz
•
1st Grade
18 questions
QCM sur WordPress
Quiz
•
1st - 5th Grade
15 questions
UWM Session-2
Quiz
•
1st Grade
20 questions
UJIAN TIK KELAS 3 BULANAN 1
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
20 questions
Multiplication Mastery Checkpoint
Quiz
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
16 questions
natural resources
Quiz
•
1st Grade
20 questions
Identify Coins and Coin Value
Quiz
•
1st Grade
24 questions
Addition
Quiz
•
1st Grade
