BUG-OFF

BUG-OFF

University

30 Qs

quiz-placeholder

Similar activities

A+102

A+102

10th Grade - University

25 Qs

IT202 Midterm

IT202 Midterm

University

25 Qs

Na szkolenie

Na szkolenie

University

25 Qs

QUIZ

QUIZ

University

25 Qs

IT Quiz | E-Zone

IT Quiz | E-Zone

University

25 Qs

Information Security Mid-Term Test Ex

Information Security Mid-Term Test Ex

University

25 Qs

Quiz IMK

Quiz IMK

University

25 Qs

BUG-OFF

BUG-OFF

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Pruthvi Deepam

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers