Which one of the following is correct way of declaring and initialising a variable, x with value 5?
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
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 Quizizz
13 questions
Dojo - Type Inference

Quiz
•
1st - 12th Grade
10 questions
Python

Quiz
•
1st - 10th Grade
10 questions
Python - variable et calcul

Quiz
•
2nd Grade
14 questions
Python-basics

Quiz
•
1st - 4th Grade
10 questions
Go Lang

Quiz
•
1st - 5th Grade
12 questions
CodeMonkey Coding Vocabulary

Quiz
•
3rd - 7th Grade
10 questions
Python-Partie6

Quiz
•
1st Grade
10 questions
Python

Quiz
•
1st - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
American Flag

Quiz
•
1st - 2nd Grade
14 questions
IREAD-3 Practice Test

Quiz
•
3rd Grade
10 questions
Identifying equations

Quiz
•
KG - University
10 questions
Perimeter of Polygons!

Quiz
•
3rd Grade
10 questions
2nd Grade math review

Quiz
•
2nd Grade
20 questions
Math Review

Quiz
•
3rd Grade
18 questions
Traits

Quiz
•
3rd Grade
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...