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
Document preview thumbnail
Preview 3 out of 20 pages
Exam (elaborations)

CSE 205 FINAL EXAM 2026 STUDY GUIDE COMPLETE COMPUTER SCIENCE FUNDAMENTALS AND PRACTICE QUESTIONS

Document preview thumbnail
Preview 3 out of 20 pages

CSE 205 FINAL EXAM 2026 STUDY GUIDE COMPLETE COMPUTER SCIENCE FUNDAMENTALS AND PRACTICE QUESTIONS

Content preview

CSE 205 FINAL EXAM 2026 STUDY GUIDE
COMPLETE COMPUTER SCIENCE
FUNDAMENTALS AND PRACTICE QUESTIONS

◉ The statement "a function is a first-class object" means that a
function Answer: can be placed in a place where a value is expected.


◉ What notation requires parentheses in order to correctly define
the order of computation? Answer: infix notation


◉ Convert the following expression into prefix-p notation (a Scheme
statement):
-5 * (2 + 1/2) + 40 Answer: (+ (* (- 5) (+ 2 (/ 1 2))) 40)


◉ One of the major differences between the imperative and
functional programming languages is that the functional
programming languages do NOT (in general!)... Answer: have side-
effects.


◉ Which of the following is a valid Scheme expression? Answer: (* 9
(/ (- 4 2) 7))

,◉ Convert the following expression into prefix-p notation (a Scheme
statement):
10 + (5 - 3) + Answer: (+ 10 (- 5 3) (/ 2 4))


◉ Given an expression: x1 + x2 + x3 + x4


Which language allows us to evaluate the expression in this order:
(1) x1 plus x2; (2) x3 plus x4; (3) sum of ( x1 + x2 ) plus sum of ( x3
+ x4 ), without concern for producing a different result than other
evaluation orders: Answer: Scheme


◉ What is the expected result for this expression (in Scheme)?
(string-ref "Hello World" 4) Answer: #\o


◉ Which of the following expression will return false (#f)? Answer:
(number? #\7)


◉ Given this procedure, what is the return result?
(define (guess value)
(cond ((number? value) "I'm a number")
((char? value) "I'm a character")
((integer? value) "I'm a integer")))
(guess 10) Answer: "I'm a number"

, ◉ Which of the following are typical advantages of using a REPL for
software development? Answer: They let you interact with a
program after it has populated the environment to understand what
is happening.


They let you experiment with small pieces of code to understand
how they work.


◉ What data structure is used in Scheme for representing extremely
large integers? Answer: probably a list. Really: we shouldn't know or
care.


◉ The Scheme form (char? #\5) will return Answer: true (#t)


◉ What statements contain non-functional features of Scheme?
Select all that apply. Answer: (begin (write x) x)


(display x)


◉ What functional feature does the code below best exhibit?


(define start-engine (lambda ()

Document information

Uploaded on
April 14, 2026
Number of pages
20
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
£10.56

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

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.
GradeGalaxy
4.4
(9)
Sold
142
Followers
4
Items
49121
Last sold
5 hours ago



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

Working on your references?

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

Working on your references?

Frequently asked questions