Search Header Logo

DSA(UNIT 1) Test 1

Authored by MS.MAHALAKSHMI V

Computers

University

Used 1+ times

DSA(UNIT 1) Test 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a linear data structure?

  1. Array

  1. AVL Tree

  1. Binary Tree

  1. Graphs

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which matrix has most of the elements (not all) as Zero?

a) Identity Matrix

b) Unit Matrix

c) Sparse Matrix

d) Zero Matrix

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who coined the term Sparse Matrix?


a) Harry Markowitz

b) James Sylvester

c) Chris Messina

d) Arthur Cayley

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The matrix contains m rows and n columns. The matrix is called Sparse Matrix if ________


a) Total number of Zero elements > (m*n)/2

b) Total number of Zero elements = m + n

c) Total number of Zero elements = m/n

d) Total number of Zero elements = m-n

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data structures allow insertion and deletion from both ends?


a) Stack

b) Deque

c) Queue

d) Strings

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Process of inserting an element in stack is called ____________


a) Create

b) Push

c) Evaluation

d) Pop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pushing an element into stack already having five elements and stack size of 5, then stack becomes ___________


a) Overflow

b) Crash

c) Underflow

d) User flow

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?