Professional Documents
Culture Documents
Computer Science Cala 2021
Computer Science Cala 2021
Computer Science Cala 2021
nmuhlanga7@gmail.com
NENYASHA NALEDI
MUHLANGA
COMPUTER SCIENCE CALA COMPONENT A 2021
NENYASHA NALEDI MUHLANGA
SUB-TOPIC
COMPETENCE/SKILLS
Research
Problem solving
Design
Develop and testing
BACKGROUND
At St Johns High School there are areas where calculations are still manually done. The
teacher has decided to let learners to identify areas at St Johns where calculations are done
manually and design a calculator to solve the problem using programming language learnt
Objectives
To identify an area where calculations are being done manually
To design an interface that is user friendly to solve the problem
To program a system with the designed interface
To demonstrate how the system works
PART A
CALCULATIONS ARE BEING CARRIED OUT MANUALLY AT:
The tuck shop
Library
Dormitories
Staff houses allocation
Check in and check out of staff members
Class registers
Fees payment
Advantages of Questionnaires.
1. They are cost-efficient
2. They are practical.
3. They produce speedy results.
NENYASHA NALEDI MUHLANGA
Disadvantages of Questionnaire.
1. Dishonesty
2. Difference in understanding and interpretation.
3. Hard to convey feeling any emotions.
4. Respondents may have a hidden agenda.
Q-Question
Q1 : Does the system work efficiently? YES NO
Q2 : Is it comfortable to use? YES NO
Q3 : Is the tuckshop providing a good customer service? YES NO
Q4: Describe the problem currently being faced by the tuckshop system
………………………………………………………………………………………………………………
………………………………………………………………………………………………………………
………………………………………………………………………………………………………………
………………………………………………………………………………………………………………
Q5: Give possible solutions for the problems stated above
………………………………………………………………………………………………………………
………………………………………………………………………………………………………………
………………………………………………………………………………………………………………
Q6: Any comments for the system?
………………………………………………………………………………………………………………
………………………………………………………………………………………………………………
………………………………………………………………………………………………………………
THANK YOU
NENYASHA NALEDI MUHLANGA
Advantages of interviews.
Interviews produce a higher response rate.
The Interviewer can probe deeper into a response given by an interviewee.
Are useful for untangling complex topics.
The respondent may give more honest answers to questions.
The information collected is more reliable, sustainable and adequate for the
purpose.
It is a very easy way to get relevant information quickly.
It is flexible and enables the researcher to get large amount of information
Disadvantages of using an Interview
The interviewer can affect the data if he/she is not consistent.
It is very time consuming.
It is not used for large number of people.
The interviewer may not be biased and ask closed questions.
The following was available in the interview with the retailer
Questions to interviewees
Q-Question
Q1 : Please give a summary of the existing manual system and all its related operations?
Q2 : How are your tasks performed?
Q3 : When do pupil use the library more, and what staff are involved?
Q4: Where do you keep the book?
Q5: what do you think are some of the strengths of the current system
Q6: How do you update the current system record book
Q7: What challenges have you ever faced during your work
Q8: How would you solve such challenges
START
ENTER NAME
ENTER CLASS
ENTER NUMBER OF
PRACTICALS
DISPLAY PRACFEE
BOARDER?
TOTAL=PRACFEE+20400
TOTAL=PRACFEE+45000
DISPLAY TOTAL
STOP
NENYASHA NALEDI MUHLANGA
Start
Input name
Accept name
Input class
Accept class
If student=boarder then
Else
stop
CODES
Public Class Form1
'code for calculating fees
Private Sub btncalc_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btncalc.Click
Dim name, state As String
Dim pracdone As Integer
name = txtname.Text
state = txtbd.Text
pracdone = txtpracdn.Text
txtpract.Text = (450 * pracdone)
If txtbd.Text = "boarder" Then
MessageBox.Show("your total amount to be paid is" & txtpract.Text +
45000)
ElseIf txtbd.Text = "dayscholar" Then
MessageBox.Show("your total amount to be paid is " & txtpract.Text +
20400)
Else
MessageBox.Show("invalid entry")
End If
End Sub
'code for exit
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Me.Close()
End Sub
'code for clear
NENYASHA NALEDI MUHLANGA
End Sub
End Class
WINDOWS FORMS
OUTPUT FORM
NENYASHA NALEDI MUHLANGA
TEST PLAN
White box testing / Open box testing/ Code based.
It is a software testing method in which the internal structure/design implementation of the
item being tested is known to the tester. White box testing is useful for component,
integration and system testing and enables identification of errors in code syntax, logic, data
flow and conditions.
Advantages
Required knowledge of internals of the software under test is beneficial for
thorough testing.
Code optimization by revealing hidden errors .
Transparency of the internal coding structure which is helpful in deriving the type of
input data needed to test an application effectively .
Covers all possible paths of a code thereby, empowering a software engineering
team to conduct thorough application testing.
Enables programmer to introspect because developers can carefully describe any
new implementation.
Test cases can be easily automated.
Gives engineering-based rules to stop testing an application.
Another argument given for using white box testing technique is to verify that the
code does what it is intended to do at a very low structural level.
NENYASHA NALEDI MUHLANGA
Each form was tested individually and passed the requirements. The analyst used
this type of testing because it uses the control structure of the procedural design to
derive test cases.
Using white-box testing methods, the system analyst can derive test cases that
guarantee that all independent paths within a module have been exercised at least
once.
White-box enables the analyst to derive test cases that exercise all logical decisions
on their true and false sides.
The testing method also makes it possible to execute all loops at their boundaries
and within their operational bounds.
Disadvantages
Updated test script required when the implementation is changing too often.
Some conditions might be untested as it is not realistic to test every single one