Chapt 14

Chapt 14

University

31 Qs

quiz-placeholder

Similar activities

Quiz tentang Berpikir Komputasional

Quiz tentang Berpikir Komputasional

9th Grade - University

32 Qs

Latihan Soal Logika Algor

Latihan Soal Logika Algor

University

30 Qs

Java with DSA Assessment-1

Java with DSA Assessment-1

University

31 Qs

Analysis Algorithms Introduction

Analysis Algorithms Introduction

University

26 Qs

DAA Unit 1 Quiz

DAA Unit 1 Quiz

University

30 Qs

DBMS&SE

DBMS&SE

University

26 Qs

Data Structures and  Its Applications

Data Structures and Its Applications

University

30 Qs

Java Collections

Java Collections

University

31 Qs

Chapt 14

Chapt 14

Assessment

Quiz

Computers

University

Easy

Created by

Matthew Garcia

Used 2+ times

FREE Resource

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The worst case complexity is ______ when compared with the average case complexity of a binary search algorithm.

Equal

Greater

Less

None o these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The complexity of binary search algorithm is

O(n)

O(n^2)

O(nlogn)

O(logn)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following cases occurs when searching an array using linear search the value to be searched is equal to the first element of the array?

Worse Case

Average Case

Best case

Amortized Case

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A card game player arranges his cards and picks them one by one. With which sorting technique can you compare this example?

Bubble Sort

Selection Sort

Merge Sort

Insertion Sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following techniques deals with sorting the data stored in the computer’s memory?

Insertion Sort

Internal sort

External Sort

Radix Sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which sorting, consecutive adjacent pairs of elements in the array are compared with each other?

Bubble Sort

Selection Sort

Merge Sort

Radix Sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which term means sorting the two sub-arrays recursively using merge sort?

Divide

Conquer

Combine

all of the above

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?