Search Header Logo

DS 1 TO 50

Authored by Vinoth Dakshnamoorthy

Other

University

Used 1+ times

DS 1 TO 50
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a type of linear data structure? (CO1)

Array
Queue
Stack
Tree

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the correct abstraction of a data structure? (CO1)

A real-world object
A function
A set of operations and their implementation
A collection of memory locations

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In the context of performance analysis of algorithms, which case is analyzed when an algorithm performs the best possible operation on all inputs? (CO1)

Best case
Worst case
Average case
Optimal case

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a primitive data type in C? (CO1)

Stack
Array
Integer
Linked List

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a non-primitive data structure? (CO1)

Linked List
Tree
Graph
Integer

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In a stack, which operation removes the element from the top of the stack? (CO2)

Push
Pop
Peek
Insert

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The time complexity of linear search in the worst case is: (CO2)

O(1)
O(n)
O(log n)
O(n^2)

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?