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
แบบทดสอบก่อนเรียน เรื่อง สถิติเพื่อการวิจัย

Quiz
•
University
10 questions
ISSP Quiz

Quiz
•
Professional Development
8 questions
Основы HTML

Quiz
•
9th Grade
10 questions
IT Quiz

Quiz
•
9th - 12th Grade
15 questions
Bhagavad Gītā Chapter 7 Quiz

Quiz
•
Professional Development
8 questions
4 Python

Quiz
•
University
10 questions
MetaTexis: how much do you know?

Quiz
•
University
10 questions
INTRO TO ADOBE PREMIERE PRO

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade