
CSC500 Unit 1 Quiz Reset

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Used 25+ times
FREE Resource
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]
Similar Resources on Wayground
10 questions
Bitmap v Vector Images

Quiz
•
KG - University
10 questions
Brawl Stars Quiz

Quiz
•
1st - 12th Grade
10 questions
python

Quiz
•
10th Grade
8 questions
Topics 7 & 8 - Static Methods/Variables and Null Keyword

Quiz
•
12th Grade
6 questions
Examen 10°03 segundo periodo

Quiz
•
11th Grade
10 questions
ASK TINGKATAN 1 BAB 2 (Operasi tambah dan tolak)

Quiz
•
9th - 12th Grade
10 questions
Quick binary & hex check

Quiz
•
11th Grade
10 questions
3. razred TŠRB - RM - OSPF

Quiz
•
11th Grade
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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade