LINKED LIST

LINKED LIST

University

10 Qs

quiz-placeholder

Similar activities

Q5 - ICT2

Q5 - ICT2

University

10 Qs

Q2 - Python

Q2 - Python

University

10 Qs

(CPDS) Time and Global States - Clocks

(CPDS) Time and Global States - Clocks

University

9 Qs

mit app inventer

mit app inventer

KG - Professional Development

11 Qs

WORD ĐỀ 6

WORD ĐỀ 6

University

10 Qs

Web Apps 02 - MeteorJS

Web Apps 02 - MeteorJS

University

12 Qs

Python List

Python List

4th Grade - University

15 Qs

LA5.C5: Branching and Subroutines

LA5.C5: Branching and Subroutines

9th Grade - University

14 Qs

LINKED LIST

LINKED LIST

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Gouthami Velakanti

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a disadvantage to the usage of array?

a) Fixed size

b) There are chances of wastage of memory space if elements inserted in an array are lesser than the allocated size

c) Insertion based on position

d) Accessing elements at specified positions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

a) O(1)

b) O(n)

c) O(logn)

d) O(n2)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A linear collection of data elements where the linear node is given by means of pointer is called?

a) Linked list

b) Node list

c) Primitive list

d) Unordered list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In linked list each node contains a minimum of two fields. One field is data field to store the data second field is?

a) Pointer to character

b) Pointer to integer

c) Pointer to node

d) Node

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the asymptotic time complexity to insert an element at the front of the linked list (head is known)?

a) O(1)

b) O(n)

c) O(n2)

d) O(n3)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following c code is used to create new node?

a) ptr = (struct node*)malloc(sizeof(struct node));

b) ptr = (struct node*)malloc(struct node);

c) ptr = (struct node*)malloc(sizeof(struct node*));

d) ptr = (struct node)malloc(sizeof(struct node));

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Linked list is considered as an example of ___________ type of memory allocation.

a) Dynamic

b) Static

c) Compile time

d) Heap

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?