Grade 8, Unit 4.6, In-Class Assignment

Grade 8, Unit 4.6, In-Class Assignment

8th Grade

10 Qs

quiz-placeholder

Similar activities

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Python Revision

Python Revision

7th - 9th Grade

14 Qs

Python Quiz - 4

Python Quiz - 4

4th - 11th Grade

10 Qs

Python End of Topic Quiz

Python End of Topic Quiz

8th Grade - University

15 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

L1 Console, Variables and Creating a Program

L1 Console, Variables and Creating a Program

8th Grade

10 Qs

Python Basic

Python Basic

6th - 8th Grade

10 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Grade 8, Unit 4.6, In-Class Assignment

Grade 8, Unit 4.6, In-Class Assignment

Assessment

Quiz

Computers

8th Grade

Hard

Created by

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 ................................

print

(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

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 ......................

subsetted
subgroup

slice

subdivision

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?