Season 1 #Spaic Python Weekly Quiz

Quiz
•
Other, Computers
•
KG - Professional Development
•
Medium
ouhammouch hanane
Used 120+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are local variable names beginning with an underscore discouraged?
They are used to indicate a private variables of a class
They confuse the interpreter
They are used to indicate global variables
They slow down execution
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
[‘ab’, ‘cd’]
[‘AB’, ‘CD’]
[None, None]
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
True
False
None
None of the mentioned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Point out the correct statement.
If data is a list, if index is passed the values in data corresponding to the labels in the index will be pulled out
NaN is the standard missing data marker used in pandas
Series acts very similarly to a array
None of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given a function that does not return any value, What value is thrown by default when executed in shell.
Int
Bool
Void
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What error occurs when you execute the following Python code snippet? apple = mango
SyntaxError
NameError
ValueError
TypeError
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators has its associativity from right to left?
+
//
%
**
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Abstract Data Types

Quiz
•
12th Grade
20 questions
Python

Quiz
•
12th Grade
15 questions
Python Quiz Ver- 1.3

Quiz
•
University
15 questions
Data Communication

Quiz
•
3rd Grade
16 questions
Python U2M3 Test

Quiz
•
9th - 12th Grade
16 questions
human computer interaction

Quiz
•
12th Grade
15 questions
Linked List

Quiz
•
Professional Development
15 questions
The Ron Clark Story

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Other
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade