Computer Science > EXAM > TMA02-J6776255.docx (All)

TMA02-J6776255.docx

Document Content and Description Below

. TMA02-J6776255.docx When the user's start the program with green flag all the data stored in gold_medal_list is deleted, when a space key is pressed is asked to the user to enter the pupil’... s name and points. The data stored in the variable name stored the pupil’s name that user input, the variable points_score store the pupil points and the variable points_percentage store the pupil percentage, the list used is the gold_medal_list and store the percentage data just if the pupil have more than 80%. In this situation if the pupil has a percentage more than 80% will be awarded with a gold medal and the data will be stored on a list. 1b. 1. The numerical value in this program that might appropriately be stored in a constant is 80 2. The name for the constant I have chosen is MAX_PERCENT c. This study source was downloaded by 100000831777157 from CourseHero.com on 07-24-2022 00:59:02 GMT -05:00 https://www.coursehero.com/file/103744046/TMA02-J6776255docx/ d. ii. I could have grouped together the commands that have same value in ‘if points_percentage > or=’. So, if the value was 80 the commands would show as being under one main ‘if’ command. Question 2. 2a. and 2b. This study source was downloaded by 100000831777157 from CourseHero.com on 07-24-2022 00:59:02 GMT -05:00 https://www.coursehero.com/file/103744046/TMA02-J6776255docx/ Question 3. a. First Draft:  Input the new word  Check if the new word contains any consonants, if they have replaced them with a symbol @  Output the new word with all consonants replaced Break Down Process  Input the new Word  Repeat until length of word  Set the length of new word  Output the new word Refine Algorithm  Input the new word  Repeat the length of input word o Set letter of input word  If not contain vowels, Then o Replace the letter by @  Output the new word with all consonants replaced by @  Say output word 3b. This study source was downloaded by 100000831777157 from CourseHero.com on 07-24-2022 00:59:02 GMT -05:00 https://www.coursehero.com/file/103744046/TMA02-J677 [Show More]

Last updated: 2 years ago

Preview 1 out of 6 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

135
1

Document information


Connected school, study & course


About the document


Uploaded On

Jul 24, 2022

Number of pages

6

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

 1

Views

 135

Document Keyword Tags

Recommended For You

Get more on EXAM »

$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·