DATA STRUCTUIR Quiz1 (AIML)

DATA STRUCTUIR Quiz1 (AIML)

University

20 Qs

quiz-placeholder

Similar activities

Workshop_quiz_on Sk-learn

Workshop_quiz_on Sk-learn

University

15 Qs

SOFTWARE ENGINEERING

SOFTWARE ENGINEERING

University

20 Qs

Forum Activity Tech quiz

Forum Activity Tech quiz

University

15 Qs

Data Literacy Quizizz

Data Literacy Quizizz

6th Grade - University

15 Qs

2F-1 | Python Quiz | 14/10/2024

2F-1 | Python Quiz | 14/10/2024

University

20 Qs

PPL 223 - (QUIZ 3) Data Types and Structures

PPL 223 - (QUIZ 3) Data Types and Structures

University

15 Qs

OSS (QUIZ 7) Input/Output Systems

OSS (QUIZ 7) Input/Output Systems

University

20 Qs

Problem-Solving

Problem-Solving

University

20 Qs

DATA STRUCTUIR Quiz1 (AIML)

DATA STRUCTUIR Quiz1 (AIML)

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

Mahendra Rai

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

1

14

74

-18

2.

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

3.

MULTIPLE CHOICE QUESTION

45 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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

A. constant

B. linear

C. exponential

D. none of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The number of elements in the adjacency matrix of a graph having 7 vertices is

7

14

49

34

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the number of moves required to solve Tower of Hanoi problem for k disks?

a) 2k – 1

b) 2k + 1

c) 2k + 1

d) 2k – 1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In linked list implementation of a queue, where does a new element be inserted?

a) At the head of link list

b) At the tail of the link list

c) At the centre position in the link list

d) None

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?