Quiz1-DSA-FCPC

Quiz1-DSA-FCPC

University

50 Qs

quiz-placeholder

Similar activities

A2.1 (W2. C-E)

A2.1 (W2. C-E)

University

50 Qs

UAS Pengembangan Diri

UAS Pengembangan Diri

University

50 Qs

Aslan 251-300 Сесчия Физика котакская

Aslan 251-300 Сесчия Физика котакская

University

50 Qs

คอมก่อนจบ

คอมก่อนจบ

University

52 Qs

Lý sinh chương 4

Lý sinh chương 4

University

49 Qs

Preguntas de Investigación I

Preguntas de Investigación I

University

47 Qs

CNXHKH

CNXHKH

University

50 Qs

Prospectiva Estratégica 1

Prospectiva Estratégica 1

University

45 Qs

Quiz1-DSA-FCPC

Quiz1-DSA-FCPC

Assessment

Quiz

Others

University

Practice Problem

Medium

Created by

ALVIN CERTEZA

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Big O notation is used to describe:

The exact runtime of an algorithm

The growth rate of an algorithm as input size increases

The memory size of a program

The programming language speed

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following represents the fastest time complexity?

O(1)

O(log n)

O(n)

O(n²)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If an algorithm takes the same amount of time regardless of input size, its time complexity is:

O(n)

O(n²)

O(1)

O(log n)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is better in terms of efficiency for large input sizes?

O(n²)

O(log n)

O(2ⁿ)

O(n³)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The time complexity of inserting an element at the end of an array is usually:

O(1)

O(n)

O(n²)

O(log n)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The Big O of binary search is:

O(1)

O(n)

O(log n)

O(n²)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The nested loop below has what time complexity? for i in range(n): for j in range(n): print(i, j)

O(n)

O(n²)

O(log n)

O(n log n)

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?