ASU CSE 240 MIDTERM QUESTIONS WITH COMPLETE SOLUTIONS
197 views 0 purchase
Module
CSE 240
Institution
CSE 240
A programming language can belong to multiple paradigms (T/F) correct answer: True
Features of the imperative or procedural paradigm includes correct answer: Manipulation of named data(variables) and conditional statements
(T/F) Logic programming languages divide the program into reasonable...
asu cse 240 midterm questions with complete solutions
Written for
CSE 240
CSE 240
Seller
Follow
Classroom
Reviews received
Content preview
ASU CSE 240 MIDTERM QUESTIONS WITH
COMPLETE SOLUTIONS
A programming language can belong to multiple paradigms (T/F) correct answer: True
Features of the imperative or procedural paradigm includes correct 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 correct answer: False
Direct execution of one statement at a time sequentially correct answer: Interpretation
simpler semantics and computation expressions in terms of mathematical function are features of which paradigm? correct answer: Functional
Expressing computation in terms of logic predicates is a feature of which paradigm? correct answer: Logic
Inheritance, classes & objects are features of which paradigm correct answer: Object Oriented
A set of principles, concepts and methods that is commonly accepted by members of a group or community correct answer: Programming Paradigm (T/F) Prolog is a functional programming language? correct answer: False
(T/F) the compiler executes the program correct answer: False
The semantic structure of imperative programming languages normally include which of the following validations correct 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 correct answer: False
(T/F) compilation of a program is to execute all the statements of the program completely correct 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 correct answer: D, E, F
What programming language uses two-step translation with intermediate codes for execution? correct answer: JAVA
(T/F) Interpretation of a program is the direct execution of one statement at a time sequentially. correct answer: True
(T/F) during compilation, all statements of a program in a high-
level language are converted to a low-level language. correct answer: True
A set of primary values and the operations defined on these values correct answer: data type
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Classroom. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £9.16. You're not tied to anything after your purchase.