Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Essay

TM111 TMA02 Computing and Information Technologies

Rating
4.0
(3)
Sold
25
Pages
12
Grade
B
Uploaded on
16-07-2022
Written in
2021/2022

Essay for TM111 TMA02

Content preview

Module: TM111
Assignment: TMA 02




1|Page

, Question 1:

a) When the [space]key_pressed is clicked, it will delete the existing
pupils name from the sensing variable and the user is asked to input
the students name, in this case “Dani” is entered. Next the user is
asked to input “what distance in km was run” and 20km is entered.
The “distance percentage” score is then worked out and provides a
percentage out of 100. Dani has scored 80% and was added to the
“gold_medel_list” as the program, using the variable entered,
determined that “distance_percentage > 60 then add name to
gold_medel_list”.




Figure 1.1

b) i) A numerical value in this program that is appropriate to refer to as a
constant is 60 in the “distant_percentage” variable as it is fixed and
cannot be change for the purpose of adding candidate to the
“gold_medal_list”.

b)ii) an appropriate name for the constant can be
MAXIMUM_DISTANCE.




2|Page

Written for

Study
Unknown

Document information

Uploaded on
July 16, 2022
Number of pages
12
Written in
2021/2022
Type
ESSAY
Professor(s)
Unknown
Grade
B

Subjects

£10.98
Get access to the full document:
Purchased by 25 students

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Thumbnail
Package deal
Computing and Information Security All TMA's
-
3 2025
£ 22.95 More info

Reviews from verified buyers

Showing all 3 reviews
3 year ago

3 year ago

3 year ago

3 year ago

Thank you for the review.

4.0

3 reviews

5
2
4
0
3
0
2
1
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Rekah The Open University
View profile
Follow You need to be logged in order to follow users or courses
Sold
123
Member since
4 year
Number of followers
69
Documents
28
Last sold
1 month ago

3.5

15 reviews

5
6
4
3
3
1
2
2
1
3

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions