Linked List Quiz

Linked List Quiz

University

10 Qs

quiz-placeholder

Similar activities

Quiz 3. Struktur Data

Quiz 3. Struktur Data

8th Grade - University

15 Qs

Dasar Koding dan Kecerdasan Buatan

Dasar Koding dan Kecerdasan Buatan

10th Grade - University

10 Qs

Animation Techniques Quiz

Animation Techniques Quiz

10th Grade - University

10 Qs

PDM - LS01 - Quiz 6 - GUI & Event Driven Programming

PDM - LS01 - Quiz 6 - GUI & Event Driven Programming

University

15 Qs

Aula07 - Matrizes

Aula07 - Matrizes

University

12 Qs

PAW.09 - DOM Javascript

PAW.09 - DOM Javascript

University

10 Qs

Quiz Blog dan Vlog

Quiz Blog dan Vlog

9th Grade - University

10 Qs

SURAT MASSAL MAIL MERGE

SURAT MASSAL MAIL MERGE

10th Grade - University

10 Qs

Linked List Quiz

Linked List Quiz

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Easy

Created by

Aiza Najihah Bt Razaman UPTM

Used 1+ 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

30 sec • 1 pt

In a singly linked list, each node contains:

Only data

Data and pointer to the next node

Data and pointers to next and previous nodes

Only a reference to the next node

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a doubly linked list, each node has:

One reference only

Two references: previous and next

Three references: previous, next, and head

No references

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a circular linked list, the link field of the last node contains:

NULL

Address of the first node

Address of the last node itself

Random address

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Main limitation of a singly linked list is:

Cannot store strings

Cannot traverse backward

Cannot insert nodes at all

Needs more memory than arrays

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What Java LinkedList method is used to insert an element at the beginning?

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What Java LinkedList method removes the last element?

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the output of this code?

LinkedList list = new LinkedList<>();

list.add("Paul"); list.add("John");

list.add("Tina");

System.out.println(list.getFirst());

Create a free account and access millions of resources

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

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

Already have an account?