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 8 páginas
Examen

CNIT 155 CORE EXAM TEST 2026 QUESTIONS AND SOLUTIONS RATED

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

CNIT 155 CORE EXAM TEST 2026 QUESTIONS AND SOLUTIONS RATED

Vista previa del contenido

CNIT 155 CORE EXAM TEST 2026 QUESTIONS AND
SOLUTIONS RATED A+
✔✔Which of the following is true about an integer? - ✔✔An integer can be stored as a
variable

✔✔T or F: Boolean only has two possible values. - ✔✔True

✔✔Which of the following is an example of a boolean value? - ✔✔True

✔✔T or F: "Hello, World!" is a string - ✔✔True

✔✔Which of the following displays a proper string literal? - ✔✔ProgrammingDialogue =
'Coding in python is fun!'

✔✔Which of the following is an example of a comment in python? - ✔✔# This is a
comment in python

✔✔What is the name of the python function that tells you a class? - ✔✔Type

✔✔T or F: A string is a numerical type of data. - ✔✔False

✔✔What is the extension of the source file for a python program? - ✔✔.py

✔✔Which of the following is a legal variable name? - ✔✔studentname1

✔✔Rules of naming identifiers include the following, except: - ✔✔Can include a space

✔✔T or F: Values cannot be converted from one type to another. - ✔✔False

✔✔What is Semantics? - ✔✔Rules that say what the program means

✔✔What is Machine Code? - ✔✔Numbers treated as instructions by the CPU. EX: 05
01 23

✔✔What is Assembly Code? - ✔✔Humanly readable way of writing machine code.
EX:
add EAX, 1
mov [ESP+4], EAX

✔✔When is Assembly code used? - ✔✔In small devices where the size of code is
important, in hardware specific code like device drivers, where performance is critical

, ✔✔T or F: High-level language can be translated into many different machine code
languages for different processors. - ✔✔True

✔✔What is a Source Program? - ✔✔A program written in a high-level language

✔✔What is Interpreter? - ✔✔Translates the statements and executes the statements in
order

✔✔What is Compiler? - ✔✔Translates statements in a language into machine code

✔✔What is IDE? - ✔✔Integrated development environment that combines several
programming tools together into one cohesive program

✔✔What is the structure of a Python Program? - ✔✔def main ():
Indentation
and
blocks
main ();

✔✔T or F: Comments should say why you are doing something. - ✔✔True

✔✔What is a String Literal? - ✔✔A stream of characters enclosed in double quotes

✔✔What does \n do? - ✔✔Inserts a new line in the output

✔✔What does \t do? - ✔✔Inserts a tab

✔✔What does \\ do? - ✔✔Displays \

✔✔What does \" do? - ✔✔Displays "

✔✔What are the three phases of solving any problem? - ✔✔Inputs, then Processing,
then Outputs

✔✔What is the data in a program? - ✔✔Data value, data types, data name, data
conversion

✔✔What is Data Value? - ✔✔A value is one of the fundamental things, like a word or a
number, that a program manipulates

✔✔What is Data Type? - ✔✔Data values can be classified into different classes

✔✔These are examples of numerical data types - ✔✔Integers, Floating point numbers,
complex numbers

Información del documento

Subido en
16 de abril de 2026
Número de páginas
8
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$11.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.
BOARDWALK
3.5
(40)
Vendido
276
Seguidores
8
Artículos
32861
Última venta
6 días 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