Chapt 14

Chapt 14

University

31 Qs

quiz-placeholder

Similar activities

ADS endka

ADS endka

University

34 Qs

Coding Quiz in C

Coding Quiz in C

University

30 Qs

221 quiz questions exam 2 prep

221 quiz questions exam 2 prep

University

26 Qs

Latihan-uas matdis

Latihan-uas matdis

University

27 Qs

PH EXCEL KL 8

PH EXCEL KL 8

8th Grade - University

30 Qs

Cuestionario sobre Funciones de Arrays PHP

Cuestionario sobre Funciones de Arrays PHP

University

31 Qs

FUNDAMENTALS QUIZ 4

FUNDAMENTALS QUIZ 4

University

30 Qs

Hunt the bug Quiz

Hunt the bug Quiz

University

30 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?