Skip to main content

Graphs — Part 2 MCQs with Explanations

Practice high-yield Computer Science & IT MCQs on Graphs — Part 2 with worked academic solutions for PPSC, FPSC, CSS, PMS, NTS.

Questions
40
Difficulty Level
Exam-Level
Target Exams
PPSC, FPSC, CSS...
Estimated Time
48 mins
Exam-Level PPSC FPSC CSS PMS NTS
Verified for Commission Syllabus • Oct 14, 2026
40

Verified Practice Questions

Interactive test mode with detailed academic worked solutions

Live Progress | 0/40 answered
✓ 0 correct ✗ 0 wrong 0% score
Question 1 of 40
★ PPSC ★ FPSC

Which graph traversal method can be used to check if a graph is bipartite?

Question 2 of 40
★ PPSC ★ FPSC

What is the primary use of a priority queue in graph algorithms?

Question 3 of 40
★ PPSC ★ FPSC

In the context of graph algorithms, what is a "cut"?

Question 4 of 40
★ PPSC ★ FPSC

Which graph representation method is more efficient for sparse graphs?

Question 5 of 40
★ PPSC ★ FPSC

What is the characteristic of a graph if it is described as "planar"?

Question 6 of 40
★ PPSC ★ FPSC

In which of the following case does a Propositional Directed Acyclic Graph is used for?

Question 7 of 40
★ PPSC ★ FPSC

Which of the following logical operation can't be implemented by polynomial time graph manipulation algorithms using Binary Decision Diagrams?

Question 8 of 40
★ PPSC ★ FPSC

What is the maximum number of edges present in a simple directed graph with 7 vertices if there exists no cycles in the graph?

Question 9 of 40
★ PPSC ★ FPSC

What is the number of words that can be formed from the given Directed Acyclic Word Graph?

Question 10 of 40
★ PPSC ★ FPSC

Given an adjacency matrix A = [ [0, 1, 1], [1, 0, 1], [1, 1, 0] ], The total no. of ways in which every vertex can walk to itself using 2 edges is . . . . . . . .

Question 11 of 40
★ PPSC ★ FPSC

All Graphs have unique representation on paper.

Question 12 of 40
★ PPSC ★ FPSC

For which type of graph, the given program won't run infinitely? The Input would be in the form of an adjacency Matrix and n is its dimension (1<n<10). #include <bits/stdc++.h> using namespace std; int G[10][10]; void fun(int n); int main() { int num=0; int n; cin>>n; for(int i=0;i<n;i++) for(int j=0;j<n;j++) cin>>G[i][j]; fun(n); return 0; } void fun(int n) { for(int i=0;i<n;i++) for(int j=0;j<n;j++) if(G[i][j]==1) j--; }

Question 13 of 40
★ PPSC ★ FPSC

Which of the following is a HyperGraph, where V is the set of vertices, E is the set of edges?

Question 14 of 40
★ PPSC ★ FPSC

What is the number of edges present in a complete graph having n vertices?

Question 15 of 40
★ PPSC ★ FPSC

Graph Structured Stack finds its application in . . . . . . . .

Question 16 of 40
★ PPSC ★ FPSC

What are the dimensions of an incidence matrix?

Question 17 of 40
★ PPSC ★ FPSC

What is the number of unlabeled simple directed graph that can be made with 1 or 2 vertices?

Question 18 of 40
★ PPSC ★ FPSC

Incidence matrix and Adjacency matrix of a graph will always have same dimensions?

Question 19 of 40
★ PPSC ★ FPSC

In which case adjacency list is preferred in front of an adjacency matrix?

Question 20 of 40
★ PPSC ★ FPSC

In which of the following case does a Binary Decision Diagram is used for?

Question 21 of 40
★ PPSC ★ FPSC

A Graph Structured Stack is a . . . . . . . .

Question 22 of 40
★ PPSC ★ FPSC

In a Binary Decision Diagrams 0 values by a . . . . . . . . line and the 1 values are represented by a . . . . . . . . line.

Question 23 of 40
★ PPSC ★ FPSC

What would be the time complexity of the BFS traversal of a graph with n vertices and n 1.25 edges?

Question 24 of 40
★ PPSC ★ FPSC

Which of the following ways can be used to represent a graph?

Question 25 of 40
★ PPSC ★ FPSC

All trees with n vertices consists of n-1 edges.

Question 26 of 40
★ PPSC ★ FPSC

Binary Decision Diagram is a type of . . . . . . . .

Question 27 of 40
★ PPSC ★ FPSC

A graph with all vertices having equal degree is known as a . . . . . . . .

Question 28 of 40
★ PPSC ★ FPSC

In a Propositional Directed Acyclic Graph Leaves maybe labelled with a boolean variable.

Question 29 of 40
★ PPSC ★ FPSC

The time complexity to calculate the number of edges in a graph whose information in stored in form of an adjacency matrix is . . . . . . . .

Question 30 of 40
★ PPSC ★ FPSC

What is the degree sequence of the given HyperGraph, in non-increasing order. V = {v1,v2,v3,v4,v5,v6} E = {{v1,v4,v5} {v2,v3,v4,v5} {v2} {v1} {v1,v6}}

Question 31 of 40
★ PPSC ★ FPSC

Given Adjacency matrices determine which of them are PseudoGraphs? i. {{1,0} {0,1}} ii. {{0,1}{1,0}} iii. {{0,0,1}{0,1,0}{1,0,0}}

Question 32 of 40
★ PPSC ★ FPSC

Time complexity to find if there is an edge between 2 particular vertices is . . . . . . . .

Question 33 of 40
★ PPSC ★ FPSC

What is the number of vertices of degree 2 in a path graph having n vertices,here n>2.

Question 34 of 40
★ PPSC ★ FPSC

What would be the number of zeros in the adjacency matrix of the given graph?

Question 35 of 40
★ PPSC ★ FPSC

For which of the following combinations of the degrees of vertices would the connected graph be eulerian?

Question 36 of 40
★ PPSC ★ FPSC

What would be the DFS traversal of the given Graph?

Question 37 of 40
★ PPSC ★ FPSC

Which of the given statement is true?

Question 38 of 40
★ PPSC ★ FPSC

In which of the following does a Directed Acyclic Word Graph finds its application in?

Question 39 of 40
★ PPSC ★ FPSC

The graphs G1 and G2 with their incidences matrices given are Isomorphic. e1 e2 e3 e4 e5 e6 v1 1 0 0 0 0 0 v2 1 1 0 0 0 1 v3 0 1 1 0 1 0 v4 0 0 1 1 0 0 v5 0 0 0 1 1 1 e1 e2 e3 e4 e5 e6 v1 0 0 1 0 0 0 v2 1 0 1 0 1 0 v3 1 1 0 1 0 0 v4 0 1 0 0 0 1 v5 0 0 0 1 1 1

Question 40 of 40
★ PPSC ★ FPSC

Which of the following symbols represent leaf nodes? i. Δ ii. ◊ iii. ∇ iv. T v. ⊥

✓ Link copied to clipboard
Continue Your Practice

Advanced Mapreduce Concepts — Part 1

Master the next curriculum module with 40 exam-standard MCQs.

Next Practice Set →

💡 Examiner's Advisory for Computer Science & IT

In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.

More Modules in Computer Science & IT

View All →
📚

Study Guides

Topic summaries and syllabus breakdown

Explore Guides →
🎯

Complete Library

Search through 78,000+ verified MCQs

Browse Library →
📱

Mobile App

Offline mock tests and instant bookmarks

Get Mobile App →