
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
12 questions
1st grade I TRIMESTER
Quiz
•
1st Grade
15 questions
Chapter 2 & 3 (P3)
Quiz
•
3rd Grade
10 questions
App invertor 2
Quiz
•
1st Grade
13 questions
MS Paint
Quiz
•
1st - 4th Grade
15 questions
Computer and it's parts
Quiz
•
1st Grade
10 questions
Computer Basics
Quiz
•
KG - 3rd Grade
15 questions
Introduction to Scratch
Quiz
•
3rd - 5th Grade
15 questions
S2 Databases
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