• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

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
Preview 2 out of 6 pages

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

Content preview

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

Document information

Uploaded on
February 26, 2026
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$18.89

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
LectDan
4.0
(48)
Sold
223
Followers
157
Items
8756
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions