
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
56 questions
Python Basics Quiz

Quiz
•
11th Grade
50 questions
Topic 1 in DP Computer Science

Quiz
•
11th - 12th Grade
53 questions
A Level U3 Programming Paradigms

Quiz
•
11th Grade
57 questions
Quiz on Syntax, Runtime, and Logical Errors

Quiz
•
11th Grade
50 questions
Strings in python - Test

Quiz
•
11th Grade
51 questions
Digital Literacy Chapter 14 Review

Quiz
•
9th - 12th Grade
50 questions
Знакомство с IDE. Алфавит языка. Синтаксис. Типы данных. Правила

Quiz
•
11th Grade
49 questions
Career Trivia Quiz

Quiz
•
8th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade