CSE240 QUIZZES EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED
7 views 0 purchase
Course
CSE240
Institution
CSE240
CSE240 QUIZZES EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED
Event-driven computing paradigm is to
define a set of events and write an event handler for each event
What is the major improvement of structured programming languages over the earlier programming languages?
Removing...
How many different identifiers can the following BNF ruleset generate?
,<char> ::= a | b | c |...| x | y | z
<identifier> ::= <char> | <char> <identifier>
more than 26
which of the following cannot be checked by an imperative or object-oriented
compiler?
semantics
Which command will have a loop when expressed in a syntax graph?
switch
If your program was designed to print "Hello World" ten times, but during
execution, it printed eleven times, what type of error is it?
Semantics error
If your application is composed of multiple modules (programs), which of the
following program processing would you recommend?
compilation
What is the main reason of applying two-step translation of high level
programming languages?
one compiler for all machines
What is "func" in this C program example?
#include <stdio.h>
#define func(x, y) (x > y) ? y : x
int main(){
int x = 10;
int y = 9;
, int z = func(x, y);
}
a macro
a final method in Java defines
an in-line function
Macros-Processing in C takes place during which phase?
pre-processing
Converting an integer value 5 to a float number 5.0 takes
more than two machine instructions
Which of the following are correct if a language is strongly typed?
each name in a program has a single type associated with it, type errors are always
reported
Which language will report a compilation error in the following snippet of code?
int i = 3;
double n, j = 3.0;
n = i + j;
Java
Type checking happens during the compilation phase, it reinforces which of the
following structural layers?
contextual
(True or False) Sort orthogonality 1 and sort orthogonality 2 implies
compositional orthogonality
true
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.49. You're not tied to anything after your purchase.