Download presentation
Presentation is loading. Please wait.
1
CS 2308 Exam II Review
2
Exam Format 75 Total Points
55 Points Writing Programs 20 Points Short Answer Similar to programming assignments and quizzes
3
Example Programming Problem
Given the TsuPod.h file at the end of the exam using the Linked List data representation write a method called showSongList() that will display the contents of the tsuPod.
4
Example Short Answer Can we have more than one constructor for a class? If so, how would we know which one to use?
5
Linux 15 Points Know the basic commands you needed to complete the last program Know how to compile and run a C++ program in Linux Know how to create and move around the Linux file system
6
Structures 10 Points Declaration Use of the “.” operator
Pointers to structures (*ptr).field ptr->field Structures used in Linked Lists
7
Classes and Objects 35 Points Fundamentals of class and objects
Declaration Constructors Destructors Instance variables Instance methods Understand the PageWriter program The “.” operator Objects as parameters to functions
8
Classes and Objects (cont.)
Overloading functions Constructors Operators Relational Other Arrays of Objects TsuPod V2.0 Using objects as data inside of linked lists TsuPod V3.0
9
Linked Lists 30 Points Declaring a linked list
Adding a node to a linked list Removing a node from a linked list Traversing a linked list What is the order of magnitude of each of the above operations? Understand the tsuPod 3 linked list program
10
How to Study Rewrite all the programs.
Learn by doing and recognizing patterns. Don’t stay up late!! Get some sleep and eat a good breakfast.
11
What to bring Pencils and erasers We will provide scratch paper
No calculators
12
Questions
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.