• ¿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 6 páginas
Examen

CPSC 1010 Exam 1 Review: Computer Hardware, CPU, Memory, Bits, Bytes, Main Memory, Secondary Storage, Programs, Operating Systems, Machine Language, Assembly Language, Compiler, Interpreter, Preprocessor, Syntax Errors, Semantic Errors, Algorithms, Variab

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

CPSC 1010 Exam 1 Review: Computer Hardware, CPU, Memory, Bits, Bytes, Main Memory, Secondary Storage, Programs, Operating Systems, Machine Language, Assembly Language, Compiler, Interpreter, Preprocessor, Syntax Errors, Semantic Errors, Algorithms, Variables, Primitive Data Types, Strings, String Methods, Input/Output, Operators, Type Casting, Boolean Logic, Conditional Statements, Loops, Arrays, Modulus Operator, Substrings, Escape Sequences, User Input, Object Methods, S, Java Programming Fundamentals Exam Questions Verified and Provided with Complete A+ Graded Rationales Latest Updated 2026 Which part of the computer is responsible for running programs? The CPU A byte is made up of eight --------. bits A(n) -------- is enough memory to store a letter of the alphabet, or a small number. byte The computer stores a program while the program is running, as well as the data that the program is working with in -------. main memory A(n) -------- is a set of instructions that a computer follows to perform a task. program A video display is a(n) ------- device. output A type of memory that can hold data for long periods of time, even when there is no power to the computer, is called --------. secondary storage If you were to look at a machine language program, you would see --------. a stream of bits Assembly language is considered to be a high-level language false Computers can only execute programs that are written in --------. machine language The -------- translates an assembly language program into a machine language program. assembler A(n) -------- is normally used to translate a 4th generation program into a machine language and execute it. interpreter A(n) -------- translates a high-level language program into a totally separate machine language program. compiler Your customer/client will need a compiler in order to execute a program you wrote for them in a compiled language. false Your customer/client will need the JRE in order to execute a program you write for them in Java. true Your customer/client will need the JDK in order to execute a program you write for them in Java. false The stack of "chance" cards would be an object in a computer game of Monopoly. Would you have to understand how the chance cards are stored in memory in order to be able to write code to select the next chance card from the top of the stack? no The amount of money a single player has in a computer game of Monopoly, would be a primitive variable type. true How many pieces of data can be stored inside a primitive variable in Java? 1 S is --------. the object used to represent the screen Which of the following shows a correct way to use a method (a code block) in Java? objectNdName() How many lines of output will be printed to the screen by the following Java code? Sln("Here isnsome"); Sln("screen output n from a"); Sln("few lines of Java code"); 5 What is the FIRST line of output that will be printed to the screen by the following lines of Java code? S("Here"); Sln("today"); S("Gone"); Sln("tomorrow"); Heretoday Which of the following shows an example of one or more variable declarations? int n1, n2, answ; All of the following Java data types store values in 2's compliment notation except ------. byte In Java, the number 5 is the same as the number 5.0 false An "int" can be automatically type-converted to a "float". true The following lines of Java code will not compile if the type-cast is removed from line 3: 1) double value; 2) int original = 73; 3) value = (double) original; false Calculate the answer to this equation: 13 % 5 3

Vista previa del contenido

CPSC 1010 Exam 1 Review: Computer Hardware,
CPU, Memory, Bits, Bytes, Main Memory, Secondary
Storage, Programs, Operating Systems, Machine
Language, Assembly Language, Compiler,
Interpreter, Preprocessor, Syntax Errors, Semantic
Errors, Algorithms, Variables, Primitive Data Types,
Strings, String Methods, Input/Output, Operators,
Type Casting, Boolean Logic, Conditional
Statements, Loops, Arrays, Modulus Operator,
Substrings, Escape Sequences, User Input, Object
Methods, System.out, Java Programming
Fundamentals Exam Questions Verified and
Provided with Complete A+ Graded Rationales
Latest Updated 2026


Which part of the computer is responsible for running programs?

The CPU

A byte is made up of eight --------.

bits

A(n) -------- is enough memory to store a letter of the alphabet, or a small number.

byte

The computer stores a program while the program is running, as well as the data that the
program is working with in -------.

main memory

A(n) -------- is a set of instructions that a computer follows to perform a task.

program

A video display is a(n) ------- device.

output

, A type of memory that can hold data for long periods of time, even when there is no power to
the computer, is called --------.

secondary storage

If you were to look at a machine language program, you would see --------.

a stream of bits

Assembly language is considered to be a high-level language

false

Computers can only execute programs that are written in --------.

machine language

The -------- translates an assembly language program into a machine language program.

assembler

A(n) -------- is normally used to translate a 4th generation program into a machine language and
execute it.

interpreter

A(n) -------- translates a high-level language program into a totally separate machine language
program.

compiler

Your customer/client will need a compiler in order to execute a program you wrote for them in a
compiled language.

false

Your customer/client will need the JRE in order to execute a program you write for them in Java.

true

Your customer/client will need the JDK in order to execute a program you write for them in Java.

false

The stack of "chance" cards would be an object in a computer game of Monopoly. Would you
have to understand how the chance cards are stored in memory in order to be able to write
code to select the next chance card from the top of the stack?

no

Información del documento

Subido en
26 de febrero de 2026
Número de páginas
6
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$18.89

¿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.
LectDan
4.0
(48)
Vendido
223
Seguidores
157
Artículos
8756
Ú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