
KLU- CLUSTER -6 DAY-7
Authored by CCC info@ccc.training
English
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the following function do for a given Linked List with first node as head? void fun1(struct node* head) { if(head == NULL) return; fun1(head->next); printf("%d ", head->data); }
Prints all nodes of linked list in reverse order
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A linear collection of data elements where the linear node is given by means of pointer is called?
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the time complexity to count the number of elements in the linked list?
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially pointing to the head of the list?
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of following function for start pointing to first node of following linked list? 1->2->3->4->5->6 void fun(struct node* start) { if(start == NULL) return; printf("%d ", start->data); if(start->next != NULL ) fun(start->next->next); printf("%d ", start->data); }
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the functionality of the following piece of code? public int function(int data) { Node temp = head; int var = 0; while(temp != null) { if(temp.getData() == data) { return var; } var = var+1; temp = temp.getNext(); } return Integer.MIN_VALUE; }
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Linked lists are not suitable to for the implementation of?
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
25 questions
Body Parts (pictures)
Quiz
•
8th Grade - Professio...
26 questions
irregular verbs (past)
Quiz
•
Professional Development
25 questions
Diwali and Grammar (quiz 8)
Quiz
•
5th Grade - Professio...
27 questions
SVA #2
Quiz
•
Professional Development
25 questions
REVIEW - B07
Quiz
•
Professional Development
27 questions
Review B09
Quiz
•
10th Grade - Professi...
25 questions
Interchange Intro Teens Final 4 (U13-16)
Quiz
•
Professional Development
26 questions
A2+ Business Partner Unit 5
Quiz
•
Professional Development
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade