Tuesday, April 5, 2011

C++ Program Design: Third Edition

Chapter: Topics                                                           (Click to Download Slides)

Chapter 1: Basic Concepts                                           PowerPoint, PDF
Chapter 2: Programming basics                                  PowerPoint, PDF
Chapter 3: Object assignment and manipulation      PowerPoint, PDF
Chapter 4: If Construct                                                   PowerPoint  PDF
Chapter 4 : Iterative Constructs                                    PowerPoint  PDF
Chapter 5: Libraries                                                       PowerPoint, PDF
Chapter 6: User-defined functions                              PowerPoint, PDF
Chapter 7: Classes                                                        PowerPoint, PDF
Chapter 8: Abstract Data Types                                   PowerPoint, PDF
Chapter 9: Lists -- arrays and container classes       PowerPoint, PDF
Chapter 10: EzWindows Library                                   PowerPoint, PDF
Chapter 11: Pointers and dynamic memory               PowerPoint, PDF
Chapter 13: Inheritance                                                 PowerPoint, PDF
Chapter 14: Templates and Polymorphism                 PowerPoint, PDF

Python Programming

(Click to Download Slides)

  • Introduction to Python [html]
  • Strings in Python [PDF|PPT]
  • Variables and References in Python [PDF|PPT]
  • Lists and the 'for' loop [PDF|PPT]
  • Stepping through a 'for' loop [PDF|PPT]
  • The if statement and files [PDF|PPT]
  • Working on exercises (a few notes first) [PDF|PPT]
  • Code Blocks and Indentation [PDF|PPT]
  • Functions [PDF|PPT]
  • Why? [PDF|PPT]
  • Dictionaries [PDF|PPT]
  • Advanced Exercises [PDF|PPT]
  • Sorting and Modules [PDF|PPT]
  • Searching and Regular Expressions [PDF|PPT]
  • Important modules: Biopython, SQL & COM [PDF|PPT]
  • "Everything Else" [PDF|PPT]

C# Programming


Week1. intro1.ppt (Introduction to Programming Using C#)
Week1. basics.ppt (Program Structure, .Net Framework FCL)

C# code  (renamed as .txt files for security reasons):

1.hello_cs, 2.add_cs, 3.circlearea_cs, 4.daysecs_cs, 5.arithmeticoperations_cs


Week2. classes1.ppt (Classes Methods and Properties)

C# code (renamed as .txt files for security reasons):

1.dice_cs,2.usedice_cs,3.dicep1_cs,4.dicep2_cs,5.usedice2_cs,6.maximum3_cs,7.scope_cs,8.scopeprogram_cs


Week3. control_all.ppt (Control Statements)

C# code (renamed as .txt files for security reasons):

1.maximum1_cs,2.maximum2_cs, 3.gradebookswitch_cs, 4.gradebooktestswitch_cs,5.sum10nums_cs, 6.gradebookcountingwhile_cs, 7.gradebookcountingwhiletest_cs,8.gradebooksentinelwhile_cs, 9.gradebooksentinelwhiletest_cs,10.string_test_cs


Week4.strings_arrays.ppt (Array, String, String Builder)

C# code (renamed as .txt files for security reasons):

1.string_code.zip, 2.stringbuilder.zip, 3.collectingsearch_cs,4.paramarraytest_cs,5.varargstest_cs,6.enum_cs,7.randomexercise_cs


Week5.classes2.ppt (Classes II) Object Oriented Concepts

C# code:1.composition.zip,2.inheritance_class,3.polymorphism.zip ,4.polymorphismaliayse.zip,5.payrollsystem, 6.interface


Week6.generics_collections.ppt (Generics Collections)
Week6.files_streams.ppt (Files & Streams)

Code Examples:

1.generics.zip,2.createfileform.zip, 3.filetestform.zip,4.readsequentialaccessfileform.zip


Week7.exceptions.ppt (Error Handling in .NET)
Week7.other.ppt (Pass by Reference,const, readonly, struct)

Code Examples:

1.dividebyzeronoexceptionhandling,2.dividebyzerotest,3.usingexceptions,

4.squareroottest ,5.passbyref,6.array_parameter,7.struct




Introduction to C#


Course Purpose: The purpose of the course is to introduce students to C# programming. Some of the items covered include program design, development, data types, operators, expressions, flow control, methods, classes, input and output operations, debugging, structured programming, and object-oriented programming.

Required Textbook: Murach's C# 2010 by Joel Murach. (2010), Mike Murach and Associates, ISBN: 978-1-890774-59-2, hardcopy $55 and/or eBook $31 at www.murach.com, rental $27 at Efollett Bookstore . eBook option requires the installation of the LockLizard Viewer and Internet access is also required to read the book because the license is verified each time the book is opened. A Mac option is also provided. 

Download Powerpoint presentations

·         PPT 01 Introduction to Computing and C#
·         PPT 02 Variables and Calculations
·         PPT 03 Formatting and Exceptions
·         PPT 04 Decisions and Conditions
·         PPT 05 Menus and Methods
·         PPT 06 Call-by-reference Methods
·         PPT 07 Classes and Objects
·         PPT 08 Inheritance
·         PPT 09 Lists, Loops, and Printing
·         PPT 10 File Processing
·         PPT 11 Arrays - Loading
·         PPT 12 Arrays - Sorting and Searching
·         PPT 13 Relational Databases
·         PPT 14 Additional Controls

Sunday, April 3, 2011

Programming in C

  1. Software Safety Basics (PPTX | PPT | PDF)
  2. Introduction to C (PPTX | PPT | PDF)
  3. C Data Types and Declarations (PPTX | PPT | PDF)
  4. C Expressions (PPTX | PPT | PDF)
  5. C Pointers (PPTX | PPT | PDF)
  6. C Arrays (PPTX | PPT | PDF)
  7. C Strings (PPTX | PPT | PDF)
  8. C Structures and Unions (PPTX | PPT | PDF)
  9. Memory Allocation in C (PPTX | PPT | PDF)
  10. Advanced Pointer Topics (PPTX | PPT | PDF)
  11. Software Safety Standards & Guidelines (PPTX | PPT | PDF)






Internet Networking



Course : Introduction to the internet and the TCP/IP. The IP layer. Internal and external routing protocols. Comparison between vector-distance and link-state protocols. Multicast protocols. Resource reservation protocols. The TCP protocol. TCP throughout enhancement. The WWW and the HTTP protocols. Web server throughout enhancement.


Tutorial 1
Subnetting and CIDR
Tutorial 2
Header Compression
Tutorial 3ICMPRecitation3_ICMP.ppt 178 KB
Tutorial 4
MANET AODV

Tutorial 5
MANET TBRPF
Tutorial 6
DVMRP

Tutorial 7
TCP New Reno

Tutorial 8
Explicit Congestion Notification

Tutorial 9
Socket Programming
Tutorial 10
TCP SACK
Tutorial 11
TCP Eiffel

Tutorial 12
LSNAT - Load Sharing NAT

Tutorial 13
Web Caching Protocols 
ICP, CARP