BUG-OFF

Quiz
•
Computers
•
University
•
Hard
Pruthvi Deepam
Used 3+ times
FREE Resource
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()
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
COCAT - DAA

Quiz
•
University - Professi...
25 questions
Neo Coding Round 1 Set 1

Quiz
•
University
26 questions
221 quiz questions exam 2 prep

Quiz
•
University
26 questions
Searching Algorithms

Quiz
•
University
25 questions
C - Data Structures (Unit 1 - QUIZ)

Quiz
•
University
25 questions
Data Structures 1

Quiz
•
University
26 questions
Analysis Algorithms Introduction

Quiz
•
University
30 questions
Data Structures and Its Applications

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