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: 2 years ago

Preview 1 out of 9 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Also available in bundle (1)

TM111.TMA02.docx exam quistions and answers

TM111.TMA02.docx exam quistions and answers

By Beststudies 2 years ago

$40

7  

Reviews( 0 )

$10.00

Buy Now

We Accept:

We Accept

Instant download

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

142
0

Document information


Connected school, study & course


About the document


Uploaded On

Jul 24, 2022

Number of pages

9

Written in

Seller


seller-icon
Beststudies

Member since 2 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

 142

Document Keyword Tags


$10.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

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·