Data structures

Data structures

University

10 Qs

quiz-placeholder

Similar activities

DS Quiz1

DS Quiz1

University

10 Qs

Data structures

Data structures

University

12 Qs

DS MODULE 3 LINKED LIST

DS MODULE 3 LINKED LIST

University

15 Qs

DS UNIT-2 TEST-1

DS UNIT-2 TEST-1

University

10 Qs

Struktur Data Last Meeting

Struktur Data Last Meeting

University

10 Qs

Linked List (Chapter 2)

Linked List (Chapter 2)

University

15 Qs

DS QUIZ-1 (unit-1)

DS QUIZ-1 (unit-1)

University

10 Qs

STGY PPS QUIZ  TEST

STGY PPS QUIZ TEST

University

15 Qs

Data structures

Data structures

Assessment

Quiz

Computers

University

Medium

Created by

Kanishk R

Used 51+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of these best describes an array?

A data structure that shows a hierarchical behavior

Container of objects of similar types

Arrays are immutable once initialized

Array is not a data structure

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

To create a linked list, we can allocate space and make something point to it, by


writing:


struct-name *pointer-variable;


Which of the following statement will correctly allocate the space

pointer-variable= malloc(sizeof(*struct-name));

pointer-variable = malloc(sizeof(struct struct-name));

pointer-variable = alloc(sizeof(struct struct-name));

pointer-variable = alloc(sizeof(*struct-name));

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The situation when in a linked list HEAD=NULL is

Underflow

Overflow

Housefull

Saturated

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Linked lists are best suited

for relatively permanent collections of data

for the size of the structure and the data in the structure are constantly changing

for both of above situation

for none of above situation

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How is linked list implemented?

Nodes

Structure

Referential Structures

None of these

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following data structure is linear type?

List

Tree

Graph

All of the above

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following data structure is non linear type?

List

Stack

Queue

Tree

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?