TEAM 2

TEAM 2

University

8 Qs

quiz-placeholder

Similar activities

Search Algorithms in Python (A)

Search Algorithms in Python (A)

University

8 Qs

searching quiz

searching quiz

University

10 Qs

DSA - 2a

DSA - 2a

University

8 Qs

HEAP TREE

HEAP TREE

University

11 Qs

PDS - 04225 - Sorting Algorithms - Chapter 11 - Part 2

PDS - 04225 - Sorting Algorithms - Chapter 11 - Part 2

University

10 Qs

Data Struct: Quiz 3

Data Struct: Quiz 3

University

10 Qs

Problem solving techniques Quiz ( Team 4)

Problem solving techniques Quiz ( Team 4)

University

6 Qs

AP CSA Recursion Binary Search Merge Sort

AP CSA Recursion Binary Search Merge Sort

University

11 Qs

TEAM 2

TEAM 2

Assessment

Quiz

Computers

University

Hard

Created by

Danish Shaik

Used 2+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Sorting ?

Counting the number of items
Leaving items unorganized
Arranging items in a specific order
Mixing items randomly

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Main purpose of Sorting algorithms in computer Science ?

Managing Network collections

Creating Random patterns

To make the data more difficult to understand
To arrange data in a specific order for easier search and retrieval

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What does Stability in Sorting Algorithm refer to

Randomizing the order of elements in the sorted output
Ignoring the order of equal elements in the sorted output
Sorting the elements in reverse order
Maintaining the relative order of equal elements in the sorted output

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the advantage of selection sort over other sorting techniques ?

It requires no additional storage space

It is scalable

It works best for inputs which are already sorted

It is faster than any other sorting technique

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following describes the selection sort algorithm ?

It repeatedly selects the smallest element and swaps it with the current element

It divides the array into two subarrays and recursively sorts them

It compares adjacent elements and swaps them if they are in the wrong order

It randomly shuffles array until it is in sorted order

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Space Complexity of selection sort

O(1)
O(n)
O(log n)
O(n^2)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of selection sort algorithm?

O(n)

O(n^2)

O(log n)

O(n!)

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which step is repeated in Selection Sort until the entire array is sorted?

Selecting the minimum element and swapping

Swapping adjacent elements

Comparing adjacent elements

Partitioning the array