Data Structure quiz 1

Data Structure quiz 1

University

25 Qs

quiz-placeholder

Similar activities

YAY! Fridate with ComSSA (Network 101)

YAY! Fridate with ComSSA (Network 101)

University

20 Qs

Bridge course with C

Bridge course with C

University

20 Qs

MOTD 2 DSE-C

MOTD 2 DSE-C

University

20 Qs

SUMMATIVE TEST (GRADE 8 - COMPUTER)

SUMMATIVE TEST (GRADE 8 - COMPUTER)

University

20 Qs

AMD Y INTEL

AMD Y INTEL

University - Professional Development

20 Qs

Text me!

Text me!

University

20 Qs

Bloque 3: Programación de dispositivos

Bloque 3: Programación de dispositivos

University

20 Qs

Control Structures  C#

Control Structures C#

University

20 Qs

Data Structure quiz 1

Data Structure quiz 1

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

GOMATHI P

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of the following sorting algorithms is the fastest for sorting small arrays?



a) Quick sort

b) Shell sort

c) Insertion sort

d) Heap sort

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

a) It is faster than any other sorting technique


b) It is scalable

c) It works best for inputs which are already sorted

d) It requires no additional storage space

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following method is used for sorting in merge sort?

partitioning

b) merging

c) exchanging

d) selection

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Merge sort uses which of the following method to implement sorting?



a) selection

b) exchanging

c) merging

d) partitioning

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sorting algorithms is the fastest?



a) Merge sort

b) Shell sort

c) Insertion sort

d) Quick sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Shell sort algorithm is an example of?



a) Bottom-up sorting

b) In-place sorting

c) Internal sorting

d) External sorting

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an advantage of optimised bubble sort over other sorting techniques in case of sorted elements?



a) It is faster

b) Consumes less memory

c) Detects whether the input is already sorted

d) Consumes less time

Answer explanation

Optimised Bubble sort is one of the simplest sorting techniques and perhaps the only advantage it has over other techniques is that it can detect whether the input is already sorted. It is faster than other in case of sorted array and consumes less time to describe whether the input array is sorted or not. It consumes same memory than other sorting techniques. Hence it is not an advantage.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers