Python Identifiers and Basics Quiz

Python Identifiers and Basics Quiz

11th Grade

53 Qs

quiz-placeholder

Similar activities

Digital Literacy Chapter 14 Review

Digital Literacy Chapter 14 Review

9th - 12th Grade

51 Qs

Yr11

Yr11

11th Grade

50 Qs

Career Trivia Quiz

Career Trivia Quiz

8th - 12th Grade

49 Qs

python basics by vaishali

python basics by vaishali

11th Grade

50 Qs

dictionary for ip 11 by vaishali

dictionary for ip 11 by vaishali

11th Grade

51 Qs

Week 11: Lists, Loops & "Failure"!

Week 11: Lists, Loops & "Failure"!

9th - 12th Grade

58 Qs

Python Basic Loops

Python Basic Loops

9th - 12th Grade

55 Qs

Strings in python - Test

Strings in python - Test

11th Grade

50 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?