# Register now to access 7 million high quality study materials (What's Course Hero?) Course Hero is the premier provider of high quality online educational resources. With millions of study documents, online tutors, digital flashcards and free courseware, Course Hero is helping students learn more efficiently and effectively. Whether you're interested in exploring new subjects or mastering key topics for your next exam, Course Hero has the tools you need to achieve your goals.

2 Pages

### Notes13

Course: CS 2620, Fall 2009
School: Laurentian
Rating:

Word Count: 588

#### Document Preview

Adapters A 111 Container container adapter provides restricted interface to a container. In general container adapters do not provide iterators since the processing of elements in the container is restricted to a predefined set of operations. Example: Stacks, queues, sorted list etc. 112 Container Adapters(2) A Sorted List is a linear list in which elements are arranged based on the order of their values. A...

Register Now

#### Unformatted Document Excerpt

Coursehero >> Canada >> Laurentian >> CS 2620

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.
Adapters A 111 Container container adapter provides restricted interface to a container. In general container adapters do not provide iterators since the processing of elements in the container is restricted to a predefined set of operations. Example: Stacks, queues, sorted list etc. 112 Container Adapters(2) A Sorted List is a linear list in which elements are arranged based on the order of their values. A Stack is a linear list in which insertions and deletions take place at the same (top) end (last-in-first-out). The other end of the list is called the bottom end The fundamental operations are: push is equivalent to an insert pop is the deletion of the most recently added element top is used to examine the top element prior to a pop Queue is a linear list in which insertions and deletions take place at different ends (first-in-first-out ). The end at which new elements are added is called the rear, and the end from which old elements are deleted is called the front The fundamental operations are: enqueue inserts the element at the rear dequeue deletes and returns the element at the front 113 A Sample Stack Implementation using namespace std; class MyStack { private: vector<int> st; public: //constructor calls vector constructor explicit MyStack():st(vector<int>()){} //insert a copy of x void push(int x) { st.push_back(x);} //remove the top element; stack must be nonempty void pop(){st.pop_back();} //return the top element without removing it; //the stack must be nonempty int top() {return st[st.size()-1];} 114 A Sample Stack Implementation(contd.) // return true if the stack is empty; otherwise // return false bool empty(){return st.empty();} // return the number of elements in the stack int size(){return st.size();} }; 115 Polymorphism In simple inheritance, if a member function is called through pointer a (or a reference), the function to be called is the one defined for the class of the pointer type. By default, the implementation of a function is chosen at the compile time ( static binding ) based on variable or pointer type. Dynamic (run-time) binding allows the implementation to be chosen at run time based on the class of the object type pointed at by the pointer (reference) Runtime-binding allows a class (hierarchy) to be extended after the program which uses it has been written! Polymorphism is the ability for objects of different class types related by inheritance to respond differently (based on the type of the object) to the same member function call C++ enables Polymorphism via virtual functions 116 Polymorphism(contd.) Runtime-binding allows a class (hierarchy) to be extended after the program which uses it has been written! 1 Polymorphism is the ability for objects of different class types related by inheritance to respond differently (based on the type of the object) to the same member function call C++ enables Polymorphism via virtual functions 117 Virtual...

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:

Laurentian - CS - 2620
1CS2620 Review Topics for Midterm1. Identifying classes and objects from problem description. C+ class definition syntax. see class notes, Section 6.2 and 6.3 of the text book) 2. Purpose and syntax for const and static methods and data members. S
Laurentian - CS - 2620
1. save each file in your directory2. use the following command to compile CC -o dicetest dice.cc rando.cc test_dice.cc3. now type dicetest to run the programNote: feel free to change test_dice.cc (client program) as you wish
Wisconsin - GEN - 466
Genetics 466, Lecture 7 Chromosomes and Sex DeterminationObjective: Understand the experimental evidence showing that the genes for Mendelian inheritance are carried on chromosomes. Know the rules of X-linked inheritance and how to use pedigrees to
UPenn - COMM - 334
Rose-Hulman - ME - 422
ROSE-HULMAN INSTITUTE OF TECHNOLOGYDepartment of Mechanical EngineeringME 422 - FEFEA WINTER 2000Non-Linear Heat ConductionConsider a slab of material experiencing heat conduction : Ls = const k = k (T )RTL = 400 K TR = 1000 K xL = 0xk
Rose-Hulman - ME - 422
ROSE-HULMAN INSTITUTE OF TECHNOLOGYDepartment of Mechanical EngineeringME 422 - FEFEA WINTER 2000Homework-01: SolutionNote: You use Maple as a check1.1)Verify the steady-state one-dimensional heat conduction solution for the x-axis shift pre
Yale - ECON - 600
Chapter 2: Classic Empirical Models of Static EquilbriumSteven Berry Yale Univ. Ariel Pakes Harvard Univ.September 18, 20031IntroductionIn this chapter, we begin with the classic models of partial equilibrium markets. We review the theory, w
Cuyamaca College - COMP - 3503
1Artificial Neural NetworkswithCOMP3503 Daniel L. SilverCopyright (c), 2007 All Rights ReservedCogNovaTechnologies2Agenda Predictive / Classification Modeling Artificial Neural Network Theory Demonstration of NS2 ANNCogNovaTechno
Cuyamaca College - COMP - 3503
Accelerated Technology Training WorkshopsU s i n g M i c r o s o f t A c c e s s t o M a n a g e D a t aCopyright User Support Centre January 2007Accelerated Technology WorkshopsPlanning a Planning a Database Databaseg tin ea t s Cr por Re
Cuyamaca College - COMP - 3503
Managing Data with AccessDr. D Silver Comp 3503Technology WorkshopsA c c e s sManaging DataWhat are we Coving.Planning a Databaseg tin ea t s Cr por ReCreating FormsCreating Tables Modifying TablesWorking with QueriesClassroom Suppo
Cuyamaca College - COMP - 3503
1 COMP3503 Automated Discovery and Clustering MethodsDaniel L. SilverCopyright (c), 2003 All Rights ReservedCogNovaTechnologies2Agenda Automated Exploration/Discovery (unsupervised clustering methods) KMeans Clustering Method Kohonen
Cuyamaca College - COMP - 3503
WEB-BASED USER PROFILING USING A RECURRENT NEURAL NETWORKRyan MacDonald, BCSH and Daniel L Silver Ph.D. Acadia University Wolfville, Nova Scotia, Canada danny.silver@acadiau.caABSTRACTThe Internet based electronic market has grown so rapidly that
Cuyamaca College - COMP - 3503
Managing DataUsing ExcelDr. D SilverGreg Deveau http:/helpdesk.acadiau.ca Technology Training WorkshopAccelerated Technology WorkshopsUsing Microsoft ExcelWorking with DataWorking with WorksheetsTO RENAME A WORKSHEET Double-click the shee
Cuyamaca College - COMP - 3503
Working with Excel 2003Dr. D Silver Comp 3503Technology TrainingCOMP 3503Excel XPOpen Various File Types Merging Two Excel Sheets Using Auto-Filter AutoUnderstanding Pivot Tables Basic Statistical Functions Basic Logical FunctionsOpening Wor
Cuyamaca College - COMP - 3503
The Knowledge management Cycle - Draft #7, Dec 13,20011The Knowledge Management Cycleby Daniel L. Silver, Ph.D., CIM. Introduction Over the last five years, organizations have taken considerable interest in a concept called knowledge management
Cuyamaca College - COMP - 3503
Some Basic Statistics of Sample:Variable 34 45 56 76 89 23 49 32 55 63 52.2 19.27 38.54 11.94sample mean 1 stdev from sample mean 2 stdev from sample mean 95% conf in sample mean= sample mean, average of all 10 numbers = square root of the varia
Cuyamaca College - COMP - 3503
Sheet1Evaluating Data Mining Models1. Determining the Accuracy and Confidence of a ModelConfidence Interval for Nominal Target Variable Num. incorrect = 12 Num. examples = 40 Error rate = P = Stddev error rate = 90% Confidence 95% Confidence 0.3
CSU San Marcos - MATH - 490
Oregon State - BA - 271
XPMicrosoft Access 2003Tutorial 1 Introduction To Microsoft Access 2003New Perspectives on Microsoft Office Access 2003 Tutorial 11Define some key Access terminology Field A single characteristic or attribute of a person, place, object, e
Oregon State - BA - 271
XPUsing Common Features of Microsoft Office 2003Tutorial 1New Perspectives on Introducing Microsoft Office 2003 Tutorial 11Explore Microsoft Office 2003 Microsoft Office 2003, or Office, is a collection of the most popular Microsoft program
Oregon State - BA - 271
Territory SSN Nation 891220102Australia 891220102South Africa 892771201England 892771201Ireland 893555310Australia 893555310Belgium 893555310Germany 893910178England 893910178Wales 899344506Germany 899402937Australia 899402937New Zealand 900670900Ind
Oregon State - BA - 271
Guides Booking. GuideID 401 Bob 408 Bob 413 Bob 428 Bob 436 Bob 414 Cassie 417 Cassie 418 Cassie 420 Cassie 433 Cassie 402 Kit 403 Kit 411 Kit 426 Kit 430 Kit 431 Kit 432 Kit 435 Kit 401 Libby 408 Libby 413 Libby 415 Libby 425 Libby 428 Libby 436 Lib
Oregon State - BA - 271
XPMicrosoft Access 2002Tutorial 1 Introduction To Microsoft Access 2002New Perspectives on Microsoft Access 2002 Tutorial 11Define some key Access terminology Field A single characteristic or attribute of a person, place, object, event, o
Oregon State - BA - 271
XPTutorial 2 Creating And Maintaining A DatabaseNew Perspectives on Microsoft Access 2002 Tutorial 21Learn the guidelines for designing databases When designing a database, first try to think of all the fields of data that needs to be store
Oregon State - BA - 271
XPTutorial 3 Querying a DatabaseNew Perspectives on Microsoft Access 2002 Tutorial 31Learn how to use the Query window in Design view The Query window in Design view allows you to specify the results you want for a query. In the query Desi
Oregon State - BA - 271
XPTutorial 4 Creating Forms and ReportsNew Perspectives on Microsoft Access 2002 Tutorial 41Create a form using the Form Wizard You can create a form from scratch or you can create a form using the Form Wizard. The Form Wizard will lead yo
Oregon State - BA - 271
XPMicrosoft Access 2002Tutorial 5 Enhancing a Table's Design, and Creating Advanced Queries and Custom FormsNew Perspectives on Microsoft Access 2002 Tutorial 51Create a Lookup Wizard field in a tableXP To make a form easier to use, you
Oregon State - BA - 271
XPMicrosoft Access 2002Tutorial 6 Creating Custom ReportsNew Perspectives on Microsoft Access 2002 Tutorial 61Design and create a custom report You can easily create custom reports based on a table or query. There are seven sections that
Oregon State - BA - 271
XPMicrosoft Access 2002Tutorial 7 Integrating Access With the Web and With Other ProgramsNew Perspectives on Microsoft Access 2002 Tutorial 71Export an Access table to an HTML document Access includes features that allow you to publish you
Oregon State - BA - 271
Tutorial 2 Maintain and Modify TablesReview Assignment pages 2.36 to 2.37Supplemental Instructions There Allis no &quot;student disk&quot;files needed are provided via links on web pages Wewill never &quot;print&quot; anythingobjects will be graded Under
Oregon State - BA - 271
Tutorial 3 Queries and Table RelationshipsReview Assignment pp 3.42 to 3.43Queries Simplequeries extract information from a single table Complex queries extract information from multiple tables Basedon &quot;relations&quot; between tablesDevelopmen
Oregon State - BA - 271
Tutorial 4 Forms and ReportsReview Assignment pp 4.34 to 4.35Setup Usethe solution from Tutorial 3 Save the Travel.bmp from the web siteStep 3: Form Wizard Table:Student Fields: all (note: order selected affects order presented on form)
UGA - PUBS - 07012004
Hydrology and Earth System Sciences, 2(1), 41-49 (1998) EGSHydrology &amp; Earth System SciencesSoil moisture gradients and controls on a southern Appalachian hillslope from drought through rechargeJ. A. Yeakley,1-3-4 W. T. Swank,2 L. W. Swift,2 G.
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|01 Nov 2004 20:05:57 -0000 vti_timecreated:TR|01 Nov 2004 20:05:57 -0000 vti_title:SR|PowerPoint Presentation vti_extenderversion:SR|6.0.2.5516
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|01 Nov 2004 20:06:11 -0000 vti_timecreated:TR|01 Nov 2004 20:06:11 -0000 vti_title:SR|PowerPoint Presentation vti_extenderversion:SR|6.0.2.5516
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|01 Nov 2004 20:06:06 -0000 vti_timecreated:TR|01 Nov 2004 20:06:06 -0000 vti_title:SR|PowerPoint Presentation vti_extenderversion:SR|6.0.2.5516
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|01 Nov 2004 20:06:00 -0000 vti_timecreated:TR|01 Nov 2004 20:06:00 -0000 vti_title:SR|PowerPoint Presentation vti_extenderversion:SR|6.0.2.5516
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|01 Nov 2004 20:06:13 -0000 vti_timecreated:TR|01 Nov 2004 20:06:13 -0000 vti_title:SR|PowerPoint Presentation vti_extenderversion:SR|6.0.2.5516
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|01 Nov 2004 20:06:09 -0000 vti_timecreated:TR|01 Nov 2004 20:06:09 -0000 vti_title:SR|PowerPoint Presentation vti_extenderversion:SR|6.0.2.5516
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|01 Nov 2004 20:06:05 -0000 vti_timecreated:TR|01 Nov 2004 20:06:05 -0000 vti_title:SR|PowerPoint Presentation vti_extenderversion:SR|6.0.2.5516
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|01 Nov 2004 20:05:59 -0000 vti_timecreated:TR|01 Nov 2004 20:05:59 -0000 vti_title:SR|PowerPoint Presentation vti_extenderversion:SR|6.0.2.5516
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|01 Nov 2004 20:06:02 -0000 vti_timecreated:TR|01 Nov 2004 20:06:02 -0000 vti_title:SR|PowerPoint Presentation vti_extenderversion:SR|6.0.2.5516
Oregon State - BA - 271
Sheet1 vti_encoding:SR|utf8-nl vti_timelastmodified:TR|11 Nov 2003 22:56:42 -0000 vti_extenderversion:SR|6.0.2.5516 vti_author:SR|C1619764-A\Dave vti_modifiedby:SR|BUS\sullivan vti_timecreated:TR|24 Jan 2001 04:44:00 -0000 vti_lineageid:SR|{34BE9340-
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|11 Nov 2003 22:56:44 -0000 vti_extenderversion:SR|6.0.2.5516 vti_author:SR|C1619764-A\Dave vti_modifiedby:SR|BUS\sullivan vti_timecreated:TR|24 Jan 2001 04:44:00 -0000 vti_title:SR| vti_lineageid:SR|{FE
Oregon State - BA - 271
Sheet1 vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|11 Nov 2003 22:56:48 -0000 vti_timecreated:TR|27 Dec 2002 22:27:49 -0000 vti_extenderversion:SR|6.0.2.5516 vti_lineageid:SR|{CB09404F-0EA
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|11 Nov 2003 22:49:43 -0000 vti_extenderversion:SR|6.0.2.5516 vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timecreated:TR|20 Feb 2003 07:54:18 -0000 vti_title:SR|PowerPoint Presentation
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|11 Nov 2003 22:50:03 -0000 vti_extenderversion:SR|6.0.2.5516 vti_backlinkinfo:VX| vti_usagebymonth:UX|0 1 29 1 0 0 2 23 3 1 62 3 vti_usagebyweek:UX|0 0 0 0 1 vti_usagebyday:UX|0 vti_usagelastupdated:TX|
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|11 Nov 2003 22:50:28 -0000 vti_extenderversion:SR|6.0.2.5516 vti_backlinkinfo:VX| vti_usagebymonth:UX|0 0 29 2 0 0 0 29 0 7 28 0 1 vti_usagebyweek:UX|0 vti_usagebyday:UX|0 vti_usagelastupdated:TX|05 Dec
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|11 Nov 2003 22:50:48 -0000 vti_extenderversion:SR|6.0.2.5516 vti_backlinkinfo:VX| vti_usagebymonth:UX|1 5 23 2 0 0 1 13 1 17 9 1 3 vti_usagebyweek:UX|1 0 1 0 3 vti_usagebyday:UX|0 0 0 0 0 1 vti_usagelas
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|11 Nov 2003 22:51:13 -0000 vti_extenderversion:SR|6.0.2.5516 vti_backlinkinfo:VX| vti_usagebymonth:UX|0 1 23 2 0 0 0 5 0 8 16 2 vti_usagebyweek:UX|0 0 0 1 vti_usagebyday:UX|0 vti_usagelastupdated:TX|05
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|11 Nov 2003 22:51:38 -0000 vti_extenderversion:SR|6.0.2.5516 vti_backlinkinfo:VX| vti_usagebymonth:UX|3 7 30 1 0 0 10 11 1 75 2 2 9 vti_usagebyweek:UX|1 1 1 1 1 vti_usagebyday:UX|0 0 0 1 vti_usagelastup
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|11 Nov 2003 22:51:56 -0000 vti_extenderversion:SR|6.0.2.5516 vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timecreated:TR|20 Feb 2003 07:56:26 -0000 vti_title:SR|PowerPoint Presentation
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|11 Nov 2003 22:52:00 -0000 vti_timecreated:TR|27 Dec 2002 22:27:49 -0000 vti_title:SR|Assessing an Organization's Capability to Implement Strate
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|11 Nov 2003 22:52:07 -0000 vti_timecreated:TR|27 Dec 2002 22:27:42 -0000 vti_title:SR|Assessing an Organization's Capability to Implement Strate
Oregon State - BA - 271
vti_encoding:SR|utf8-nl vti_author:SR|BUS\sullivan vti_modifiedby:SR|BUS\sullivan vti_timelastmodified:TR|11 Nov 2003 22:52:09 -0000 vti_timecreated:TR|27 Dec 2002 22:27:48 -0000 vti_title:SR|Assessing an Organization's Capability to Implement Strate
Oregon State - BA - 271
Sheet1 vti_encoding:SR|utf8-nl vti_timelastmodified:TR|11 Nov 2003 22:40:53 -0000 vti_extenderversion:SR|6.0.2.5516 vti_backlinkinfo:VX| vti_author:SR|BX407XP1\coakley vti_modifiedby:SR|BUS\herrond vti_timecreated:TR|18 Sep 2002 00:33:34 -0000 vti_li
Oregon State - BA - 271
Sheet1 vti_encoding:SR|utf8-nl vti_timelastmodified:TR|15 Sep 2006 18:00:00 -0000 vti_extenderversion:SR|6.0.2.5516 vti_backlinkinfo:VX|access/assignments/Assignment-1.htm vti_author:SR|COAKLEYLT\Coakley vti_modifiedby:SR|BUS\sullivan vti_timecreated
UGA - MATH - 3000
Math 3000: Linear AlgebraLecturer: Dr. Jason Parsley Office: Boyd GSRC 407 Office phone: 542-2562 Office hours: Tu. 3:30-4:30 pm, W. 11-12, and also by appointment Email: parsley@math.uga.edu Please do not email me via WebCT; I do not read it often.
U. Houston - ECE - 6382
ECE 6382Fall 2008Analytic ContinuationD. R. Wilton ECE Dept.Analytic Continuation of Functionsm It seems clear how to extend linear combinations of the elementary functions* \$ 1, x 1 , x 2 , x 3 , x 4 ,x 5 ,L ,x n ,L x m12,Pn ( x ) (ra
U. Houston - ECE - 6382
ECE 6382Fall 2008Applications of Bessel FunctionsD. R. Wilton ECE Dept.z-Independent Circular Cylinder Modes Dirichlet Case Assume that satisifies the 2D wave equation :a ( a, ) = 0(2+ k 2 ) ( , ) = 0,k = 2 = v , v is the
U. Houston - ECE - 6382
ECE 6382Fall 2008Applications of Bessel FunctionsD. R. Wilton ECE Dept.z-Independent Circular Cylinder Modes Dirichlet CaseAssume that satisifies the 2D wave equation :a ( a, ) = 0(D2+ k 2 ) ( , ) = 0,k = 2 = v , v is the