Linked List and Arrays in JAVA

Linked List and Arrays in JAVA

University

16 Qs

quiz-placeholder

Similar activities

UTS Praktikum SDA KOM B - 2 Ed

UTS Praktikum SDA KOM B - 2 Ed

University

20 Qs

Week 4 : Linked List

Week 4 : Linked List

University

13 Qs

DS - Linked List - S1

DS - Linked List - S1

University

16 Qs

Data Structure Quiz1

Data Structure Quiz1

University

20 Qs

Skip List Quizizz

Skip List Quizizz

9th Grade - University

12 Qs

Knowledge Knockout[Quiz Round](2nd-4th years)

Knowledge Knockout[Quiz Round](2nd-4th years)

University

15 Qs

C++ Finall!!!!

C++ Finall!!!!

University

15 Qs

Singly Linked List

Singly Linked List

University

15 Qs

Linked List and Arrays in JAVA

Linked List and Arrays in JAVA

Assessment

Quiz

Computers

University

Medium

Created by

POOJA SAPRA

Used 222+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the correct code to acess the second node in a linked list?

head.getData()

head.getNext().getData()

head.getNext().getNext().getData()

none of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What advantage does a linked list have over an array?

Size of the list doesn't need to be mentioned at the beginning of the program

You can add or remove elements from the middle of the list.

The linked list doesn't have a size limit

All of these are true.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Nodes in a linked list contain two things

Direction and a pointer

Data and a pointer

A Pointer and a reference

A pointer and a node

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The situation when in a linked list Head==NULL

is

Full

Empty

Half full

saturated

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The doubly linked list would have how many fields in a node?

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many null pointers exists in a circular linked list?

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Each node in a linked list has two

pairs of ………….. and ……………….

Link field and information field

Link field and avail field

Avail field and information field

Address field and link field

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?