Mohamed205200
Badges: 3
Rep:
?
#1
Report Thread starter 3 years ago
#1
Does any one has solution for cambridge Computer science pre release in pseudocode may 2018 ?
Exam code : 0478
0
reply
sr.luis
Badges: 3
Rep:
?
#2
Report 3 years ago
#2
Hi mohamed205200 have you find it yet? I am also looking for it and cant find it. Thank you
0
reply
josh.lawrxnce
Badges: 3
Rep:
?
#3
Report 3 years ago
#3
Pre-Release pseudocode Task 1TASK 1components(1:6) As String  {“Processor”, “RAM”, “Storage”, “Screen”, “Case”, “USB ports”}choices(1:13) As String  {“P3”, “P5”, “P7”…}prices(1:13) As Real  {“100”, “120”, 200”…}estimateNumber  1totalCost  0compNo  1LocOfcompChosen(1:6) As Integer PRINT (“Please choose a processor: P3, P5, P7”)curChoice  USERINPUTLocOfcompChosen(compNo) indexOf curChoice in choicescompNo  compNo 1For x  4 to 13 Step 2PRINT (components(compNo))PRINT (choices(x), choices(x 1))curChoice  USERINPUTLocOfcompChosen(compNo) indexOf curChoice in choicescompNo  compNo 1NEXTPRINT (“Estimate Number (1)” estimateNumber)For y  1 to 6 step 1PRINT(components(y))PRINT(choices(LocOfcompChosen(y))PRINT(prices(LocOfcompChosen(y))totalCost  totalCost prices(LocOfcompChosen(y)NEXTtotalCost  totalCost * 1.2PRINT(“Total cost of computer = {1}”, totalCost)estimateNumber  estimateNumber 1
1
reply
Eventhough11111
Badges: 0
Rep:
?
#4
Report 3 years ago
#4
(Original post by josh.lawrxnce)
Pre-Release pseudocode Task 1TASK 1components(1:6) As String  {“Processor”, “RAM”, “Storage”, “Screen”, “Case”, “USB ports”}choices(1:13) As String  {“P3”, “P5”, “P7”…}prices(1:13) As Real  {“100”, “120”, 200”…}estimateNumber  1totalCost  0compNo  1LocOfcompChosen(1:6) As Integer PRINT (“Please choose a processor: P3, P5, P7”)curChoice  USERINPUTLocOfcompChosen(compNo) indexOf curChoice in choicescompNo  compNo 1For x  4 to 13 Step 2PRINT (components(compNo))PRINT (choices(x), choices(x 1))curChoice  USERINPUTLocOfcompChosen(compNo) indexOf curChoice in choicescompNo  compNo 1NEXTPRINT (“Estimate Number (1)” estimateNumber)For y  1 to 6 step 1PRINT(components(y))PRINT(choices(LocOfcompChosen(y))PRINT(prices(LocOfcompChosen(y))totalCost  totalCost prices(LocOfcompChosen(y)NEXTtotalCost  totalCost * 1.2PRINT(“Total cost of computer = {1}”, totalCost)estimateNumber  estimateNumber 1
Do you have the solutions for task 2 or 3? Thanks
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

If you haven't confirmed your firm and insurance choices yet, why is that?

I don't want to decide until I've received all my offers (39)
40.63%
I am waiting until the deadline in case anything in my life changes (21)
21.88%
I am waiting until the deadline in case something in the world changes (ie. pandemic-related) (5)
5.21%
I am waiting until I can see the unis in person (9)
9.38%
I still have more questions before I made my decision (5)
5.21%
No reason, just haven't entered it yet (6)
6.25%
Something else (let us know in the thread!) (11)
11.46%

Watched Threads

View All