
Python Identifiers and Basics Quiz

Quiz
•
Computers
•
11th Grade
•
Medium
YASHWANT YADAV
Used 1+ times
FREE Resource
53 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the invalid identifier.
Class
logic
and
Answer explanation
The invalid identifier is 'and' because it is a reserved keyword in many programming languages, making it unusable as an identifier. 'Class' and 'logic' are valid identifiers.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum possible length of an identifier?
31 characters
63 characters
79 characters
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is Python case sensitive when dealing with identifiers?
Yes
No
Machine dependent
None of the mentioned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do we use to define a block of code in Python language?
Key
Brackets
Indentation
None of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who developed the Python language?
Zim Den
Wick van Rossum
Guido van Rossum
Niene Stom
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which year was the Python language developed?
1991
1989
1981
1973
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following symbol is used to write comment?
?
//
#
**
Create a free account and access millions of resources
Similar Resources on Wayground
49 questions
Software - Computer Science CIE IGCSE

Quiz
•
11th Grade
50 questions
Quiz Pengembangan Perangkat Lunak

Quiz
•
10th Grade - University
55 questions
Science & Technology

Quiz
•
8th - 12th Grade
50 questions
PYTHON BASICS GRADE 11

Quiz
•
11th - 12th Grade
50 questions
General Review Grade 8

Quiz
•
7th - 12th Grade
57 questions
CS: Python Unit 1 Review

Quiz
•
9th - 12th Grade
50 questions
AP CSP Midterm Exam Review

Quiz
•
9th - 12th Grade
49 questions
Codehs

Quiz
•
11th 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