PROGRAMMING PRACTICE EXAMINATION
2026 QUESTIONS WITH ANSWERS
GRADED A+
◍ String literal.
Answer: Consists of text (characters) within double quotes, as in "Go #57!".
◍ Identifier.
Answer: A name created by a programmer for an item like a variable or
function. An identifier must: be a sequence of letters (a-z, A-Z), underscores
(_), and digits (0-9), AND start with a letter or underscore.
◍ Testing phase.
Answer: Checks that the program correctly meets the goal.
◍ Compiled language.
Answer: First converted by a tool (compiler) into machine code, which can
run on a particular machine. Examples include C, C++, and Java.
◍ How many branches execute for an If-elseif branch.
Answer: one branch
◍ Return statement.
Answer: Returns the specified value and immediately exits the function.
◍ Popular examples of statically typed programming language.
Answer: C, C++, Java
◍ Structural diagram.
Answer: Visualizes static elements of software, such as the types of
variables and functions used in the program.
,◍ Incremental Development.
Answer: A process in which a programmer writes and tests a few statements,
then writes and tests a small amount more.
◍ Object Orientated Languages.
Answer: C++JavaPythonC#
◍ Element.
Answer: Each item in an array.
◍ Precedence rules.
Answer: An expression is evaluated using the order of standard
mathematics.
◍ Expression.
Answer: a combination of items, like variables, literals, operators, and
parentheses, that evaluates to a value
◍ What is a markup language?.
Answer: A markup language allows a developer to describe a document's
content, desired formatting, or other features.
◍ Interpreted language (scripting language).
Answer: A language that is run one statement at a time by another program
called an interpreter. Examples include Python, Javascript, C#, and
MATLAB.
◍ newline.
Answer: Special two-character sequence \n whose appearance in an output
string literal causes the cursor to move to the next output line.
◍ Non-object oriented languages.
Answer: C
◍ String.
Answer: A sequence of characters, like "Hello".
◍ Why is dynamically typed languages are considered easier to used?.
, Answer: Requires less converting or fewer variables
◍ Which phase of the SDLC do you start coding.
Answer: Implementation
◍ RandomNumber().
Answer: A function is a built-in zyFlowchart function that takes two
arguments, lowValue and highValue, and returns a random integer in the
range lowValue to highValue. Ex: RandomNumber(1, 10) returns a random
integer in the range 1 to 10.
◍ Boolean.
Answer: Type that has just two values: true or false.
◍ when do you use a for loop.
Answer: When you know how many times you want to repeat a block of
code. A for loop is also called a definite loop.
◍ constant.
Answer: A named value item that holds a value that cannot change.
◍ Incremental development.
Answer: The process of writing, compiling, and testing a small amount of
code, then writing, compiling, and testing a small amount more (an
incremental amount), and so on.
◍ Not a number.
Answer: Indicates an unrepresentable or undefined value.
◍ do-while loop.
Answer: Loop that first executes the loop body's statements, then checks the
loop condition.
◍ Systems development life cycle (SDLC).
Answer: Analysis Phase, Design Phase, Implementation phase, testing phase
◍ Literal.
Answer: A specific value in code, like 2.