# Computer Science 2019 pre-release

Watch
Announcements
#1
Can anybody please give the answers for the IGCSE Computer Science pre release 2019 as I want to cross check my logic. Thank You
0
2 years ago
#2
why dont you publish your logic as i cant understand the whole thing??
1
2 years ago
#3
can you publish your logias well*
0
2 years ago
#4
(Original post by jatin7072)
why dont you publish your logic as i cant understand the whole thing??
Here is the pre release, please could you answer the questions because Im not sure if it is correct
0
2 years ago
#5
can anyone please publish the variant 2 computer science pre release for a solution
0
2 years ago
#6
Can someone tell me the answers for Computer science igcse 2019 pre release material 21 paper 2 variant 1 ?
0
1 year ago
#7
Here below is the full code for the Feb series Computer Science Pre-release Time Zone 2

toppingsArr = ["pepperoni","chicken","extra cheese","Mushrooms","Spinach","O lives"]

selectedCrustsArr = []
selectedSizesArr = []
allToppingsArr = []
MAXIMUM_TOPPINGS = 3

def pizza():

crustTypeStr = ""
sizeStr = ""
toppingStr = ""
confirmOK = ""
orderFinished = ""
nUniqueID = 0

while (orderFinished !="Exit"):
selectedToppingsArr = []
while True:
crustTypeStr = input("Enter the thickness of the pizza (thick/thin):")
if (crustTypeStr != 'thick' and crustTypeStr !='thin'):
print("Invalid input")
continue
else:
break

while True:
sizeStr = input("Enter the size of the Pizza (s/m/l):")
if (sizeStr != 's' and sizeStr != 'm' and sizeStr != 'l'):
print("Invalid input")
continue
else:
break

counter = 0
nToppingCount = 0

while(counter < len(toppingsArr)):
toppingStr = input("Do you want to add [" + toppingsArr[counter] + "]? Input Yes or No:" )
if(toppingStr != "Yes" and toppingStr !="No"):
continue
else:
if (toppingStr == "Yes"):
selectedToppingsArr.append(toppi ngsArr[counter])
nToppingCount = nToppingCount+1
counter = counter+1
if (nToppingCount==MAXIMUM_TOPPINGS ):
break

while True:
confirmOK = input("Order summary\nType Of Crust:" + crustTypeStr + "\n" + "size of your pizza:" + sizeStr + "\n" + str(selectedToppingsArr) + "\nconfirm order Yes/No:")
if (confirmOK!='Yes' and confirmOK!='No'):
print("Invalid input")
continue
elif ( confirmOK == 'No'):
break
else:
selectedCrustsArr.append(crustTy peStr)
selectedSizesArr.append(sizeStr)
allToppingsArr.append(selectedTo ppingsArr)
break

while True:
orderFinished = input("Do you wish to add more Pizzas to your order, Continue/Exit:")
if ( orderFinished != "Exit" and orderFinished!= "Continue"):
continue
else:
if(len(selectedCrustsArr)>0):
nUniqueID = nUniqueID + 1
print ("Your unique ID is: " + str(nUniqueID))
break

print (str(selectedCrustsArr.count("th in")) + " is the number of thin crust pizzas ordered")
print (str(selectedCrustsArr.count("th ick")) + " is the number of thick crust pizzas ordered")
print (str(selectedSizesArr.count("s") ) + " is the number of small pizzas ordered")
print (str(selectedSizesArr.count("m") ) + " is the number of medium pizzas ordered")
print (str(selectedSizesArr.count("l") ) + " is the number of large pizzas ordered")
print (nUniqueID + "pizzas have been ordered")

pizza()
Last edited by karan.kulkarni; 1 year ago
0
1 year ago
#8
@karan.kulkarni could u do me a favour and write the 2019 die igcse pre-release in pseudocode for the June series ?
safe my g x
0
1 year ago
#9
Hey. My exams are actually starting in a few days but you can message me and I'll see what I can do about it.

(Original post by Shalin Thanki)
@karan.kulkarni could u do me a favour and write the 2019 die igcse pre-release in pseudocode for the June series ?
safe my g x
0
1 year ago
#10
@karan.kulkarni could u do me a favour and write the 2019 die igcse pre-release in pseudocode for the June series ?
safe my g x
1
1 year ago
#11
(Original post by karan.kulkarni)
Here below is the full code for the Feb series Computer Science Pre-release Time Zone 2

toppingsArr = ["pepperoni","chicken","extra cheese","Mushrooms","Spinach","O lives"]

selectedCrustsArr = []
selectedSizesArr = []
allToppingsArr = []
MAXIMUM_TOPPINGS = 3

def pizza():

crustTypeStr = ""
sizeStr = ""
toppingStr = ""
confirmOK = ""
orderFinished = ""
nUniqueID = 0

while (orderFinished !="Exit"):
selectedToppingsArr = []
while True:
crustTypeStr = input("Enter the thickness of the pizza (thick/thin):")
if (crustTypeStr != 'thick' and crustTypeStr !='thin'):
print("Invalid input")
continue
else:
break

while True:
sizeStr = input("Enter the size of the Pizza (s/m/l):")
if (sizeStr != 's' and sizeStr != 'm' and sizeStr != 'l'):
print("Invalid input")
continue
else:
break

counter = 0
nToppingCount = 0

while(counter < len(toppingsArr)):
toppingStr = input("Do you want to add [" + toppingsArr[counter] + "]? Input Yes or No:" )
if(toppingStr != "Yes" and toppingStr !="No"):
continue
else:
if (toppingStr == "Yes"):
selectedToppingsArr.append(toppi ngsArr[counter])
nToppingCount = nToppingCount+1
counter = counter+1
if (nToppingCount==MAXIMUM_TOPPINGS ):
break

while True:
confirmOK = input("Order summary\nType Of Crust:" + crustTypeStr + "\n" + "size of your pizza:" + sizeStr + "\n" + str(selectedToppingsArr) + "\nconfirm order Yes/No:")
if (confirmOK!='Yes' and confirmOK!='No'):
print("Invalid input")
continue
elif ( confirmOK == 'No'):
break
else:
selectedCrustsArr.append(crustTy peStr)
selectedSizesArr.append(sizeStr)
allToppingsArr.append(selectedTo ppingsArr)
break

while True:
orderFinished = input("Do you wish to add more Pizzas to your order, Continue/Exit:")
if ( orderFinished != "Exit" and orderFinished!= "Continue"):
continue
else:
if(len(selectedCrustsArr)>0):
nUniqueID = nUniqueID + 1
print ("Your unique ID is: " + str(nUniqueID))
break

print (str(selectedCrustsArr.count("th in")) + " is the number of thin crust pizzas ordered")
print (str(selectedCrustsArr.count("th ick")) + " is the number of thick crust pizzas ordered")
print (str(selectedSizesArr.count("s") ) + " is the number of small pizzas ordered")
print (str(selectedSizesArr.count("m") ) + " is the number of medium pizzas ordered")
print (str(selectedSizesArr.count("l") ) + " is the number of large pizzas ordered")
print (nUniqueID + "pizzas have been ordered")

pizza()
Hey!! can you please send the pseudocode and/or flowchart for this? I am sure you must've made one
0
1 year ago
#12
hello everyone, I can give everyone task 1 and 2 for the busses but task 3 is hard and I don't know how to do it and I need help...for 0478
0
1 year ago
#13
can u give me the pseudocode for 1, and 2...I will work on 3 and share it with u

(Original post by programming_pain)
hello everyone, I can give everyone task 1 and 2 for the busses but task 3 is hard and I don't know how to do it and I need help...for 0478
0
1 year ago
#14
Search on youtube for IGCSE 2019 Pre release Computer Science. Mr Raynor Computer Science channel has a video on it.
(Original post by Shalin Thanki)
can u give me the pseudocode for 1, and 2...I will work on 3 and share it with u
1
1 year ago
#15
I have done all three tasks and I guess by now everyone has, so just good luck for your exams.
1
1 year ago
#16
hi sub bro i am realy nt knowning what to revise and the teachers note sucks if got any thing that can help just tell me plz
0
1 year ago
#17
I have done all three tasks and I guess by now everyone has, so just good luck for your exams.
hi sub bro i am realy nt knowning what to revise and the teachers note sucks if got any thing that can help just tell me plz
0
1 year ago
#18
How long are your prereleases (I'm doing the one with the school buses)
0
1 year ago
#19
mine is the auction one

(Original post by sentry_going_up)
How long are your prereleases (I'm doing the one with the school buses)
0
1 year ago
#20
mine is the auction one

(Original post by sentry_going_up)
How long are your prereleases (I'm doing the one with the school buses)
0
X

new posts
Back
to top
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

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

### Poll

Join the discussion

#### Do you have the space and resources you need to succeed in home learning?

Yes I have everything I need (207)
57.34%
I don't have everything I need (154)
42.66%