11 Pages

mts98a

Course: CSE 687, Spring 2008
School: Syracuse
Rating:
 
 
 
 
 

Word Count: 472

Document Preview

CSE687 <a href="/keyword/object-oriented-design/" >object oriented design</a> Spring 1998 Midterm A Name:__________________________________________________ SSN:________________________ This is a closed book examination. Please place all your books on the floor beside you. You may keep one page of notes on your desktop in addition to this exam package. All examinations...

Register Now

Unformatted Document Excerpt

Coursehero >> New York >> Syracuse >> CSE 687

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.
CSE687 <a href="/keyword/object-oriented-design/" >object oriented design</a> Spring 1998 Midterm A Name:__________________________________________________ SSN:________________________ This is a closed book examination. Please place all your books on the floor beside you. You may keep one page of notes on your desktop in addition to this exam package. All examinations will be collected promptly at the end of the class period. Please be prepared to quickly hand in your examination at that time. If you have any questions, please do not leave your seat. Raise your hand and I will come to your desk to discuss your question. I will answer all questions about the meaning of the wording of any question. I may choose not to answer other questions. You will find it helpful to review all questions before beginning. All questions are given equal weight for grading, but not all questions have the same difficulty. Therefore, it is very much to your advantage to answer first those questions you believe to be easiest. CSE687 <a href="/keyword/object-oriented-design/" >object oriented design</a> 1. Given the class declarations: Spring 1998 class B { public: void mf(int n); protected: int state; }; class D : public B { public: void mf(int n); }; What happens when the statements below are executed? D d1; D *dptr = new D(d1); dptr -&gt; mf(3); CSE687 <a href="/keyword/object-oriented-design/" >object oriented design</a> 2. What is a module? Name all its parts. Spring 1998 CSE687 <a href="/keyword/object-oriented-design/" >object oriented design</a> 3. Spring 1998 Suppose Tr is not the same type as Targ. Can you find a logical error in the following declaration of a global function f? Tr&amp; f(Targ); CSE687 <a href="/keyword/object-oriented-design/" >object oriented design</a> 4. Spring 1998 Give two examples of functions associated with a user defined vector class which can not be members of the class. CSE687 <a href="/keyword/object-oriented-design/" >object oriented design</a> 5. Spring 1998 Define a constructor for a class representing n-dimensional vectors which takes an array as one of two arguments. The array elements should be used to initialize the vector elements. CSE687 <a href="/keyword/object-oriented-design/" >object oriented design</a> 6. Spring 1998 How would you create a class that can not create any objects? Why would you want to do that? CSE687 <a href="/keyword/object-oriented-design/" >object oriented design</a> 7. Spring 1998 What does the term encapsulation mean? How does that differ from the meaning of the term modularity. CSE687 <a href="/keyword/object-oriented-design/" >object oriented design</a> 8. Spring 1998 Write code to store an object of class X on the heap and define and throw an exception object if that...

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:

Syracuse - CSE - 687
= CONSOLE APPLICATION : B2.5 Project Overview=AppWizard has created this B2.5 application for you. This file contains a summary of what you will find in each of the files thatmake up your B2.5 application.B2.5.vcproj This is the main
La Sierra - M - 233
Math 233: Test II, Spring 2003 Multiple Integrals Name: Answers and HintsInstructions: Complete any five of the following six problems.4 21. (10 pts) Sketch the region of integration for0cos(x2 ) dx dy and evaluate the integraly 2by rever
Syracuse - CSE - 687
Syracuse - CSE - 687
Syracuse - CSE - 687
= CONSOLE APPLICATION : A2.2 Project Overview=AppWizard has created this A2.2 application for you. This file contains a summary of what you will find in each of the files thatmake up your A2.2 application.A2.2.vcproj This is the main
Syracuse - CSE - 687
= CONSOLE APPLICATION : B2.1 Project Overview=AppWizard has created this B2.1 application for you. This file contains a summary of what you will find in each of the files thatmake up your B2.1 application.B2.1.vcproj This is the main
Syracuse - CSE - 687
= CONSOLE APPLICATION : B2.7 Project Overview=AppWizard has created this B2.7 application for you. This file contains a summary of what you will find in each of the files thatmake up your B2.7 application.B2.7.vcproj This is the main
Syracuse - CSE - 687
= CONSOLE APPLICATION : A1.7 Project Overview=AppWizard has created this A1.7 application for you. This file contains a summary of what you will find in each of the files thatmake up your A1.7 application.A1.7.vcproj This is the main
Syracuse - CSE - 687
= CONSOLE APPLICATION : B2.4 Project Overview=AppWizard has created this B2.4 application for you. This file contains a summary of what you will find in each of the files thatmake up your B2.4 application.B2.4.vcproj This is the main
Syracuse - CSE - 687
= CONSOLE APPLICATION : A1.6 Project Overview=AppWizard has created this A1.6 application for you. This file contains a summary of what you will find in each of the files thatmake up your A1.6 application.A1.6.vcproj This is the main
Syracuse - CSE - 687
= CONSOLE APPLICATION : A2.5 Project Overview=AppWizard has created this A2.5 application for you. This file contains a summary of what you will find in each of the files thatmake up your A2.5 application.A2.5.vcproj This is the main
University of Illinois, Urbana Champaign - CS - 498
CS 498 Expressive Grammars for Natural Language Processing: Theory and applicationsToday s lecture Tree-adjoining grammars: - Quick review of the basics: substitution and adjunction - Capturing non-local dependencies - The XTAG system Extracting
University of Illinois, Urbana Champaign - CS - 554
Basics Power Iteration QR Iteration Krylov Methods Other MethodsParallel Numerical AlgorithmsChapter 12 Eigenvalue ProblemsProf. Michael T. HeathDepartment of Computer Science University of Illinois at Urbana-ChampaignCSE 512 / CS 554Micha
University of Illinois, Urbana Champaign - CS - 554
Inner Product Outer Product Matrix-Vector Product Matrix-Matrix ProductParallel Numerical AlgorithmsChapter 5 Vector and Matrix ProductsProf. Michael T. HeathDepartment of Computer Science University of Illinois at Urbana-ChampaignCSE 512 /
University of Illinois, Urbana Champaign - CS - 554
Triangular Systems Parallel Algorithms Wavefront Algorithms Cyclic AlgorithmsParallel Numerical AlgorithmsChapter 8 Triangular SystemsProf. Michael T. HeathDepartment of Computer Science University of Illinois at Urbana-ChampaignCSE 512 / CS
University of Illinois, Urbana Champaign - CS - 554
Parallel Programming Paradigms MPI Message-Passing Interface OpenMP Portable Shared Memory ProgrammingParallel Programming Paradigms MPI Message-Passing Interface OpenMP Portable Shared Memory ProgrammingOutline Parallel Numerical Algorithms
University of Illinois, Urbana Champaign - CS - 554
Motivation Architectures Networks CommunicationParallel Numerical AlgorithmsChapter 1 Parallel ComputingProf. Michael T. HeathDepartment of Computer Science University of Illinois at Urbana-ChampaignCSE 512 / CS 554Michael T. HeathParall
Syracuse - CSE - 687
= CONSOLE APPLICATION : A2.1 Project Overview=AppWizard has created this A2.1 application for you. This file contains a summary of what you will find in each of the files thatmake up your A2.1 application.A2.1.vcproj This is the main
Syracuse - CSE - 687
= CONSOLE APPLICATION : B2.6 Project Overview=AppWizard has created this B2.6 application for you. This file contains a summary of what you will find in each of the files thatmake up your B2.6 application.B2.6.vcproj This is the main
Syracuse - CSE - 687
firstsecondthird and considerably longer linefourth and last
Syracuse - CSE - 687
= CONSOLE APPLICATION : A1.2 Project Overview=AppWizard has created this A1.2 application for you. This file contains a summary of what you will find in each of the files thatmake up your A1.2 application.A1.2.vcproj This is the main
Syracuse - CSE - 687
= CONSOLE APPLICATION : A2.4 Project Overview=AppWizard has created this A2.4 application for you. This file contains a summary of what you will find in each of the files thatmake up your A2.4 application.A2.4.vcproj This is the main
Syracuse - CSE - 687
= CONSOLE APPLICATION : A2.10 Project Overview=AppWizard has created this A2.10 application for you. This file contains a summary of what you will find in each of the files thatmake up your A2.10 application.A2.10.vcproj This is the
CUNY Queens - AD - 60489
Techniques de comptabilit et de gestion - 410.B0TECHNIQUES DE COMPTABILIT ET DE GESTIONGestion des entreprises de mode410.BOSANCTION DES TUDES : Diplme d'tudes collgiales (DEC) avec mention Techniques de comptabilit et de gestion NOMBRE D'UNIT
Syracuse - CSE - 687
= WIN32 APPLICATION : B2.10 Project Overview=AppWizard has created this B2.10 application for you. This file contains a summary of what you will find in each of the files thatmake up your B2.10 application.B2.10.vcproj This is the ma
East Los Angeles College - ASH - 13140
PROGRAMME DETAIL SPECIFICATION Programme Summary1 Awarding institution 2 Teaching institution university 3a Programme accredited by: 3b Description of accreditation 4 Final award 5 Programme title 6 UCAS code 7 Subject benchmark statementLiverpoo
La Sierra - M - 324
Math 324, Test 2, November 10, 2004 Hints and Answers Instructions. Do 10 of the following 11 questions. The last three questions are take-home questions on which you may use MathCAD. 3 -1 -1 2 -1 . Find the eigenvalues of A. Find bases for 1. (a) C
Syracuse - CSE - 687
University of Texas - PHY - 302
Wave Nature of LightQuestion:Is a beam of light a stream of particles or is it a wave ? Light must be a wave !c L.Frommhold. p.32/32Historically, diffraction was observed rst:(Classical) Particles do not show diffractionHuygens Principl
East Los Angeles College - HEA - 11210
PROGRAMME DETAIL SPECIFICATION Programme Summary1 Awarding institution 2 Teaching institution university 3a Programme accredited by: 3b Description of accreditation 4 Final award 5 Programme title 6 UCAS code 7 Subject benchmark statement 8 Educati
Mesa State - PHYS - 321
Phys 321 Fall 2007Quantum Theory I: Homework 13Due: 5 December 20071 Quantum Theory I: Problems, problem VIII.4. 2 Quantum Theory I: Problems, problem VIII.5. 3 Quantum Theory I: Problems, problem VIII.6.1