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.
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”
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Gsnotes101. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $3.89. You're not tied to anything after your purchase.