CS Test 1
CS Test 1
Name
Time : 1 hour
Answer all questions.
(vi) Flowcharts can be used to code the solution in an actual programming language. FALSE
(vii) The constructs sequence, selection and iteration are the basic building blocks of
algorithms. TRUE
(viii) A ‘container’ that holds a value that never changes; like variables, constants have
unique identifiers is called logical operator. FALSE
(ix) Repeatedly applying a method to the results of a previous application of the method is
called recursion. TRUE
(x) Brute force means an algorithm design that works by dividing a problem into smaller and
smaller sub-problems, until they are easy to solve. The solutions to these are then combined
to give a solution to the complete problem. FALSE
2.(a) Match the flow chart symbols and related definitions. q
a b c d e
(i) Indicates an input or output c (iv) Shows the logical flow of the algorithm e
3. Match the following terms with related statements explanatory notes. (Write only alphabet)
(a) iteration (b) condition (c) high-level programming language (d) identifier
(e) developer (f) logic (g) selection (h) Consistency (i) Efficiency
(vi) it must solve the problem in the shortest possible time, using as few computer resources
as possible. i
(ix) something that must happen before something else can happen b
4. A developer make a program for calculating the area of the tringle. The software could
accept base and height of the tringle from the users and the area of tringle will display to the
users. (Area of tringle = ½ * base * height )