CSE240 EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED
7 views 0 purchase
Course
CSE240
Institution
CSE240
CSE240 EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED
What is a programming paradigm?
A set of principles, concepts, and methods that is commonly accepted by members of a group or community.
Features of the imperative or procedural paradigm includes? manipulation of named data (va...
cse240 exam questions and answers with complete so
Written for
CSE240
All documents for this subject (20)
Seller
Follow
NurseAdvocate
Reviews received
Content preview
CSE240 EXAM QUESTIONS AND ANSWERS WITH COMPLETE
SOLUTIONS VERIFIED
What is a programming paradigm?
A set of principles, concepts, and methods that is commonly accepted by members of a
group or community.
Features of the imperative or procedural paradigm includes? manipulation of
named data (variables), encapsulation, conditional statements, classes and
objects
manipulation of named data (variables),
conditional statements.
Features of the object-oriented paradigm includes?
classes and objects
inheritance
(True, False) A programming language can belong to multiple paradigms.
True
(True, False) Prolog is a functional programming language.
False
Features of the functional paradigm includes?
simpler semantics,
expresses computations in terms of mathematical functions.
Features of the logic paradigm includes?
, expressing computation in terms of logic predicates.
The lexical structure of all programming languages are similar and normally
include which of the following units
identifiers,
keywords,
operators,
literals.
The syntactic structure of imperative programming languages normally include
which of the following units
conditional statements,
loop statements,
variable declaration.
The semantic structure of imperative programming languages normally include
which of the following validations
unicity,
type matching,
parameters type in a function declaration should match these in the function call.
This programming language uses two-step translation with intermediate codes
for execution.
Java
What is a data type?
a set of primary values and the operations defined on these values
(True, False) Functional programming languages are low-level languages
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 or Stuvia-credit 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 NurseAdvocate. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.