Computer Science 2019 pre-release
Watch
Announcements
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
reply
Report
#4
(Original post by jatin7072)
why dont you publish your logic as i cant understand the whole thing??
why dont you publish your logic as i cant understand the whole thing??
0
reply
Report
#5
can anyone please publish the variant 2 computer science pre release for a solution
0
reply
Report
#6
Can someone tell me the answers for Computer science igcse 2019 pre release material 21 paper 2 variant 1 ?
0
reply
Report
#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()
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
reply
Report
#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
safe my g x
0
reply
Report
#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
@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
reply
Report
#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
safe my g x
1
reply
Report
#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()
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()
0
reply
Report
#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
reply
Report
#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
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
reply
Report
#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
can u give me the pseudocode for 1, and 2...I will work on 3 and share it with u
1
reply
Report
#15
I have done all three tasks and I guess by now everyone has, so just good luck for your exams.
1
reply
Report
#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
reply
Report
#17
(Original post by KiraTadashi)
I have done all three tasks and I guess by now everyone has, so just good luck for your exams.
I have done all three tasks and I guess by now everyone has, so just good luck for your exams.
0
reply
Report
#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)
How long are your prereleases (I'm doing the one with the school buses)
0
reply
Report
#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)
How long are your prereleases (I'm doing the one with the school buses)
0
reply
X
Quick Reply
Back
to top
to top