Search Header Logo

AlgorithmsQuiz#1-Prelim

Authored by elisa berog

Computers

11th Grade

Used 2+ times

AlgorithmsQuiz#1-Prelim
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are evaluating four proposed procedures for solving different computational problems. Each claims to be an algorithm, but one of them lacks a fundamental property that all algorithms must have. Which characteristic is NOT an essential requirement for an algorithm?

Finite – The procedure must complete after a limited number of steps

Reliable – The procedure should always produce accurate results in real-world conditions

Executable – The steps must be clear and implementable

Solves a Problem – The procedure must address a defined problem

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A cryptography application needs to convert passwords into secure fixed-size values before storing them in a database. Which algorithm type is most appropriate?

Iterative – to process each password in a loop

Recursive – to break the password into smaller strings

Hashing – to generate fixed-size encrypted values

Greedy – to pick the best security setting

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in algorithmic problem solving?

Understanding the Problem

Designing an Algorithm

Implementing the Algorithm

Testing and Debugging

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An online food delivery app needs to suggest the quickest route for its riders. The traffic data changes every few minutes. Which algorithm type would best handle this and why?

Brute Force – checks every possible path each time

Greedy – takes the best local choice without considering the whole route

Dynamic Programming – stores results of overlapping subproblems for reuse

Iterative – loops through possible roads until it finds a solution

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A teacher is grading a list of students alphabetically by surname. Which algorithm type would most efficiently accomplish this task with minimal manual steps?

Hashing

Sorting Algorithm

Backtracking

Recursive Search

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A new trainee claims that an algorithm is “a set of infinite rules or instructions” because computers can run programs indefinitely. As a mentor, you need to clarify their misunderstanding. Which of the following best defines what an algorithm truly is?

A set of infinite rules or instructions to be followed in calculations or other problem-solving operations.

A procedure for solving a mathematical problem in a finite number of steps, often involving recursive operations.

A random sequence of steps to solve a particular problem.

A method of data storage and retrieval.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A security researcher is trying to guess a 4-digit PIN code by testing every possible combination. Which algorithm is being applied, and in what scenario is it acceptable?

Divide and Conquer – for small datasets

Greedy – to find the most common PINs first

Brute Force – acceptable only for small input sizes

Recursive – for breaking the problem into smaller codes

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?