
Unit Test II
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Ankita Luke
Used 2+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
Python: Built-In Functions and Upto Tuple
Quiz
•
University
44 questions
Movies
Quiz
•
2nd Grade - Professio...
50 questions
Algoritmika 1.
Quiz
•
10th Grade - University
40 questions
CompTIA Security+ SY0-601 Chapters 9 - 12
Quiz
•
University
50 questions
CN Quiz-1
Quiz
•
University
50 questions
2ºDAW - Diseño de Interfaces Web - Trim.2 - Prof. C. Boni
Quiz
•
University - Professi...
40 questions
Elements of a C# program
Quiz
•
University
46 questions
Power Point – Wiputra Cendana
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
