TEAM 2

TEAM 2

University

8 Qs

quiz-placeholder

Similar activities

Node.js

Node.js

University

10 Qs

GUESS THE ANSWER

GUESS THE ANSWER

University

10 Qs

The Dark Side

The Dark Side

KG - University

13 Qs

Kuis 1 User Interface JWD

Kuis 1 User Interface JWD

University

10 Qs

Software Testing

Software Testing

University

10 Qs

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

C++ Array Quiz

C++ Array Quiz

University

10 Qs

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

TEAM 2

TEAM 2

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Danish Shaik

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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