CSE240 MIDTERM REVIEW EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED 2024/2025
6 views 0 purchase
Course
CSE240
Institution
CSE240
CSE240 MIDTERM REVIEW EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED 2024/2025
Stored Program Concept (von Neumann machine) is one of the most fundamental concepts in computer science. What programming paradigm most closely follows this concept?
a) imperative
b) object-oriented
c...
cse240 midterm review exam questions and answers w
Written for
CSE240
All documents for this subject (20)
Seller
Follow
AcademicSuperScores
Reviews received
Content preview
CSE240 MIDTERM REVIEW EXAM QUESTIONS AND
ANSWERS WITH COMPLETE SOLUTIONS VERIFIED
2024/2025
Stored Program Concept (von Neumann machine) is one of the most fundamental
concepts in computer science. What programming paradigm most closely follows
this concept?
a) imperative
b) object-oriented
c) functional
d)logic
a) imperative
What computing paradigm can solve a problem by describing the requirements,
without writing code in a step-wise fashion to solve the problem.
a) imperative
b)functional
c)object-oriented
d) logic
d) logic
What computing paradigm enforces stateless(no variable allowed) programming?
a) imperative
,b) object-oriented
c)functional
d)service-oriented
c)functional
What is a feature of object-oriented computing?
a) stateless
b) state encapsulation
c) platform-independent
d) side-effect free
state-encapsulation
In contrast to Web 1.0, what is the key function of Web 2.0?
a) Web is the computing platform
b) Web supports semantic analysis
c) Web supports graphic display
d) Web is accessed over HTTP Protocol
a) Web is the computing platform
Because of hardware constraints, early programming languages emphasized...
a) efficiency
b) orthogonality
c)reliability
d) readability
a) efficiency
,What factor is generally considered more important in modern programming
language design?
a) readability
b)writability
c)efficiency
d)none
a)readability
The main idea of structured programming is to
a) reduce the type of control structures
b) make programs execute faster
c) increase the types of control structures
d)use BNF to define the syntactic structures
a) reduce the types of control structures
Implicit type conversion commonly refer to as:
a) typing
b) coercion
c) casting
d) paradigm
b) coercion
In the following pseudo-code, which programming language allows the mixed use
of data types?
int i = 1; char c = 'a'; //declaration and initialization
c = c + i; // execution of an assignment statement
, a) Ada
b) C
c) Java
d) all of them
b)C
How
In the layer of programming language structure, which layer performs type
checking?
a) lexical
b) syntactic
c) contextual
d) semantic
c) contextual
How many different Identifiers can the following BNF ruleset generate?
<char> ::= a| b | c | ... | x | y | z
<identifier> ::= <char> | <char> <identifier>
a) 0
b) 1
c) 26
d) more than 26
d) more than 26
Which of the following statement is correct if a language is strongly typed. Select
all that apply.
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 AcademicSuperScores. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.99. You're not tied to anything after your purchase.