NEW_SMP_Mls8_Quiz

NEW_SMP_Mls8_Quiz

7th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

ÔN TẬP HKII-02

ÔN TẬP HKII-02

8th Grade

15 Qs

CSS 10 - QUIZ

CSS 10 - QUIZ

10th Grade

20 Qs

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

Klasa 7 html

Klasa 7 html

7th Grade

20 Qs

Data Manipulation IGCSE (Introduction to database) Grade 10

Data Manipulation IGCSE (Introduction to database) Grade 10

10th - 11th Grade

20 Qs

kiểm tra tin 8

kiểm tra tin 8

8th Grade

20 Qs

Basic Docs

Basic Docs

8th - 9th Grade

17 Qs

NEW_SMP_Mls8_Quiz

NEW_SMP_Mls8_Quiz

Assessment

Quiz

Computers

7th - 12th Grade

Medium

Created by

Kode Kiddo

Used 294+ times

FREE Resource

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?

Media Image
Media Image
Media Image
Media Image

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

Media Image

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

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?