
Quiz Python 1
Authored by Mohamad Shahrin
Computers
1st - 3rd Grade
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which one of the following is correct way of declaring and initialising a variable, x with value 5?
def x=5
x=5
int x=5
int x x=5
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not valid variable name in Python?
var11
11var
var_name
_var
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Is Python identifiers(variable name)case sensitive ?
True
False
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following will give error?
a,b,c=1, 2 , 1.5
a=b=c=1
a,b,c=1
None of the above
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid variable?
var@
32var
abc_a_c
class
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python only works in Linux and Windows.
True
False
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python does not have exception handling.
True
False
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
Linux-PermisosCmd
Quiz
•
1st - 5th Grade
10 questions
HARDWARE TROUBLESHOOTING
Quiz
•
1st Grade
11 questions
Цикли з лічильником. Цикли з передумовою
Quiz
•
1st - 12th Grade
10 questions
Scratch (28th March)
Quiz
•
KG - University
10 questions
Python-Partie7
Quiz
•
1st Grade
11 questions
Excel
Quiz
•
1st - 10th Grade
10 questions
G2_MS Word Basic Parts
Quiz
•
2nd Grade
10 questions
HARD-SOFTware INF 6
Quiz
•
2nd Grade
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