33 Pages

Lecture Set 04B - Variables, Constants, Expressions, Conversion

Course: CIS 3309, Fall 2011
School: Temple
Rating:
 
 
 
 
 

Word Count: 1582

Document Preview

Declareandusevariables n LectureSet4 DataTypesandVariables PartBVariables,Constants,Expressions ConversionRules OptionsStrict,OptionExplicit ScopeofDefinition Slide1 Objectives Createuserdefinedconstantsanduse expressions n UnderstandtypeconversioninVB n Howtoavoidtroubleandgetmaximum protection(fromyourself) n UnderstandOptionExplicitandStrictand rulesforimplicitconversion Slide2 IntroductiontoVariables n...

Register Now

Unformatted Document Excerpt

Coursehero >> Pennsylvania >> Temple >> CIS 3309

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Declareandusevariables n LectureSet4 DataTypesandVariables PartBVariables,Constants,Expressions ConversionRules OptionsStrict,OptionExplicit ScopeofDefinition Slide1 Objectives Createuserdefinedconstantsanduse expressions n UnderstandtypeconversioninVB n Howtoavoidtroubleandgetmaximum protection(fromyourself) n UnderstandOptionExplicitandStrictand rulesforimplicitconversion Slide2 IntroductiontoVariables n Avariablestoresdatawhileanapplication runs n n Theprocessofcreatingavariableiscalled declaringavariable Avariablehasaname(identifier) n n Slide3 Thenamingrulesforvariablesandprocedures arethesame Avariablehasadatatype VariableCharacteristics n Allvariableshavethreecharacteristics n n n n Slide4 Avariablehasalifetime Avariablehasascope Avariablehasaccessibility Considerasimpleexamplefromaprevious Chapter4lecture VariableCharacteristicsIllustration PublicClasscounterType Thisisaclassvariable(akaaglobalvariableorclassdatastore orproperty) PrivatevalueasintegerScope?Lifetime?Accessibility? PublicSubNew(ByValinitialValueAsinteger) ***Constructorinitializecounter(value)toargumentvalue EndSubNew PublicSubIncrement() value=value+1 EndSubIncrement EndClasscounterType Codeappearingelsewhere Thismaybeassumedtoappearinsomefunctionorprocedure. Itisalocalvariable.Scope?Lifetime?Accessibility? DimmyCounterAscounterTypeWhatdoesthisdo? myCounter=NewcounterTypeWhatdoesthisdo?Drawpicture! Slide5 VariableLifetime n Variablelifetimereferstotheperiodoftime thatavariableexists n n Avariabledeclaredlocallywithinaprocedure existsonlywhileaprocedureexecutes Avariabledeclaredwithinaclass(ormodule) existswhileaclassinstanceexistsoramodule isloaded n Slide6 Youmayremembersuchvariablesasclass membersorclassdatastoresorvariablesglobal toaclass VariableScopeandAccessibility n n n Slide7 Variablescopereferstothestatementsthat canuseavariable Variablesdeclaredinsideaprocedurewith theDimstatementhavelocalscope(no relevanceoraccessibilityoutsidethe procedure) Variablesdeclaredoutsideaprocedurewith thePrivatestatementhavemodulelevel scope DeclaringaLocalVariable Local means local to a function or sub [Dim | Static] varname As type [=initexpr] n TheDimkeyworddeclaresalocalvariable n n n TheStatickeyworddeclaresalocalvariable n n n n Slide8 Thevariableiscreatedwhenthecontainingprocedure(subor function)isinvoked Thevariableandanyvalueitmighthaveisdestroyedwhen executionofthecontainingprocedureends Thevariableanditsvaluepersistfromoneprocedure invocationtothenext varnamecontainsthename(identifier)ofthevariable typedefinesthevariablesdatatype initexprisusedtoinitializethevariablesvalue InitializingVariables n n Variablescanbedeclaredandinitializedin thesamestatement Exampletodeclareavariablenamed CurrentYearandinitializeitsvalueto2006: Dim CurrentYear As Integer = 2006 Slide9 CommonInitializationErrors n n Numericinitializationvaluescannotcontain formattingcharacters Thefollowingstatementsareillegal: Dim Value1 As Double = 100,000.52 Dim Value2 As Double = $100,000.52 Slide10 DeclaringMultipleVariablesinOne Statement n n Multiplevariablescanbedeclaredinthesame statement Separateeachdeclarationwithacommaas follows: Dim IntegerValue As Integer, DoubleValue As Double n Ifvariableshavethesamedatatype,the followingshorthandnotationcanbeused: Dim IntegerValue1, IntegerValue2 As Integer GeneralsuggestionDontDoThis! Slide11 VariableNamingConventions n Aschemeofnamingvariablesiscalleda namingconvention n n Commonnamingconventions n n n Slide12 Namingconventionsimproveaprograms readability Hungariannotation Pascalcase Camelcase NamingConventions(Description) n n n Hungariannotation n Useaprefixtodenotethedatatypefollowedbya descriptivename Pascalcase n Usewholewords n Capitalizethefirstletterofeachword Camelcase n Usewholewords n Uselowercaseforthefirstletterofthefirstword n Capitalizethefirstletterofeachremainingword n CapitalizeallwordsinaConst IgenerallyuseacombinationofHungarianandCamel notations Slide13 Userdefined(named)Constants n n Constantsaresimilartovariables Thevalueofaconstantdoesnotchange whileanapplicationruns n n n n Slide14 Tryingtoassignavaluetoaconstantwillcause anerror UsetheConststatementtodeclarea constant Constantsaretypicallydeclaredatthe modulelevel Whybotherwiththis?CityWageTax?Y2K? UserdefinedConstant(Example) n DeclareaconstanttostorevalueofPI Private Const PI_VALUE As Single _ = 3.14159 n Declareaconstanttostorethevalueof PImultipliedby2 Private Const PI_VALUE As Single _ = PI_VALUE * 2 Slide15 IntroductiontoExpressions n n Variablescanbeusedinassignment statementsalongwithobjectproperties Examples: Dim As Result Integer Dim Example As Integer = 4 Result = 3 Result = txtExample.Height Result = Example Slide16 CommonExpressionErrors n n Valuesontherightandleftsidesofan assignmentstatementmusthavethesame datatype TheFontandIntegerdatatypesarenot compatiblesothefollowingstatementswill causeanerror: Dim SomeInteger As Integer SomeInteger = txtExample.Font Slide17 PartsofanExpression n Operators n n n Operands n n n n Slide18 Arithmeticoperatorssuchas(+,,*,/,^,\) Comparisonandlogicaloperators Literalvalues Objectproperties Constants Variables OperatorPrecedence n Operatorshaveanevaluationordercalled precedence n n n TheVisualBasicprecedencerulesarethesame asthealgebraicprecedencerules Useparenthesestooverridethedefault precedencerules Useparenthesestoclarifyevaluationorder n Slide19 Extraparenthesesdonoharm OperatorsandPrecedence Slide20 ArithmeticOperators(Example) n n Divide10by5andmultiplytheintermediate resultby100 Thevalue200isstoredinResult Dim Numerator As Double = 10 Dim Denominator As Double = 5 Dim Result As Double Result = Numerator / Denominator * 100 Slide21 IntegerDivision n n n Theresultofanintegerdivisionoperationis anintegralvalue Theresultistruncatedratherthanrounded Examples: Result = 4 \ 3 Result = 5 \ 2 '2 Result = 10 \ 6 Slide22 '1 '1 TheModOperator n TheModoperatorcalculatestheInteger remainderofadivisionoperation Theoperationisthesameastheremainder resultingfromalongdivisionoperation Examples: n n Result = 5 Mod 2 ' 1 Result = 4 Mod 2 ' 0 Slide23 OperatorPrecedence n Arithmeticoperatorsareappliedinadefault orderknownasprecedence n n Slide24 Exponentiation,multiplicationanddivision, additionandsubtraction Useparenthesestochangethedefault precedenceorder EvaluationOrderwithandwithoutParenthesis Slide25 DataTypesandTypeConversion n n Typeconversionisusedtoconvertdatafrom onedatatypetoanother Therearetwotypesofconversions n n Narrowingconversions:thereceivingvariableis notwideenoughtoreceivealltheinformation associatedwiththecoursevariable Wideningconversions:thereceivingvariableis wideenough n Slide26 Example:Convertingtypedoubletoanintegerisa narrowingconversion.Theopposite(integerto double)isawideningconversion n n n WideningandNarrowing Conversions Howtypeconversionisperformeddependson whetherstricttypecheckingisenabled ImplicitcastingisoftendonebyVBwhere wideningisconcerned.Itwillalsodoimplicit narrowingconversions.Dontletthishappen! Usestricttypechecking.Then n n n Slide27 Agiventypewillnotbeimplicitlyconvertedtoa morerestrictivetype(inotherwords,narrowingwill notbeallowedunlessyoudosoexplicitly) Stringswillnotbeimplicitlyconvertedtonumeric datatypes Lotsofotherconversionsareprohibited EnablingStrictTypeChecking n n n n n Slide28 Bydefault,VBusespermissivetypesemantics TheOption Strictstatementenablesor disablesstricttypechecking TheOption Strictstatementmustappear atthebeginningofamodule Enablestricttypecheckingtopreventhardto findtypeconversionerrors Example: Option Strict On Option Strict Off EnforcingExplicitVariableDeclaration n Explicitvariabledeclarationrequiresvariables tobedeclaredbeforetheyareused n n n Explicitvariabledeclarationisenabled,by default UsetheOptionExplicitstatementto enforceexplicitvariabledeclaration Example: Option Explicit On Option Explicit Off Slide29 StrictTypeCheckingRules n NarrowingversusWideningtypecoercionis thekeywideningallowsmorerestrictive typestobeimplicitlyconvertedtoless restrictivetypes n n n n Slide30 Integraldatatypeswillbeconvertedtofloating pointtypes IntegertoSingleislegal,forexample SingletoDoubleislegal DoubletoIntegerisnotlegal ConversionPrimitiveTypes(Pattison) Slide31 PerformingExplicitTypeConversion(brief) n n n n AlmostALWAYSagoodidea ThemembersoftheSystem.Convertclass explicitlyconvertdatafromonetypetoanother Methodsexistforeachprimarydatatype Example: Dim DoubleValue1 As Double = 123.44 Dim IntegerResult As Integer IntegerResult = _ System.Convert.ToInt32(DoubleValue1) Slide32 ExplicitTypeConversionMethods n n n n ToInt16,ToInt32,andToInt64convert theargumenttoanintegralvalue ToDecimalconvertstheargumenttothe Decimaldatatype ToDoubleandToSingleconvertthe argumenttofloatingpointdatatypes ToStringconvertstheargumenttoastring n n Slide33 AswewillseelaterinLectureSet4notes,thiscanbereally useful Notethatthesemethodsdonoroundingandhencecanlead toFormatExceptions(discussedlater)
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Temple - CIS - 3309
LectureSet3IntroductiontoVisualBasicConceptsPartBSimpleControls,EventHandlersandWindowsFormsApplicationsSlide1ObjectivesnnnSlide2TogainanintroductiontosomesimplecontrolsTounderstandmoreabouttheproperties,methods,andeventsassociatedwithcontrol
Temple - CIS - 3309
LectureSet4DataTypesandVariablesPartAIntroductionNumericDataTypesSlide1ObjectivesnnnnnSlide2UnderstandtheCTSandCLSUnderstandhowtodeclareandprocessnumericdataDeclareandusevariablesCreateuserdefinedconstantsanduseexpressionsWorkwithintrinsic
Temple - CIS - 3309
LectureSet3EIntroductionBasicSoftwareDevelopmentIssues1.2.Slide1NotesonSoftwareDevelopmentIntrotoSoftwareDevelopmentTools7/31/20082:43PMObjectivesnnnSlide2ExplainthesoftwaredevelopmentlifecycleDescribeselectedtoolsusedtohelpdesignsoftware
University of Phoenix - ACC 400 - STBSBA73
Fin 200Alternative Financing Plans14. Lear, Inc., has $800,000 in current assets, $350,000 of which are considered permanentcurrent assets. In addition, the firm has $600,000 invested in fixed assets.a. Lear wishes to finance all fixed assets and half
University of Phoenix - ACC 400 - STBSBA73
These companies paid for the ads themselves. Johnson and Johnson have there own marketingadvertisement company. There is no slant in the video I reviewed. It is advertisement so there isonly one opinion to make the product they are selling, majestic. If
University of Phoenix - ACC 400 - STBSBA73
Break-Even AnalysisFIN 200a)16,000 = 80,000 =$80,0005$10-($0.10 x 50)b) Sales @ $10 per boxVariables costFixed costProfit or loss$120,00060,00080,00020,000$250,000125,00080,00045,000c) Leverage went down because there are further absent
University of Phoenix - ACC 400 - STBSBA73
Appendix FComprehensive Grammar CheckPoint Answer FormEnter the correct answer for each item by typing either a or b in the secondcolumn. Provide an explanation for each choice in the Rationale column. Theboxes will expand to accommodate your text.It
University of Phoenix - ACC 400 - STBSBA73
Appendix DCustomer Relationship Management (CRM)Review the examples of Customer Relationship Management (CRM) characteristics found in thetable below. In your own words describe at least three activities that represents eachcharacteristic of a CRM pla
University of Phoenix - ACC 400 - STBSBA73
Failing is not an option for any business and for that reason profitability is the mostimportant for a company. To continue a successfully a company, there must have precise stats foraccountants to determine if a company is losing money or making money.
University of Phoenix - ACC 400 - STBSBA73
Credit Policy DecisionsFin/200Collins Office Supplies is considering a more liberal credit policy to increase sales, but expects that 9percent of the new accounts will be uncollectible. Collection costs are 5 percent of new sales; productionand sellin
University of Phoenix - ACC 400 - STBSBA73
CROSBY CORPORATIONIncome StatementFor the Year Ended December 31, 2008Sales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $2,200,000Cost of goods sold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Allan Hancock College - ECON - 101
Arms Sales for IndiaHow Military Trade Could Energize U.S.-Indian RelationsMuch has been made of U.S. President Barack Obama's pledge to support India's push fora permanent seat on the United Nations Security Council, which was offered during hisNovem
Allan Hancock College - ECON - 101
AUTHOR:Ehud SprinzakTITLE:Rational FanaticsOctober 23, 1983, was one of the most horrific days in the history of modern terrorism.Two massive explosions destroyed the barracks of the U.S. and French contingents of themultinational peacekeeping force i
Allan Hancock College - ECON - 101
Why We TradeBy Russ Robertsfrom Foreign Policy, November 2007To hear most politicians talk, youd think that exports are the key to a countrysprosperity and that imports are a threat to its way of life. Trade deficitsimporting morethan we exportare po
Allan Hancock College - ECON - 101
1OrloffElisabeth OrloffMovie EssayPOS 360- Humor&Film&IRDr. Elizabeth Wheatley1 December 2011Peer Reviewers: Jessica N. Olah and Mijoi MitchellThe Machiavellian Town!As Winston Churchill once said, A pessimist sees the difficulty in everyopportu
Allan Hancock College - ECON - 101
Brett EdwardsElisabeth OrloffJessica OlahStuart AllenFinal ProjectPOS 360: ASU Fall 2012, Session 2International Relations & HumorStaring into ConstructivismThe Men Who Stare at Goats is the perfect example of a movie that uses the InternationalR
Allan Hancock College - ECON - 101
Brett EdwardsElisabeth OrloffJessica OlahStuart AllenFinal ProjectPOS 360: ASU Fall 2012, Session 2International Relations & HumorStaring into ConstructivismThe Men Who Stare at Goats is the perfect example of a movie that uses the InternationalR
Allan Hancock College - ECON - 101
Eng102f 1204490373I hereby give consent for the writing I am herewith submitting to be usedfor the purposes of research on college student writing and writinginstruction.Elisabeth OrloffEnglish 102- Rhetorical EssayProfessor Noschka27 September 201
Allan Hancock College - ECON - 101
Elisabeth OrloffPos 160written assignment #2Is North Korea really a threatto the United States?North Korea has been a growing threat to the United States. The United States isconcerned because of the following reasons. First, North Korea might attac
Allan Hancock College - ECON - 101
Orloff1Elisabeth OrloffEnglish 102- Rhetorical EssayProfessor Noschka20 September 2011The Original Orthodox FaithArchbishop Averky a orthodox theologian once said, Orthodoxy is not only the sum totalof dogmas accepted as true in a purely formal man
Allan Hancock College - ECON - 101
VeatchCupcake EvolutionCupcakes: delicate and dainty individual cakes that are a perfect sized, tasty treat. Thesefancy desserts derive their name from the amounts of ingredients that were added using the common measurement, cups. This may come as a su
Allan Hancock College - ECON - 101
The rhetorical strategies I chose to use on my advertisement were logos, pathos, and ethos. When I was thinking of how to make this advertisement I thought to myself what would bethe best way to show logic in this poster. That how I decided to put the Ki
Allan Hancock College - ECON - 101
Dear President Obama,Today we are fighting against the Jihadist terrorism. Jihad which means Struggle. Thismovement has become a huge threat on the American people. This movement can trace the rootsof Islamic terrorism back to the 11th-century. The ori
Allan Hancock College - ECON - 101
orloff1Elisabeth OrloffProfessor NoschkaEnglish 102English proposal #26 October 2011English Project Two ProposalThe argument I decided to Address is The Portrayal of a CIA agent in the USA summerhit series Covert Affairs is relatable to real life
Allan Hancock College - ECON - 101
orloff1Elisabeth OrloffProject # 2: Academic ArgumentProfessor Noschka26 October 2011Soldiers Heuristic JourneyAs Christopher Reeve once said, A hero is an ordinary individual who finds the strengthto persevere and endure in spite of overwhelming o
Allan Hancock College - ECON - 101
Tawil 1Nevin TawilOctober 26, 2011English 102Rough draftProfessor Michael NoschkaThe negative effect of Bad boys 2Bad Boys 2 is a 2003 action/comedy film directed by Michael Bay, produced by JerryBruckheimer, and starring Martin Lawrence and Will
Allan Hancock College - ECON - 101
The author presents a critique of the culture and literature produced during and after World War II, oftenusing the Great War as a contrasting phenomenon. The focus on culture and literature suggests that theseaspects of human existence effectively mirr
Allan Hancock College - ECON - 101
orloff1Elisabeth OrloffProject # 2: Academic ArgumentProfessor Noschka3 November 2011War is a Soldiers AddictionThe rush of a battle is a potent and often lethal addiction, for war is a drug. which arethe open lines to the movie the Hurt Locker. Th
Allan Hancock College - ECON - 101
1.I decided to evaluate David Garretts Rock Symphony. It was released July 10, 2010. Ichose this text cause I love his music and his violin abilities and plus since i play the violin I amable to evaluate this well.2. The Genre I am classifying this tex
Allan Hancock College - ECON - 101
orloff1Elisabeth OrloffProject 3- Evaluative ArgumentProfessor NoschkaEnglish 10222 November 2011From Beethoven to Michael JacksonLudwig van Beethoven once said, Music is the wine which inspires one to new generative processes, and I am Bacchus who
Allan Hancock College - ECON - 101
Whatdoesthismean?First,givemeabriefdescriptionofthetext(nomorethanonepage)TheMenWhoStareatGoatsbeginsasheartbrokenreporterBobWiltonheadsofftoimbedhimselfwithtroopsastheIraqWarstarts,butWiltoncan'tgethimselfintothecountryuntilhechancesuponLyn.Itturnsout
Allan Hancock College - ECON - 101
Question #3 Where would you place this in the course?The Men Who Stare at Goats, Should be used in the Constructivism Unit. Spe cifically When discussing Epistemology which means Theory of knowledge; How youknow what you know For example in the film Spa
Allan Hancock College - ECON - 101
Reviewer WorksheetName of reviewer:Elisabeth Orloff1. Name of the writer and title of the paperDefensive Realism in ActionMijoi Mitchell2. Film under review: Dr. Strangelove scene: Cant find a specific Scene3. Is there a central claim, argument, or
Allan Hancock College - ECON - 101
Nevin TawilENG 10211/21/11Sixteen and Pregnant!Television has become a huge integral part of homes in the modern world, and it is extremely hard to imagine life without television. It provides entertainment to people of all ages especially children an
Allan Hancock College - ECON - 101
Hahn 1Cory HahnProfessor NoschkaEnglish 10222 november 2011Drama With the LawNobody ever wants to deal with the law and the legal issues that arise with the lawand that is no different in the movie, The Lincoln Lawyer. Although if someone is intro
Rutgers - BIO - 113
Can you read this?Biology 113Winter, 2007OSU-Mansfield CampusStephen T. Abedonabedon.1@osu.eduBio 113 BasicsHow to do well: Conscientiously read your text before lectures Learn from your text, use PowerPointpresentations (i.e., lectures) to help
Rutgers - BIO - 113
Biology 113Winter, 2007OSU-Mansfield CampusStephen T. Abedonabedon.1@osu.eduCan you read this?If you cant read thisthen you really oughtto move to a new seat!How about now?If you cant read thisthen you really oughtto move to a new seat!About
Rutgers - BIO - 113
Important Point:Chapter 1a:Exploring Life(sections 1.1, 1.2, 1.6)You will be responsible for these on the firstmidterm exam (1.1, 1.2, 1.5, 1.6, 2, 3, 4, 5, 6)Section 1.5 of chapter 1 we will cover duringthe first first labTo view lecture notes go
Rutgers - BIO - 113
Chapter 1a:Exploring Life(sections 1.1, 1.2, 1.6)Important Point:First Things First Today we will cover chapters 1, 2, & maybe 3 These are an intro to biology and a review ofgeneral and water chemistryplease readthese chapters You will be respons
Rutgers - BIO - 113
Important Point:"Scientists are critical realists. John Polkinghorne"Science is properly described as organizedskepticism, a realm in which nothing is to beaccepted without question. Philip W. Andersonnevertheless, and probably quite accurately,Marg
Rutgers - BIO - 113
Chapter 1b:Exploring Life(section 1.5)Important Point:What is Science? ".science is simply common sense at its best; thatis, rigidly accurate in observation and merciless tofallacy in logic." Thomas Henry Huxley, 1880 "Scientists are critical real
Rutgers - BIO - 113
Chapter 1c:Exploring Life(section 1.5, first lab)ExperimentationAsking Good QuestionsForming HypothesesTesting HypothesesAs you can see by our continued emphasis of thisthird section on testing hypotheses, a great deal ofa scientists time is spen
Rutgers - BIO - 113
Chapter 1c:Exploring Life(section 1.5, first lab)Experimentation Asking Good Questions Forming Hypotheses Testing Hypotheses As you can see by our continued emphasis of thisthird section on testing hypotheses, a great deal ofa scientists time is
Rutgers - BIO - 113
Energy =capacity to doworkElectron clouds can become largeTo increase in size, energy must be absorbedThe different states of potential energy thatelectrons have in an atom are called energy levels.Campbell & Reece (2005) p. 36Elements in BodyNot
Rutgers - BIO - 113
Chapter 2:The ChemicalContext of LifeElements in BodyTraceelements arefound insmalleramounts butneverthelessare essentialto a healthfulexistenceAtomic ModelsNote electroncloudMore Models of AtomsNote electron cloudNoteelectroncloudEne
Rutgers - BIO - 113
HOCHHMethane: Replace C with O and 2xH with2 x Electron Pairs and you have Water!Water molecules adhere to othermolecules (adhesion)Liquid water effects hydrophobicexclusionLiquid water has high specific heatLiquid water has high heat of vapori
Rutgers - BIO - 113
Chapter 3:Water and theFitness of theEnvironmentH2O & Polar CovalenceH2O Bent GeometryHHOCHHMethane: Replace C with O and 2xH with2 x Electron Pairs and you have Water!H2O & Hydrogen BondsMaximum offour H bondsH2O Properties from H Bonds
Rutgers - BIO - 113
Important Point:Chapter 4:Carbon and theMolecularDiversity of LifeIsomers arecompounds thatshare molecularformulas but differ insome way in termsof their structureBut only HydrocarbonDerivatives are Abundant in LifeRepresentational ModelsRot
Rutgers - BIO - 113
Chapter 4:Carbon and theMolecularDiversity of LifeImportant Point:Hydrocarbons areCarbon ChemistrySimplerIsomers arecompounds thatshare molecularformulas but differ insome way in termsof their structureBut only HydrocarbonDerivatives are Ab
Rutgers - BIO - 113
Polymers / MonomersPolymers, Monomers, and LipidsDehydration (Polymer) Synthesispolymerpolysaccharidecategory ofbiomoleculesmonomercarbohydrates monosaccharidespolypeptidesproteinsamino acidspolynucleic acidsRNA & DNAnucleotidesHydrolysisPo
Rutgers - BIO - 113
Chapter 5a:The StructureandFunction ofMacromolecules(Carbohydrates)Important Point:Polymers / Monomers Many macromolecules consist of polymers A polymer is a large molecule built up fromsmaller building block molecules Monomers (a.k.a., subunit
Rutgers - BIO - 113
Polymers, Monomers, and LipidsSaturated & Unsaturated F.A.Steroid hormoneSex hormoneTestosteroneEstrogenWaxesLardOmega-3-fatty acidsFree fatty acidsButterMargarineOlive oilFlax seed oilToasted Sesame oilBile saltsVegetable shorteningHydro
Rutgers - BIO - 113
Chapter 5b:The StructureandFunction ofMacromolecules(Lipids)Polymers, Monomers, and Lipidspolymercategory ofbiomoleculesLipids possespolysaccharide carbohydratesnumerous C-H bonds(i.e., they are verypolypeptidesproteinshydrocarbon-like)po
Rutgers - BIO - 113
Chapter 5c:The StructureandFunction ofMacromolecules(Proteins)Polymers, Monomers, and Lipidspolymercategory ofbiomoleculesmonomerpolysaccharidecarbohydratesmonosaccharidespolypeptidesproteinsamino acidspolynucleic acidsRNA & DNAnucleoti
Rutgers - BIO - 113
Polymers, Monomers, and LipidsChapter 5d:The Structure andFunction ofMacromolecules(Nucleic Acids)polymercategory ofbiomoleculesmonomerpolysaccharidecarbohydratesmonosaccharidespolypeptidesproteinsamino acidspolynucleic acidsRNA & DNAnuc
Rutgers - BIO - 113
Important Point:Surface-to-Volume RatioMost Cells are SmallChapter 6:A Tour of the CellFrog eggs 100-times &chicken egg 1000times larger than mostplant and animal cellsMore Size ComparisonsNote relative sizeof nucleated cellsany onecellembody
Rutgers - BIO - 113
Chapter 6:A Tour of the CellImportant Point:Most Cells are SmallFrog eggs 100-times &chicken egg 1000times larger than mostplant and animal cellsNote relative sizeof nucleated cellsNote relative size ofbacteria (~1/10 sizeof animal/plant cells)
Rutgers - BIO - 113
Important Point:Fluid Mosaic ModelThe ability of the cell todiscriminate in its chemicalexchanges with theenvironment is fundamentalto life, and it is the plasmamembrane that makes thisselectivity possible.For more on this history, see: http:/www
Rutgers - BIO - 113
Chapter 7:MembraneStructureand FunctionImportant Point:Lipid BilayerThe ability of the cell todiscriminate in its chemicalexchanges with theenvironment is fundamentalto life, and it is the plasmamembrane that makes thisselectivity possible.Fl
Rutgers - BIO - 113
Important Point:Chapter 8:And Introductionto MetabolismCatabolic reactions are energy yieldingThey are involved in the breakdown ofmore-complex molecules into simplerones1st & 2nd Laws of ThermodynamicsEnergy can betransferred ortransformed but
Rutgers - BIO - 113
Chapter 8:An Introductionto MetabolismImportant Point:Metabolism (Overview) Metabolism = Catabolism + Anabolism Catabolic reactions are energy yielding They are involved in the breakdown ofmore-complex molecules into simplerones Anabolic reactio