
Python Fundamentals

Quiz
•
Computers
•
University
•
Medium
Tinkering Labs
Used 11+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
How will you print a message HELLO on python language?
printf(HELLO)
print("HELLO")
print HELLO
printf HELLO
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of the following is used on loops?
Indentation
Curly braces
Square brackets
None of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What will be the output for the following code?
x=5
x=10
print(x)
5
10
5
10
Error
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
How will you declare a string on python programming?
Single Quotes
Double Quotes
Both a & b
No Quotes
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which keyword is used to identify the datatype in python?
typeof
datatypeof
type()
datatype()
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is the output for the following code?
x,y,z="Apple","Orange","Banana"
print(x)
print(y)
print(z)
Apple
Orange
Banana
"Apple","Orange","Banana"
Apple,Orange,Banana
Apple
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What will the output for the following code?
x=y=z="Banana"
print(x)
print(y)
print(z)
Banana
Banana
Banana
Banana
Compilation error
Assignment Error
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python3

Quiz
•
4th Grade - University
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
17 questions
Python Loops

Quiz
•
University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
15 questions
Python Programming

Quiz
•
5th Grade - University
20 questions
Python :: String review

Quiz
•
University
20 questions
variable in python

Quiz
•
University
20 questions
Grade 7 Python Programming Quiz

Quiz
•
7th Grade - University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade