Search Header Logo

Python Identifiers and Basics Quiz

Authored by YASHWANT YADAV

Computers

11th Grade

Used 2+ times

Python Identifiers and Basics Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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?

?

//

#

**

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?