Python Programming Quiz - I

Python Programming Quiz - I

12th Grade

•

30 Qs

quiz-placeholder

Similar activities

UJIAN TENGAH SEMESTER XII TKJ

UJIAN TENGAH SEMESTER XII TKJ

12th Grade

•

25 Qs

Video Games

Video Games

KG - University

•

28 Qs

Module 7 Motherboards 1

Module 7 Motherboards 1

9th - 12th Grade

•

25 Qs

TLE-ICT

TLE-ICT

9th - 12th Grade

•

25 Qs

HTML - II PUC

HTML - II PUC

9th - 12th Grade

•

25 Qs

XII - CS - Lesson 8 - Strings and String Manipulation

XII - CS - Lesson 8 - Strings and String Manipulation

12th Grade

•

25 Qs

An intro to Python

An intro to Python

11th - 12th Grade

•

25 Qs

Python Programming Quiz - I

Python Programming Quiz - I

Assessment

Quiz

•

Computers

•

12th Grade

•

Practice Problem

•

Medium

Created by

Sivaraj IT

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code? print('Python'.upper())

PYTHON

python

Python

None of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which method is used to check if a string contains only alphabets?

isalnum()

isalpha()

isnumeric()

isdigit()

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the index of the last character in the string 'Programming'?

9

10

11

-1

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you access the third character of a string 'Python'?

Python[2]

Python[3]

Python[1]

Python[0]

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator is used to concatenate two strings?

-

+

*

/

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which method is used to add an element to the end of a list?

append()

insert()

add()

extend()

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code? list1 = [1, 2, 3] list1.pop() print(list1)

[1, 2]

[1, 2, 3]

[1]

[2, 3]

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?