
Grade 8, Unit 4.6, In-Class Assignment
Authored by Yousef Ahmad
Computers
8th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which of the following is not a part of Python Binary search?
sort the list
find the midpoint of the list
split the list and take a slice of the list
check the elements of the list one by one
2.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
To output the value at the midpoint of the list we use ................................
(atoms[midpoint])
print(list[midpoint])
NOTHING
3.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
The Python command used to split the list in half is ................................
print(atoms)
print()
print(list[:midpoint])
4.
FILL IN THE BLANK QUESTION
3 mins • 2 pts
Integer division means ....................
5.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
To sort a list in Python, which command should i use?
.sorted()
.sort()
.sort_list()
.arrange()
6.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
When we take a part of the Python list, it is then called a ......................
slice
7.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
To find the midpoint, we use the Python command ..................................
midpoint = len(list) // 5
midpoint = len(list) // 2
midpoint = len(list) // 55
midpoint = len(list) // 0
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
Bitmap v Vector Images
Quiz
•
KG - University
14 questions
Taylor Chess Quiz
Quiz
•
4th - 12th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
10 questions
AI QUIZ
Quiz
•
6th - 8th Grade
10 questions
Magazine Photoshop
Quiz
•
8th Grade
10 questions
Lesson 9: Intelligence is the Ability to Adapt to Change
Quiz
•
8th Grade
11 questions
Website constructs
Quiz
•
6th - 8th Grade
11 questions
Ethical Issues of I.T.
Quiz
•
7th - 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