Python Essentials 1 - Exam

Flashcard
•
Computers
•
Professional Development
•
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
#
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Python Operators and Expressions

Flashcard
•
10th Grade - University
29 questions
Python- if -ifelse-elif

Flashcard
•
9th - 12th Grade
23 questions
Boolean Logic

Flashcard
•
10th - 12th Grade
31 questions
Python Dictionary,Tuple and set

Flashcard
•
University
20 questions
Control Structures

Flashcard
•
University
19 questions
Q2 PYTHON CONDITIONALS

Flashcard
•
University
30 questions
FIRST UNIT TEST IN GENERAL MATHEMATICS GRADE 11

Flashcard
•
11th Grade
16 questions
Function or Relation?

Flashcard
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade