Computer Science  >  EXAM  >  TM111.TMA02.docx exam quistions and answers (All)

TM111.TMA02.docx exam quistions and answers

Document Content and Description Below

The user is asked to enter a pupil's name. Their input, 'Faria', is stored in the variable name. The user is asked to enter the score for the pupil. Their input '72' is stored in the variable maths_ ... test_score. Then variable percentage_score used to calculate math_test_score * 1.25 and store it as its value '90'. Then say [ ] for [ ] secs is nested block, so firstly, the value of percentage_score is found, and it is joined to '%'. Secondly, the say [ ] for [ ] secs block displays the resulting string '90%'. When the if <> then { } block is run percentage_score > 75, block reports 'True' and the blocks inside the jaws are run. 'Faria' is added to maths_challenge_list. (b) (i) A constant is a value that remains the same and cannot be changed during the program execution. Maximum percentage score could be stored as a constant in this program. (b)(ii) MAXIMUM _SCORE (c) 2 This study source was downloaded by 100000831777157 from CourseHero.com on 07-24-2022 00:55:29 GMT -05:00 https://www.coursehero.com/file/81130088/TM111TMA02docx/ Cristina Tatar L6693563 TM111,TMA02 (d)(i) (d)(ii) Selection with comparison and compound conditions could have been used to meet the specification in Q1 d(i) with if<>then{ }else{ } block. The script would need to compare the value of percentage_score and then take appropriate action. Boolean condition for the if<>then{ }else{ } block should report "true" if the value of percentage_score greater than 75, and "false" if the value of percentage_score is not greater than 75. 3 This [Show More]

Last updated: 3 years ago

Preview 1 out of 9 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of TM111.TMA02.docx exam quistions and answers document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Also available in bundle (1)

Click Below to Access Bundle(s)

TM111.TMA02.docx exam quistions and answers

TM111.TMA02.docx exam quistions and answers

By Beststudies 3 years ago

$40

7  

Reviews( 0 )

$10.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

160
0

Document information


Connected school, study & course


About the document


Uploaded On

Jul 24, 2022

Number of pages

9

Written in

All

Seller


Profile illustration for Beststudies
Beststudies

Member since 3 years

11 Documents Sold

Reviews Received
0
0
2
0
3
Additional information

This document has been written for:

Uploaded

Jul 24, 2022

Downloads

 0

Views

 160

Document Keyword Tags

Recommended For You

Get more on EXAM »

$10.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·