Design and Analysis of Algorithm Quiz

Design and Analysis of Algorithm Quiz

University

32 Qs

quiz-placeholder

Similar activities

ICTC0613 - Midterms Exam

ICTC0613 - Midterms Exam

University

30 Qs

A.D.A.MID

A.D.A.MID

University

30 Qs

Data Structures and Algorithm

Data Structures and Algorithm

11th Grade - Professional Development

30 Qs

Coding Quiz in C

Coding Quiz in C

University

30 Qs

Algorithms Data

Algorithms Data

11th Grade - Professional Development

30 Qs

Remedial UTS Analgo 2020

Remedial UTS Analgo 2020

University

31 Qs

Câu hỏi trắc nghiệm về thông tin

Câu hỏi trắc nghiệm về thông tin

4th Grade - University

36 Qs

Latihan-uas matdis

Latihan-uas matdis

University

27 Qs

Design and Analysis of Algorithm Quiz

Design and Analysis of Algorithm Quiz

Assessment

Quiz

Computers

University

Medium

Created by

SRIBHARATHI BALASUBRAMANIAN

Used 2+ times

FREE Resource

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CO1 : Which of the following is NOT a step in algorithmic problem-solving?

Understanding the problem

Designing the algorithm

Choosing a programming language

Testing the algorithm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CO1 : An algorithm must have the following characteristics EXCEPT:

Finiteness

Definiteness

Infiniteness

Input

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CO1 : Which of the following is an example of a divide-and-conquer algorithm?

Binary Search

Greedy Algorithm

Bellman-Ford Algorithm

Breadth-First Search

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CO1 :In algorithm analysis, what is typically used to measure an algorithm's time complexity?

Number of lines in the program

Number of variables used

Number of basic operations as a function of input size

Time taken to compile the program

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CO1 : Space complexity of an algorithm is concerned with:

The amount of disk space required

The number of input variables

The amount of memory required by the algorithm

The size of the output

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CO 1 Which asymptotic notation is used to describe the upper bound of an algorithm's time complexity?

O (Big-O)

Ω (Omega)

Θ (Theta)

π (Pi)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct hierarchy in terms of asymptotic growth rates (smallest to largest)?

O(1) < O(log n) < O(n) < O(n log n) < O(n^2)

O(log n) < O(1) < O(n) < O(n log n) < O(n^2)

O(n^2) < O(n) < O(log n) < O(n log n)

O(n log n) < O(n) < O(1) < O(log n)

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?

Discover more resources for Computers