ALDA - Week 03

ALDA - Week 03

University

10 Qs

quiz-placeholder

Similar activities

QUEUE

QUEUE

University - Professional Development

10 Qs

Quiz-O-Tech 1st Set (Round 1)

Quiz-O-Tech 1st Set (Round 1)

University

12 Qs

DS-19-06-2020

DS-19-06-2020

University

10 Qs

Quiz of Tree

Quiz of Tree

University

10 Qs

Data Structure 1

Data Structure 1

University

7 Qs

Heap Sort - Data Structures

Heap Sort - Data Structures

University

15 Qs

Algorithm analysis: divide & conquer theory

Algorithm analysis: divide & conquer theory

University

10 Qs

Analisis Algoritma

Analisis Algoritma

University

10 Qs

ALDA - Week 03

ALDA - Week 03

Assessment

Quiz

Computers

University

Medium

Created by

Team Informatica

Used 465+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What kind of complexities are we interested in?

Time

Space

Running time

Cognitive

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is measured with time complexity?

The time from start to end

Number of elementary operations

Only loops

CPU cycles

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Algorithm A has a complexity O(n log(n))

Algorithm B has complexity O(n)

Does this mean that algorithm B is always faster than A?

Yes

No

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We have the following list of numbers: 10 4 1 23 2 23 5 9 7

We want to find the number 9, which algorithm should we use?

Linear search: O(n)

Binary search: (logn)

Linear search

Binary search

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following answers has the time complexities in the correct order from faster to slowest?

O(1), O(logn), O(n), O(nlogn), O(n^2), O(2^n), O(n!)
O(n!), O(2^n), O(n^2), O(nlogn), O(n), O(logn), O(1)
O(n), O(logn), O(1), O(n^2), O(2^n), O(nlogn), O(n!)

O(1), O(logn), O(n), O(nlogn), O(n^2), O(n!), O(2^n)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the complexity of this algorithm?

O(n)

O(n^2)

O(n*logn)

O(logn)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the complexity of this algorithm?

O(n)

O(2n)

O(2^n)

O(nlogn)

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?