Search Header Logo

Data Structures Quiz

Authored by Anushree G

Computers

University

Used 2+ times

Data Structures Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Dynamic memory allocation in C is done using which function?

malloc

calloc

free

both a and b

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

In C, which operator is used to access the address of a variable?

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the time complexity of accessing an element in an array?

O(1)

O(n)

O(n^2)

O(log n)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a hashing technique?

Linear Probing

Open Addressing

Both a and b

None

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What data structure is often used for managing memory allocation?

Stack

Queue

Array

Linked List

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the primary difference between a structure and a union in C?

Structure has shared memory

Union has shared memory

Both are identical

None of the above

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The process of accessing elements in a specific order in a data structure is called?

Sorting

Traversing

Searching

Deleting

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?