• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 8 páginas
Examen

Asu Cse 240 Midterm Exam (Quizzes Questions With Complete Solutions

Document preview thumbnail
Vista previa 2 fuera de 8 páginas

Asu Cse 240 Midterm Exam (Quizzes Questions With Complete Solutions

Vista previa del contenido

ASU CSE 240 MIDTERM EXAM (QUIZZES QUESTIONS WITH
COMPLETE SOLUTIONS




Event-driven computing paradigm is to - ans- d d d d d dd




define a set of events and write a handler for each event
d d d d d d d d d d d




In contrast to Web 1.0, what is the key function of Web 2.0? - ans-
d d d d d d d d d d d d d dd




Web is the computing platformd d d d




What programming language impacts the readability of the programs written in this language
d d d d d d d d d d d d




? - ans-Control Structures
d dd d




Syntax Design d




Data Structures d




What is a feature of object-oriented computing? - ans-encapsulation of states
d d d d d d d dd d d




Which command will have a loop expressed in a syntax graph? - ans-switch
d d d d d d d d d d d dd




If your program was designed to print "Hello World" ten (10) times, but during execution, it print
d d d d d d d d d d d d d d d d




ed eleven (11) times. What typeof error is it? - ans-Semantics Error
d d d d d d d d d dd d




A computer program can be broke down into several structural layers. Which of the followings
d d d d d d d d d d d d d d d




belong to these structural layers. Select all that applies. - ans-Synctatic
d d d d d d d d d dd




Contextual
Semantics

For the following BNF ruleset, which are terminal symbols? Select all that apply.
d d d d d d d d d d d d




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




<identifier> ::= <char> | <char> <identifier> - ans-y d d d d d d dd




a

What does the I (pipe) symbol in a BNF rule mean? - ans-It is an "or" operation
d d d d d d d d d d d dd d d d d




Can the identifier "base_variable" be created from the following BNF ruleset?
d d d d d d d d d d




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




<identifier> ::= <char> | <char> <identifier> - ans-No - d d d d d d dd d




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




What is the main reason of applying two-
d d d d d d d




step translation of high level programming language? - ans-One compiler for all machines
d d d d d d d dd d d d d




If you like to see accurate debugging information, which of the following program processing
d d d d d d d d d d d d d d




would you recommend? - ans-interpretationd d d dd

, A final method in java defines - ans-an inline function
d d d d d d dd d d




Macros-Processing in C takes place during which phase? - ans-Pre-processing d d d d d d d d dd




What is "func" in this C program example? d d d d d d d




#include <stdio.h> d




#define func(x, y) (x > y) ? y : x d d d d d d d d d




int main() d




{
int x = 10;
d d d d




int y = 9;
d d d d




int z = func(x, y);
d d d d d




} - ans-A macro
d dd d




Explicit type conversion is commonly refer to as - ans-Casting d d d d d d d d dd




Converting an integer value 5 to a float number 5.0 takes - ans- d d d d d d d d d d d dd




more than two machine instructions d d d d




Implicit type conversion is commonly referred to as - ans-Coercion d d d d d d d d dd




Which language will report a compilation error for the following snippet of code?
d d d d d d d d d d d d




int i = 3; d d d




double n, j = 3.0; d d d d




n = i + j; - ans-Java
d d d d d dd




Which of the following orthogonality describe this example: If a block allows one statement, it s
d d d d d d d d d d d d d d d




hould allow zero or more statements within that same block. - ans-Number orthogonality
d d d d d d d d d d dd d




Why do we need to flush the input buffer? - ans-
d d d d d d d d d dd




An unformatted input can read the newline character left from the previous input operation.
d d d d d d d d d d d d d




The imperative programming paradigm is popular and is a part of object oriented computing p
d d d d d d d d d d d d d d




aradigm, because it - ans-matches the culture of doing things by following the step- d d d dd d d d d d d d d d




wise instructions. d




is based on computer organization and thus is efficient to execute on hardware.
d d d d d d d d d d d d




A data type is defined by - ans-the operations allowed
d d d d d d dd d d




the values allowed d d




A variable declaration can involve the following attributes: - ans-scope
d d d d d d d d dd




type

Información del documento

Subido en
11 de octubre de 2026
Número de páginas
8
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$14.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
VICTORYSUCCESS
3.0
(2)
Vendido
20
Seguidores
0
Artículos
2310
Última venta
3 semanas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes