• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

Data structure & algorithms (mcqs base quiz trees & queues)

Document preview thumbnail
Preview 1 out of 3 pages

This document contains a comprehensive set of technical MCQs designed to test and reinforce knowledge of Trees and Queues, two essential data structures in computer science. The questions are strategically created to focus on key concepts, helping students to prepare for quizzes, midterms, and final exams.

Content preview

Name: _______________________ Registration Number: ______________ Section___________


University of Management and Technology (UMT)
School of Systems and Technology (SST)
Department of Computer Science

Course: Data Structures and Algorithms (CC-2042)
Quiz No. 3
Date: January 9, 2025
Semester: Fall-2024
Maximum Marks: 10
Time: 40 min
Instructor: Dr Bilal Ashfaq Ahmed
A
Advice to Student
1. Carefully read question and ensure you understand what is being asked
before starting your solution.
Question 1: - Multiple Choice Questions (MCQs) [30 Marks]

1. How many leaf nodes are present in a full binary tree with 15 nodes?
a) 8
b) 7
c) 15
d) 14
2. Which of the following is NOT true about binary trees?
a) Each node can have at most two children.
b) Binary trees must always be balanced.
c) In a binary tree, some nodes may have zero or one child.
d) Traversals include Pre-order, In-order, and Post-order.
3. What is the maximum number of nodes in a binary tree of height h ?
a) 2h−1
b) 2h+ 1−1
c) h2
d) 2h+ 1
4. Level-order traversal uses a queue data structure.
a) True
b) False




1/3

Document information

Uploaded on
September 6, 2025
Number of pages
3
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$5.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
1
Items
19
Last sold
-




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions