Data Structures Quiz

Data Structures Quiz

University

50 Qs

quiz-placeholder

Similar activities

DS-UNIT-2-Stack Queue

DS-UNIT-2-Stack Queue

University

50 Qs

Data Structure Using C _PG_Pretest

Data Structure Using C _PG_Pretest

University

50 Qs

Data Structures Quiz

Data Structures Quiz

University

50 Qs

Quiz81-DS

Quiz81-DS

University

45 Qs

DSA QUIZ

DSA QUIZ

University

45 Qs

untitled

untitled

University - Professional Development

52 Qs

UTS Struktur Data

UTS Struktur Data

University

53 Qs

Repaso primer pacial

Repaso primer pacial

University

47 Qs

Data Structures Quiz

Data Structures Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Anushree G

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?