for i in range(0,12,2):
print(i)
Python Fundamentals - 03
Quiz
•
Other
•
5th Grade - University
•
Hard
Sreelakshmi Sridhar
Used 11+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for i in range(0,12,2):
print(i)
1,2,3,4,5,6,7,8,9,10,11,12
0,2,4,6,8,10,12
0,2,4,6,8,10
2,4,6,8,10
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
It would display numbers from 1 to 10
It would display numbers from 2 to 10
It would display numbers from 2 to 9
It would display numbers from 1 to 9
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Dictionary keys must be immutable
True
False
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Select the correct way to access the value of a history subject
sampleDict[‘class’][‘student’][‘marks’][‘history’]
sampleDict[‘class’][‘student’][‘marks’][1]
sampleDict[‘class’][0][‘marks’][‘history’]
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select the correct ways to get the value of marks key.
student = { "name": "Emma", "class": 9, "marks": 75}
m = student.get(2)
m = student.get('marks')
m = student[2])
m = student['marks']
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which method should I use to convert String "welcome to the beautiful world of python" to "Welcome To The Beautiful World Of Python"
capitalize()
title()
Upper()
String()
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Python does not support a character type; a single character is treated as strings of length one.
False
True
25 questions
Kuis Algoritma & Flowchart
Quiz
•
1st - 10th Grade
25 questions
Grade XII-IP Self Evaluation (Python Series)
Quiz
•
12th Grade
25 questions
Introduction to Python and Data Analytics Basics
Quiz
•
University
26 questions
Python quiz
Quiz
•
12th Grade
30 questions
CODE4KITSW
Quiz
•
University
25 questions
C Programming
Quiz
•
12th Grade - University
25 questions
round 2
Quiz
•
University
25 questions
Class Review 1
Quiz
•
9th - 12th Grade
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
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th 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
20 questions
Final Exam Vocabulary
Quiz
•
6th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade