Data Structure

Data Structure

Professional Development

10 Qs

quiz-placeholder

Similar activities

fortnite as of season x

fortnite as of season x

KG - Professional Development

10 Qs

Python_DS2

Python_DS2

Professional Development

10 Qs

Queues

Queues

11th Grade - Professional Development

15 Qs

Python - Heap

Python - Heap

Professional Development

15 Qs

SLG IPC144 Week 9

SLG IPC144 Week 9

Professional Development

14 Qs

Linking in Coding

Linking in Coding

Professional Development

15 Qs

Java Collections

Java Collections

Professional Development

10 Qs

Quiz#2

Quiz#2

Professional Development

10 Qs

Data Structure

Data Structure

Assessment

Quiz

Computers

Professional Development

Medium

Created by

RAVINDRA AHER

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a characteristic of a linked list?

  • Fixed size

  • Elements stored in contiguous memory

  • Dynamic size

  • All elements must be of the same type

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of inserting a node at the beginning of a singly linked list?

O(1)

O(n)

O(log n)

O(n^2)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations is not efficient in a singly linked list?

Insertion

Deletion

Searching for an element

Traversal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a doubly linked list, each node contains:

One pointer

Two pointers

Three pointers

No pointers

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary principle behind stack data structures?

First In First Out (FIFO)

Last In First Out (LIFO)

Random Access

Circular Access

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation is not performed in a stack?

Push

Pop

Peek

Enqueue

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The time complexity for pushing and popping an element in a stack is:

O(1)

O(n)

O(log n)

O(n^2)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?