answers rated A+ 2025
The term used for a set of rules that must be strictly followed when writing a
program is:
A. Syntax
B. Key words
C. Semantics
D. Grammar - correct answer A
The following is an example of an instruction written in which computer
language? 10110000
A. Machine language
B. Assembly language
C. C++
D. JAVA - correct answer A
What is the largest value that can be stored in one byte?
A. 65535
B. 8
C. 255
D. 128 - correct answer C
The smallest storage location in a computer's memory is known as a
___________________.
A. byte
B. word
,C. bit
D. letter - correct answer C
Which error produces incorrect results but does not prevent the program from
running?
A. All of them
B. syntax
C. grammatical
D. runtime error - correct answer D
What is the informal language that programmers use to create models of
programs that have no syntax rules and are not meant to be compiled or
executed?
A. Code
B. Pseudocode
C. Algorithm
D. Flowchart - correct answer B
Which of the following is a logical operator?
A. AND
B. NOT
C. OR
D. All of the above - correct answer D
The _________ operator is a unary operator as it works with only one
operand.
A. AND
,B. NOT
C. OR
D. All of the above - correct answer B
What type of operators are the following?
> < >= <= == !=
A. Boolean
B. Relational
C. Logical
D. Mathematical - correct answer B
A condition is a _____________ expression.
A. Boolean
B. Relational
C. Logical
D. Mathematical - correct answer A
Which loop is specifically designed to initialize, test, and increment a counter
variable?
A. For
B. Do-While
C. While
D. Do-Until - correct answer A
In a(n)_______ numbering system, all numeric values are written as
sequences of 0s and 1s
, A. hexadecimal
B. binary
C. octal
D. decimal - correct answer B
A byte is made up of eight
A. CPUs
B. instructions
C. variables
D. bits - correct answer D
Computers can only execute programs that are translated into
A. C++
B. Machine Language
C. Java
D. Assembly language - correct answer B
The physical devices that a computer is made of are referred to as
A. Hardware
B. Software
C. Operating Systems
D. Compiler - correct answer A
The part of a computer that runs programs is called
A. Main Memory
B. RAM