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

Python Programming Quiz - I

Quiz
•
Computers
•
12th Grade
•
Medium
Sivaraj IT
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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]
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Basics of Python

Quiz
•
9th - 12th Grade
27 questions
Python Fundamentals - II

Quiz
•
11th - 12th Grade
25 questions
Python for Absolute Beginners

Quiz
•
8th - 12th Grade
27 questions
H446/02 General Knowledge

Quiz
•
11th - 12th Grade
25 questions
Introduction to Python

Quiz
•
KG - University
25 questions
GCSE Computer Science: Programming (Python)

Quiz
•
9th - 12th Grade
26 questions
The First Programming Languages

Quiz
•
9th - 12th Grade
30 questions
Python Quiz

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University