
Unit Test II

Quiz
•
Computers
•
University
•
Medium
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
Similar Resources on Wayground
42 questions
Data Structures and Algorithms Quiz

Quiz
•
University
50 questions
DSU MCQ on Stacks & Queues

Quiz
•
University
40 questions
Linear Data Structures Quiz

Quiz
•
University
40 questions
Data Structures and Algorithms Quiz

Quiz
•
University
44 questions
CSE214 Final Review

Quiz
•
University
40 questions
IOT_SARS

Quiz
•
University
48 questions
BTEC Fundamentals of Computer Systems (student questions)

Quiz
•
10th Grade - University
50 questions
Self Assessment on Stacks & Queues

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade