100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSE240 QUIZ 1 & 2 EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED LATEST UPDATE $9.99   Add to cart

Exam (elaborations)

CSE240 QUIZ 1 & 2 EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED LATEST UPDATE

 6 views  0 purchase
  • Course
  • Institution

CSE240 QUIZ 1 & 2 EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED LATEST UPDATE What programming paradigm does Fortran belong to? Imperative What programming language characteristics impact the readability of the programs written in this language? Data structures, Syntax design an...

[Show more]

Preview 2 out of 5  pages

  • November 5, 2024
  • 5
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
avatar-seller
CSE240 QUIZ 1 & 2 EXAM QUESTIONS AND ANSWERS

WITH COMPLETE SOLUTIONS VERIFIED LATEST UPDATE


What programming paradigm does Fortran belong to?

Imperative

What programming language characteristics impact the readability of the

programs written in this language?

Data structures, Syntax design and Control structures

What computing paradigm enforces stateless (no side-effects) programming?

Functional

What is the major improvement of structured programming languages over the

earlier programming languages?

Removing Goto statement from the language.

What is a feature of object-oriented computing?

encapsulation of states

Given this snippet of code in C,

```

char alpha = 'a';

float numeric = alpha + 10;

```

Which of the following statements is correct:

Syntactically correct, but contextually incorrect.

, Which command will have a loop when expressed in a syntax graph?

Switch

If your program was desgined to print "Hello World" ten (10) times, but during

execution, it printed eleven (11) times. What type of error is it?

Semantics Errors.

A computer program can be broken down and viewed with several different

structural layers. Which of the following belongs to these structures? Select all

that apply.

Syntactic, Contextual, Semantic

Can the indentifier (a string) "base_variable" be created using the following BNF

rules?



<char> ::= a | b | c | ... | s | ... | x | y | z

<identifier> ::= <char> | <char>

<identifier>

No - there is an underscore in the identifier name that cannot be generated.

Which of the following would be the most significant motivation for applying two-

step translation in high level programming language?

One compiler for all machines.

During compilation, linker is used for____

resolving external references (bring in code from other libraries).

What is "func" in this C program example?

```

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79223 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
$9.99
  • (0)
  Add to cart