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
Summary

Summary INF1003F- Commercial Programming code annotations

Rating
-
Sold
-
Pages
63
Uploaded on
03-11-2023
Written in
2023/2024

Comprehensive examples of all types of code questions they could as and how to do/ understand all lines of code for the entire course. Workshops & lecture examples with annotations.

Content preview

1




&




the following code is executed when the click button is clicked d





↳ parse converts a string data type to another data type


E specify what we are parsing the “textBox1” string into i.e. we want it to be a double precision
floating point number
assigning a variable a double type means the variable now has the ability to hold any whole number,
decimal or fraction value
a variable and assigning it to the double data type so it can holds floating
⑳ declaring point decimals (double takes up 8 bytes of space and float takes up 4 bytes)
⑰ fixed values means the decimal point is fixed
floating point means the decimal can move (floating)
- float (less precise)
num
- double (double precision of float, better/ more accepted)
7 doing math and assigning the int is a whole number or number that can’t be divided
answer to the variable f
nu




⑳ converts an object to a string so that it can be displayed back to the user

,2




- clear text boxes

,3




data
variables B them the
integer type
enex defining giving
a




-> close form




Y convert the text box txtScore which is a .Text data type to an integer
data type




Y when the clear button is clicked the text
boxes highlighted in pink are cleared of
whatever user input was in them

, 4




text box 1




varible subtotal
I define



-
m = is a type of decimal for money, it takes the decimal values and rounds (if necessary) to
the nearest representable value using bankers rounding


if radio button hamburger is checked then the other checkboxes are false


if the hamburger radio button is checked change the text of
the checkboxes to display what we put in “quotes”

Written for

Document information

Uploaded on
November 3, 2023
File latest updated on
November 4, 2023
Number of pages
63
Written in
2023/2024
Type
SUMMARY

Subjects

R65,00
Get access to the full document:

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


Document also available in package deal

Thumbnail
Package deal
INF- INFORMATION SYSTEMS CODE PACKAGE
-
2 2023
R 132,00 More info

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.
Gsnotes101 University of Cape Town
View profile
Follow You need to be logged in order to follow users or courses
Sold
20
Member since
4 year
Number of followers
8
Documents
22
Last sold
1 week ago

5,0

2 reviews

5
2
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

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 notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

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

Student with book image

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

Alisha Student

Frequently asked questions