
Linked List and Arrays in JAVA
Authored by POOJA SAPRA
Computers
University
Used 225+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Hash
Quiz
•
University
20 questions
LLB10403 Quiz 2 Chap 2
Quiz
•
University
20 questions
Infrastructure (Network)
Quiz
•
University
20 questions
C Quest 2.0
Quiz
•
University
14 questions
CIS 1103 Week 7_8 CLO3 (Part 2)
Quiz
•
University
20 questions
CSE493_QUIZ 1
Quiz
•
University
16 questions
Python
Quiz
•
University
20 questions
Transaction Processing Systems Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade