Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
17 views
5 pages
RevisionTest2 Dev1 .
Development software
Uploaded by
Siyamthanda Mpinga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save RevisionTest2 Dev1 . For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
17 views
5 pages
RevisionTest2 Dev1 .
Development software
Uploaded by
Siyamthanda Mpinga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save RevisionTest2 Dev1 . For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save RevisionTest2 Dev1 . For Later
You are on page 1
/ 5
Search
Fullscreen
© Question 1 3 points Given that cost is a numeric variable, which of the following is a valid pseudocode instruction to test if the cost is over R1000-00. A. IF cost > R1000 THEN RIF cast >= R1000 THEN C._ IF cost =R1000 AND cost > R1000 THEN D. NONE OF THESE © Question 2 3 points Given that cost is a numeric variable, which of the following is not a valid pseudocode instruction DECLARE cost As Real DECLARE cost As Interger ALL OF THESE DECLARE cost As Integer pomp * Question 3 3 points Given that XX= 4, XY = 2, and XZ = 1.5, the following code will display FALSE on the screen: IF XX < XZ THEN DISPLAY “TRUE” ELSE DISPLAY "FALSE" ENDIF A. TRUE B. FALSE© Question 4 18 points ESSAY QUESTION ‘The Zaid Health Gym is giving special prices on workout sessions to new members. ‘The price for one session is based on different criteria as shown below: a. for anyone whose hometown is not Mthatha: R200 b. for anyone whose age is over 45: R100 ‘They want a program which will accept the person's hometown and age . ‘The program must then calculate and display the total price the person will pay for 50 sessions. DO THE FOLLOWING: a. Draw the IPO chart for the program [5 marks ] ‘You can write each column heading and the contents under each other. b. Write the FULL Pseudocode AND Draw the Flow Chart for the program. [23 marks ] + Question 5 3 points Evaluate k=a+b*2mod4+d+4%(10-c*d)\a where a=2,b=10,c=8,d=9mod 14 + Question 6 3 points What is displayed on the screen by the following code if SUM is 8 and NUM is 2, WHY? IF SUM-NUM> 4 + NUM THEN, ‘SUM = SUM*2 ENDIF DISPLAY SUM* Question 4 18 points ESSAY QUESTION. ‘The Zaid Health Gym is giving special prices on workout sessions to new members. ‘The price for one session is based on different criteria as shown below: a. for anyone whose hometown is not Mthatha: R200 b. for anyone whose age is over 45: R100 ‘They want a program which will accept the person's hometown and age . ‘The program must then calculate and display the total price the person will pay for 50 sessions. DO THE FOLLOWING: a. Draw the IPO chart for the program [5 marks ] ‘You can write each column heading and the contents under each other. b. Write the FULL Pseudocode AND Draw the Flow Chart for the program. [23 marks ] © Question S 3 points Evaluate k=a+b*2mod4+d+4*(10-c*d)\a where a=2, b= 10,c=8,d=9 mod 14 + Question 6 3 points What is displayed on the screen by the following code if SUM is 8 and NUM is 2, WHY? IF_SUM-NUM> 4 + NUM THEN, ‘SUM = SUM*2 ENDIF DISPLAY SUM* Question 7 3 points What is displayed on the screen by the following code if RED is input, WHY? DECLARE MSG, COLOUR AS STRING ACCEPT COLOUR IF COLOUR = “RED” THEN MSG = "YES" ENDIF MSG = "NO" DISPLAY “COLOUR IS RED “MSG * Question 8 3 points Evaluate 16 MOD 3 *2 <> 3*6-4 MOD 2, TRUE OR FALSE? SHOW YOUR WORK. * Question 9 3 points What value is in AVERAGE afier this instruction is executed, if MARK{ is 75 and MARK is 63 AVERAGE = MARK1 + MARK 2/2 A 69 B. 106.5 c. 138 D. NONE OF THESE© Question 10 3 points What is displayed on the screen by the following code if TOT1 is 20 and TOT2 is 5 IF TOT2*5>30 THEN DISPLAY TOT2 ELSE DISPLAY TOT1 ENDIF A. ToT2 BOS c. Tom D. 20 © Question 11 3 points What value is displayed on the screen by the following code if input is: 46 BEGIN DECLARE temperature AS real ACCEPT temperature IF temperature > 35 THEN DISPLAY “1 am going to the beach” ELSE DISPLAY “I am staying at home" ENDIF END © Question 12 2 points IF WEIGHT <= 50 THEN is the correct condition to use to check if a person weighs more than 50 kgs AL TRUE B. FALSE
You might also like
Undofa Wam Nguwe-1
PDF
No ratings yet
Undofa Wam Nguwe-1
1,674 pages
Software Fundamentals
PDF
No ratings yet
Software Fundamentals
77 pages
2021 DEV1 Test 2 - Exercise For Dev Question
PDF
No ratings yet
2021 DEV1 Test 2 - Exercise For Dev Question
3 pages
2210 - 02 - Status Basic - Program Design 2024
PDF
No ratings yet
2210 - 02 - Status Basic - Program Design 2024
6 pages
CP 111 Test
PDF
No ratings yet
CP 111 Test
8 pages
Homework #08 - Answers: FOR Count 1 TO 1000 INPUT A (Count) NEXT Count
PDF
No ratings yet
Homework #08 - Answers: FOR Count 1 TO 1000 INPUT A (Count) NEXT Count
93 pages
SOFTWARE FUNDAMENTALS - Quiz - QA
PDF
No ratings yet
SOFTWARE FUNDAMENTALS - Quiz - QA
15 pages
Mock Exam Paper Practical
PDF
No ratings yet
Mock Exam Paper Practical
19 pages
2210 - 02 - Status - 02november - 2023
PDF
No ratings yet
2210 - 02 - Status - 02november - 2023
4 pages
4 Mock Examinations: Candidate Name: Candidate Number: Centre Number
PDF
No ratings yet
4 Mock Examinations: Candidate Name: Candidate Number: Centre Number
19 pages
Final Exam
PDF
No ratings yet
Final Exam
21 pages
KMJ PDF
PDF
No ratings yet
KMJ PDF
11 pages
N5 Computing Science
PDF
No ratings yet
N5 Computing Science
36 pages
9 Project
PDF
No ratings yet
9 Project
5 pages
Class 9 Computer First Terminal Examination 2023-24
PDF
No ratings yet
Class 9 Computer First Terminal Examination 2023-24
4 pages
ACB - Mock - Comp 03-Dec-2024
PDF
No ratings yet
ACB - Mock - Comp 03-Dec-2024
4 pages
Gweru Diocese Comp Paper2
PDF
No ratings yet
Gweru Diocese Comp Paper2
11 pages
CS QTest2
PDF
No ratings yet
CS QTest2
10 pages
June 2016 MS - Unit 1 WJEC Computer Science A-Level
PDF
No ratings yet
June 2016 MS - Unit 1 WJEC Computer Science A-Level
15 pages
10 Project
PDF
No ratings yet
10 Project
5 pages
CE251 Java Practical List PDF
PDF
No ratings yet
CE251 Java Practical List PDF
11 pages
Ict1511 2017 6 e 1
PDF
No ratings yet
Ict1511 2017 6 e 1
15 pages
Ip Project
PDF
No ratings yet
Ip Project
68 pages
Computer Application
PDF
No ratings yet
Computer Application
4 pages
Computer Science, 9618 Home Assignment (35 Marks)
PDF
No ratings yet
Computer Science, 9618 Home Assignment (35 Marks)
5 pages
02 Control Flow Statements
PDF
No ratings yet
02 Control Flow Statements
9 pages
Test1 - SECJ1013 - 20192020 - 01
PDF
No ratings yet
Test1 - SECJ1013 - 20192020 - 01
16 pages
Selfstudys Com File
PDF
No ratings yet
Selfstudys Com File
24 pages
N5 Computing-Science QP 2022
PDF
No ratings yet
N5 Computing-Science QP 2022
36 pages
ISC Computer Project 2019-20 2
PDF
0% (2)
ISC Computer Project 2019-20 2
137 pages
ICG511S 2023 First Opportunity Memorandum Final
PDF
No ratings yet
ICG511S 2023 First Opportunity Memorandum Final
11 pages
Assessment Test Algorithms
PDF
No ratings yet
Assessment Test Algorithms
9 pages
02 - Problem Solving Program Design Tools 2 - REDUCED
PDF
No ratings yet
02 - Problem Solving Program Design Tools 2 - REDUCED
26 pages
Grade 9 Journal Assignments Final
PDF
No ratings yet
Grade 9 Journal Assignments Final
7 pages
2023 Specimen Paper 2b - 2
PDF
No ratings yet
2023 Specimen Paper 2b - 2
15 pages
Homework #07 - Answers: Jatinder Uses Internet Banking. This Pseudocode Checks Her PIN
PDF
No ratings yet
Homework #07 - Answers: Jatinder Uses Internet Banking. This Pseudocode Checks Her PIN
100 pages
12 Scenario Based Questions
PDF
No ratings yet
12 Scenario Based Questions
12 pages
Pseudocode Topicals
PDF
No ratings yet
Pseudocode Topicals
23 pages
CSG9fullportion qp23-24
PDF
No ratings yet
CSG9fullportion qp23-24
4 pages
How To Design Efficient Code That Works?
PDF
No ratings yet
How To Design Efficient Code That Works?
16 pages
VB-Mid-Term Exam With Answers
PDF
No ratings yet
VB-Mid-Term Exam With Answers
8 pages
Mid-Term Exam With Answers
PDF
No ratings yet
Mid-Term Exam With Answers
8 pages
Mid-Term Exam With Answers-1
PDF
No ratings yet
Mid-Term Exam With Answers-1
8 pages
Mid-Term Exam With Answers
PDF
No ratings yet
Mid-Term Exam With Answers
8 pages
Assignment 1 1
PDF
No ratings yet
Assignment 1 1
13 pages
G8 - U1 - MOCK EXAM - Mark Scheme
PDF
No ratings yet
G8 - U1 - MOCK EXAM - Mark Scheme
10 pages
Computer Sci
PDF
No ratings yet
Computer Sci
16 pages
Programming IV
PDF
No ratings yet
Programming IV
15 pages
Programming Concepts Kyd9xQWfPcF5SkXh
PDF
No ratings yet
Programming Concepts Kyd9xQWfPcF5SkXh
14 pages
IT G10 Practical July 2023 QP
PDF
No ratings yet
IT G10 Practical July 2023 QP
4 pages
Problem Solving
PDF
No ratings yet
Problem Solving
12 pages
Y11 CS Mock 2 Dec 2024 P2 - Answer Key
PDF
No ratings yet
Y11 CS Mock 2 Dec 2024 P2 - Answer Key
8 pages
Selection
PDF
No ratings yet
Selection
34 pages
Fundamental Quizzes
PDF
No ratings yet
Fundamental Quizzes
117 pages
Python If Else - Questions
PDF
No ratings yet
Python If Else - Questions
2 pages
Mock 2 P2 MS
PDF
No ratings yet
Mock 2 P2 MS
16 pages
IVIP Sample Question
PDF
No ratings yet
IVIP Sample Question
12 pages
Assignment 1 SHASHANK
PDF
No ratings yet
Assignment 1 SHASHANK
10 pages
Surveying 2 - Direction and Traverse Exercise
PDF
No ratings yet
Surveying 2 - Direction and Traverse Exercise
3 pages
Mock Test
PDF
No ratings yet
Mock Test
6 pages
Network Programming II Practice Test 3
PDF
No ratings yet
Network Programming II Practice Test 3
6 pages
Operating System Questions
PDF
No ratings yet
Operating System Questions
2 pages
Its15w0 Question Paper Test2 2024
PDF
No ratings yet
Its15w0 Question Paper Test2 2024
7 pages
Mod-1 2
PDF
No ratings yet
Mod-1 2
60 pages
NTP26W0 Practice Test 2 - 2025
PDF
No ratings yet
NTP26W0 Practice Test 2 - 2025
5 pages
Chapter 2 - Lecture 4
PDF
No ratings yet
Chapter 2 - Lecture 4
24 pages
Mock Test Multiple Choice
PDF
No ratings yet
Mock Test Multiple Choice
4 pages
Network Programming II Memo
PDF
No ratings yet
Network Programming II Memo
10 pages
BIS15Q1 Chapter 2
PDF
No ratings yet
BIS15Q1 Chapter 2
32 pages
Ss15w0b - System Software I B Quiz 2
PDF
No ratings yet
Ss15w0b - System Software I B Quiz 2
3 pages
Mod-1 3
PDF
No ratings yet
Mod-1 3
99 pages
Aca Lit & Life Skills - Marksheet 1
PDF
No ratings yet
Aca Lit & Life Skills - Marksheet 1
18 pages
Mod-1 1
PDF
No ratings yet
Mod-1 1
40 pages
Digital Technology, Data, and Devices: Working in The Enterprise
PDF
No ratings yet
Digital Technology, Data, and Devices: Working in The Enterprise
44 pages
Final Exam 2023 Q&A's
PDF
No ratings yet
Final Exam 2023 Q&A's
11 pages
Revision - 2022 Dev 1 Common Test 2
PDF
No ratings yet
Revision - 2022 Dev 1 Common Test 2
4 pages
Function and Relations (Part 1)
PDF
No ratings yet
Function and Relations (Part 1)
23 pages
2019 Ds1 Nov Exam Past Paper
PDF
No ratings yet
2019 Ds1 Nov Exam Past Paper
5 pages
Data Types, Numbers and Characters
PDF
No ratings yet
Data Types, Numbers and Characters
17 pages
System Software Extended Test 3
PDF
No ratings yet
System Software Extended Test 3
3 pages
Internet of Everything
PDF
No ratings yet
Internet of Everything
37 pages
McMullen ProgwPython 1e Mod03 PowerPoint
PDF
No ratings yet
McMullen ProgwPython 1e Mod03 PowerPoint
32 pages
Statistics Part 2
PDF
No ratings yet
Statistics Part 2
23 pages
Information Systems 1B Assignment
PDF
No ratings yet
Information Systems 1B Assignment
5 pages
McMullen ProgwPython 1e Mod05 PowerPoint
PDF
No ratings yet
McMullen ProgwPython 1e Mod05 PowerPoint
33 pages