{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Midterm (Page 1)

Midterm (Page 1) - California Polytechnic State University...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: California Polytechnic State University Computer Science 080 232: Programming'for Scientists and Engineers Handout#13 Robert Webb - October 18, .2007 —-———-—.__.—_.____—_ - e“ Midterm if)? L{ (.3 Name 1 Definitions There should be no code in this section. All answers should describe situations in words without any programing commands. As this is an open book test, all answers must be in your own words Do not copy passages verbatim from the book! 1.1 3 points What is a. variable in a computer proym? How is it different from a constant? a vqh'v-bie "5 * [(ICfif-‘ya fh mes-vary 1L” 51ers; .. Value no.4. My Lcchuagg ffikaw “the pagan-1. Aeonsmn+ :5 fig 54mg excepi— 1? can Iwr send-floor in me- Wmm. 1.2. 3 points Describe the difl'erence between recording a macro with relative references and recording a macro with absolute references. Describe situations in which you would use each of them. Rated!” War“ ”Ly“? “HQ—"W95 5":64; he (silk-{cairn 915,59 "tr-Me cell‘flhf- was 5:19:1‘60' W‘ifln “‘3 ”‘er WW5 “”1. REWJ'I"? w-‘ys. #559!de rE‘lrpwnKES WI“ (““58 rag PW3’“*‘ 4c SPIN-K The same cells awry MW? (Ejanlkfi; 7f wa.+(eq Wm; 551%.;94 Mm {he PW?“ was “”1- Relation? refifgrcflars wan-$1 he used :2! (Wm WPfe‘J +a ‘erhr elf “,3 (EH; guywul-nra'liy ““9 £31“ 1‘34; (3 fl. ALwl-e-Ie 'eflffl””5 WM“ 59 tuft! w/ We WEI-4rd f0 43”,“; NM SUM of ‘Hr-C‘ wllmf 1.3 4 Points “' ““'”"“‘““9f"’1 ”W6 ”F 600’s What are decision statements in a computer program? Why do We use them? Give a. specific example of why you would use a. decision statement.- /4 JEE-‘srm cMmen+ Jacixeg whel’fitl’ oi “MP-wk“ ’5 ”"8 'f'é’se dna’ Safdc-I"V".‘/ 9““f’5 6‘45 based u- 'fAe res-iii if fin? circa-37% new are used #0 Emile 1'52 F"9”""’"“9" 1‘" “IV Execute coJe- wilzn q Agnew anLjrmn rs Mer‘. 151' Wale-('4' #6 {can or all He PW“ hawker; re. d 3.1-an ran-’2, I with! Pepsi), lmve ‘t chl'fil‘fil‘l 51‘]??th ffié‘f- {Hp/5'. 1:46 {4:5 nuns” ,3 ewe, ffigq mid 1'4 *0 He {uh-I. l 0 ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern