Data structures

Data structures

University

10 Qs

quiz-placeholder

Similar activities

Hackclub

Hackclub

University

14 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

Create a Website 1

Create a Website 1

KG - University

10 Qs

OS(II UNIT)

OS(II UNIT)

University

15 Qs

DBC CHAPTER 3 - REVISION

DBC CHAPTER 3 - REVISION

University

15 Qs

Microsoft Word Quiz

Microsoft Word Quiz

University

15 Qs

Week 4

Week 4

University

15 Qs

Intro to Data Mining

Intro to Data Mining

University

15 Qs

Data structures

Data structures

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Kanishk R

Used 51+ times

FREE Resource

AI

Enhance your content in a minute

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers