What will be the resulting array after rotating
arr[]={1, 2, 3, 4, 5}
by 2?
Knowledge Knockout[Quiz Round](2nd-4th years)
Quiz
•
Computers
•
University
•
Hard
Anmol Das
Used 10+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the resulting array after rotating
arr[]={1, 2, 3, 4, 5}
by 2?
a) 2, 1, 3, 4, 5
b) 3, 4, 5, 1, 2
c) 4, 5, 1, 2, 3
d) 1, 2, 3, 5, 4
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
For the given graph(G), which of the following statements is true?
a) G is a complete graph
b) G is not a connected graph
c)The vertex connectivity of the graph is 2
d) The edge connectivity of the graph is 1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python function?
min(max(False,-3,-4), 2,7)
-4
-3
2
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet?
print([i+j for i in "abc" for j in "def"])
[‘da’, ‘ea’, ‘fa’, ‘db’, ‘eb’, ‘fb’, ‘dc’, ‘ec’, ‘fc’]
[[‘ad’, ‘bd’, ‘cd’], [‘ae’, ‘be’, ‘ce’], [‘af’, ‘bf’, ‘cf’]]
[[‘da’, ‘db’, ‘dc’], [‘ea’, ‘eb’, ‘ec’], [‘fa’, ‘fb’, ‘fc’]]
[‘ad’, ‘ae’, ‘af’, ‘bd’, ‘be’, ‘bf’, ‘cd’, ‘ce’, ‘cf’]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used to implement Dijkstra's shortest path algorithm?
Stack
Queue
Heap
Linked List
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The following formular is of
left_subtree (keys) < node (key) < right_subtree (keys)
Complete Binary Tree
Binary Tree
All of these
Binary Search Tree
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following does this image depicts ?
Complete Binary Tree
Full Binary Tree
10 questions
PYTHON PROGRAMMING
Quiz
•
University
20 questions
ROUND 1
Quiz
•
University
20 questions
Функции в Питоне. По степику
Quiz
•
University
20 questions
Data Structures Quiz
Quiz
•
University
12 questions
Data Structures
Quiz
•
University
20 questions
Data Structures
Quiz
•
University
12 questions
C++ public single inheritance
Quiz
•
University
10 questions
Python Dictionaries
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade