
UNIT IV DSA Quiz

Quiz
•
Computers
•
University
•
Hard
Placement Stjosephs
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a graph in data structures?
A linear collection of data
A hierarchical structure
A set of vertices and edges
A tree-like structure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct representation of a graph?
Stack
Queue
Adjacency list or adjacency matrix
Binary tree
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In an undirected graph, an edge (u, v) is equivalent to:
(u, v) ≠ (v, u)
(u, v) = (v, u)
One-direction only
Self-loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following graphs has direction associated with edges?
Undirected graph
Directed graph
Weighted graph
Simple graph
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a complete graph?
Every node has a self-loop
All nodes are disconnected
Each pair of vertices is connected by an edge
Only even nodes are connected
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents a sparse graph?
More edges than vertices
Few edges compared to vertices
All nodes connected
Graph with no nodes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used in Breadth First Search (BFS)?
Stack
Queue
Array
Tree
Create a free account and access millions of resources
Similar Resources on Wayground
26 questions
Pre-Test Pertemuan 2

Quiz
•
University
25 questions
Technical quiz(Medium-Level)

Quiz
•
University
25 questions
DSA_Unit2

Quiz
•
University
30 questions
Midterm

Quiz
•
University - Professi...
20 questions
Trees and Graphs

Quiz
•
University
20 questions
Unit 2 Artificial Intelligence

Quiz
•
University
26 questions
AI Quiz 26/9

Quiz
•
University
20 questions
FUNDAMENTALS OF ALGORITHMS - UNIT II

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade