9 Weeks Test

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Medium
Standards-aligned
Adrian Portillo
Used 3+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the primary purpose of the `pickStudent` function?
To select a random student from all three lists
To allow the user to manually pick a student
To randomly select a student from a given list until the user stops
To sort the names in alphabetical order
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How does the program determine which class list to use?
It randomly picks one of the three lists
The user inputs a number corresponding to a class
The program assigns a default class
The user types the full name of the class
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will happen if the user enters an invalid input in `pickClass()`?
The program will terminate
The program will ask the user to try again
The program will default to `SIMS3`
The program will print an error message
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which module is used to select a random student?
`math`
`random`
`randomize`
`choice`
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What happens when the user types `'end'` in `pickStudent`?
The program terminates immediately
The program stops picking students and returns to `pickClass()`
The program prints "End" and continues
The program ignores the input and continues picking
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Why does `pickStudent` use a `while True` loop?
To continuously allow the user to pick students until they type `'end'`
To run the function only once
To prevent errors from invalid input
To avoid calling the function again
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is a potential issue with the `DINO_BADDIES` list?
The names are not in alphabetical order
The last name entry `'day''drian'` might not be handled correctly
The list contains duplicate names
The list is too short
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Computer System Quiz

Quiz
•
10th Grade
15 questions
LATIHAN SISTEM OPERASI JARINGAN

Quiz
•
11th Grade
15 questions
Recap Handout 3 & 4

Quiz
•
6th Grade - University
15 questions
Web Applications Quiz

Quiz
•
9th Grade
20 questions
CM- U2L4 - Exploring Windows OS Features

Quiz
•
9th Grade - University
15 questions
Understanding Loops in C Programming

Quiz
•
1st Grade - University
21 questions
YEAR 3 ICT LENT TERM ASSESSMENT

Quiz
•
3rd Grade - University
15 questions
Expert System Quiz

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade