Quiz Python 1

Quiz
•
Computers
•
1st - 3rd Grade
•
Medium
Mohamad Shahrin
Used 11+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Aibles javascript quiz

Quiz
•
1st Grade
10 questions
Programming - High Level Code & Machine Code

Quiz
•
2nd - 11th Grade
10 questions
Pascal Assessment

Quiz
•
3rd - 4th Grade
10 questions
Go Lang

Quiz
•
1st - 5th Grade
10 questions
Algorithm

Quiz
•
3rd - 6th Grade
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
13 questions
Dojo - Type Inference

Quiz
•
1st - 12th Grade
15 questions
Python Series

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade