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
Document preview thumbnail
Preview 4 out of 63 pages
Summary

Summary INF1003F- Commercial Programming code annotations

Document preview thumbnail
Preview 4 out of 63 pages

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”

Document information

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

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

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
5,0
(3)
Sold
20
Followers
8
Items
22
Last sold
5 months ago




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

Working on your references?

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

Working on your references?

Frequently asked questions