Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

Languages(bus 4406)questions well answered

Puntuación
-
Vendido
-
Páginas
42
Grado
A+
Subido en
10-09-2024
Escrito en
2024/2025

Languages(bus 4406)questions well answered

Institución
Bus 4406
Grado
Bus 4406

Vista previa del contenido

Languages(bus 4406)questions well
answered

True/False: Java is an example of a functional programming language - correct answer ✔✔false



which of the following is NOT a characteristic of imperative programming languages?

a) not referentially transparent

b) programming specifies the result not the steps

c) based upon the assignment

d) is dependent on state - correct answer ✔✔programming specifies the result not the steps



True/False: the revolutionary innovation that von Neumann introduced in his computer architecture was
the use of registers within the ALU - correct answer ✔✔false



which of the following NOT an example of an imperative programming language?

a) Cobol

b) Java

c) Prolog

d) Fortran - correct answer ✔✔Prolog



True/False: Programming languages offer abstraction from the details of the computer hardware. This
abstraction resulted in less programming effort but also loss of 'detail' that could potentially result in less
efficient code? - correct answer ✔✔True



True/False: the assembler language was an early step towards abstraction that allowed programmers to
use symbols for machine instructions and not binary numbers? - correct answer ✔✔true



True/False: A bus with less bits has an advantage because it operates faster and can move more data. -
correct answer ✔✔false

,True/False: the development of the C language is associated with the development of the Unix operating
system? - correct answer ✔✔true



What feature of the von Neumann architecture was unique at the time and is an element of virtually
every modern computer today?

Select one:

a. Programs and data are stored in memory to facilitate general purpose computing.

b. The use of a bus to move data between the components of the architecture

c. The use of registers in the arithmetic logic unit

d. The introduction of a control unit - correct answer ✔✔Programs and data are stored in memory to
facilitate general purpose computing.



True/False: in syntactical analysis the top-down approach is referred to LL analysis? - correct answer
✔✔true



which of the following expressions can be evaluated as syntactically correct by the following grammar?

E = N | E "+" E

N = "1" | "2" | "3" | "4" - correct answer ✔✔4 + 2 + 1



True/False: type checking is a part of the compilation process that occurs in step 2 syntax analysis -
correct answer ✔✔false



True/False: Perl is an example of a static typed programming language. - correct answer ✔✔True



True/False: the EBNF approach to grammar specification was a rewrite of the original BNF developed by
John Backus designed to normalize grammar specification? - correct answer ✔✔false



True/False: an array is comprised of a collection of elementary data types which can all be of different
types - correct answer ✔✔false

,True/False: the scope of a variable refers to the domain where a specific binding refers to the same
location in memory - correct answer ✔✔True



Which of the following is NOT one of the attributes of a variable.



a) scope

b) lifetime

c) r-value

d) name

e) all of these choices are attributes of a variable - correct answer ✔✔all of these choices are attributes
of a variable



What is the binary equivalent of decimal 25 in 2's complement? - correct answer ✔✔00011001



Specific data elements in an array are accessed using an:

a) index

b) hash

c) key

d) pointer - correct answer ✔✔index



Consider the following code segment:

for (int k=0; k<20; k=k+2)

{

if (k%3 == 1)

System.out.print(k+" ");

}

What is printed when this code is executed? - correct answer ✔✔4 10 16



The correct looping statement to use when the number of

, iterations is known is:

a. The for loop

b. The while loop

c. The do .. while loop

d. None of these answers - correct answer ✔✔the for loop



True/False: The semantics in which the address of a variable is

bound to the name of the formal parameter variable is known as

copy-in semantics or call-by-value. - correct answer ✔✔False



True/False: Actual parameters can only be specified as variables - correct answer ✔✔False



The following code segment is an example of:

void f() {

... g() ...

}

void g() {

... f() ...

} - correct answer ✔✔an indirect recursive call



True/False: The following segment of JavaScript code is valid.

if (how == "reverse")

{

parent.page1.location.href="page2.html"

}

else

{

parent.page2.location.href="page2.html"

} - correct answer ✔✔False

Escuela, estudio y materia

Institución
Bus 4406
Grado
Bus 4406

Información del documento

Subido en
10 de septiembre de 2024
Número de páginas
42
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$23.49
Accede al documento completo:

¿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


Documento también disponible en un lote

Conoce al vendedor

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.
BravelRadon Havard School
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
944
Miembro desde
4 año
Número de seguidores
540
Documentos
51112
Última venta
3 días hace
EXAM HUB

Welcome to Exam Hub Are you looking for high-quality, exam-ready notes, past papers, Test Banks, and well-researched study materials to boost your grades? You’re in the right place! I create and upload detailed, easy-to-understand, and well-structured documents across multiple subjects. All my materials are designed to help you study , save time, and excel in your coursework and exams! On this page NURSING EXAMS,STUDY GUIDES,TESTBANKS AND QUALITY EXAMS IS THE KEY TO STUDENTS CAREER EXCELLENCE, you find all documents, package deals, and flashcards offered by BravelRadon (EXAM HUB STORES!)....kindly recommend a friend for A+ GARANTEEd either you are a first-year student or final-year graduation! best of luck!

Lee mas Leer menos
3.5

161 reseñas

5
59
4
30
3
33
2
8
1
31

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