How many element does the lst list contain?
Python Essentials 1 - Exam

Quiz
•
Computers
•
Professional Development
•
Hard
Ademola Damilola
Used 8+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
zero
three
one
two
2.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
What is the output of the following piece of code if the user enters two lines containing 3 and 2 respectively?
3
0
2
1
3.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Which of the following snippet shows the correct way of handling multiple exceptions in a single except clause?
4.
MULTIPLE SELECT QUESTION
20 sec • 5 pts
Which of the following lines correctly invoke the function defined below?
(Select TWO answers)
fun (b=1)
fun (b=0, a=1)
fun (0,1,2)
fun(0)
5.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Assuming that my_tuple is a correctly created tuple, the fact that tuples are immutable means that the following instructions:
may be illegal if the tuple contains strings
can be executed if and only if the tuple contains at least two elements
is illegal
is fully correct
6.
MULTIPLE SELECT QUESTION
20 sec • 5 pts
Which of the following variable names are ILLEGAL and will cause the SyntaxError exception?
(Select TWO answer)
In
for
in
7.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
What is the output of the following snippet?
(4,)
44
(4)
4
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
AI900-02

Quiz
•
Professional Development
40 questions
SIMULASI DIGITAL - X

Quiz
•
KG - Professional Dev...
40 questions
Unit I_Operating Systems Quiz_01

Quiz
•
Professional Development
40 questions
Randy's Networking Quiz 2

Quiz
•
Professional Development
36 questions
Remedial Informatika-kelas 8

Quiz
•
Professional Development
35 questions
Python

Quiz
•
Professional Development
40 questions
LPI Linux Essentials (40 Questions)

Quiz
•
Professional Development
39 questions
S23.2 Sotfware and computers

Quiz
•
Professional Development
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade