100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

ITSP111

Rating
-
Sold
-
Pages
5
Grade
A
Uploaded on
15-04-2023
Written in
2022/2023

one of the best way to learn is through past papers










Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
April 15, 2023
Number of pages
5
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

Requirements for this paper:
Multi choice cards: Non-programmable calculator: Open book examination
Graphic paper: Laptop: Scrap paper x


TOETS Semester Test GRAAD: BSc IT Verlengde
TEST DEGREE: program/ Extended
program

VAKKODE: DUUR: 2 uur
ITSP111
SUBJECT CODE: DURATION: 2 hours

VAK: Inleiding tot Probleemoplossing MAKS:
SUBJECT: MAX: 75
Introduction to Problem solving

EKSAMINATOR(E): DATUM /
EXAMINER(S):
Mr Chuku Taole DATE:
03/05/2022

MODERATOR: Me M Zeeman


Instructions/Instruksies

ANSWER ALL QUESTIONS / BEANTWOORD AL DIE VRAE


Question /Vraag 1 [23]

1. What does the “top down approach” in procedure driven program design methodology consist
of? (3)
Outline the general solution 
Break down into detailed steps 
Code into specific language 


2. What is an algorithm? (2)
An algorithm is a list of steps involved in accomplishing a task. In programming terms, it is a set of detailed,
unambiguous and ordered instructions developed to describe the processes necessary to produce the
desired output from a given input. 


3. Name three rules that an algorithm must adhere to. (3)
Be clear & precise 
Always give correct solution 
Eventually end 




ITSP111: Paper / Vraestel 1 | Assessment test/Assesseringstoets | Extended full-time/Verleng voltyds 1/5

, 4. Name four (4) elementary data types and give an example of each. (4)
Integer  (half): 654  (half)
Real  (half): 18.76  (half)
Character  (half): ‘A’  (half)
Boolean  (half): true or false  (half)


5. List the six (6) basic computer operations in the correct order. (6)
Receive information 
Give output 
Perform arithmetic 
Assign values to variables 
Compare values 
Repeat a group of instructions 


6. Why is it important to give variables meaningful names? Give an example of one. (2)


Names should be meaningful to make it easier for humans to maintain programs and
readability. Instead of using xx to represent a number, we can use intNumber. 


7. Name the three components of defining a problem. (3)
Input, Process and Output 

Question /Vraag 2 [22]

1. Study the following algorithm. It has been designed to calculate the bonus amount that an
employee will earn for hours worked. A worker receives a bonus of 5% if the total number of
hours worked in two days exceeds the value of 10. Calculate and display the bonus amount.

1. pay_per_hour  R50.00
2. 1stDay  6
3. day2  7 hours
4. total hours  1stDay + day2
5. IF (total hours > 10)
Bonus 5% * (total hours * pay)
DISPLAY “Bonus”
ENDIF

The statements contain errors. Rewrite each statement correctly without errors. (7)


1. pay_per_hour  R50.00 No R character
2. 1stDay  6


ITSP111: Paper / Vraestel 1 | Assessment test/Assesseringstoets | Extended full-time/Verleng voltyds 2/5
R133,00
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
vutshilaangel

Get to know the seller

Seller avatar
vutshilaangel North-West University
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
1
Last sold
-

0,0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions