Can someone help but NOT as a script. In OUBUild. I don't have clue how to approtch this : Open the project TM111_02_Q1.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Can someone help but NOT as a script. In OUBUild. I don't have clue how to approtch this : Open the project TM111_02_Q1.

Post by answerhappygod »

Can someone help but NOT as a script. In OUBUild. I don't haveclue how to approtch this :
Open the project TM111_02_Q1.sb2.
This project is intended to implement a program to help theteacher record the distance (to the nearest kilometre) pupils runon a cross-country trail, up to a maximum of 25 km.
Can Someone Help But Not As A Script In Oubuild I Don T Have Clue How To Approtch This Open The Project Tm111 02 Q1 1
Can Someone Help But Not As A Script In Oubuild I Don T Have Clue How To Approtch This Open The Project Tm111 02 Q1 1 (118.18 KiB) Viewed 51 times
In this project, we have provideda when_green_flag_clicked script anda when[space]key_pressed script. Consider these scriptscarefully and then answer the questions below.
a.Complete the step-by-step description below of whatthe when[space]key_pressed script does when the userstarts the program using the green flag, then presses the spacekey, and enters ‘Dani’, and then 20.
The user is asked to enter a pupil’s name. Their input,‘Dani’, is stored in the variable name.
The user is asked to enter the distance run by the pupil asa whole number out of 25 …
Your description should make clear what data is stored in thevariables and the list involved, and the result of any comparisonthat is made. You should describe what happens in the particularscenario here, with the inputs ‘Dani’ and 20, not what thescript does in general or what might have happened with differentinputs.
(4 marks)
b.
i.Identify a numerical value in this program that mightappropriately be stored in a constant. (There may be more than onepossibility but you are only required to identify one. You are notasked to implement this constant.)
(1 mark)
ii.What might be an appropriate name for the constant you havechosen?
(1 mark)
c.Amendthe when_green_flag_clicked and when[space]key_pressed scriptsso that:
Take a screenshot of your resulting scripts and paste itinto your TMA document.
(5 marks)
d.
i.Further amendthe when_green_flag_clicked and when[space]key_pressed scriptsso that:
Check that your program passes the following tests. (You aren’texpected to give any details of your testing; this is just to helpyou check your program.)
5 (equivalent to 20%)
Upper-boundary value
16
ii.Different forms of selection structure could be used to meetthe specification in Q1 (d)(i). Briefly describe analternative form of selection structure to the one you chose.
(2 marks)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply