It Sba 2016 0.1.2
It Sba 2016 0.1.2
It Sba 2016 0.1.2
INFORMATION TECHNOLOGY
School based assessment.
IT SBA 2016
Last Edit: 5/19/2016 8:38:34 AM
Introduction:
In an effort to use what you use in information technology you have been sent to integrate your IT SBA
with other subjects and events at your school. The aim is to integrate it in a meaningful manner as a
tool for your school, or even demonstrating a principle in a subject area.
1. In this section, you will use your problem solving skills to create Mathematics tool.
This tool would find the roots of a quadratic equation of the form:
y=
And the roots are given by
IT SBA 2016
Last Edit: 5/19/2016 8:38:34 AM
See the following example on using the equation to solve the formula:
Your program must allow the user to solve any number of quadratic equations. i.e Prompt the user to
enter a set of values for a, b and c and print results to the screen until the user chooses to end this
process.
After the user has ended this process, output results for each set of values in the order entered.
Use the following function from the crt library to calculate square root : sqrt()
writeln (sqrt(25));
IT SBA 2016
Last Edit: 5/19/2016 8:38:34 AM
i. Start your solution. Include supporting evidence for top down stepwise
refinement, i.e an INPUT,PROCESSING, OUTPUT table. [1 mark]
b. When you have settled on a strategy for solving your problem, create an algorithm that
solves the problem.
ii. Construct your algorithm. You must include these steps in this order:
iii. You must create trace tables to test all scenarios [2 marks]:
NOTE: Step 1 above can be accomplished in one trace table, and steps 2 to 4
can be accomplished in another.
You must print the source code for your program and submit it within your report. Also, submit a soft
copy of your program.
IT SBA 2016
Last Edit: 5/19/2016 8:38:34 AM
Mark
Processes Key Skills Allocation Mark
Algorithm Development
Problem Statement Problem Is clearly defined
that Defines the Problem 1
Representing the solution in
flowchart or pseudocode Start of solution 1
Definition of variables :
identify variables 1
initialize variables 1
Processing:
Request for data 1
storing data 2
apropriate use of selection statements
loops 2
output results 1
Totals 10 0
Trace Table Development
All variables correctly
Constructing the trace table identified and used 1
DataSet Complete
Data set test ALL areas for robustness 2
Data set tests some areas [1]
Output
output is correct for all values f teacher's
dataset 2
Output correct for Some Values [1]
The effectiveness with which the
language features Apropriate use of the features of the language
are used to achieve a working
solution Choice of datatypes correct for all variables 2
IT SBA 2016
Last Edit: 5/19/2016 8:38:34 AM
Totals 15 0
i
Image taken from http://www.simtutor.com/Algebra_Solve_Quadratic_Equations.php