DAA Quiz 1

DAA Quiz 1

University

30 Qs

quiz-placeholder

Similar activities

Nature of obligations

Nature of obligations

University

25 Qs

TEORYANG PAMPANITIKAN/ KATANGIAN NG ISANG MAHUSAY NA KRITIKO

TEORYANG PAMPANITIKAN/ KATANGIAN NG ISANG MAHUSAY NA KRITIKO

6th Grade - Professional Development

25 Qs

Neuroanatomia Ordinario

Neuroanatomia Ordinario

University

25 Qs

Diseño de Programa de Educación para la Salud

Diseño de Programa de Educación para la Salud

University

25 Qs

ME113B Midterm Exam Part 1

ME113B Midterm Exam Part 1

University

25 Qs

Go! Go! Resume!

Go! Go! Resume!

9th Grade - University

29 Qs

Alterações celulares do sistema cardiovascular

Alterações celulares do sistema cardiovascular

University

25 Qs

Management of Financial Services - 1

Management of Financial Services - 1

University - Professional Development

25 Qs

DAA Quiz 1

DAA Quiz 1

Assessment

Quiz

Professional Development

University

Practice Problem

Medium

Created by

manasa DS

Used 19+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

  1. What is an algorithm?

a) A step-by-step recipe for cooking

b) A sequence of operations to solve a problem

c) A physical machine to perform calculations

d) A programming language

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

  1. Which of the following is NOT a property of an algorithm?

a) Finiteness

b) Uniqueness

c) Input

d) Output

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

  1. Which method of algorithm specification uses human language to describe the steps of an algorithm?

a) Flowchart

b) Pseudo code convention

c) UML diagram

d) Natural language

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

  • What does the Big-Oh notation (O) express for an algorithm?

  • a) Upper bound of time complexity

  • b) Lower bound of time complexity

  • c) Exact time complexity value

  • d) Average time complexity

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt


Which sorting algorithm repeatedly selects the minimum element from the unsorted part of the array and places it at the beginning?

a) Insertion sort

b) Selection sort

c) Merge sort

  • d) Bubble sort

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The Rabin-Karp string matching algorithm is based on:

a) Dynamic programming

b) Divide and conquer

c) Hashing

  • d) Backtracking

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the given options provides the increasing order of asymptotic complexity of functions f1, f2, f3 and f4?

f1(n) = 2^n

f2(n) = n^(3/2)

f3(n) = nLogn

f4(n) = n^(Logn)

f3, f2, f4, f1

f3, f2, f1, f4

f2, f3, f1, f4

f2, f3, f4, f1

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?