Grade 8, Unit 4.6, In-Class Assignment

Quiz
•
Computers
•
8th Grade
•
Hard
Yousef Ahmad
Used 6+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Access Simplified Quiz

Quiz
•
8th - 12th Grade
15 questions
File Types - Information Processing Part 3

Quiz
•
5th - 12th Grade
11 questions
Introduction to databases for BGE

Quiz
•
7th - 9th Grade
11 questions
Advanced Spreadsheet Functions Review

Quiz
•
8th Grade
10 questions
Python list and tuple

Quiz
•
6th - 8th Grade
15 questions
Spreadsheets

Quiz
•
6th - 8th Grade
10 questions
9-сынып. Python массив.

Quiz
•
1st - 9th Grade
15 questions
KHỐI 8 - CD E1 - BÀI 2

Quiz
•
8th 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
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade