
Python Programming Quiz
Authored by Sumit Shekhar
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in Python?
A function in Python is a keyword used to define classes
A function in Python is a loop that repeats a set of instructions
A function in Python is a variable that stores data
A function in Python is a block of reusable code that performs a specific task.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Numpy stands for __
Number Python
Numerical Python
Numbered Python
Numerically Python
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who invented Numpy Package?
Wes McKinney
Guido Van Ressu
Travis Oliphant
Robert Crook
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can we make Alias of Numpy defining only by np?
TRUE
FALSE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the concept of dictionaries in Python.
Dictionaries in Python are key-value pairs where keys are mutable and can be duplicated.
Dictionaries in Python are key-value pairs where keys are unique and immutable. They are created using curly braces {} and accessed using keys.
Dictionaries in Python are created using square brackets [] and accessed using indexes.
Dictionaries in Python are ordered collections of elements.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a dictionary in Python?
my_dict = {'key1': 'value1', 'key2': 'value2'}
my_dict = {'key1': 'value1'; 'key2': 'value2'}
Use a list instead of curly braces to define key-value pairs
my_dict = dict(key1='value1', key2='value2')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is NumPy and its significance in Python?
NumPy is primarily used for creating GUI applications in Python
NumPy is significant in Python for its ability to handle large datasets and perform complex mathematical operations with ease.
NumPy is only used for basic arithmetic operations in Python
NumPy is used for web development in Python
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?
Similar Resources on Wayground
15 questions
Attacks Threats & Vulnerabilities (C1)
Quiz
•
9th - 12th Grade
10 questions
คำสั่งสร้างเกม scrach
Quiz
•
10th - 12th Grade
15 questions
Unbound Report Quiz
Quiz
•
9th - 12th Grade
15 questions
Code.org Lesson 1-14
Quiz
•
9th - 12th Grade
20 questions
Technology Innovations
Quiz
•
5th - 12th Grade
16 questions
Python programming
Quiz
•
6th - 12th Grade
15 questions
Cambridge Technicals L3 U2 Information Types
Quiz
•
12th Grade
10 questions
Python- Operators
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade