100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSE240 MIDTERM REVIEW EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED 2024/2025 $10.99   Add to cart

Exam (elaborations)

CSE240 MIDTERM REVIEW EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED 2024/2025

 7 views  0 purchase
  • Course
  • Institution

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...

[Show more]

Preview 4 out of 43  pages

  • November 5, 2024
  • 43
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
avatar-seller
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

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

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

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.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67096 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.99
  • (0)
  Add to cart