Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 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

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

Written for

Document information

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

Subjects

$13.99
Get access to the full document:

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

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
173
Member since
2 year
Number of followers
31
Documents
4552
Last sold
1 week ago

3.7

25 reviews

5
11
4
1
3
10
2
1
1
2

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