Visual C++ Object-Oriented Programming

Size: px
Start display at page:

Download "Visual C++ Object-Oriented Programming"

Transcription

1 Visual C++ Object-Oriented Programming A Mark Andrews SAMS PUBLISHING A Division of Prentice Hall Computer Publishing 201 West 103rd Street, Indianapolis, Indiana, USA

2 Contents Introduction xxvii Part I Visual C++ 1 Microsoft Visual C++ 3 About Visual C++ 4 Other Visual C++ Features 5 The Visual Workbench Editor 7 The Standard and Professional Editions 10 Installing Visual C++ 12 What You Need to Install Visual C++ 12 One-Step and Multi-Step Installation 13 The Visual Workbench 13 Using Visual C++ 15 Writing a Visual C++ Program 16 About QuickWin 17 Visual C++ Projects 18 Building a Sample QuickWin Program 19 Summary 23 2 A Better С Plus 25 A Brief History of C++ 26 Learning C++ 27 C++ Comments 31 A Better Way 32 Mixing C-Style and C++-Style Comments 33 Keywords 34 C++ Keywords: The Complete List 34 Keywords Not Implemented in Visual C++ 38 Keywords Unique to Visual C++ 40 Identifiers 43 Data Types 44 Classes 45 char Types 45 Integer Types 46 Floating-Point Types 46 Aggregate Types 47 Structures 52

3 Visual C++ Object-Oriented Programming Unions 56 Pointer Types 60 Reference Types 60 Type void 61 The typedef Declaration 64 Summary 65 3 Type Qualifiers 67 The const Qualifier 68 Uses of the const Qualifier 68 const Objects in С and C++ 69 Advantages of Using const Objects 70 Enhancements to const Objects 70 New Features of const Objects 71 Initializing a const with a Function 72 Functions That Return const Objects 72 Passing a const Array to a Function 73 How the const Modifier Works 73 Altering the Linkage of a const Object 74 Using a const in a Pointer Declaration 75 Using Constants with Pointers 76 When Is a const Not a const? 76 Pointing to the Address of a const 77 Where to Put a const 77 A const Pointer to a const Object 78 The volatile Qualifier 78 How volatile Works 79 Declaring an Object to Be Both const and volatile 80 Summary 80 4 Variables 83 Declaring Variables in C++ 84 Initialization and Assignment 86 Initializing Constants and References 86 Initializing a Reference 86 Initializing a const 87 Initializing External Data 87 Function-Style Initializations 88 References 91 Defining a Reference 92 Capabilities of References 94 Initializing References 95

4 Contents References as Aliases 96 Passing References as Parameters to Functions 99 Passing an Argument by Value 99 Passing an Argument by Address 101 Passing an Argument by Reference 102 How Not to Use References 103 Accessing Elements of a Referenced Structure 104 Writing a Function That Returns a Reference 105 Using References with const Objects 107 Summary Properties of Variables 109 Storage Class 110 The External Storage Class 110 The Static Storage Class Ill Scope 114 Local Scope 114 Function Scope 116 File Scope 116 Prototype Scope 117 Resolving Conflicts in Names of Identifiers 117 How Scope Precedence Works 118 The Point of Declaration 119 The Scope Resolution Operator 119 Duration 120 Linkage 121 Internal Linkage 121 External Linkage 121 No Linkage 122 Summary Functions 125 The main() Function 126 Defining a Function 128 C++-Style Function Definitions 130 Function Prototypes 131 An Example of Function Prototyping 131 Rules for Function Prototyping 132 Overloading Functions 133 Using Function Overloading 134 Name Mangling 135 Inline Functions 136

5 Visual C++ Object-Oriented Programming Default Function Arguments 137 Variable Argument Lists 139 Variable Argument Lists in С 139 Variable Argument Lists in C Writing Variable Argument Lists 140 The STDARG.H Functions 142 Passing Arguments to Functions 145 Safeguarding Data Passed to a Function 146 Declaring an Argument to Be a Constant 146 Calling a Function to Initialize a const 147 Summary Compiling Visual C++Programs 151 Building a Visual C++ Program 152 Compiling a Visual C++ Program 154 Speeding Up Compilation 154 Using Precompiled Files 154 Using the Fast Compile Option 155 Using a Disk-Caching Program 155 Use a RAM Disk Program 155 Identifiers 156 Compiling Programs in P-Code 156 С and C++ Compilers 157 Compiling Programs with the Visual Workbench 158 The New Project Dialog Box 159 QuickWin Programs and Other Applications 161 The Project Options Dialog Box 161 Configuring Your System for Command-Line Compilation 165 The Visual C++ Preprocessor 167 Header Files 170 Using Header Files 170 Contents of Header Files 171 Nesting Header Files 172 Bracketed and Quoted #include Directives 172 How the Preprocessor Finds Header Files 172 Precompiled Headers and Precompiled Files 174 The#define Directive 176 Creating Constants with #define 176 What the #define Directive Doesn't Do 177 Creating Macros with #define 178

6 Contents Conditional Compilation Directives 181 Writing Comments with Compilation Directives 182 The #if Directive 182 The #else and #elif Directives 183 Combining the #ifdef and #else Directives 184 Other Preprocessor Directives 185 Special Features of the Visual C++ Preprocessor 186 Charizing 186 Stringizing 187 Token Concatenation 188 Trigraph Replacement 190 Predefined Macros 191 Summary Linking Visual C++Programs 195 Creating a Project 196 The Linker Button 197 Using the Linker Options Dialog Box 197 Getting Help with Command-Line Options 199 Linking a C++ Program 199 Libraries Provided with Visual C Mixing C++ with Other Languages 202 Name Mangling 203 Alternate Linkage Specifications 203 The extern Keyword 204 Effects of Linkage Specifications 205 Function Modifiers 206 The С Calling Convention 207 The Pascal/FORTRAN Calling Convention 208 The Register Calling Convention 210 The asm Modifier Managing Memory 213 About This Chapter 214 Segmented Memory 215 How Segmented Memory Works 216 Memory Segments and Paragraph Boundaries 217 The 80X86 Chip's Segment Registers 217 Near Calls and Far Calls 218 How Segments Overlap 219 SegmentOffset Addressing 219 Memory Modes 219

7 -j. Visual C++ Object-Oriented Programming Real Mode 220 Protected Mode 220 Standard Mode and Enhanced Mode 221 Standard Mode 222 Enhanced Mode 222 Memory Models 223 How Memory Models Work 223 Memory Models and Pointers 224 Overlays and the MOVE Utility 225 Deciding on a Memory Model 226 Advantages of Using Memory Models 227 The Six Memory Models 227 The Tiny Memory Model 227 The Small Memory Model 228 The Medium Memory Model 229 The Compact Memory Model 229 The Large Memory Model 229 The Huge Memory Model 229 Using Pointers in Visual C near Pointers 230 far Pointers 231 huge Pointers 232 Pointers to void 232 Pointers to Undeclared Data Types 233 The new and delete Operators 233 How the new Operator Works 234 Initializing Memory with a Value 235 Using the new Operator 236 Allocating Memory for an Array 237 Allocating Memory Interactively 238 Allocating Memory for an Array of Unknown Size 239 Deallocating Memory Assigned to Arrays 239 Allocating Memory by Calling a Function 240 Using the delete Operator 242 The _set_new_handler() Function 243 How new Allocates Memory 245 The Near, Far, and Based Memory Spaces 245 Overloading the new and delete Operators 246 The operator new() and operator delete() Functions 246 The size_ttype 248

8 Adding Parameters to the new Operator 248 Using new to Change Memory Pools 250 Overloading _set_new_handler() 250 Saving and Restoring a New Handler 251 Returning _set_new_handler() to Its Default Behavior 252 Alternate _set_new_handler() Functions 252 Memory Management Under Windows 252 How Windows Systems Work 253 Windows and Segment Registers 253 Descriptors 254 Summary 256 Object-Oriented Programming Object-Oriented Programming 259 About Object-Oriented Programming 260 Misconceptions 261 The OOP Controversy 261 How It Works 262 How It All Began 263 From COBOL to Simula 263 The Debut of C Benefits of C Code Reuse 265 Zen and the Art of C++ Programming 267 A Wall Street Simulation 268 A Factory Simulation 269 Problems in Project Planning 272 The C++ Lexicon 273 Features of C Data Encapsulation and Data Abstraction 278 Inheritance 278 Multiple Inheritance 279 Polymorphism 281 Elements of a C++ Program 284 Classes and Objects 284 Member Variables 285 Member Functions 285 Summary 286

9 Visual C++ Object-Oriented Programming 11 Classes 287 Enhancing the struct 288 The C++-Style struct 289 Storing a Function in a struct 289 Limiting Access to Data in a struct 290 From struct to class 291 Instantiating an Object 292 Object Instantiation Illustrated 293 Accessing Members of a Class 293 Member Functions 293 The Scope Resolution Operator 295 Access Specifiers 295 Classes and Objects 297 Class Diagrams 304 Data Abstraction in the Zalthar Program 306 Abstract Classes 307 Subclassing 309 Virtual Functions 310 Another Example Program 315 Class Libraries 318 Summary Objects 321 From struct to Object 322 Shortcomings of C-Style Structures 325 Defining an Object's Contents 326 Using Objects 326 How Objects Are Created 326 Two Ways to Initialize Objects 327 Constructors 327 Destructors 334 Member Variables 335 Pointers to Member Variables 335 Arrays of Member Variables 338 Constant Member Variables 341 Static Member Variables 342 Static Member Functions 352 Allocating Memory for Objects 353 Allocating Memory Dynamically 354 Frame Allocation 355 Heap Allocation 356

10 Accessing Members of Objects 358 Using the (::) Operator in a Function Header 361 Access Specifiers 366 Encapsulation 366 Using Access Specifiers 368 Interpreting Access Specifiers 369 The public Access Specifier 370 The private Access Specifier 370 The protected Access Specifier 372 Publicly and Privately Derived Objects 372 Public Derivation 373 Private Derivation 373 Creating Multiple Objects of a Class 374 Creating Arrays of Objects 374 Creating Arrays of Pointers to Objects 379 Techniques for Designing Classes 381 Nested Classes 381 Composed Classes 383 Local Classes 385 friend Classes 386 Incomplete Class Declarations 386 Empty Classes 387 Scope and Linkage of Objects 388 Objects with External Linkage 388 Objects with Static Duration 388 The this Pointer 389 Summary 392 Member Functions 393 Capabilities of Member Functions 394 Kinds of Member Functions 394 Accessing Member Functions 396 Declaring and Defining Member Functions 397 Specifying Return Values of Member Functions 398 The const and volatile Keywords 400 Member Functions with const this Pointers 401 Member Functions with volatile this Pointers 403 Static and Non-Static Member Functions 405 Inline Member Functions 406 How Inline Member Functions Work 408 Accessing an Inline Member Function 408 Inline Member Functions and the Stack 409

11 Visual C++ Object-Oriented Programming Overloading Member Functions 410 Overriding Member Functions 411 Virtual Functions 411 Virtual Functions and Polymorphism 412 Pure Virtual Functions 412 Friends 413 The friend Keyword 414 friend Classes and friend Functions 416 Bridging friend Classes 418 Alternatives to Using Bridge Functions 420 Static Member Functions 422 The static Keyword 430 Initializing a Static Member Variable 430 Using Static Member Functions 431 Pointers to Member Functions 432 Using Pointers to Ordinary Functions 433 Using Pointers to Member Functions 434 Arrays of Pointers to Member Functions 436 Pointers to Static Member Functions 438 Summary Constructors and Destructors 441 Creating Constructors 442 Two Kinds of Constructors 444 Creating Objects Without Constructors 444 Destructors 445 Using Destructors Safely 445 How Destructors Are Invoked 446 Using Destructors 446 Order of Destruction 447 Destructors in the Zalthar Program 448 How Constructors Work 449 Kinds of Constructors 450 Invoking a Constructor 452 Other Ways to Invoke Constructors 453 Ground Rules for Using Constructors 454 Benefits of Using Constructors 455 Constructors Can Help Manage Memory 456 Constructors Can Initialize and Check Values 456 Conversion Constructors and Copy Constructors 458 Initializing Variables with Constructors 459

12 Contents j«yj Щ V Default Constructors 462 Calling a Default Constructor 463 When Default Constructors Are Invoked 464 Constructor Overloading 464 Using Constructors 466 Classes with Multiple Constructors 471 Order of Construction 473 Construction by the Numbers 474 Invoking Constructors in the Warrior Program 474 Constructing a const Object 475 Summary Function Overloading 479 How Function Overloading Works 480 Ground Rules for Function Overloading 481 Argument Matching 484 How Argument Matching Works 487 Argument Matching, Step by Step 488 Function Overloading and Scope 492 Overloading Constructors 493 Overloading Functions in Derived Classes 494 The Scope Resolution Operator 496 Overloading Virtual Functions 496 Overloading Static Member Functions,498 Conversion Functions 499 Summary Operator Overloading 503 How Operator Overloading Works 504 An Illustration of Operator Overloading 504 Using Operator Overloading in Math Operations 505 Writing Operator-Overloading Functions 506 The Scope of Operator-Overloading Functions 506 The Format of an Operator-Overloading Function 507 Overloading Binary and Unary Operators 508 Operators That Can Be Overloaded 509 Operator Overloading: Tips and Techniques 510 Operators that Can't Be Overloaded 511 How C++ Implements Operator Overloading 513 Rules of Operator Overloading 514 xix

13 Visual C++ Object-Oriented Programming Member Functions That Overload Operators 515 Overloading the ++ and Operators 516 Overloading the Binary + and - Operators 520 Overloading the += Operator 523 Overloading the = Operator 526 Overloading Relational Operators 547 Overloading the [] Operator 550 Overloading the () Operator 554 Overloading the & Operator 557 Overloading the -> Operator 558 Overloading Data Types 564 Overloading new and delete 565 Rules for Overloading new and delete 569 Nonmember Overloading Functions 570 Writing a Nonmember Operator-Overloading Function 571 An Operator-Overloading friend Function 573 Another Operator-Overloading friend Function 576 Summary Conversion Functions 581 How Conversion Functions Work 582 Casting 583 The Trouble with Casting 583 Function-Style Casts 584 Uses for Function-Style Casts 585 Rules for Using Function-Style Casts 585 Converting User-Defined Data Types 586 Conversion Constructor Functions 587 Defining a Class for a Conversion Function 589 Defining a Conversion Constructor 590 Converting a Variable to a Multi-Element Class 591 A More Advanced Conversion Constructor 593 Converting a Variable to a Multi-Element Class 595 Functions in the TIME.H Library 595 Conversion Constructors Step by Step 597 Member Conversion Functions 598 Writing a Member Conversion Function 600 How Member Conversion Functions Work 600 Using Member Conversion Functions 602 Illustrating Member Conversion Functions 604 Data Types Used in 1705.CPP 606 Summary 606

14 Contents 18 Copying Objects 607 Copy Constructors and operator= Functions 608 Writing an operator= Function 609 Invoking a Copy Constructor 609 Destruction Problems Illustrated 610 Writing a Copy Constructor 614 How the operator= Function Works 617 Copying Strings 621 The strcpyo Function 621 How the Program Works 626 Allocating Memory for Strings 627 Memory-Allocation Alternatives 627 Adding a String Class to the Zalthar Program 628 How the New Zalthar Program Works 634 String Classes 635 How the String Class Works 636 Using the String Class 636 Initializing a String Object with a Copy Constructor 636 Assignment Operator Overloading 637 Using Overloaded Assignment Operators 637 Summary Inheritance and Polymorphism 639 Derived Classes 640 Reasons for Using Derived Classes 640 Benefits of Using Derived Classes 641 The New Zalthar Hierarchy 649 Inheritance Rules for Constructors and Destructors 650 Accessing Objects Through Pointers 653 Virtual Functions 654 Calling Virtual Functions 654 Pure Virtual Functions 655 Overriding Virtual Functions 659 The Scope Resolution Operator 661 How Virtual Functions Work 661 Virtual Functions: Pros and Cons 664 Multiple Inheritance 664 Multiple Inheritance Illustrated 665 Multiple Inheritance in the Animal Kingdom 666 Virtual Base Classes 668 Function-Name Ambiguities in the Inheritance Chain 670 Summary 673

15 Visual C++ Object-Oriented Programming 20 Streams 675 How the iostream Classes Work 677 The iostream Library 679 Stream-Related Header Files 679 The Microsoft iostream Class Library 680 The iostream Hierarchy 680 The ios Class and Its Subclasses 681 Using Streams 688 Mixing Data Types in Streams 689 Formatting Output 690 Setting Output Width 696 The setw Manipulator 698 Setting the Padding Character 699 Alternatives to ein» and cout «700 Alternatives to the ein» Operator 700 Alternatives to cout «704 Overloading «and» 706 Overloading the «Operator 706 Overloading the» Operator 707 File I/O 708 Opening, Using, and Closing a Stream File 709 File Streams 709 The ofstream and ifstream Classes 710 The fstream Class 711 Summary 716 Part III The MFC Library 21 The Microsoft Foundation Classes 721 General Purpose Classes 723 The CObject Class 725 Benefits of Using the CObject Class 725 Serialization 727 The DYNCREATE Macros 734 The DYNAMIC Macros 735 Diagnostic Aids 737 Exception Handling 741 Other MFC Classes 743 File Classes 743 Collection Classes 745 The CString Class 747 Time-Related Classes 748

16 Contents The Example Program 748 Architecture of the Example Program 750 Compiling the Example Program 752 Running the Example Program 753 Summary The Visual Workbench 779 Visual Workbench Components 780 Message-Driven Programs 781 C++ Program Architecture 782 The WinMainQ Function 783 Documents and Views 783 The Visual Workbench Tools 787 AppWizard 787 App Studio 795 How the Character-Creation Dialog Box Works 803 Using Class Wizard 805 The Class Wizard Window 805 How ClassWizard Works 806 Command Binding 808 Creating Dialog Boxes 809 The Example Program 813 Summary Windows and Views 865 How Documents and Views Work 867 Features of the CDocument Class 869 Features of the CView Class 869 Using Documents 870 How Windows Work in Visual C Windows Classes 871 The CWnd Class 871 The Big 5 Windows Classes 873 Dialog Boxes 884 The CDialog Class 884 How Dialog Boxes Work 885 Retrieving Data the Old Way 890 Summary Visual C++ Graphics 893 The CDC Class 894 CDC Subclasses 895 t

17 Visual C++ Object-Oriented Programming The CGdiObject Class 896 Using the CDC and CGdiObject Classes 896 What's in a Name 897 Creating Graphics in Visual C Visual C++ Graphics, Step by Step 899 TheOnPaintQ and OnDraw() Functions 900 TheOnDrawQ Function, Step by Step 902 Drawing Text with CDC and GDI Objects 903 Creating and Deleting Graphics Objects 904 One-Step Creation of a Graphics Object 904 Two-Step Creation of a Graphics Object 904 Using Bitmaps in Visual C Creating a Bitmap Object 906 Drawing Irregular Shapes 909 Drawing the Zalthar Players 911 Animation 914 Zalthar: The Final Episode 916 Summary 969 Appendix A ASCII Chart 971 Appendix В The 80X86 Chip Family 975 The 8086 and 8088 Processors 976 The 8086, the 8088, and Real Mode 976 How Segment:Offset Addressing Works 977 Segment Registers and Offset Registers 977 SegmentOffset Addressing: A More Complex Example 980 Ambiguities in SegmentOffset Addressing 981 The Microprocessor 983 Protected Mode and SegmentOffset Addressing 983 The 386 Processor Protected Mode 985 Virtual-8086 Mode 986 The 486 Processor 986 Using Pointers in C++ Programs 986 Bibliography 989 Index 993

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

KITES TECHNOLOGY COURSE MODULE (C, C++, DS) KITES TECHNOLOGY 360 Degree Solution www.kitestechnology.com/academy.php info@kitestechnology.com technologykites@gmail.com Contact: - 8961334776 9433759247 9830639522.NET JAVA WEB DESIGN PHP SQL, PL/SQL

More information

Glossary of Object Oriented Terms

Glossary of Object Oriented Terms Appendix E Glossary of Object Oriented Terms abstract class: A class primarily intended to define an instance, but can not be instantiated without additional methods. abstract data type: An abstraction

More information

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement? 1. Distinguish & and && operators. PART-A Questions 2. How does an enumerated statement differ from a typedef statement? 3. What are the various members of a class? 4. Who can access the protected members

More information

Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies)

Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies) Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies) Duration of Course: 6 Months Fees: Rs. 25,000/- (including Service Tax) Eligibility: B.E./B.Tech., M.Sc.(IT/ computer

More information

C++ INTERVIEW QUESTIONS

C++ INTERVIEW QUESTIONS C++ INTERVIEW QUESTIONS http://www.tutorialspoint.com/cplusplus/cpp_interview_questions.htm Copyright tutorialspoint.com Dear readers, these C++ Interview Questions have been designed specially to get

More information

El Dorado Union High School District Educational Services

El Dorado Union High School District Educational Services El Dorado Union High School District Course of Study Information Page Course Title: ACE Computer Programming II (#495) Rationale: A continuum of courses, including advanced classes in technology is needed.

More information

Multichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is

Multichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is Multichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is preceded by an equal sign d. its name has undereline 2. Associations

More information

Storage Classes CS 110B - Rule Storage Classes Page 18-1 \handouts\storclas

Storage Classes CS 110B - Rule Storage Classes Page 18-1 \handouts\storclas CS 110B - Rule Storage Classes Page 18-1 Attributes are distinctive features of a variable. Data type, int or double for example, is an attribute. Storage class is another attribute. There are four storage

More information

The C Programming Language course syllabus associate level

The C Programming Language course syllabus associate level TECHNOLOGIES The C Programming Language course syllabus associate level Course description The course fully covers the basics of programming in the C programming language and demonstrates fundamental programming

More information

PROBLEM SOLVING SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON

PROBLEM SOLVING SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON PROBLEM SOLVING WITH SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON Addison Wesley Boston San Francisco New York London

More information

Java (12 Weeks) Introduction to Java Programming Language

Java (12 Weeks) Introduction to Java Programming Language Java (12 Weeks) Topic Lecture No. Introduction to Java Programming Language 1 An Introduction to Java o Java as a Programming Platform, The Java "White Paper" Buzzwords, Java and the Internet, A Short

More information

Object Oriented Software Design II

Object Oriented Software Design II Object Oriented Software Design II Introduction to C++ Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa February 20, 2012 G. Lipari (Scuola Superiore Sant Anna) C++ Intro February

More information

Course Title: Software Development

Course Title: Software Development Course Title: Software Development Unit: Customer Service Content Standard(s) and Depth of 1. Analyze customer software needs and system requirements to design an information technology-based project plan.

More information

core. Volume I - Fundamentals Seventh Edition Sun Microsystems Press A Prentice Hall Title ULB Darmstadt

core. Volume I - Fundamentals Seventh Edition Sun Microsystems Press A Prentice Hall Title ULB Darmstadt core. 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Volume I - Fundamentals Seventh Edition CAY S. HORSTMANN GARY

More information

Object Oriented Programming With C++(10CS36) Question Bank. UNIT 1: Introduction to C++

Object Oriented Programming With C++(10CS36) Question Bank. UNIT 1: Introduction to C++ Question Bank UNIT 1: Introduction to C++ 1. What is Procedure-oriented Programming System? Dec 2005 2. What is Object-oriented Programming System? June 2006 3. Explain the console I/O functions supported

More information

WORKSPACE WEB DEVELOPMENT & OUTSOURCING TRAINING CENTER

WORKSPACE WEB DEVELOPMENT & OUTSOURCING TRAINING CENTER WORKSPACE WEB DEVELOPMENT & OUTSOURCING TRAINING CENTER Course Outline (2015) Basic Programming With Procedural & Object Oriented Concepts (C, C++) Training Office# Road: 11, House: 1 A, Nikunja 2, Khilkhet,

More information

Java Application Developer Certificate Program Competencies

Java Application Developer Certificate Program Competencies Java Application Developer Certificate Program Competencies After completing the following units, you will be able to: Basic Programming Logic Explain the steps involved in the program development cycle

More information

BCS2B02: OOP Concepts and Data Structures Using C++

BCS2B02: OOP Concepts and Data Structures Using C++ SECOND SEMESTER BCS2B02: OOP Concepts and Data Structures Using C++ Course Number: 10 Contact Hours per Week: 4 (2T + 2P) Number of Credits: 2 Number of Contact Hours: 30 Hrs. Course Evaluation: Internal

More information

Curriculum Map. Discipline: Computer Science Course: C++

Curriculum Map. Discipline: Computer Science Course: C++ Curriculum Map Discipline: Computer Science Course: C++ August/September: How can computer programs make problem solving easier and more efficient? In what order does a computer execute the lines of code

More information

Fundamentals of Java Programming

Fundamentals of Java Programming Fundamentals of Java Programming This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and exclusive use by instructors

More information

CEC225 COURSE COMPACT

CEC225 COURSE COMPACT CEC225 COURSE COMPACT Course GEC 225 Applied Computer Programming II(2 Units) Compulsory Course Duration Two hours per week for 15 weeks (30 hours) Lecturer Data Name of the lecturer: Dr. Oyelami Olufemi

More information

Java Interview Questions and Answers

Java Interview Questions and Answers 1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform independence means that we can write and compile the java

More information

CSCI 253. Object Oriented Programming (OOP) Overview. George Blankenship 1. Object Oriented Design: Java Review OOP George Blankenship.

CSCI 253. Object Oriented Programming (OOP) Overview. George Blankenship 1. Object Oriented Design: Java Review OOP George Blankenship. CSCI 253 Object Oriented Design: Java Review OOP George Blankenship George Blankenship 1 Object Oriented Programming (OOP) OO Principles Abstraction Encapsulation Abstract Data Type (ADT) Implementation

More information

Course MS10975A Introduction to Programming. Length: 5 Days

Course MS10975A Introduction to Programming. Length: 5 Days 3 Riverchase Office Plaza Hoover, Alabama 35244 Phone: 205.989.4944 Fax: 855.317.2187 E-Mail: rwhitney@discoveritt.com Web: www.discoveritt.com Course MS10975A Introduction to Programming Length: 5 Days

More information

Chapter 5 Names, Bindings, Type Checking, and Scopes

Chapter 5 Names, Bindings, Type Checking, and Scopes Chapter 5 Names, Bindings, Type Checking, and Scopes Chapter 5 Topics Introduction Names Variables The Concept of Binding Type Checking Strong Typing Scope Scope and Lifetime Referencing Environments Named

More information

C++ Programming Language

C++ Programming Language C++ Programming Language Lecturer: Yuri Nefedov 7th and 8th semesters Lectures: 34 hours (7th semester); 32 hours (8th semester). Seminars: 34 hours (7th semester); 32 hours (8th semester). Course abstract

More information

Visual Basic. murach's TRAINING & REFERENCE

Visual Basic. murach's TRAINING & REFERENCE TRAINING & REFERENCE murach's Visual Basic 2008 Anne Boehm lbm Mike Murach & Associates, Inc. H 1-800-221-5528 (559) 440-9071 Fax: (559) 440-0963 murachbooks@murach.com www.murach.com Contents Introduction

More information

MSP430 C/C++ CODE GENERATION TOOLS Compiler Version 3.2.X Parser Error/Warning/Remark List

MSP430 C/C++ CODE GENERATION TOOLS Compiler Version 3.2.X Parser Error/Warning/Remark List MSP430 C/C++ CODE GENERATION TOOLS Compiler Version 3.2.X Parser Error/Warning/Remark List This is a list of the error/warning messages generated by the Texas Instruments C/C++ parser (which we license

More information

C Interview Questions

C Interview Questions http://techpreparation.com C Interview Questions And Answers 2008 V i s i t T e c h P r e p a r a t i o n. c o m f o r m o r e i n t e r v i e w q u e s t i o n s a n d a n s w e r s C Interview Questions

More information

13 Classes & Objects with Constructors/Destructors

13 Classes & Objects with Constructors/Destructors 13 Classes & Objects with Constructors/Destructors 13.1 Introduction In object oriented programming, the emphasis is on data rather than function. Class is a way that binds the data & function together.

More information

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands C Programming for Embedded Microcontrollers Warwick A. Smith Elektor International Media BV Postbus 11 6114ZG Susteren The Netherlands 3 the Table of Contents Introduction 11 Target Audience 11 What is

More information

Embedded Programming in C/C++: Lesson-1: Programming Elements and Programming in C

Embedded Programming in C/C++: Lesson-1: Programming Elements and Programming in C Embedded Programming in C/C++: Lesson-1: Programming Elements and Programming in C 1 An essential part of any embedded system design Programming 2 Programming in Assembly or HLL Processor and memory-sensitive

More information

How To Port A Program To Dynamic C (C) (C-Based) (Program) (For A Non Portable Program) (Un Portable) (Permanent) (Non Portable) C-Based (Programs) (Powerpoint)

How To Port A Program To Dynamic C (C) (C-Based) (Program) (For A Non Portable Program) (Un Portable) (Permanent) (Non Portable) C-Based (Programs) (Powerpoint) TN203 Porting a Program to Dynamic C Introduction Dynamic C has a number of improvements and differences compared to many other C compiler systems. This application note gives instructions and suggestions

More information

JetBrains ReSharper 2.0 Overview Introduction ReSharper is undoubtedly the most intelligent add-in to Visual Studio.NET 2003 and 2005. It greatly increases the productivity of C# and ASP.NET developers,

More information

IS0020 Program Design and Software Tools Midterm, Feb 24, 2004. Instruction

IS0020 Program Design and Software Tools Midterm, Feb 24, 2004. Instruction IS0020 Program Design and Software Tools Midterm, Feb 24, 2004 Name: Instruction There are two parts in this test. The first part contains 50 questions worth 80 points. The second part constitutes 20 points

More information

History OOP languages Year Language 1967 Simula-67 1983 Smalltalk

History OOP languages Year Language 1967 Simula-67 1983 Smalltalk History OOP languages Intro 1 Year Language reported dates vary for some languages... design Vs delievered 1957 Fortran High level programming language 1958 Lisp 1959 Cobol 1960 Algol Structured Programming

More information

Illustration 1: Diagram of program function and data flow

Illustration 1: Diagram of program function and data flow The contract called for creation of a random access database of plumbing shops within the near perimeter of FIU Engineering school. The database features a rating number from 1-10 to offer a guideline

More information

UML for C# Modeling Basics

UML for C# Modeling Basics UML for C# C# is a modern object-oriented language for application development. In addition to object-oriented constructs, C# supports component-oriented programming with properties, methods and events.

More information

www.sahajsolns.com Chapter 4 OOPS WITH C++ Sahaj Computer Solutions

www.sahajsolns.com Chapter 4 OOPS WITH C++ Sahaj Computer Solutions Chapter 4 OOPS WITH C++ Sahaj Computer Solutions 1 Session Objectives Classes and Objects Class Declaration Class Members Data Constructors Destructors Member Functions Class Member Visibility Private,

More information

Computing Concepts with Java Essentials

Computing Concepts with Java Essentials 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Computing Concepts with Java Essentials 3rd Edition Cay Horstmann

More information

Programming and Software Development (PSD)

Programming and Software Development (PSD) Programming and Software Development (PSD) Course Descriptions Fundamentals of Information Systems Technology This course is a survey of computer technologies. This course may include computer history,

More information

C++ Outline. cout << "Enter two integers: "; int x, y; cin >> x >> y; cout << "The sum is: " << x + y << \n ;

C++ Outline. cout << Enter two integers: ; int x, y; cin >> x >> y; cout << The sum is:  << x + y << \n ; C++ Outline Notes taken from: - Drake, Caleb. EECS 370 Course Notes, University of Illinois Chicago, Spring 97. Chapters 9, 10, 11, 13.1 & 13.2 - Horstman, Cay S. Mastering Object-Oriented Design in C++.

More information

Java EE Web Development Course Program

Java EE Web Development Course Program Java EE Web Development Course Program Part I Introduction to Programming 1. Introduction to programming. Compilers, interpreters, virtual machines. Primitive types, variables, basic operators, expressions,

More information

Chapter 1 Fundamentals of Java Programming

Chapter 1 Fundamentals of Java Programming Chapter 1 Fundamentals of Java Programming Computers and Computer Programming Writing and Executing a Java Program Elements of a Java Program Features of Java Accessing the Classes and Class Members The

More information

ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology)

ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology) ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology) Subject Description: This subject deals with discrete structures like set theory, mathematical

More information

AP Computer Science Java Subset

AP Computer Science Java Subset APPENDIX A AP Computer Science Java Subset The AP Java subset is intended to outline the features of Java that may appear on the AP Computer Science A Exam. The AP Java subset is NOT intended as an overall

More information

Brent A. Perdue. July 15, 2009

Brent A. Perdue. July 15, 2009 Title Page Object-Oriented Programming, Writing Classes, and Creating Libraries and Applications Brent A. Perdue ROOT @ TUNL July 15, 2009 B. A. Perdue (TUNL) OOP, Classes, Libraries, Applications July

More information

Advanced Data Structures

Advanced Data Structures C++ Advanced Data Structures Chapter 8: Advanced C++ Topics Zhijiang Dong Dept. of Computer Science Middle Tennessee State University Chapter 8: Advanced C++ Topics C++ 1 C++ Syntax of 2 Chapter 8: Advanced

More information

TECHNOLOGY Computer Programming II Grade: 9-12 Standard 2: Technology and Society Interaction

TECHNOLOGY Computer Programming II Grade: 9-12 Standard 2: Technology and Society Interaction Standard 2: Technology and Society Interaction Technology and Ethics Analyze legal technology issues and formulate solutions and strategies that foster responsible technology usage. 1. Practice responsible

More information

Subject Name: Object Oriented Programming in C++ Subject Code: 2140705

Subject Name: Object Oriented Programming in C++ Subject Code: 2140705 Faculties: L.J. Institute of Engineering & Technology Semester: IV (2016) Subject Name: Object Oriented Programming in C++ Subject Code: 21405 Sr No UNIT - 1 : CONCEPTS OF OOCP Topics -Introduction OOCP,

More information

Ch 7-1. Object-Oriented Programming and Classes

Ch 7-1. Object-Oriented Programming and Classes 2014-1 Ch 7-1. Object-Oriented Programming and Classes May 10, 2014 Advanced Networking Technology Lab. (YU-ANTL) Dept. of Information & Comm. Eng, Graduate School, Yeungnam University, KOREA (Tel : +82-53-810-2497;

More information

5 CLASSES CHAPTER. 5.1 Object-Oriented and Procedural Programming. 5.2 Classes and Objects 5.3 Sample Application: A Clock Class

5 CLASSES CHAPTER. 5.1 Object-Oriented and Procedural Programming. 5.2 Classes and Objects 5.3 Sample Application: A Clock Class CHAPTER 5 CLASSES class head class struct identifier base spec union class name 5.1 Object-Oriented and Procedural Programming 5.2 Classes and Objects 5.3 Sample Application: A Clock Class 5.4 Sample Application:

More information

MISRA-C:2012 Standards Model Summary for C / C++

MISRA-C:2012 Standards Model Summary for C / C++ MISRA-C:2012 Standards Model Summary for C / C++ The LDRA tool suite is developed and certified to BS EN ISO 9001:2000. This information is applicable to version 9.4.2 of the LDRA tool suite. It is correct

More information

Specialized Programme on Web Application Development using Open Source Tools

Specialized Programme on Web Application Development using Open Source Tools Specialized Programme on Web Application Development using Open Source Tools A. NAME OF INSTITUTE Centre For Development of Advanced Computing B. NAME/TITLE OF THE COURSE C. COURSE DATES WITH DURATION

More information

Object Oriented Software Design II

Object Oriented Software Design II Object Oriented Software Design II Real Application Design Christian Nastasi http://retis.sssup.it/~lipari http://retis.sssup.it/~chris/cpp Scuola Superiore Sant Anna Pisa April 25, 2012 C. Nastasi (Scuola

More information

Basics of I/O Streams and File I/O

Basics of I/O Streams and File I/O Basics of This is like a cheat sheet for file I/O in C++. It summarizes the steps you must take to do basic I/O to and from files, with only a tiny bit of explanation. It is not a replacement for reading

More information

Android Application Development Course Program

Android Application Development Course Program Android Application Development Course Program Part I Introduction to Programming 1. Introduction to programming. Compilers, interpreters, virtual machines. Primitive data types, variables, basic operators,

More information

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives Introduction to Programming and Algorithms Module 1 CS 146 Sam Houston State University Dr. Tim McGuire Module Objectives To understand: the necessity of programming, differences between hardware and software,

More information

Applied Informatics C++ Coding Style Guide

Applied Informatics C++ Coding Style Guide C++ Coding Style Guide Rules and Recommendations Version 1.4 Purpose of This Document This document describes the C++ coding style employed by Applied Informatics. The document is targeted at developers

More information

Course notes Standard C++ programming

Course notes Standard C++ programming Department of Cybernetics The University of Reading SE2B2 Further Computer Systems Course notes Standard C++ programming by Dr Virginie F. Ruiz November, 03 CREATING AND USING A COPY CONSTRUCTOR... 27

More information

CpSc212 Goddard Notes Chapter 6. Yet More on Classes. We discuss the problems of comparing, copying, passing, outputting, and destructing

CpSc212 Goddard Notes Chapter 6. Yet More on Classes. We discuss the problems of comparing, copying, passing, outputting, and destructing CpSc212 Goddard Notes Chapter 6 Yet More on Classes We discuss the problems of comparing, copying, passing, outputting, and destructing objects. 6.1 Object Storage, Allocation and Destructors Some objects

More information

Xcode Project Management Guide. (Legacy)

Xcode Project Management Guide. (Legacy) Xcode Project Management Guide (Legacy) Contents Introduction 10 Organization of This Document 10 See Also 11 Part I: Project Organization 12 Overview of an Xcode Project 13 Components of an Xcode Project

More information

RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE. CISY 105 Foundations of Computer Science

RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE. CISY 105 Foundations of Computer Science I. Basic Course Information RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE CISY 105 Foundations of Computer Science A. Course Number and Title: CISY-105, Foundations of Computer Science B. New

More information

1 Abstract Data Types Information Hiding

1 Abstract Data Types Information Hiding 1 1 Abstract Data Types Information Hiding 1.1 Data Types Data types are an integral part of every programming language. ANSI-C has int, double and char to name just a few. Programmers are rarely content

More information

Polymorphism. Problems with switch statement. Solution - use virtual functions (polymorphism) Polymorphism

Polymorphism. Problems with switch statement. Solution - use virtual functions (polymorphism) Polymorphism Polymorphism Problems with switch statement Programmer may forget to test all possible cases in a switch. Tracking this down can be time consuming and error prone Solution - use virtual functions (polymorphism)

More information

Specialized Programme on Web Application Development using Open Source Tools

Specialized Programme on Web Application Development using Open Source Tools Specialized Programme on Web Application Development using Open Source Tools Objective: At the end of the course, Students will be able to: Understand various open source tools(programming tools and databases)

More information

C++FA 5.1 PRACTICE MID-TERM EXAM

C++FA 5.1 PRACTICE MID-TERM EXAM C++FA 5.1 PRACTICE MID-TERM EXAM This practicemid-term exam covers sections C++FA 1.1 through C++FA 1.4 of C++ with Financial Applications by Ben Van Vliet, available at www.benvanvliet.net. 1.) A pointer

More information

Programming Language Pragmatics

Programming Language Pragmatics Programming Language Pragmatics THIRD EDITION Michael L. Scott Department of Computer Science University of Rochester ^ШШШШШ AMSTERDAM BOSTON HEIDELBERG LONDON, '-*i» ЩЛ< ^ ' m H NEW YORK «OXFORD «PARIS»SAN

More information

Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++)

Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++) Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++) (Revised from http://msdn.microsoft.com/en-us/library/bb384842.aspx) * Keep this information to

More information

Facebook Twitter YouTube Google Plus Website Email

Facebook Twitter YouTube Google Plus Website Email PHP MySQL COURSE WITH OOP COURSE COVERS: PHP MySQL OBJECT ORIENTED PROGRAMMING WITH PHP SYLLABUS PHP 1. Writing PHP scripts- Writing PHP scripts, learn about PHP code structure, how to write and execute

More information

Chapter 5 Functions. Introducing Functions

Chapter 5 Functions. Introducing Functions Chapter 5 Functions 1 Introducing Functions A function is a collection of statements that are grouped together to perform an operation Define a function Invoke a funciton return value type method name

More information

An Overview of Java. overview-1

An Overview of Java. overview-1 An Overview of Java overview-1 Contents What is Java Major Java features Java virtual machine Java programming language Java class libraries (API) GUI Support in Java Networking and Threads in Java overview-2

More information

An Incomplete C++ Primer. University of Wyoming MA 5310

An Incomplete C++ Primer. University of Wyoming MA 5310 An Incomplete C++ Primer University of Wyoming MA 5310 Professor Craig C. Douglas http://www.mgnet.org/~douglas/classes/na-sc/notes/c++primer.pdf C++ is a legacy programming language, as is other languages

More information

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science updated 03/08/2012 Unit 1: JKarel 8 weeks http://www.fcps.edu/is/pos/documents/hs/compsci.htm

More information

Habanero Extreme Scale Software Research Project

Habanero Extreme Scale Software Research Project Habanero Extreme Scale Software Research Project Comp215: Java Method Dispatch Zoran Budimlić (Rice University) Always remember that you are absolutely unique. Just like everyone else. - Margaret Mead

More information

Objective C and iphone App

Objective C and iphone App Objective C and iphone App 6 Months Course Description: Understanding the Objective-C programming language is critical to becoming a successful iphone developer. This class is designed to teach you a solid

More information

10CS35: Data Structures Using C

10CS35: Data Structures Using C CS35: Data Structures Using C QUESTION BANK REVIEW OF STRUCTURES AND POINTERS, INTRODUCTION TO SPECIAL FEATURES OF C OBJECTIVE: Learn : Usage of structures, unions - a conventional tool for handling a

More information

Bachelor of Games and Virtual Worlds (Programming) Subject and Course Summaries

Bachelor of Games and Virtual Worlds (Programming) Subject and Course Summaries First Semester Development 1A On completion of this subject students will be able to apply basic programming and problem solving skills in a 3 rd generation object-oriented programming language (such as

More information

D61830GC30. MySQL for Developers. Summary. Introduction. Prerequisites. At Course completion After completing this course, students will be able to:

D61830GC30. MySQL for Developers. Summary. Introduction. Prerequisites. At Course completion After completing this course, students will be able to: D61830GC30 for Developers Summary Duration Vendor Audience 5 Days Oracle Database Administrators, Developers, Web Administrators Level Technology Professional Oracle 5.6 Delivery Method Instructor-led

More information

Application Note C++ Debugging

Application Note C++ Debugging Application Note C++ Debugging TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... High-Level Language Debugging... Application Note C++ Debugging... 1 Sample Code used by This Application

More information

Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months

Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months Our program is a practical knowledge oriented program aimed at making innovative and attractive applications for mobile

More information

Chapter 13 - The Preprocessor

Chapter 13 - The Preprocessor Chapter 13 - The Preprocessor Outline 13.1 Introduction 13.2 The#include Preprocessor Directive 13.3 The#define Preprocessor Directive: Symbolic Constants 13.4 The#define Preprocessor Directive: Macros

More information

Binary storage of graphs and related data

Binary storage of graphs and related data EÖTVÖS LORÁND UNIVERSITY Faculty of Informatics Department of Algorithms and their Applications Binary storage of graphs and related data BSc thesis Author: Frantisek Csajka full-time student Informatics

More information

6.088 Intro to C/C++ Day 4: Object-oriented programming in C++ Eunsuk Kang and Jean Yang

6.088 Intro to C/C++ Day 4: Object-oriented programming in C++ Eunsuk Kang and Jean Yang 6.088 Intro to C/C++ Day 4: Object-oriented programming in C++ Eunsuk Kang and Jean Yang Today s topics Why objects? Object-oriented programming (OOP) in C++ classes fields & methods objects representation

More information

OKLAHOMA SUBJECT AREA TESTS (OSAT )

OKLAHOMA SUBJECT AREA TESTS (OSAT ) CERTIFICATION EXAMINATIONS FOR OKLAHOMA EDUCATORS (CEOE ) OKLAHOMA SUBJECT AREA TESTS (OSAT ) FIELD 081: COMPUTER SCIENCE September 2008 Subarea Range of Competencies I. Computer Use in Educational Environments

More information

CS193D Handout 06 Winter 2004 January 26, 2004 Copy Constructor and operator=

CS193D Handout 06 Winter 2004 January 26, 2004 Copy Constructor and operator= CS193D Handout 06 Winter 2004 January 26, 2004 Copy Constructor and operator= We already know that the compiler will supply a default (zero-argument) constructor if the programmer does not specify one.

More information

C++ Programming: From Problem Analysis to Program Design, Fifth Edition. Chapter 3: Input/Output

C++ Programming: From Problem Analysis to Program Design, Fifth Edition. Chapter 3: Input/Output C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 3: Input/Output Objectives In this chapter, you will: Learn what a stream is and examine input and output streams Explore

More information

A brief introduction to C++ and Interfacing with Excel

A brief introduction to C++ and Interfacing with Excel A brief introduction to C++ and Interfacing with Excel ANDREW L. HAZEL School of Mathematics, The University of Manchester Oxford Road, Manchester, M13 9PL, UK CONTENTS 1 Contents 1 Introduction 3 1.1

More information

I PUC - Computer Science. Practical s Syllabus. Contents

I PUC - Computer Science. Practical s Syllabus. Contents I PUC - Computer Science Practical s Syllabus Contents Topics 1 Overview Of a Computer 1.1 Introduction 1.2 Functional Components of a computer (Working of each unit) 1.3 Evolution Of Computers 1.4 Generations

More information

Java SE 8 Programming

Java SE 8 Programming Oracle University Contact Us: 1.800.529.0165 Java SE 8 Programming Duration: 5 Days What you will learn This Java SE 8 Programming training covers the core language features and Application Programming

More information

CS 101 Computer Programming and Utilization

CS 101 Computer Programming and Utilization CS 101 Computer Programming and Utilization Lecture 14 Functions, Procedures and Classes. primitive and objects. Files. Mar 4, 2011 Prof. R K Joshi Computer Science and Engineering IIT Bombay Email: rkj@cse.iitb.ac.in

More information

2. Advance Certificate Course in Information Technology

2. Advance Certificate Course in Information Technology Introduction: 2. Advance Certificate Course in Information Technology In the modern world, information is power. Acquiring information, storing, updating, processing, sharing, distributing etc. are essentials

More information

Compiling Object Oriented Languages. What is an Object-Oriented Programming Language? Implementation: Dynamic Binding

Compiling Object Oriented Languages. What is an Object-Oriented Programming Language? Implementation: Dynamic Binding Compiling Object Oriented Languages What is an Object-Oriented Programming Language? Last time Dynamic compilation Today Introduction to compiling object oriented languages What are the issues? Objects

More information

Fast Arithmetic Coding (FastAC) Implementations

Fast Arithmetic Coding (FastAC) Implementations Fast Arithmetic Coding (FastAC) Implementations Amir Said 1 Introduction This document describes our fast implementations of arithmetic coding, which achieve optimal compression and higher throughput by

More information

Syllabus for CS 134 Java Programming

Syllabus for CS 134 Java Programming - Java Programming Syllabus Page 1 Syllabus for CS 134 Java Programming Computer Science Course Catalog 2000-2001: This course is an introduction to objectoriented programming using the Java language.

More information

INTRODUCTION TO OBJECTIVE-C CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 12 09/29/2011

INTRODUCTION TO OBJECTIVE-C CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 12 09/29/2011 INTRODUCTION TO OBJECTIVE-C CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 12 09/29/2011 1 Goals of the Lecture Present an introduction to Objective-C 2.0 Coverage of the language will be INCOMPLETE

More information

Moving from CS 61A Scheme to CS 61B Java

Moving from CS 61A Scheme to CS 61B Java Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you

More information

- Hour 1 - Introducing Visual C++ 5

- Hour 1 - Introducing Visual C++ 5 - Hour 1 - Introducing Visual C++ 5 Welcome to Hour 1 of Teach Yourself Visual C++ 5 in 24 Hours! Visual C++ is an exciting subject, and this first hour gets you right into the basic features of the new

More information

SkyRecon Cryptographic Module (SCM)

SkyRecon Cryptographic Module (SCM) SkyRecon Cryptographic Module (SCM) FIPS 140-2 Documentation: Security Policy Abstract This document specifies the security policy for the SkyRecon Cryptographic Module (SCM) as described in FIPS PUB 140-2.

More information