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
Document preview thumbnail
Vista previa 2 fuera de 5 páginas
Examen

COMP 110 Quiz || Verified for Accuracy.

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

COMP 110 Quiz || Verified for Accuracy.

Vista previa del contenido

COMP 110 Quiz || Verified for Accuracy.
T/F. A single cell in your computer's memory can store an English word up to 8 character long.
correct answers false. it can hold one character


T/F. In order for the programs we write in a high-level programming language to run on a
processor (CPU), the program must first be compiled or translated into machine code. correct
answers True


When you are working in a REPL console you are.... correct answers programming interactively


What is the data type of: false correct answers boolean


What is the data type of: "hello, world" correct answers string


What is the plus sign in the following expression called: "1" + "1" correct answers concatenation
operator


How should you NOT read the following assignment statement: y = 1; correct answers nothing
with equals in it


The following is a valid assignment statement: 1 = x; correct answers False it should be x = 1;


The following is a valid assignment statement: x = x +1; correct answers true


What is it called the first time you assign a value to a variable? correct answers initialization


What is the !== operator? correct answers not equal to


What does the following expression evaluate to? false === false correct answers true

, What does the following expression evaluate to: false && false correct answers false


Assume 'ready' is a boolean variable. What does the following expression evaluate to: ready || !
ready correct answers true bc it's ready or not ready


In an if-then statement, code in the "then block" runs only when the test condition is false correct
answers false, it runs when it's true


In a if-then-else statement, code in the "else block" runs only when the test condition is false
correct answers true


You can *nest* if-then-else statements within the then or else blocks of other if-then-else
statements correct answers true


To avoid an infinite while loop.... correct answers you need a condition and something changing
inside the loop


A while loop's retreat block will *always* run at least once correct answers false, there is not
guarantee the loop will run at all


a function definiton correct answers is a subprogram


argument values..... correct answers are passed to parameters in a function cell


the return type specifies... correct answers the type of value that will be returned to the function
call


functions are.... correct answers -a fundamental unit of process abstraction

Información del documento

Subido en
6 de abril de 2026
Número de páginas
5
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$10.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.
SirAnton
3.7
(117)
Vendido
788
Seguidores
438
Artículos
39623
Última venta
1 semana 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