Python Intermediate Quiz - 1

Quiz
•
Education
•
8th Grade - Professional Development
•
Medium
Sai Sankalp N
Used 8+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Choose the correct answer:
Arbitrary Keyword Arguments
*a
**a
***a
Arbitrary_kwargs
*kwargs
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Choose the odd one out
str
int
float
dict
def
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which mode is used for only READING?
"r"
"a"
"w"
"read"
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Choose the correct line of code
With open(file_path, file_mode) as file:
with Open(file_path, file_mode) as file:
with open(file_path, file_mode) as file:
with open(file_path, file_mode):
with os.open(file_path, file_mode) as file:
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How to get both the KEYS and VALUES of a dictionary
dict.keys_&_values()
dict.items()
dict.all()
dict.stuff()
6.
FILL IN THE BLANK QUESTION
10 sec • 1 pt
Keyword used to make a function
(Be careful with the case of the letters)
7.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
.listdir() is a function of the module 'x'
what is the name of the module 'x'?
sys
win32
OS
os
operating_system
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Auto CAD 2D

Quiz
•
12th Grade
9 questions
Kuiz 2

Quiz
•
University
15 questions
Kuis 2 Dokumen Berbasis Digital

Quiz
•
10th Grade
10 questions
KOMPONEN MULTIMEDIA

Quiz
•
12th Grade - University
10 questions
Lesson 3- Editing and Correcting Documents

Quiz
•
7th - 12th Grade
15 questions
Arduino Programmation

Quiz
•
10th Grade
10 questions
Listening Section

Quiz
•
10th Grade
9 questions
Tynker Tynker

Quiz
•
3rd Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade