
pp4 al lvl cs Dang Do
Authored by Dang Do
Computers
12th Grade

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
20 sec • 1 pt
Which algorithm have the following line of code:
mid = (upper + lower) / 2
insertion sort
linear sort
binary search
linear search
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which algorithm have the following line of code:
REPEAT UNTIL low = high
insertion sort
linear sort
binary search
linear search
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
name the algorithm
linear sort
insertion sort
reverse bubble sort
binary sort
4.
MULTIPLE SELECT QUESTION
20 sec • 2 pts
how is a class constructed?
class hehe:
def __init__(self):
myData = hehe()
def __init__(Hehe):
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the purpose of this function (related to linked list)
push
enqueue
pop
dequeue
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the purpose of this function (related to linked list)
push
enqueue
pop
dequeue
7.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
what are the functions related to file access?
open()
closefile()
read()
readlines()
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?