Search Header Logo

30-MAY-2023_CSE1_LAB_11_QUIZ

Authored by K.vinay kumar

Computers

University

Used 1+ times

30-MAY-2023_CSE1_LAB_11_QUIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How many pointers are contained as data members in the nodes of a circular,double linked list of integers with five nodes.

15

8

10

5

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which type of linked list stores the address of the header node in the next field of the last node?

double linked list

single linked list

circular linked list

None of the above

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the correct declaration of linked list?

struct node*

{

int data

node *link

}

struct node

{

int data

struct node *link

}

struct node

{

int data

node link

}

struct node*

{

int data

struct node *link

}

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a double linked list

4

0

1

Depends up on the nodes of the linked list

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In a circular linked list insertion of a record involves the modification of -------------

1 pointer

2 pointer

3 pointers

None

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the time complexity of inserting at the end in dynamic arrays?

O(1)

O(n)

Either O(1) or O(n)

O(logn)

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the time complexity to count the number of elements in the linked list?

O(1)

O(n)

O(n2)

O(logn)

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?