Paper 1 Exam
Questions and Answers
What is an integer? - Answer>> A positive or negative whole
number
What is a Real or Float number? - Answer>> A positive or
negative number that can have a fractional part.
What is a Boolean? - Answer>> True or False
What is a character? - Answer>> A single letter, number or
symbol
What is a string? - Answer>> A group of characters
What is Date/Time? - Answer>> A way of storing Date/Time
What is a pointer? - Answer>> A way of storing a memory
address.
What is a record? - Answer>> A collection of related fields,
each of which could hold a different data type.
What is an array? - Answer>> A finite, indexed set of related
elements of the same data type.
What is a user defined data type? - Answer>> A data type
derived from existing data types in order to create a customized
data structure.
,What is variable declaration? - Answer>> Creating a variable
for the first time. giving it a name and sometimes a data type.
What is constant decleration? - Answer>> Creating a constant
for the first time.
What is assignment? - Answer>> giving a constant or a variable
a value.
what is iteration? - Answer>> repetition of a process e.g. a
while or for loop. this could be definite or indefinite.
What is selection? - Answer>> comparing values and then
choosing an appropriate action. e.g. an if statement.
what is a subroutine? - Answer>> A named block of code
containing a set of instructions designed to perform a frequently
used operation.
What is definite iteration? - Answer>> the number of repititions
is known before the loop starts.
What is indefinite iteration? - Answer>> the number of
repititions is not known before the loop starts.
What is a nested structure? - Answer>> One structure is placed
within another. Easily identified by indentation.
What is meant by meaningful identifier names? - Answer>>
Giving constants, variables and subroutines sensible and
meaningful identifier names.
, What does the real/float division operator do? - Answer>>
divides one number by the other.
What does the integer division operator do? - Answer>> divides
one number by the other but only returns the whole number part.
What does the modulo operator do? - Answer>> returns the
remainder of an integer division.
What does the exponentiation operator do? - Answer>> raises
one value to the power of another.
What does the rounding operator do? - Answer>> limits the
degree of accuracy of a number. (rounds up or down)
What does the truncation operator do? - Answer>> removes the
decimal part of a number. (never rounds up)
what does the string handling function "Length" do? - Answer>>
Returns the number of characters in a specified string.
what does the string handling function "position" do? -
Answer>> returns the position of a specified character within a
string.
what does the string handling function "concatenation" do? -
Answer>> joins two or more strings together to form a new and
longer string.
Is a function required to return a value? - Answer>> yes