
DS-Moodle1-Unit1

Quiz
•
Computers
•
University
•
Hard
Kanishk R
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
struct node *current = start->next
what will "current" contain if it is a pointer to a variable of type struct node ?
Address of 2nd Node
Data Field of 2nd Node
Address of 1st Node
None of these
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the operation of the below statements?
Insert a new node to the front of a linked list
Create a new node for a linked list
Insert a new node to the end of the linked list
Calculate the size of a linked list
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the operation of the below statements?
Create a new node for a linked list
Insert a new node to the front of a linked list
Delete a new node from a linked list
Insert a new node to the end of the linked list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which the following circular linked list
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
How many times should
“temp =temp->next” be executed in the image to get the value of "Null" when the initial value of temp is temp=head
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Give syntax to create a node for Single linked list?
newnode=(struct node *)malloc(sizeof(struct node*));
newnode=(struct node )malloc(sizeof(struct node));
newnode=(struct node *)malloc(sizeof(struct node));
newnode=(struct node )malloc(sizeof(struct node*));
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Give routine to insert at the beginning in a linked list whose structure is by struct node, with list head as L and pointer variable as next
newnode->next=next;
L=newnode;
newnode->next=node;
L=newnode;
newnode->next=L;
L=newnode;
newnode->L=next;
L=newnode;
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Algorithm questions

Quiz
•
12th Grade - University
20 questions
JDVP Activity

Quiz
•
12th Grade - University
20 questions
Quiz 1_DSA

Quiz
•
University
20 questions
Data Structure

Quiz
•
University
15 questions
Quiz Struktur Data

Quiz
•
University
15 questions
Archivos y Colecciones

Quiz
•
University
20 questions
Uji Pemahaman Struktur Data

Quiz
•
9th Grade - University
15 questions
DATA STRUCTURES QUIZ

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