Search Header Logo

Python Quiz 1

Authored by Divyanshu Sinha

Engineering

University

Used 8+ times

Python Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

100 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Choose the INVALID identifiers from the following

NUmbEr1

1NUMBer

A_B

A&B

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the keyword from the following

IF

Else

iF

else

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Examples of String Literals

"ABC1273"

nfjdlsj@@$

12638

'7e920938'

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Escape sequence is represented by a ____ followed by one or more characters

Front slash

Double Quote

Single Quote

Back Slash

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Size of the string "Ant Man"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

str="Red\

block\

a"

Size of str is 11. True/False ?

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An escape sequence represents how many characters ?

"\t"

3

2

1

4

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?