1 Exam Guide CSIT121 Summer-I 2001 Exam-II (Final Examination) Thursday June 28th 9:30AM.

Slides:



Advertisements
Similar presentations
1 Classes and Data Abstraction Chapter What a Class ! ! Specification and implementation Private and public elements Declaring classes data and.
Advertisements

COMP171 Data Structure & Algorithm Tutorial 1 TA: M.Y.Chan.
Programming Assignment 2 CS308 Fall Goals Improve your skills with using templates. Learn how to compile your code when using templates. Learn more.
1 Chapter 11 Structured Types, Data Abstraction and Classes Dale/Weems/Headington.
Wednesday, 12/11/02, Slide #1 CS 106 Intro to Comp. Sci. 1 Wednesday, 12/11/02  QUESTIONS??  Today: CLOSING CEREMONIES!  HW #5 – Back Monday (12/16)
1 Pre-Exam Class CSIT121 Fall 2000 Exam-II (Final Examination) TUESDAY DECEMBER 19th 8:30AM.
C++ data types. Structs vs. Classes C++ Classes.
1 Lab Session-XIII CSIT121 Fall 2000 b Lab Exercise13-A for Handling Files b Lab Exercise 13-B for Using Classes.
1 Lecture 29 Chapter 11 Structured Types, Data Abstraction and Classes Dale/Weems/Headington.
Topic R3 – Review for the Final Exam. CISC 105 – Review for the Final Exam Exam Date & Time and Exam Format The final exam is 120-minutes, closed- book,
Monday, 11/18/02, Slide #1 CS 106 Intro to CS 1 Monday, 11/18/02  QUESTIONS??  Today:  Hand back, discuss HW #4  Discussion of Lab 10  Exam #2 Friday.
Chapter 11: Classes and Data Abstraction
ASP.NET Programming with C# and SQL Server First Edition
Introduction to Classes and Objects CS-2303, C-Term Introduction to Classes and Objects CS-2303 System Programming Concepts (Slides include materials.
1 Lab Session-IX CSIT121 Fall 2000 w Arrays and Their Usage w Examples and Lab Exercises w Passing Arrays to Functions w Examples and Exercises w Sorting.
Introduction - The Need for Data Structures Data structures organize data –This gives more efficient programs. More powerful computers encourage more complex.
Using Classes Object-Oriented Programming Using C++ Second Edition 5.
Controlling Inheritance Data Structures & OO Development I 1 Computer Science Dept Va Tech May 2006 ©2006 McQuain & Ribbens Inheritance Modes When deriving.
An Introduction to Java Chapter 11 Object-Oriented Application Development: Part I.
1 Revision Before Exam-I. 2 Exam-I Scope l We discussed the scope of Exam-I and decided to move the topic of file handling to the final exam l A previously.
The Generic Gaming Engine Andrew Burke Advisor: Prof. Aaron Cass Abstract Games have long been a source of fascination. Their inherent complexity has challenged.
SEN 909 OO Programming in C++ Final Exam Multiple choice, True/False and some minimal programming will be required.
Chapter 11: Classes and Data Abstraction. C++ Programming: Program Design Including Data Structures, Fourth Edition2 Objectives In this chapter, you will:
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 13 Introduction to Classes.
Copyright © Curt Hill Generic Classes Template Classes or Container Classes.
ECE 264 Object-Oriented Software Development Instructor: Dr. Honggang Fall 2012 Lecture 8: File I/O; Introduction to classes.
ADTs and C++ Classes Classes and Members Constructors The header file and the implementation file Classes and Parameters Operator Overloading.
 2006 Pearson Education, Inc. All rights reserved Classes: A Deeper Look, Part 2.
Data Structures Using C++ 2E1 Inheritance An “is-a” relationship –Example: “every employee is a person” Allows new class creation from existing classes.
C++ Classes and Data Structures Jeffrey S. Childs
Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights reserved More about.
1 Pre-Exam Lecture 4 Final Examination is scheduled on Monday December 18th at 1:30PM in class 4 There are 8 questions with or without sub- parts and.
Computer Science Projects Internal Assessment. Mastery Item Claimed Justification Where Listed Random Access File – Searching Lines P. 53 Random.
Programming with Java © 2002 The McGraw-Hill Companies, Inc. All rights reserved. 1 McGraw-Hill/Irwin Chapter 5 Creating Classes.
More C++ Bryce Boe 2013/10/23 CS24, Fall Outline Project 1 Review Alignment and Padding Finish C++ Introduction.
Chapter 10: Classes and Data Abstraction. Objectives In this chapter, you will: Learn about classes Learn about private, protected, and public members.
45:211: Environmental Geography Final exam!. 45:211: Environmental Geography The time and place The final exam is scheduled for 1900 hours on Friday December.
Design Reuse Earlier we have covered the re-usable Architectural Styles as design patterns for High-Level Design. At mid-level and low-level, design patterns.
Structures Revisited what is an aggregate construct? What aggregate constructs have we studied? what is a structure? what is the keyword to define a structure?
Algebra 7.5 Special Types of Linear Systems. Solve the Linear System -4x + 2y = 6 -2x + y = 3 4x - 2y = -6 0 = 0 0 = 0 What does this mean? The final.
Data Design and Implementation. Definitions Atomic or primitive type A data type whose elements are single, non-decomposable data items Composite type.
Fall 2015CISC/CMPE320 - Prof. McLeod1 CISC/CMPE320 Assignment 1 due Friday, 7pm. RAD due next Friday. Presentations week 6. Today: –More details on functions,
Programming Fundamentals. Topics to be covered Today Recursion Inline Functions Scope and Storage Class A simple class Constructor Destructor.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 05: Classes and Data Abstraction.
Programming & Debugging. Key Programming Issues Modularity Modifiability Ease of Use Fail-safe programming Style Debugging.
CSci 162 Lecture 8 Martin van Bommel. Large-scale Programming Up to now we have been writing relatively short programs to solve simple problem Want to.
Chapter 10: Classes and Data Abstraction. Classes Object-oriented design (OOD): a problem solving methodology Objects: components of a solution Class:
Structured Programming Dr. Atif Alhejali Lecture 4 Modifiers Parameters passing 1Structured Programming.
Advanced File Operations Chapter File Operations File: a set of data stored on a computer, often on a disk drive Programs can read from, write to.
CS 1430: Programming in C++ 1. File Input in VS Project Properties Debugging Command Arguments quiz8-1.out We want to know how to do it ourselves, right?
Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights reserved More about.
1 Classes and Data Abstraction Chapter What a Class ! ! Specification and implementation Private and public elements Declaring classes data and.
OPERATORS IN C CHAPTER 3. Expressions can be built up from literals, variables and operators. The operators define how the variables and literals in the.
Introduction to Classes and Objects CS-2303, C-Term C++ Program Structure Typical C++ Programs consist of:– main –A function main –One or more classes.
1 Chapter 12 Classes and Abstraction. 2 Chapter 12 Topics Meaning of an Abstract Data Type Declaring and Using a class Data Type Using Separate Specification.
Chapter 12 Classes and Abstraction
Copyright © Jim Fawcett Spring 2017
Programming Logic and Design Seventh Edition
CS 215 Final Review Ismail abumuhfouz Fall 2014.
About the Presentations
Exam 3 Review.
More about OOP and ADTs Classes
Some Basics for Problem Analysis and Solutions
Classes and Data Abstraction
More about OOP and ADTs Classes
From C to C++: Summary of weeks 1 - 4
Developing a Program.
Chapter 2. Problem Solving and Software Engineering
Chapter 9 Introduction To Classes
C++ data types.
Presentation transcript:

1 Exam Guide CSIT121 Summer-I 2001 Exam-II (Final Examination) Thursday June 28th 9:30AM

2 Topics The following topics are included in exam: (1 ) File Input and Output (2) Arrays and Structures (3) Classes [4] Recursion

3 Exam Style Exam-II is similar in style and structure to Exam-I There are 15 MCQ type questions. In these questions, you will have to fill in the blanks, select one out of many choices, give a short answer or indicate true or false Each of these short questions carries one mark

4 Exam Style The remaining 15 marks are distributed in 5 long questions. These questions may have one or more of the following: Writing a program Detecting logical mistakes in a program Detecting typing mistakes in a program Converting one program into another

5 Exam Topics File I/O We learned about sequential file handling in our programs #include is required for file handling input file: ifstream file_handle_name output file: ofstream file_handle_name

6 Exam Topics Arrays and Structures We use arrays to group several related data items under a common name. All items must be of same data type We pass arrays to functions by reference. However, we can use keyword const to protect arrays that should not be modified

7 Exam Topics For grouping different types of data under a common name, we use structs. Arrays of structs serve the purpose of creating an information repository about several objects such as books, students etc. Unions recycle the memory space by keeping only one member active

8 Exam Topics Classes Classes are templates for defining objects Objects provide a public interface to their functions hiding implementation details Objects protect the private data from non- member functions thus making debugging easier

9 Exam Topics User defined classes We can define our own classes in header files and implement member functions in a separate program file A client program is written separately that declares objects belonging to classes and uses the objects to carry out required work

10 Recursion Recursion is a really neat way of solving a class of problems A function may call itself to cause recursion Recursion can become infinite if care is not taken in writing the recursive call Always write the base case and general case. Then implement recursive solution