Technical Quiz DSA

Technical Quiz DSA

University

10 Qs

quiz-placeholder

Similar activities

M3-1

M3-1

University

15 Qs

Data structures

Data structures

University

12 Qs

DS Quiz1

DS Quiz1

University

10 Qs

Data Structures Quiz

Data Structures Quiz

University

10 Qs

Trees

Trees

University

11 Qs

DS-U3-Q1

DS-U3-Q1

University

10 Qs

DRAINER CS : Data Structures Final Review

DRAINER CS : Data Structures Final Review

University

10 Qs

DSAA Quiz

DSAA Quiz

University

15 Qs

Technical Quiz DSA

Technical Quiz DSA

Assessment

Quiz

Computers

University

Medium

Created by

Kavitha V R

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the insertion and deletion happens from both the ends then the queue is called a______Queue

a) Deque

b) Header

c) Queue

d) Circular Queue

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following applications may use a stack?

a) A parentheses balancing program

b) Tracking of local variables at run time

c) Compiler Syntax Analyzer

d) Data Transfer between two asynchronous process

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following applications may use a stack?

a) A parentheses balancing program

b) Tracking of local variables at run time

c) Compiler Syntax Analyzer

d) Data Transfer between two asynchronous process

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the postfix expression 6 3 2 4 + – *:

1

14

74

-18

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following function do for a given Linked List with first node as head?

void fun1(struct node* head)

{

if(head == NULL)

return;

fun1(head->next);

printf("%d ", head->data);

}

a) Prints all nodes of linked lists

b) Prints all nodes of linked list in reverse order

c) Prints alternate nodes of Linked List

d) Prints alternate nodes in reverse order

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Match the following.


a) Completeness i) How long does it take to find a solution

b) Time Complexity ii) How much memory need to perform the search.

c) Space Complexity iii) Is the strategy guaranteed to find the solution when there in one.

a-iii, b-ii, c-i

a-i, b-ii, c-iii

a-iii, b-i, c-ii

a-i, b-iii, c-ii

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If for an algorithm time complexity is given by O(1) then complexityof it is:

A. constant

B. polynomial

C. exponential

D. none of the mentioned

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?