Unit Test II

Unit Test II

University

45 Qs

quiz-placeholder

Similar activities

CSE214 Final Review

CSE214 Final Review

University

44 Qs

ASAJ  Semester 1 Informatika

ASAJ Semester 1 Informatika

10th Grade - University

50 Qs

CS8391 - Data Structure  - IAT I

CS8391 - Data Structure - IAT I

University

50 Qs

Data Structure and Algorithm

Data Structure and Algorithm

University

43 Qs

Linear Data Structures Quiz

Linear Data Structures Quiz

University

40 Qs

Quizical Suspect!

Quizical Suspect!

University

40 Qs

CODE_ASSESMENT

CODE_ASSESMENT

University

50 Qs

2025190602

2025190602

University

40 Qs

Unit Test II

Unit Test II

Assessment

Quiz

Computers

University

Medium

Created by

Ankita Luke

Used 2+ times

FREE Resource

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an attribute of algorithms?

Correctness

Ambiguity

Finiteness

Efficiency

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of linear search?

O(log n)

O(n²)

O(1)

O(n)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm is the fastest for large datasets?

Selection Sort

Bubble Sort

Merge Sort

Insertion Sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary disadvantage of Bubble Sort?

Only works with sorted arrays

Complex implementation

Requires additional memory

Inefficient for large datasets

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a stable sorting algorithm?

Heap Sort

Selection Sort

Merge Sort

Quick Sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a 2D array, the address of A[i][j] is calculated using:

Base + (i + j) × size

Base + (j x num_rows + i) × size

Base + (i x num_cols + j) × size

Base + (i x j) × size

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of memory allocation is used for arrays?

Dynamic Memory Allocation

Static Memory Allocation

None of the above

Both DMA and SMA

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?