Search Header Logo
Week 3 - Algo Analysis (SY24-25/ITC202-203I)

Week 3 - Algo Analysis (SY24-25/ITC202-203I)

Assessment

Presentation

•

Computers

•

University

•

Hard

Created by

Don Bonus

Used 3+ times

FREE Resource

22 Slides • 8 Questions

1

media

2

media

3

Poll

As a programmer, do you design an algorithm (like a flowchart) before proceeding to coding?

YES

NO

4

media

5

media

6

media

7

media

8

media

9

Multiple Choice

It refers to estimating the performance of an algorithm based on actual measurements of an algorithm's performance on real data, providing empirical insights into its practical efficiency.

1

Priori

2

Posteriori

3

Rough Estimate

4

All of the mentioned

10

media

11

media

12

Multiple Choice

With this criterion the goal is to find algorithms with lower time complexity, indicating faster execution as the input size increases.

1

Time complexity

2

Space complexity

3

Stability

4

All of the mentioned

13

media

14

media

15

media

16

media

17

media

18

media

19

media

20

Multiple Choice

Given 2 algorithms performing the same task with N inputs

P1:10N and P2:N22P1:10N\ and\ P2:\frac{N^2}{2}

which is faster and more efficient?

1

P1

2

P2

3

P1 is faster p2 is efficient

4

P2 is faster and P1 is efficient

21

media

22

Multiple Choice

Both the for and while loop structures in Python operate similarly.

1

TRUE

2

FALSE

23

media

24

media

25

media

26

media

27

media

28

Multiple Choice

When a programmer initializes a value to 0, it already counts an operation.

1

TRUE

2

FALSE

29

Multiple Choice

Is it possible to develop a program without passing through every step of the development life cycle?

1

TRUE

2

FALSE

30

Multiple Choice

Using a loop within the loop will always result into a time complexity of O(n2)O\left(n^2\right) .

1

TRUE

2

FALSE

media

Show answer

Auto Play

Slide 1 / 30

SLIDE