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
Quiz Sistem Operasi - I/O
Quiz
•
University
25 questions
Final Exam Revision (Trial)
Quiz
•
University
25 questions
Iqtisodiyotda AKT
Quiz
•
University - Professi...
25 questions
C++ with DS
Quiz
•
University
25 questions
IR1 REPASO PARCIAL 2
Quiz
•
12th Grade - University
25 questions
Redes de computadores - Revisão PARTE II
Quiz
•
11th Grade - University
26 questions
Application Software
Quiz
•
University
25 questions
SQL Quiz: 25 MCQs on the Student Table
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
