Search Header Logo

DATA STRUCTURES_LBRCE

Authored by Dr Reddy

Computers

University

Used 2+ times

DATA STRUCTURES_LBRCE
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

20 sec • 1 pt

Which of the following is not a linear data structure?

stack

queue

linked list

Tree

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best defines a data structure?

A way to store data in memory

A collection of algorithms

A way to organize and store data to facilitate access and modification

A programming language construct

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which data structure uses Last In First Out (LIFO) order?

Stack

Queue

Linked List

Tree

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of accessing an element in an array?

O(n)

O(1)

O(logn)

O(n*n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure does not require contiguous memory allocation?

Array

Stack

Linked List

Queue

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst case runtime of linear search algorithm?

O(n*n)

O(1)

O(logn)

O(n)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of searching for an element in a singly linked list?

O(n)

O(logn)

O(1)

O(n*n)

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?

Discover more resources for Computers