Search Header Logo

Algorithms Assessment

Authored by Alice Adlam

others

Used 1+ times

Algorithms Assessment
AI

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.

OPEN ENDED QUESTION

30 sec • Ungraded

1a. What is an algorithm?

Evaluate responses using AI:

OFF

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

1b. (i) What is the output from the program if die1 = 3 and die2 = 7 ?

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

1b. (ii) What is the output from the program if die1 = 5 and die2 = 5 ?

4.

OPEN ENDED QUESTION

30 sec • Ungraded

1c. Rewrite the flowchart as a pseudocode algorithm, making the following alterations: 1. A player’s score is added to their total score after each throw. 2. If the user throws a “double”, their score for that throw is doubled, and they throw the dice again. 3. Their turn ends if die1 and die2 have different values after a throw. 4. Output the total score at the end of a turn. [4]

Evaluate responses using AI:

OFF

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

1d. What is output if the user “throws” 3 times, getting 4 and 4, 3 and 3, 6 and 1 on the three throws?

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

2a. List the numbers that will be examined if a linear search is carried out to find the number 138.

103, 118, 122, 134, 138
103
103, 118
103, 118, 122
103, 118, 122, 134

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

2b. List the numbers that will be examined if a binary search is carried out to find the number 138.

103, 118, 122, 134
103, 118, 122, 134, 138
156, 122, 138
156, 122

Access all questions and much more by creating a free account

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

Already have an account?