Python Identifiers and Basics Quiz

Python Identifiers and Basics Quiz

11th Grade

53 Qs

quiz-placeholder

Similar activities

Software - Computer Science CIE IGCSE

Software - Computer Science CIE IGCSE

11th Grade

49 Qs

Python

Python

11th Grade

53 Qs

PYTHON BASICS GRADE 11

PYTHON BASICS GRADE 11

11th - 12th Grade

50 Qs

Loops in Python

Loops in Python

9th - 12th Grade

55 Qs

Year 11 Software Engineering Year exan revision 1

Year 11 Software Engineering Year exan revision 1

11th Grade

49 Qs

Acumulativa Período 1 - 2025 - Grado 11º

Acumulativa Período 1 - 2025 - Grado 11º

11th Grade

50 Qs

Python Semester 2 Exam Review

Python Semester 2 Exam Review

8th Grade - Professional Development

52 Qs

CS: Python Unit 1 Review

CS: Python Unit 1 Review

9th - 12th Grade

57 Qs

Python Identifiers and Basics Quiz

Python Identifiers and Basics Quiz

Assessment

Quiz

Computers

11th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?