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.
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:
UNC - COMM - 140
Comm140notes:15:071) MediahaspowertoshapeandservepublicinterestEx:transmissionmodel:haveopiniontosharew/public2) questionnotionofpublicinterest;dontjustassumeanyoneknowswhatpublic interestis3) assumediversity(inanyform)isgood2formsmediadiversitya.
UNC - COMM - 063
Holy Theatre notes- bringing things to performance beyond words- usually see what we expect, but nothing goes beyond our dimension of whats in frontof us- showing, not telling- letting people feel the experience themselves- ritual: takes something i
UNC - COMM - 063
Howl NotesPg. 13burning cigarette holes in arms = protest tobacco companiesKerouac had communist tendencies = Supercommunist pamphletsBill Cannastra = against communists; died after fell off a subwayPederasty = man having sexual relationship w/ young
UNC - RELI - 104
Reli104NewTestamentnotes1/9/11:Intro/PopQuiz18:001.#booksinNT?342.LanguageNTwasfirstwrittenin?Greek3.(WhenwasNTwritten?)?1stcenturyC.E.4.Whichbooksarethegospels?Matthew,Mark,Luke,John5.Whobaptizedjesus?Whocarried(Jesuson?)thecross?Whodiscoveredt
UNC - JOMC - 137
JOMC 137 1/20/12- Agencies and the Ad Industry1. Written Assignment due February 8tha. Go to effie.org, Winners Showcase on the left sidea.i. Pick a case study of Effie Award winners, choose one youre interested ina.ii. Provide a summary of the case s
UNC - ANTH - 120
Week2:Tourism17:54Dealswithculturalrepresentation,howdopeoplerepresentthemselvestocreate revenue.Issuesofrace,gender,andconsumption.Tourismisdirectlytiedtohistoryandcolonialism.Powerrelationswillalwaysbepresent.TheOriginsofSightseeingJudithAdler(1989
UNC - ANTH - 120
Week3:ScienceandTechnology17:51WATCHGATTACAQuestions:themequestiondirectlyengageinwhatwetalkedaboutinclass?Second questionshouldhavespecificcontentincorporated.Askadifferentquestionthanwhat wasalreadyasked/discussed.Reflectthatyouunderstandthecomplex
UNC - ANTH - 120
Week4:Disability17:54Specificscience:conceptofdisabilityWheredotheseideascomefrom?Howdotheyimpactus?Everyoneofusisbornindisabilityandleavetheworldassuch.Weareconstantlytryingtoprovethatwearenotdisabled.CultureasDisabilityRayMcDermott1995TheCurb:EX
UNC - ANTH - 120
Week5:Race17:57Midterm:lookatpossibleexamquestions,shortanswer.Fivewillbechosenforexam. Answerin250words.Ideaofwhiteness,propertyprivilege.StudentProjectInvisibleWhitenessVanessaPatchettWherewegetourideasofracetoday?Takeswhitenessasacategory.Ever
UNC - ANTH - 120
Week7:SettlerColonialism17:52ExpressiveCultureProjects:comeupwithoneideatopresentinrecitationnextweek forproject.Goalisnotjusttopresentstereotypes,butchallengethem.Thinkabouthow atopicrelatestosomethinggoingoncampus.Conductthreeinterviews.Dueon Octob
UNC - ANTH - 120
Week8:Class17:59Stereotypesserveafunctionintheworld.Howdotheyoperateandwhatdotheydo?EC:PBSPeopleLikeUs:SocialClassinAmerica1999classisjudgedbyclothes,money,race,house,parentage,historyoffamilyclassexistsinAmericansociety.Butwhatdoesthisfilmdoesnotc
UNC - ANTH - 120
Anthropology:ExpressiveCultures17:52Readings:ASmallPlace(needthisfirst),TheImmortalLifeofHenriettaLacks,Pigsin Heaven,DoesMyHeadLookBiginThis?Need,readingstarts,isdueonThursdayDOTHEQUESTIONSEVERYWEEK.PosttwoonSakai.Postwatch:TheRedemptionofChristoph
UNC - ANTH - 120
Week9:CriticalExpressionProjects17:59BynextThursday:HavegroupSignupformeetingwithGRCWhatisresearch?GatherdataCreationofnewknowledgeRevisionsofacceptedtheoriesbasedonnewfactsWhatdoesthislooklikeinanthropology?Longtermresearch:theminimumdissertati
UNC - ANTH - 120
Week10:GenderCodes17:55SignupforGRCandpresentationtimes.Genderisasocialdistinction,definedbyculture,race,etc.(Otherdichotomies:abled/disabled,primitive/modern,fact/experience, whiteness/otherness,self/other)UsedtodistinguishmalefromfemaleBiological
UNC - ANTH - 120
Week11:QueeringGender18:12QueeringMasculinity2009Howpeopleunderstoodtheirownpersonalitiesthatdontfittheneatdichotomiesof maleandfemale.Beconsciousofvolumelevels.UsemassmediaManonthestreetinterviewsQueeringReappropriatedfromantigayepithetChalleng
UNC - ANTH - 120
Week12:Consumption18:58Whatwebuyandhowitrelatesustotheworldaroundus?ECTheStoryofStuffwithAnnieLeonardWearerunningoutoresources,usingtoomuchstuffOnethirdofthenaturalresourcesoftheworldaregone.Arguingforthinkingaboutconsumptionincriticalway,alternativ
Texas A&M - CSCE - 121
ENGR 112 TEST 2March 24, 2008Drs. Daugherity & WardName:_Lab Time:_Section:_Aggie Code of Honor: "An Aggie does not lie, cheat, or steal, or tolerate those whodo."Each question has one best answer. Mark your answers on the Scantron provided. Each
Texas A&M - CSCE - 121
6. Classes Line, Axis, Polygon, etc. derive from class Shapea. so they can share common codeb. so class Window doesn't have to be changed to draw a new shapec. because they all have line style and color data membersd. all of the abovee. none of the a
Texas A&M - CSCE - 121
12. using namespace std;a. tells the compiler to look for std:foo if foo is not definedb. tells the linker to look for foo if std:foo is not definedc. can also be written as using std namespace;d. all of the abovee. none of the above13. An invariant
Texas A&M - CSCE - 121
18. The scope resolution operator isa. :b. :c. ;d. ;e. none of the above19. Another name for free store isa. stackb. heapc. non-recyclable memoryd. read-only memorye. none of the above20. A vector headera. contains slots for all the datab. c
Texas A&M - CSCE - 121
For questions 24-30 answer "a" for "declaration but not definition" and"b" for "declaration and also definition."24.class Bad_area;25.class Bad_areacfw_;26.int x;27.extern int x;28.void f(double);29.void f(double)cfw_;30.struct Point;31. A
Texas A&M - CSCE - 121
36. An input stream takes characters sequentially from a buffer anda. converts them into values of various typesb. writes values to a console, a file, main memory, etc.c. returns an error stated. a and ce. b and c37. Standard stream operators > and
Texas A&M - CSCE - 121
41. Assume the following code:void skip_to_int() cfw_if(cin.fail() cfw_cin.clear();char ch;while (cin > ch) cfw_if (isdigit(ch) cfw_cin.unget();return;The purpose of the while loop in the above code is toa. consume characters in the standard
Texas A&M - CSCE - 121
46. Using the open flags ios:in|ios:out|ios:binary opens a file fora. appending input, truncating output, binary formatb. binary input/outputc. truncation of binary input/outputd. adding binary input/output at the end of the filee. none of the above
Texas A&M - CSCE - 121
52. Which pair of values is the same in a C+ program?a. 0x10 and Ab. 010 and 12c. 0x4 and 04d. 0xAA and 1010e. none of the aboveAcademic Integrity Statement: "On my honor as an Aggie, I have neither given norreceived any unauthorized help on this a
Texas A&M - CSCE - 121
ENGR 112 TEST 2 (answers)1. On a graphical window 800 wide by 600 high the lower right-hand corner is atcoordinates.c. (799, 599)2. The code in Graph.hd. all of the above3. void f(int x); tells usd. f does not return a value4.User-defined typesa
Texas A&M - CSCE - 121
13.An invarianta. is a rule for what constitutes a valid value14.A function activation recordd. is created when a function is called that is not inlined15. Given the codeenum Monthcfw_jan=1,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec;Month f(Month
Texas A&M - CSCE - 121
For questions 24-30 answer "a" for "declaration but not definition" and"b" for "declaration and also definition."24.class Bad_area;"a"25.class Bad_areacfw_;"b"26.int x;"b"27.extern int x;"a"28.void f(double);"a"29.void f(double a)cfw_; "
Texas A&M - CSCE - 121
cin.clear();char ch;while (cin > ch) cfw_if (isdigit(ch) cfw_cin.unget();return;The purpose of the while loop in the above code is toe. point the standard input stream to the first digit in the stream and return42. An important question to rep
Texas A&M - CSCE - 121
50. To convert a double value x to a string in a program usea. string s; ostringstream oss(s); oss < x;OPTIONAL EXTRA CREDIT51. A const variablec. may be initialized, but not assigned to52. Which pair of values is the same in a C+ program?c. 0x4 and
Texas A&M - CSCE - 121
CPSC 121Exam 2 ReviewMultiple Choice1. A while loop may be rewritten as a for loop:a. Alwaysb. Only if there is a variable in the while loop which is incrementedc. Only if there is not a variable in the while loop which is incrementedd. Only if the
Texas A&M - CSCE - 121
CPSC 121Exam 2 Reviewd. Ensure that there is an appropriate number of objects in the classe. (b) and (c) are both true.8. Consider the definition:enum day cfw_ mon, tue, wed, = 5, thur, fri, sat, sun ;What is the value of sun?a. 0b. 1c. 6d. 7e.
Texas A&M - CSCE - 121
CPSC 121Exam 2 Reviewe. This statement causes an error13. The standard library function isgraph(c) returns true if c isa. Any printable character (including space)b. A control characterc. A punctuation characterd. A graphic character (point, line,
Texas A&M - CSCE - 121
CPSC 121Exam 2 Reviewd. declare a new name for an existing variablee. None of the aboveShort answer19. What is wrong with this code fragment?try cfw_/some code goes herecatch() cfw_cerr < Exception!\n;keep_window_open();return 1;catch(const
Texas A&M - CSCE - 121
CPSC 121Exam 2 Reviewcout < oct < 031 < \n;cout < dec < 25 < \n;____23. Explain in detail what cin.unget( ) (or putback) does, since it cant literally put a character back into thekeyboard by popping out the last key pressed.____24. Circle t
Texas A&M - CSCE - 121
CPSC 121Exam 2 Review29. Write a well-designed C+ class named Dog, which has fields for name, weight, and other appropriateitems to create a Dog object. Get and set its fields, and output it with <.__________
Texas A&M - CSCE - 121
CPSC 121Exam 2 Review KeyMultiple Choice1. A while loop may be rewritten as a for loop:a. Alwaysb. Only if there is a variable in the while loop which is incrementedc. Only if there is not a variable in the while loop which is incrementedd. Only if
Texas A&M - CSCE - 121
CPSC 121Exam 2 Review Keyd. Ensure that there is an appropriate number of objects in the classe. (b) and (c) are both true.8. Consider the definition:enum day cfw_ mon, tue, wed = 5, thur, fri, sat, sun ;What is the value of sun?a. 0b. 1c. 6d. 7
Texas A&M - CSCE - 121
CPSC 121Exam 2 Review Keye. This statement causes an error13. The standard library function isgraph(c) returns true if c isa. Any printable character (including space)b. A control characterc. A punctuation characterd. A graphic character (point, li
Texas A&M - CSCE - 121
CPSC 121Exam 2 Review Keyd. declare a new name for an existing variablee. None of the aboveShort answer19. What is wrong with this code fragment?try cfw_/some code goes herecatch() cfw_cerr < Exception!\n;keep_window_open();return 1;catch(co
Texas A&M - CSCE - 121
CPSC 121Exam 2 Review Key23. Explain in detail what cin.unget( ) (or putback) does, since it cant literally put a character back into thekeyboard by popping out the last key pressed.The last character read from cin is placed back into the input buffer
Texas A&M - CSCE - 121
CPSC 121Exam 2 Review Key30. The following C+ code fragment wont compile because of scoping problems. Rewrite it correctly.Note: Dont worry about the infinite loop, just get it to compile.void f() cfw_g();void g() cfw_f();void h() cfw_int x = y
Texas A&M - CSCE - 121
Chapters 1 & 2ChaptersProgramming and ProgramsBjarne StroustrupBjarnewww.stroustrup.com/Programmingwww.stroustrup.com/ProgrammingAbstractToday, well outline the aims for this course andToday,present a rough course plan. Well introducethe basic
Texas A&M - CSCE - 121
Chapter 3ChapterObjects, types, and valuesBjarne StroustrupBjarnewww.stroustrup.com/Programmingwww.stroustrup.com/ProgrammingAbstractAbstractMost programming tasks involve manipulating data.MostToday, we will:Today,describe how to input and o
Texas A&M - CSCE - 121
Chapter 4ChapterComputationBjarne Stroustrupwww.stroustrup.com/ProgrammingAbstractToday, Ill present the basics of computation. InToday,particular, well discuss expressions, how toiterate over a series of values (iteration), andselect between tw
Texas A&M - CSCE - 121
Chapter 5ChapterErrorsBjarne Stroustrupwww.stroustrup.com/ProgrammingAbstractAbstractWhen we program, we have to deal withWhenerrors. Our most basic aim is correctness, butwe must deal with incomplete problemspecifications, incomplete programs,
Texas A&M - CSCE - 121
Chapter 6ChapterWriting a ProgramBjarne Stroustrupwww.stroustrup.com/ProgrammingAbstractAbstractThis lecture and the next describe the processThisof designing a program through the example ofa simple desk calculator.simpleStroustrup/Programmin
Texas A&M - CSCE - 121
Chapter 7ChapterCompleting a ProgramBjarne Stroustrupwww.stroustrup.com/ProgrammingAbstractAbstractTokens and token streamsStructs and classesCleaning up the codePromptsProgram organizationconstantsRecovering from errorsCommentingCode revie
Texas A&M - CSCE - 121
Chapter 8ChapterTechnicalities: Functions, etc.Bjarne StroustrupBjarnewww.stroustrup.com/Programmingwww.stroustrup.com/ProgrammingAbstractAbstractThis lecture and the following present some technicalThisdetails of the language to give a slightl
Texas A&M - CSCE - 121
Chapter 9ChapterTechnicalities: Classes, etc.Bjarne Stroustrupwww.stroustrup.com/ProgrammingCambridgeCambridgeStroustrup/Programming2ISO C+ standards committeeISOStroustrup/Programming3CERNCERNStroustrup/Programming4AbstractAbstractThis
Texas A&M - CSCE - 121
Chapter 10ChapterInput/Output StreamsBjarne Stroustrupwww.stroustrup.com/ProgrammingAbstractAbstractWe get data from files, sensors, webWeconnections, etc., which we want toanalyze, print, graph, etc. Sometimes, wewant to produce such data. In
Texas A&M - CSCE - 121
Chapter 11ChapterCustomizing I/OBjarne Stroustrupwww.stroustup.com/ProgrammingOverviewOverviewInput and outputNumeric outputFile modesIntegerFloating pointBinary I/OPositioningString streamsLine-oriented inputCharacter inputCharacter clas
Texas A&M - CSCE - 121
Chapter 12ChapterA display modelBjarne Stroustrupwww.stroustrup.com/ProgrammingAbstractAbstractThis lecture presents a display model (theThisoutput part of a GUI), giving examples of useand fundamental notions such as screencoordinates, lines,
Texas A&M - CSCE - 121
Chapter 13ChapterGraphics classesBjarne Stroustrupwww.stroustrup.com/ProgrammingAbstractAbstractChapter 12 demonstrates how to create simple windows andChapterdisplay basic shapes: square, circle, triangle, and ellipse; Itshowed how to manipulat
Texas A&M - CSCE - 121
Chapter 14ChapterGraph class designBjarne Stroustrupwww.stroustrup.com/ProgrammingAbstractAbstractWe have discussed classes in previous lecturesHere, we discuss design of classesLibrary design considerationsClass hierarchies (object-oriented pro
Texas A&M - CSCE - 121
Chapter 15ChapterFunctions and graphingBjarne StroustrupBjarnewww.stroustrup.com/Programmingwww.stroustrup.com/ProgrammingAbstractAbstractHere we present ways of graphing functionsHereand data and some of the programmingtechniques needed to do
Texas A&M - CSCE - 121
Chapter 16ChapterGraphical User InterfacesBjarne Stroustrupwww.stroustrup.com/ProgrammingOverviewOverviewPerspectiveI/O alternativesGUILayers of softwareGUI exampleGUI codecallbacksStroustrup/Programming2I/O alternativesI/OUse console in
Texas A&M - CSCE - 121
Chapter 17Chaptervector and Free StoreBjarne StroustrupBjarnewww.stroustrup.com/Programmingwww.stroustrup.com/ProgrammingAbstractAbstractVector is not just the most useful standard container,Vectorit is also provides examples of some of the mos
Texas A&M - CSCE - 121
Chapter 18ChapterVectors and ArraysBjarne StroustrupBjarnewww.stroustrup.com/Programmingwww.stroustrup.com/ProgrammingAbstractAbstractarrays, pointers, copy semantics, elementsarrays,access, referencesaccess,Next lecture: parameterization of
Texas A&M - CSCE - 121
Chapter 19ChapterVectors, templates, and exceptionsBjarne Stroustrupwww.stroustrup.com/ProgrammingAbstractAbstractThis is the third of the lectures exploring theThisdesign of the standard library vector and thetechniques and language features us
Texas A&M - CSCE - 121
Chapter 20The STLThe(containers, iterators, and algorithms)Bjarne Stroustrupwww.stroustrup.com/ProgrammingAbstractAbstractThis lecture and the next present the STL theThiscontainers and algorithms part of the C+ standardlibrarylibraryThe STL