Algorithmic Efficiency (Textbook MCQs)

Algorithmic Efficiency (Textbook MCQs)

12th Grade

10 Qs

quiz-placeholder

Similar activities

Searching Technique -Linear Search Quiz1

Searching Technique -Linear Search Quiz1

12th Grade

10 Qs

AP CSP BI 3

AP CSP BI 3

9th - 12th Grade

13 Qs

Linear and Binary Search Quiz

Linear and Binary Search Quiz

12th Grade

15 Qs

Computational Thinking

Computational Thinking

12th Grade

11 Qs

Understanding Binary Search Algorithm

Understanding Binary Search Algorithm

12th Grade

11 Qs

Understanding Linear Search Algorithm

Understanding Linear Search Algorithm

12th Grade

11 Qs

Year 9 Home learning

Year 9 Home learning

10th - 12th Grade

12 Qs

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

Algorithmic Efficiency (Textbook MCQs)

Algorithmic Efficiency (Textbook MCQs)

Assessment

Quiz

Computers

12th Grade

Hard

Created by

vihutuo paira

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

An algorithm should be

Definite

Unambiguous

Both

None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which of the following algorithms, an input argument may not be required?

Linear Search

Binary Search

Pseudo Random Generator

None of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is more efficient, if the input list is sorted?

Linear Search

Binary Search

Both are equally efficient

Depends on the input constraints

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following would not work if the input array is not sorted?

Linear Search

Binary Search

Both

None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a recursive algorithm

The function needs to be expressed in terms of itself

The base case must be satisfied

Both of the above

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Generally, which of the following has more time complexity?

Recursive algorithm

Iterative algorithm

Both

None of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents the upper bound?

Big Oh notation

Omega notation

Theta notation

None of these

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?