
CSC500 Unit 1 Quiz Reset
Computers
10th - 12th Grade
Used 25+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Khalid has a shop that sells computer parts. The prices for
each part are listed in the table below.
Which of the following is the correct way to declare a DataFrame horizontally to store the prices?
prices = [250,1000,250,500]
prices = pd.DataFrame( [[250,1000,250,500]] )
prices = pd.DataFrame( [250,1000,250,500] )
prices = [[250,1000,250,500]]
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Amani is conducting a chemistry experiment. She collected the weight and volume data for 3 different objects as shown in the table.
Which of the following are the correct indices for the columns?
0, 1
0, 1, 2, 3
1, 2
1, 2, 3, 4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Using the table in question 2 fill in the blank the numbers that will make the output 4:
print(weight_volume.loc[___ , ___])
0, 3
1, 4
1, 3
0, 4
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ahmad wants to track his weekly activity by measuring the distance he covers. He created a table to store his activity for each week, as shown below.
Assume this was stored in a DataFrame called running, Append week 3’s distance to the data (week 3 – 28 km) as a new column.
running[2] = [3, 28]
running[3] = [3, 28]
running.append([3,28], ignore_index=True)
running.append([3,28])
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kholoud is doing a physics experiment that requires her to measure the density of different objects. Information about the objects is shown in the table below.
Which of the following will store data in a pandas DataFrame.
objects = [ [5000,10000,1000] , [2,3,1] ]
objects = pd.DataFrame( [ [5000,10000,1000] , [2,3,1] ] )
objects = pd.DataFrame( [ [5000,2] , [10000,3] , [1000,1] ] )
objects = [ [5000,2] , [10000,3] , [1000,1] ]
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on the table in Q5, which of the following lines of code change the weight unit from gram to kilogram by dividing the values by 1000.
objects.loc[0,0:2] = objects.loc[0, 0:2] / 1000
objects.loc[1,0:2] = objects.loc[1, 0:2] / 1000
weight_kg = weight/1000
objects = objects / 1000
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on Q5, calculate the density by dividing the weight in kg over the volume in liters.
density = objects[weight] / objects[volume]
density = weight / volume
density = objects.loc[0, 0:2] / objects.loc[1, 0:2]
density = objects.loc[1, 0:2] / objects.loc[0, 0:2]
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
10 questions
Microsoft word
Quiz
•
11th Grade
10 questions
XÂU KÍ TỰ
Quiz
•
9th - 12th Grade
10 questions
Computer High Level - Quiz
Quiz
•
6th - 11th Grade
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
12 questions
Tin học 2
Quiz
•
11th Grade
10 questions
Q1 M 2 - TOPIC 2 / Check your understanding
Quiz
•
10th Grade
10 questions
Intro to Windows Server 2012
Quiz
•
12th Grade
10 questions
HT3.2- Validation and Reliability
Quiz
•
8th Grade - University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade