Linked List and Arrays in JAVA

Quiz
•
Computers
•
University
•
Medium
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
Similar Resources on Wayground
20 questions
DS-Moodle1-Unit1

Quiz
•
University
12 questions
Analisis Struktur Data

Quiz
•
10th Grade - University
15 questions
Linked List (Chapter 2)

Quiz
•
University
15 questions
User-Defined DS

Quiz
•
University
11 questions
Data Structures - Training: Quiz 1

Quiz
•
University
20 questions
Linked List

Quiz
•
University
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

Quiz
•
University
15 questions
Linked List Question Set 1

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University