BUG-OFF

BUG-OFF

University

30 Qs

quiz-placeholder

Similar activities

Aptitude Competition(FY)

Aptitude Competition(FY)

University

25 Qs

2. Plataformas digitales

2. Plataformas digitales

12th Grade - University

25 Qs

Round 1-S1

Round 1-S1

University

25 Qs

C Language Pre-Assessment

C Language Pre-Assessment

University

25 Qs

Decision and Case Control Statements in C

Decision and Case Control Statements in C

University

35 Qs

Atividade sobre Modelos de Processo de Software

Atividade sobre Modelos de Processo de Software

University

25 Qs

UAS - Kecerdasan Komputasional

UAS - Kecerdasan Komputasional

University

25 Qs

Placa-Mãe

Placa-Mãe

3rd Grade - 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()

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?