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)

ASU CSE 240 MIDTERM Exam Complete Test , Practice Questions, Verified Answer Key, and Study Guide for (Latest 2026 Edition)

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
21-06-2026
Written in
2025/2026

ASU CSE 240 MIDTERM Exam Complete Test , Practice Questions, Verified Answer Key, and Study Guide for (Latest 2026 Edition)

Institution
ASU CSE 240
Course
ASU CSE 240

Content preview

ASU CSE 240 MIDTERM Exam Complete Test , Practice Questions, Verified
Answer Key, and Study Guide for (Latest 2026 Edition)



A programming language can belong to multiple paradigms (T/F) - (ANSWER)True



Features of the imperative or procedural paradigm includes - (ANSWER)Manipulation of named
data(variables) and conditional statements



(T/F) Logic programming languages divide the program into reasonable sized pieces named functions or
procedures or modules or subroutines - (ANSWER)False



Direct execution of one statement at a time sequentially - (ANSWER)Interpretation



simpler semantics and computation expressions in terms of mathematical function are features of which
paradigm? - (ANSWER)Functional



Expressing computation in terms of logic predicates is a feature of which paradigm? - (ANSWER)Logic



Inheritance, classes & objects are features of which paradigm - (ANSWER)Object Oriented



A set of principles, concepts and methods that is commonly accepted by members of a group or
community - (ANSWER)Programming Paradigm



(T/F) Prolog is a functional programming language? - (ANSWER)False



(T/F) the compiler executes the program - (ANSWER)False



The semantic structure of imperative programming languages normally include which of the following
validations - (ANSWER)type matching, parameters type in a function declaration should match these in
the function call, unicity



(T/F) Functional programming languages are low-level languages - (ANSWER)False

, ASU CSE 240 MIDTERM Exam Complete Test , Practice Questions, Verified
Answer Key, and Study Guide for (Latest 2026 Edition)




(T/F) compilation of a program is to execute all the statements of the program completely -
(ANSWER)False



They syntactic structure of imperative programming languages normally include which of the following
units? A. Operators B. keywords C. identifiers D. conditional statements E. loop statements F. variable
declaration - (ANSWER)D, E, F



What programming language uses two-step translation with intermediate codes for execution? -
(ANSWER)JAVA



(T/F) Interpretation of a program is the direct execution of one statement at a time sequentially. -
(ANSWER)True



(T/F) during compilation, all statements of a program in a high-level language are converted to a low-
level language. - (ANSWER)True



A set of primary values and the operations defined on these values - (ANSWER)data type



The lexical structure of all programming languages are similar and include which of the following units?
A. Identifiers B. Loop statements C. Keywords D. operators E. literals F. variable declaration -
(ANSWER)A, C, D, E



What does the follow code print?

int foo(int *n) {

*n = 30;

}int main() {

int i=15;

foo(&i);

Written for

Institution
ASU CSE 240
Course
ASU CSE 240

Document information

Uploaded on
June 21, 2026
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Free
Get access to the full document:
Download

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
Docsplus
5.0
(1)

Get to know the seller

Seller avatar
Docsplus Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
6
Member since
6 months
Number of followers
0
Documents
101
Last sold
2 weeks ago

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0

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