ITM 207 EXAM QUESTIONS AND
ANSWERS (VERIFIED AND UPDATED)
Number of elements - ANS length of an array
reading from an array - ANS x <-- marks [1]
writing to an array (assigning a number to it) - ANS marks[3]<---18
field in which ordering is biased - ANS sort key
order the items in the collection based on the sort key - ANS sorting algorithms
instead of writing the value found on a second list, exchange it wit the value currently in the
position where the crossed off item should go - ANS selection sort
starts with last listed element, compares successive pairs of elements swapping whenevr the
bottom element of the pair is smaller than the one above it - ANS bubble sort
sorts the numbers in array in respect to one another - ANS insertion sort
other program that comes from the main program that once it carries out is sent back to the
main program - ANS subprogram
@2026/2027 ALLRIGHTS RESERVED.
, identifiers in ( ) beside subprogram - ANS parameters
identifiers in ( ) the subprogram calls - ANS arguments
ability of the subprogram to call itsself - ANS recursion
case in which we have to answer - ANS base case
algorithmic step containing unspecified details - ANS abstract step
algorithmic step in which all details are specified - ANS concrete step
the case that expresses the solution - ANS general case
the case to which we have to answer - ANS base case
names given to data - ANS identifiers
program that translates a high level language program into code - ANS compiler
program that translates and executes the statements into sequence - ANS interpreter
ability of a program to be ran on different machines - ANS portability
imperative
declarative - ANS program language paradigms
@2026/2027 ALLRIGHTS RESERVED.
ANSWERS (VERIFIED AND UPDATED)
Number of elements - ANS length of an array
reading from an array - ANS x <-- marks [1]
writing to an array (assigning a number to it) - ANS marks[3]<---18
field in which ordering is biased - ANS sort key
order the items in the collection based on the sort key - ANS sorting algorithms
instead of writing the value found on a second list, exchange it wit the value currently in the
position where the crossed off item should go - ANS selection sort
starts with last listed element, compares successive pairs of elements swapping whenevr the
bottom element of the pair is smaller than the one above it - ANS bubble sort
sorts the numbers in array in respect to one another - ANS insertion sort
other program that comes from the main program that once it carries out is sent back to the
main program - ANS subprogram
@2026/2027 ALLRIGHTS RESERVED.
, identifiers in ( ) beside subprogram - ANS parameters
identifiers in ( ) the subprogram calls - ANS arguments
ability of the subprogram to call itsself - ANS recursion
case in which we have to answer - ANS base case
algorithmic step containing unspecified details - ANS abstract step
algorithmic step in which all details are specified - ANS concrete step
the case that expresses the solution - ANS general case
the case to which we have to answer - ANS base case
names given to data - ANS identifiers
program that translates a high level language program into code - ANS compiler
program that translates and executes the statements into sequence - ANS interpreter
ability of a program to be ran on different machines - ANS portability
imperative
declarative - ANS program language paradigms
@2026/2027 ALLRIGHTS RESERVED.