DSC UNIT 6

DSC UNIT 6

University

21 Qs

quiz-placeholder

Similar activities

Estrutura de Dados - Questionário 4

Estrutura de Dados - Questionário 4

University

17 Qs

Design And Analysis of Algorithms

Design And Analysis of Algorithms

University

25 Qs

Sorting, Searching and Hashing

Sorting, Searching and Hashing

University

17 Qs

Data Structures

Data Structures

University

20 Qs

Searching and Sorting

Searching and Sorting

University

16 Qs

Searching & Sorting Algorithms

Searching & Sorting Algorithms

10th Grade - University

16 Qs

Sorting Algorithms II

Sorting Algorithms II

University

18 Qs

ICT 1 (H1H2)

ICT 1 (H1H2)

University

25 Qs

DSC UNIT 6

DSC UNIT 6

Assessment

Quiz

Computers

University

Medium

Created by

Rashmi Vernekar

Used 2+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The process of ordering a list of objects is called __________

Linked List

Sorting

Tree

Searching

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the number of objects is small enough to fits into the main memory, sorting is called __________

Internal sorting

External Sorting

Small Sorting

Larger Sorting

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the number of objects is so large that some of them reside on external storage during the sort, it is called __________

Internal sorting

External Sorting

Small Sorting

Larger Sorting

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The total number of comparisons in a bubble sort is __________

O(n logn)

O(2n)

O(n2)

O(n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In __________ sorting the algorithm works by comparing each item in the list with the item next to it, and swapping them if required.

Bubble Sort

Bucket Sort

Heap Sort

Quick Sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The complexity of bubble sort algorithm is __________

O(n)

O(logn)

O(n2)

O(n logn)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The complexity of sorting algorithm measures the __________ as a function of the number n of items to be sorter

average time

running time

average-case complexity

case-complexity

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?