Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

ASU CSE 240 MIDTERM EXAM QUESTIONS WITH CORRECT ANSWERS

Beoordeling
-
Verkocht
-
Pagina's
5
Cijfer
A+
Geüpload op
09-01-2026
Geschreven in
2025/2026

ASU CSE 240 MIDTERM EXAM QUESTIONS WITH CORRECT ANSWERS

Instelling
ASU CSE 240
Vak
ASU CSE 240

Voorbeeld van de inhoud

ASU CSE 240 MIDTERM EXAM
QUESTIONS WITH CORRECT
ANSWERS

The semantic structure of imperative programming languages normally include which of
the following validations - Answer- type matching, parameters type in a function
declaration should match these in the function call, unicity

(T/F) Functional programming languages are low-level languages - Answer- False

(T/F) compilation of a program is to execute all the statements of the program
completely - Answer- False

They syntactic structure of imperative programming languages normally include which
of the following units? A. Operators B. keywords C. identifiers D. conditional statements
E. loop statements F. variable declaration - Answer- D, E, F

What programming language uses two-step translation with intermediate codes for
execution? - Answer- JAVA

(T/F) Interpretation of a program is the direct execution of one statement at a time
sequentially. - Answer- True

(T/F) during compilation, all statements of a program in a high-level language are
converted to a low-level language. - Answer- True

A set of primary values and the operations defined on these values - Answer- data type

The lexical structure of all programming languages are similar and include which of the
following units? A. Identifiers B. Loop statements C. Keywords D. operators E. literals F.
variable declaration - Answer- A, C, D, E


The principle behind the object-oriented paradigm consists of a number of programming
concepts, which does not include: - Answer- Pointers and Arrays

Interpreter - Answer- Translates in runtime and executes each statement in the high
level language

, Intermediate code - Answer- makes the language and the compiler machine-
independent

(T/F) A program in C must contain at least one main - Answer- True

Allows us to define the allowed values for a new type - Answer- enumeration (integer
constants) labels that represent an integer value

composite data type declaration that defines a physically grouped list of variables to be
placed under one name in a block of memory - Answer- structure(similar to a java class;
but DOES NOT allow methods)
A programming language can belong to multiple paradigms (T/F) - Answer- True

Features of the imperative or procedural paradigm includes - Answer- Manipulation of
named data(variables) and conditional statements

(T/F) Logic programming languages divide the program into reasonable sized pieces
named functions or procedures or modules or subroutines - Answer- False

Direct execution of one statement at a time sequentially - Answer- Interpretation

simpler semantics and computation expressions in terms of mathematical function are
features of which paradigm? - Answer- Functional

Expressing computation in terms of logic predicates is a feature of which paradigm? -
Answer- Logic

Inheritance, classes & objects are features of which paradigm - Answer- Object
Oriented

A set of principles, concepts and methods that is commonly accepted by members of a
group or community - Answer- Programming Paradigm

(T/F) Prolog is a functional programming language? - Answer- False

(T/F) the compiler executes the program - Answer- False


What does the follow code print?
int foo(int *n) {
*n = 30;
}int main() {
int i=15;
foo(&i);
printf("i=%d\n",i);
i=10;

Geschreven voor

Instelling
ASU CSE 240
Vak
ASU CSE 240

Documentinformatie

Geüpload op
9 januari 2026
Aantal pagina's
5
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$14.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Scholarsstudyguide nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
820
Lid sinds
3 jaar
Aantal volgers
475
Documenten
16133
Laatst verkocht
1 week geleden
NURSING

Here you will find everything you need in nursing Assignments, EXAMS AND TESTBANKS. For students who want to see results twice as fast. I strive for my content to be of the highest quality. Always leave a review after purchasing any document so as to make sure our customers are 100% satisfied.

3.9

168 beoordelingen

5
88
4
22
3
28
2
6
1
24

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen