unit-5 test-1

Quiz
•
Computers
•
Professional Development
•
Hard
PRASHANT ATMAKURI
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Breadth First Search (BFS) is started on a binary tree beginning from the root vertex. There is a vertex t at a distance four from the root. If t is the n-th vertex in this BFS traversal, then the maximum possible value of n is ___________.
29
30
31
32
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the following directed graph:
The number of different topological orderings of the vertices of the graph is ________________.
5
6
7
8
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Let G be a graph with n vertices and m edges. What is the tightest upper bound on the running time of Depth First Search on G, when G is represented as an adjacency matrix?
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Suppose depth first search is executed on the graph below starting at some unknown vertex. Assume that a recursive call to visit a vertex is made only after first checking that the vertex has not been visited earlier. Then the maximum possible recursion depth (including the initial call) is _________.
17
18
19
20
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Consider the tree arcs of a BFS traversal from a source node W in an unweighted, connected, undirected graph. The tree T formed by the tree arcs is a data structure for computing
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In a depth-first traversal of a graph G with n vertices,k edges are marked as tree edges. The number of connected components in G is
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Consider the following graph among the following sequences
I. a b e g h f
II. a b f e h g
III. a b f h g e
IV. a f g h b e
I. II.
I. III. IV.
II. III. IV.
I. II. III. IV
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
wesoły quiz kompetencje e13 [SERIO FAJEN! :>]

Quiz
•
11th Grade - Professi...
10 questions
IT ENGLISH: Research Project Topics - Algorithms

Quiz
•
Professional Development
11 questions
BASES DE DATOS FUTBOLISTAS

Quiz
•
Professional Development
20 questions
DAA

Quiz
•
Professional Development
20 questions
Data Structure

Quiz
•
Professional Development
15 questions
Sesión 01 - Introducción a Word

Quiz
•
Professional Development
20 questions
Javascript Fundamental Practice

Quiz
•
Professional Development
17 questions
I/O Extended Bacolod 2021

Quiz
•
University - Professi...
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