DAA Quiz 1

DAA Quiz 1

University

30 Qs

quiz-placeholder

Similar activities

Ser directivo

Ser directivo

University

25 Qs

DERECHO MERCANTIL II (TRABAJO FINAL).

DERECHO MERCANTIL II (TRABAJO FINAL).

University

25 Qs

principios de Derecho

principios de Derecho

University

25 Qs

Ulangan Harian 2 Teks Pidato Persuasif

Ulangan Harian 2 Teks Pidato Persuasif

9th Grade - Professional Development

25 Qs

NEP 2020

NEP 2020

University - Professional Development

25 Qs

Bioética

Bioética

1st Grade - University

25 Qs

Klasa  4C Rządzi

Klasa 4C Rządzi

KG - University

25 Qs

Semana 4 LM

Semana 4 LM

10th Grade - University

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

Access all questions and much more by creating a free account

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

Already have an account?