KofiNketiaAckaahGyasi_CSCI2380_03Pre2

KofiNketiaAckaahGyasi_CSCI2380_03Pre2

University

10 Qs

quiz-placeholder

Similar activities

Quizze Buzzie

Quizze Buzzie

University

14 Qs

Data Structures

Data Structures

University

12 Qs

Data Structures Activity - 1

Data Structures Activity - 1

University

15 Qs

Data Structures : Queue

Data Structures : Queue

University

12 Qs

Quiz - Linked list

Quiz - Linked list

University

14 Qs

DS UNIT-2 TEST-2

DS UNIT-2 TEST-2

University

13 Qs

Struktur Data

Struktur Data

University

10 Qs

C++ linked lists

C++ linked lists

University

9 Qs

KofiNketiaAckaahGyasi_CSCI2380_03Pre2

KofiNketiaAckaahGyasi_CSCI2380_03Pre2

Assessment

Quiz

Computers

University

Hard

Created by

Kofi Nketia Ackaah-Gyasi

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What kind of data structures are the nodes used in linked lists?

Arrays

Stacks

Divided Box

Classes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an attribute of a singly linked list?

A node class

A head pointer

A count variable

A next pointer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of dynamic memory allocation?

long int x = &num

Node *ptr = new Node();

int array[] ={4,7,3};

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can be example of a function of a linked list that uses a pointer as an argument?

myLL.pushback(5);

void myLL.insert(Node * ptr)

myLL.deletefront();

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A linked list that works as ONLY a stack should not have which function

push_back()

pop_front()

pop_back()

traverse()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not defined as part of a linked list

head

tail

pointer1

count

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

The head may point to .... (MULTIPLE CHOICE)

first node in the linked list

first string in the linked list

nullptr

the tail pointer

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?