100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

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

Rating
-
Sold
-
Pages
3
Grade
A
Uploaded on
06-09-2025
Written in
2024/2025

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.

Show more Read less
Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

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

Subjects

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
$4.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
hafizhasc

Also available in package deal

Get to know the seller

Seller avatar
hafizhasc umt
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
3 months
Number of followers
1
Documents
19
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

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

Frequently asked questions