How is an array initialized in C language?

2nd Year Data Structures Quiz Qn

Quiz
•
Information Technology (IT)
•
University
•
Hard
Keerthana Moorthy
Used 5+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int a[3] = {1, 2, 3};
int a = {1, 2, 3};
int a[] = new int[3]
int a(3) = [1, 2, 3];
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not the type of queue?
Priority queue
Single-ended queue
Circular queue
Ordinary queue
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
From following which is not the operation of data structure?
Operations that manipulate data in some way
Operations that perform a computation
Operations that check for syntax errors
Operations that monitor an object for the occurrence of a controlling event
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are applications of Topological Sort of a graph?
Sentence Ordering
Course Scheduling
OS Deadlock Detection
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of the binary search algorithm?
O(n)
O(n^2)
O(log2n)
O(1)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms are used to find the shortest path from a source node to all other nodes in a weighted graph?
BFS
Kruskal’s Algorithm
Prims Algorithm
Djikstra’s Algorithm
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many edges are present in the complete graph of n vertices?
n(n-1)/2
n(n+1)/2
n
n/2
Create a free account and access millions of resources
Similar Resources on Quizizz
40 questions
Quiztronic

Quiz
•
University
30 questions
Round2TechQuiz

Quiz
•
University
36 questions
Soal Informatika Kelas 9

Quiz
•
9th Grade - University
33 questions
CTDL Lần 1

Quiz
•
University
30 questions
172D07_kuis 1 _struktur data

Quiz
•
University
30 questions
EVALUASI TENGAH SEMESTER GENAP

Quiz
•
10th Grade - University
35 questions
Ujian informatika

Quiz
•
9th Grade - University
30 questions
Latihan Soal Informatika Kelas VII

Quiz
•
7th Grade - University
Popular Resources on Quizizz
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