
NEW_SMP_Mls8_Quiz
Authored by Kode Kiddo
Computers
7th - 12th Grade
Used 314+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Algorithm?
A chart showing the flow of a series of events
A decision arrived at by following instructions
Step-by-step instructions used to solve a problem
A computer program that follows a chart
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT an algorithm?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should be considered when designing an algorithm?
If the correct hardware is being used
If the correct software is being used
If there is more than one way of solving the problem
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of these pseudocode algorithms matches this flowchart?
input a
b <- 1
c <- 1
IF (a>1)
d <- b + c
c <- b
d <- c
a <- a - 1
ENDIF
output c
input a
b <- 1
WHILE (a>1)
d <- b + c
c <- b
d <- c
a <- a - 1
ENDWHILE
output c
input a
b <- 1
c <- 1
WHILE (a>1)
d <- b + c
b <- c
c <- d
a <- a - 1
ENDWHILE
output c
input a
b <- 1
c <- 1
IF (a>1)
d <- b + c
b <- c
c <- d
a <- a - 1
ENDIF
output c
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Some pseudocode to manipulate a numeric list is given below:
input list
a <- first_item_in_list
WHILE NOT end of list
b <- next item in the list
IF a > b
a <- b
ENDIF
ENDWHILE
output a
average(list)
max(list)
min(list)
search list for a
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A bubble sort algorithm will loop until?
We have completed an entire run of comparing each item with the next in the list, and have made no changes during the run.
We have compared each item with the item next to it and swapped them if needed.
We have compared each item with each other item.
We have made a number of swaps equal to the number of items in the list.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm may make multiple swaps per pass?
Bubble Sort
Merge Sort
Insertion Sort
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?