
Day-4 IOAC - ML Python Assessment_12th-Feb-2023
Authored by KVCH CORPORATE
Professional Development
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
1. What does the following Python code print out? a = [1, 2, 3]; b = [4, 5, 6]; c = a + b; print len(c)
3
4
5
6
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What list method adds a new item to the end of an existing list?
append()
insert()
pop()
add()
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
colors = ["red", "green", "burnt sienna", "blue"]
Output of >>> "yellow" in colors
True
False
Syntax Error
None of the above
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following statement is not correct?
A list is mutable
A tuple is immutable.
The append() function is used to add an element.
The extend() function is used in tuple to add elements in a list
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Let setA={3,6,9}, setB={1,3,9}. What will be the result of the following snippet? print(setA|setB)
{3,6,9,1,3,9}
{3,9}
{1}
{1,3,6,9}
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python code?
>>>t = (1, 2, 4, 3, 8, 9)
>>>[t[i] for i in range(0, len(t), 2)]
[2, 3, 9]
[1, 2, 4, 3, 8, 9]
[1, 4, 8]
(1, 4, 8)
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python code?
>>>t1 = (1, 2, 4, 3)
>>>t2 = (1, 2, 3, 4)
>>>t1 < t2
True
False
Error
None
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
7 questions
Введение в программирование - 1 семинар
Quiz
•
Professional Development
12 questions
ILA Module 11 ( புதிதாக பிறந்த குழந்தைகளில் பலவீனமாக உள்ளவர்
Quiz
•
Professional Development
15 questions
Refreshment Ketentuan Asuransi Tahun 2025
Quiz
•
Professional Development
10 questions
RGPD quizz
Quiz
•
KG - Professional Dev...
11 questions
Scheduled Waste Management
Quiz
•
Professional Development
10 questions
AMENAJAREA SPAȚIILOR DE SERVIRE
Quiz
•
9th Grade - Professio...
10 questions
1. Intro to Computer Vision
Quiz
•
Professional Development
15 questions
Szociális hozzájárulási adó 2022
Quiz
•
Professional Development
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade