Search Header Logo

Data structures

Authored by Kanishk R

Computers

University

Used 51+ times

Data structures
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

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

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

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

Already have an account?