BUG-OFF
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Pruthvi Deepam
Used 3+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid sorting algorithm in C?
Quick Sort
Binary Search
Depth-First Search
Breadth-First Search
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is ideal for implementing Dijkstra's Algorithm?
Stack
Queue
Priority Queue
Linked List
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the complexity of linear search in an unsorted array of n elements?
O(n)
O(log n)
O(n^2)
O(n log n)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C, which header file is used for dynamic memory allocation functions?
stdio.h
math.h
stdlib.h
string.h
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm works by repeatedly finding the minimum element from the unsorted part and putting it at the beginning?
Insertion Sort
Bubble Sort
Selection Sort
Merge Sort
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true for binary search?
It requires a sorted array
It works with linked lists
It has O(n) time complexity
It can search unsorted arrays
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function in C allocates memory but does not initialize it?
malloc()
calloc()
realloc()
free()
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
25 questions
Programming Skills C/C++
Quiz
•
University
25 questions
Primer Parcial DPI
Quiz
•
University
25 questions
Examen de Administración de Bases de Datos
Quiz
•
1st Grade - University
25 questions
unit2_Computer Graphics MCQs
Quiz
•
University
30 questions
Technical-connection Round-1
Quiz
•
University
26 questions
TLJ (Materi Mikrotik Dasar)KKM70
Quiz
•
12th Grade - University
35 questions
Ôn Tập Học Kì I Lớp 4
Quiz
•
4th Grade - University
30 questions
Infotecnoloía 2
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
