DATA STRUCTUIR Quiz1 (AIML)

Quiz
•
Information Technology (IT)
•
University
•
Medium

Mahendra Rai
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
BSc Lab Component

Quiz
•
University
20 questions
GDG ANDROID BOOTCAMP QUIZ

Quiz
•
University
25 questions
UH_TIK (XI)

Quiz
•
11th Grade - University
15 questions
Challenging Algorithms and Sorting Concepts

Quiz
•
University
25 questions
Pyhton Debugging Questions

Quiz
•
University
15 questions
Q1. Human Computer Interaction

Quiz
•
University
20 questions
Quiz Struktur Data

Quiz
•
9th Grade - University
20 questions
Kelas 9 - Halaman 23 (UH Bab 1)

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University