
ADS 1 March 2025
Authored by Sanjib Kalita
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the primary advantage of a linked list over an array in C?
Easier element access using index
Uses less memory than an array
Dynamic memory allocation and efficient insertions/deletions
Fixed size during compilation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is a node typically represented in a singly linked list in C?
struct Node ( int data, struct Node next)
struct Node ( int data, struct Node **next)
struct Node ( int data, struct Node *next)
struct Node ( int data, struct Node next[])
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of inserting a node at the beginning of a singly linked list?
O(1)
O(n)
O(log n)
O(n²)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of searching for an element in a singly linked list?
O(1)
O(n)
O(log n)
O(n²)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operations is NOT possible in a singly linked list?
Traversing the list
Deleting a node from the middle
Inserting a node at the beginning
Traversing backward
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pointer is used to traverse a singly linked list?
head
tail
current
current
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert a node at the end of a singly linked list?
Modify head pointer to point to new node
Traverse the list until next pointer is NULL and add new node
Set next of the last node to NULL
None of the above
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?