Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
Top | MCQs on Queue Data Structure with Answers | Question 26
Which of the following is/are advantages of circular Queue? (A)Memory Management(B)Traffic system(C)CPU Scheduling(D)All of the above Answer: (D) ...
Read More
Top | MCQs on Searching Algorithm with Answers | Question 29
what is the output of the below code if the input array is [12, 34, 56, 29, 78]. and the X= 21?[tabby title="C++"][sourcecode language="cpp"]int fun(int arr[],...
Read More
Top | MCQs on Searching Algorithm with Answers | Question 26
In the worst case, (for instance where the numerical values of the keys increase exponentially) the interpolation search technique will take how many compariso...
Read More
Top | MCQs on Searching Algorithm with Answers | Question 25
How many comparisons are required in the worst case a traditional linear search utilizes? (A)N(B)N + 1(C)2N(D)N + 2 Answer: (D) ...
Read More
GATE | CSE 2023 | Question 9
Looking at the surface of a smooth 3-dimensional object from the outside, which one of the following options is TRUE? (A)The surface of the object m...
Read More
GATE | CSE 2023 | Question 5
A survey for a certain year found that 90% of pregnant women received medical care at least once before giving birth. Of these women, 60% received medical care...
Read More
GATE | CSE 2023 | Question 3
A series of natural numbers F1,F2,F3,F4,F5,F6,F7 obeys Fn+1=Fn+Fn-1 for all integers n=2.If F6=37 and F7=60 Then what is the value of F1? (A)4(B)5(C...
Read More
GATE | CSE 2023 | Question 2
Kind : _______ : : Often : Frequently(By word meaning) (A)Mean(B)Type(C)Cruel(D)Kindly Answer: (B) E...
Read More
GATE | CSE 2023 | Question 1
We reached the station late, and _______ missed the train (A)Near(B)Nearly(C)Utterly(D)Mostly Answer: (B) ...
Read More
Top | MCQs on Queue Data Structure with Answers | Question 29
What is wrong in the below code of printing Right View of a binary tree using the Queue data structure?[tabby title="C++"][sourcecode language="cpp"]void print...
Read More
Top | MCQs on Queue Data Structure with Answers | Question 28
Which of the following is the type of priority Queue? (A)Ascending Order Priority Queue(B)Descending order Priority Queue(C)Deque(D)Both A and B. ...
Read More
Top | MCQs on Queue Data Structure with Answers | Question 27
which data structure is used to implement deque? (A)Stack(B)Doubly linked list(C)circular array(D)Both B and C Answer: (D) ...
Read More
Top | MCQs on Searching Algorithm with Answers | Question 30
What is wrong with the below algorithm for searching the missing number from 1 to n?int getMissingNo(int a[], int n){ int i, total; total = (n + 1) * (n + 2) /...
Read More
Top | MCQs on Searching Algorithm with Answers | Question 28
What are the advantages of Linear Search Over Binary Search? (A)The array is ordered.(B)Less number of comparison(C)less time and space complexity(D...
Read More
Top | MCQs on Searching Algorithm with Answers | Question 27
Match the following:List - IList - II(a) Fibonacci Search(i) O(N)(b) Jump Search(ii) O(√N)(c) Sentinel Linear Search(iii) O(log2(log2 n))(d) Interpolation Sear...
Read More
1
...
2861
2862
2863
...
11561