
Python Essentials 1 - Exam
Flashcard
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Wayground Content
Used 2+ times
FREE Resource
Student preview

36 questions
Show all answers
1.
FLASHCARD QUESTION
Front
How many element does the lst list contain?
Back
zero
2.
FLASHCARD QUESTION
Front
What is the output of the following piece of code if the user enters two lines containing 3 and 2 respectively?
Back
0
3.
FLASHCARD QUESTION
Front
Which of the following snippet shows the correct way of handling multiple exceptions in a single except clause?
Back
4.
FLASHCARD QUESTION
Front
Assuming that my_tuple is a correctly created tuple, the fact that tuples are immutable means that the following instructions:
Back
is illegal
5.
FLASHCARD QUESTION
Front
What is the output of the following snippet? Options: (4,), 44, (4), 4
Back
4
6.
FLASHCARD QUESTION
Front
Which of the following is the correct extension of the Python file? a) .python, b) .pl, c) .py, d) .p
Back
.py
7.
FLASHCARD QUESTION
Front
Which character is used to give single-line comments in Python? Options: a) //, b) #, c) !, d) /*
Back
#
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?