
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
44 questions
Data Structures Quiz

Quiz
•
University
50 questions
Quiz

Quiz
•
University
43 questions
Data Structure and Algorithm

Quiz
•
University
44 questions
Design and Analysis of Algorithms

Quiz
•
University
45 questions
CPSC 131 midterm review

Quiz
•
University
50 questions
ASAJ Semester 1 Informatika

Quiz
•
10th Grade - University
45 questions
STACK DATA STRUCTURE

Quiz
•
University
50 questions
SAS Informatika Ganjil Kelas 8

Quiz
•
8th Grade - University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade