
Python Fundamentals
Authored by Tinkering Labs
Computers
University
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
CP N5 Theory Test 1
Quiz
•
University
10 questions
Recursion Practice, Recursion Practice, Recursion Practice...
Quiz
•
10th Grade - University
20 questions
C - Structures
Quiz
•
University
20 questions
DreamWeaver CS6
Quiz
•
University
10 questions
6-文件操作
Quiz
•
University
10 questions
ระบบทางเทคโนโลยี ม.4
Quiz
•
10th Grade - University
10 questions
Listen in Python
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade