PROGRAMMING EXAM QUESTIONS
AND ANSWERS 100% CORRECT!
(GRADED A+)
, Define the term abstraction. - ANSWER Filtering out - ignoring - the characteristics of
patterns that we don't need in order to concentrate on those that we do. It is also the
filtering out of specific details. Using symbols to show real-life features or irrelevant
features (e.g. such as buildings) left out.
Both map making and program development make use of reusable components. Give
three examples of how reusable component parts are used in the map. - ANSWER -
Road type/type of road symbol.
- Road number symbol.
- Colour coding.
- Place labels.
Explain how programmers make use of reusable components when developing large
programs. - ANSWER Software is modular, e.g. object/function. Modules can then be
transplanted into new software or can be shared at run time through the use of program
libraries.
Explain two advantages to programmers of using reusable components when
developing programs. - ANSWER - Modules already tested so more reliable programs.
- Less development time as programs can be shorter and modules can be shared.
Describe the purpose of binary search. - ANSWER To locate an item in a list. The list is
in some order.
What is meant by recursion? - ANSWER When a function calls itself from within the
function.
What is the divide and conquer approach? - ANSWER Splitting a big problem into
smaller parts. This algorithm repeatedly splits the list in half, which reduces the amount
of searching.
What are four items of data you should obtain in order to make a sensible choice for an
app development project? - ANSWER - Popularity data.
- Platforms available.
- Sales of existing similar apps.
- Prices charged.
- Does it exist already?
How would you discuss 'It is possible to use computational methods as a way of
predicting the success of an app.'? - ANSWER - Discussions of abstraction in predicting
behaviour.