
Python Quiz
Authored by Krishna Kakkar
Computers
8th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? print(type([]) is list)
True
False
TypeError
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to import the NumPy library?
import numpy
import numpy as np
from numpy import *
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data structures is mutable in Python?
Tuple
List
String
Set
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the fit () method in a linear Regression model in python
To make prediction on new data
To train the model on the training data
To evaluate the model's performance
To visualize the regression line
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will math.floor(4.8) return?
5
4
4.0
5.0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of pip in Python?
Package management
Data visualization
Debugging
Running scripts
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does df.shape return in Pandas?
Number of rows
Number of columns
Tuple (rows, columns)
Datatype of DataFrame
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
20 questions
P5 Editor
Quiz
•
4th - 8th Grade
20 questions
ICT Grade 8 Model exam Altaluq private school Excel
Quiz
•
8th Grade
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
16 questions
DATA SCIENCE Assessment (April)
Quiz
•
8th - 12th Grade
20 questions
Computer Hardware(Memory Types)
Quiz
•
8th - 9th Grade
16 questions
Learner Check - hardware
Quiz
•
8th Grade
15 questions
Minecraft
Quiz
•
1st - 12th Grade
20 questions
2nd Qtr Exam Review Game!
Quiz
•
6th - 8th 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