DS-Moodle1-Unit1

DS-Moodle1-Unit1

University

20 Qs

quiz-placeholder

Similar activities

Monday Week#2

Monday Week#2

University

15 Qs

EMERGINGX

EMERGINGX

University

15 Qs

Aplikom

Aplikom

1st Grade - University

20 Qs

Pengantar Teknologi Informasi 2

Pengantar Teknologi Informasi 2

University

15 Qs

Lập trình trực quan

Lập trình trực quan

University

15 Qs

Infrastructure (Network)

Infrastructure (Network)

University

20 Qs

Repaso U1

Repaso U1

University

16 Qs

PHP First Internal Practical Viva

PHP First Internal Practical Viva

University

20 Qs

DS-Moodle1-Unit1

DS-Moodle1-Unit1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Kanishk R

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Media Image

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

Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?