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

IT 320 Fundamentals of Programming Comprehensive Final Exam 2025 (With Solns)

Rating
-
Sold
-
Pages
42
Uploaded on
03-05-2025
Written in
2024/2025

IT 320 Fundamentals of Programming Comprehensive Final Exam 2025 (With Solns)IT 320 Fundamentals of Programming Comprehensive Final Exam 2025 (With Solns)IT 320 Fundamentals of Programming Comprehensive Final Exam 2025 (With Solns)IT 320 Fundamentals of Programming Comprehensive Final Exam 2025 (With Solns)IT 320 Fundamentals of Programming Comprehensive Final Exam 2025 (With Solns)

Show more Read less











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

Document information

Uploaded on
May 3, 2025
Number of pages
42
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown

Subjects

Content preview

IT 320 Fundamentals of Programming

Comprehensive Final Exam (Qns & Ans)

2025


Question 1 (Multiple Choice)
Question:
Which programming paradigm treats computation as the
evaluation of mathematical functions and emphasizes
immutability and lack of side effects?
A) Procedural Programming
B) Object-Oriented Programming
C) Functional Programming
D) Logic Programming


Correct ANS:
C) Functional Programming
©2025

, Rationale:
Functional programming focuses on pure functions where each
function, given the same input, returns the same output without
side effects. This paradigm contrasts with procedural or object-
oriented approaches that rely more on mutable state.


---


Question 2 (Fill in the Blank)
Question:
A function that always returns the same output for the same input
and produces no observable side effects is known as a ________
function.


Correct ANS:
pure


Rationale:
Pure functions are central to functional programming. Their
predictability and lack of side effects make them easier to test,
debug, and parallelize.


©2025

,---


Question 3 (True/False)
Question:
True/False: In Python, using a mutable object as a default
function argument can lead to unexpected behavior when the
function is called multiple times.


Correct ANS:
True


Rationale:
In Python, default arguments are evaluated only once at function
definition. If a mutable object (like a list or dictionary) is
modified during one call, subsequent calls will see that modified
object, which may lead to unintended consequences.


---


Question 4 (Multiple Response)
Question:


©2025

, Select all features that are hallmark characteristics of Object-
Oriented Programming (OOP):
A) Encapsulation
B) Inheritance
C) Recursion
D) Polymorphism
E) Exception Handling


Correct ANS:
A, B, D


Rationale:
OOP is defined by core concepts such as encapsulation (bundling
data with methods), inheritance (extending properties from a base
class), and polymorphism (using a unified interface for different
underlying forms). Recursion is a common algorithmic technique,
and exception handling is a language feature available in many
paradigms.


---


Question 5 (Multiple Choice)

©2025

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Bankart Chamberlain College of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
145
Member since
2 year
Number of followers
31
Documents
4502
Last sold
4 days ago

3.6

21 reviews

5
9
4
0
3
9
2
1
1
2

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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions