
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
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]
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Python Quiz

Quiz
•
12th Grade
25 questions
Introduction to Python

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

Quiz
•
9th - 12th Grade
28 questions
Python Functions Review Quiz

Quiz
•
9th - 12th Grade
25 questions
JAVASCRIPT

Quiz
•
12th Grade
25 questions
หน่วยที่ 2 การแก้ปัญหาด้วยภาษาไพธอน ม.2

Quiz
•
12th Grade
28 questions
Python List

Quiz
•
12th Grade
25 questions
CSP Python Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade
12 questions
Classifying Polys - 1.1

Quiz
•
10th - 12th Grade
20 questions
1.1 (b) Add / Sub/ Multiply Polynomials

Quiz
•
12th Grade