Python

Quiz
•
Computers
•
Professional Development
•
Hard
Abdulalim Mohamed
Used 1+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1,2,3,4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements create a dictionary?
a) d = {}
b) d = {“john”:40, “peter”:45}
c) d = {40:”john”, 45:”peter”}
d) All of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will this code loop?
50
90
0
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 is [2445,133,12454,123], what is max(list1)?
a) 2445
b) 133
c) 12454
d) 123
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a=(1,2,3,4), a[1:-1] is _________
a) Error, tuple slicing doesn’t exist
b) [2,3]
c) (2,3,4)
d) (2,3)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To add a new element to a list we use which Python command?
a) list1.addEnd(5)
b) list1.addLast(5)
c) list1.append(5)
d) list1.add(5)
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
C BASICS

Quiz
•
Professional Development
34 questions
Cisco Collaboration Quick Assessment

Quiz
•
Professional Development
30 questions
python quiz 1

Quiz
•
Professional Development
30 questions
Module 2 Review

Quiz
•
Professional Development
30 questions
Guia Examen Java - TUC

Quiz
•
Professional Development
30 questions
Excel

Quiz
•
University - Professi...
39 questions
AZ900-03

Quiz
•
Professional Development
34 questions
Git and GitHub Part -2

Quiz
•
Professional Development
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