IT-303 Visual Programming-1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

CourseTitle Credit Hrs Prerequisite Year (semester) Lec./Lab.

Credit
Lecture: 3
Visual Programming 3 C++ 2018-19

Instructor Name Office e-mail/Web Site


B-113 A
Rameez Iqbal rameez.iqbal@uog.edu.
pk

C# 2010 FOR PROGRAMMERS


Text Book FOURTH EDITION
DEITEL® DEVELOPER SERIES

The course presents the concepts of visual programming environment with special
emphasis on the Object-Oriented Programming (OOP) features. Explaining
concepts of working on MS.net platform, archeticture, multi languages, FCL, CLR,
compilation of applications and execution; Visual C# .net (VB.net) is introduced
Course Description whereby, key topics including: .net Integrated Development Environment (IDE),
controls, event handling, control structures, methods, classes, objects, exception
handling, graphics, and files input output instructions.

Course Objectives:
Upon successful completion of this course the student will be able to:
 Understand Visual C# .NET terminology and architecture;
 Master programming fundamentals, including variables, decision structures, loops, and
functions;
 Deal with the standard toolbox inorder to design appealing and effective graphical user
interfaces using a variety of Visual Basic.Net controls;
 Develop meaningful Windows Applications in Visual Basic .NET, including dialog
boxes, clocks, menus, toolbars,multi-documented applications;
 Handle with graphics and animation effects;
 Write user own classes using object oriented programming concepts.

Intended Learning Outcomes:

Successful completion of this course should lead to the following learning outcomes :

A- Knowledge and Understanding :


A1) Modern software development methods.
A2) Understand the concept of Integrated Development Environment
A3) Understand basic problem solving techniques using control structures, procedures and arrays
A4) Object oriented techniques such as inheritance, design patterns, components and frameworks

B- Intellectual Skills:
B1) Compare, contrast and evaluate different development methods and environments
B2) Develop software conforming to advanced object-oriented models and designs
B3) Compare between different control structures.
B4) Compare between functions and sub procedures.
B5) Develop algorithms using selection , repetition, procedures, strings and arrays.
B6) Employ analytical skills to solve problems
B7) Create and read sequential files.
B8) Incorporate images into a program.

1
C) Subject Specific Skills:
C1) Developing windows applications using VB.NET
C2) Handling runs time errors
C3) familiarizing with the .NET framework
C4) analyze a problem and write VB.Net code to solve it.
C5) Test the code using different set of data types

D) Transferable Skills:
D1) Work individually and discuss in a group in order to design and implement solutions of several windows
applications.
D2) work effectively to implement a VB.Net program that solves the problem under study.
D3) Interact with the other study groups to make different implementation of the same project.

Course Contents :
Week Topics Topic Details Reference Assess-ment
(chapter)
1 Introduction to Getting started with visual C#.net. What are the .net platform and 1,2
Visual.NET architecture, the .Net Framework and the Common Language
Runtime? C, C++ , Java, C#, Using the Visual Studio environment,
Navigating the Visual Studio 2005 IDE
2 Introductin to 1 Introduction 3,4 Home Work 1
C# Application 3.2 A Simple C# Application: Displaying a Line of Text
3.3 Creating a Simple Application in Visual C# Express Build simple
3.4 Modifying Your Simple C# Application application
3.5 Formatting Text with Console.Write and Console.WriteLine (visual,console)
, user defined
3.6 Another C# Application: Adding Integers method, system
3.7 Arithmetic mehtod, class
3.8 Decision Making: Equality and Relational Operators method
3.9 Introduction to classes and objects
4.2 Classes, Objects, Methods, Properties and Instance Variables
4.3 Declaring a Class with a Method and Instantiating an Object of a
Class
4.4 Declaring a Method with a Parameter
4.5 Instance Variables and Properties
4.7 Software Engineering with Properties and set and get Accessors
4.8 Auto-Implemented Properties
4.9 Value Types vs. Reference Types
4.10 Initializing Objects with Constructors
4.11 Floating-Point Numbers and Type decimal
4.12 Wrap-Up
3 Control Stucture 5.1 Introduction 5,6 Home Work 2
Part1 and Part 2 5.2 Control Structures Build a Menu
5.3 if Single-Selection Statement using different
5.4 if…else Double-Selection Statement repetition
5.5 while Repetition Statement structure, use
5.6 Counter-Controlled Repetition continue and
5.7 Sentinel-Controlled Repetition break statement.
5.8 Nested Control Statements
5.9 Compound Assignment Operators
5.10 Increment and Decrement Operators
5.11 Simple Types
6.1 Introduction
6.2 Essentials of Counter-Controlled Repetition
6.3 for Repetition Statement
6.4 Examples Using the for Statement
6.5 do…while Repetition Statement
6.6 switch Multiple-Selection Statement
6.7 break and continue Statements

2
6.8 Logical Operators
6.9 Wrap-Up

4 Method : A 7.1 Introduction 7 Assignment NO 1


Deeper Look 7.2 Packaging Code in C#
Quiz No 1
7.3 static Methods, static Variables and Class Math
7.4 Declaring Methods with Multiple Parameters
7.5 Notes on Declaring and Using Methods
7.6 Method-Call Stack and Activation Records
7.7 Argument Promotion and Casting
7.8 The .NET Framework Class Library
7.11 Scope of Declarations
7.12 Method Overloading
7.13 Optional Parameters
7.14 Named Parameters
7.15 Recursion
7.16 Passing Arguments: Pass-by-Value vs. Pass-by-Reference
7.17 Wrap-Up

5 Arrays 8 Home Work 3


8.1 Introduction
Compare array
8.2 Arrays with simple
8.3 Declaring and Creating Arrays varibale,
8.4 Examples Using Arrays Passing array to
8.6 foreach Statement function ,
individual element
8.7 Passing Arrays and Array Elements to Methods of array,
8.8 Passing Arrays by Value and by Reference Creating array of
8.10 Multidimensional Arrays objects
8.14 Wrap-Up

6 Introduction to 9 Home Work 4


LINQ and the 9.1 Introduction
List Collection 9.2 Querying an Array of int Values Using LINQ Take some
9.3 Querying an Array of Employee Objects Using LINQ quries from data
9.4 Introduction to Collections base and used
9.5 Querying a Generic Collection Using LINQ them using
9.6 Wrap-Up LINQ

7, 8, Classes and 10.1 Introduction 10,11,12 Assignment No


Obects: a 10.2 Time Class Case Study 2
Deeper look, 10.3 Controlling Access to Members
Object Oriented 10.4 Referring to the Current Object’s Members with the this Quiz No 2
Programing- Reference
Inheritance, 10.5 Indexers
Polymorphasim 10.6 Time Class Case Study: Overloaded Constructors
10.7 Default and Parameterless Constructors
10.8 Composition
10.9 Garbage Collection and Destructors
10.10 static Class Members
10.12 Data Abstraction and Encapsulation
10.13 Time Class Case Study: Creating Class Libraries
10.14 internal Access
10.16 Object Initializers
10.17 Time Class Case Study: Extension Methods
10.18 Delegates
10.20 Anonymous Types
11.1 Introduction
11.2 Base Classes and Derived Classes
11.3 protected Members
11.4 Relationship between Base Classes and Derived Classes
11.4.1 Creating and Using a CommissionEmployee Class
11.4.2 Creating a BasePlusCommissionEmployee Class without
3
Using Inheritance
11.4.3 Creating a CommissionEmployee–
BasePlusCommissionEmployee
Inheritance Hierarchy
11.4.4 CommissionEmployee–BasePlusCommissionEmployee
Inheritance
Hierarchy Using protected Instance Variables
11.4.5 CommissionEmployee–BasePlusCommissionEmployee
Inheritance
Hierarchy Using private Instance Variables
11.5 Constructors in Derived Classes
11.7 Class object
11.8 Wrap-Up
12.1 Introduction
12.2 Polymorphism Examples
12.3 Demonstrating Polymorphic Behavior
12.4 Abstract Classes and Methods
12.5 Case Study: Payroll System Using Polymorphism
12.5.1 Creating Abstract Base Class Employee
12.5.2 Creating Concrete Derived Class SalariedEmployee
12.5.3 Creating Concrete Derived Class HourlyEmployee
12.5.4 Creating Concrete Derived Class CommissionEmployee
12.5.5 Creating Indirect Concrete Derived Class
BasePlusCommissionEmployee
12.5.6 Polymorphic Processing, Operator is and Downcasting
12.5.7 Summary of the Allowed Assignments Between Base-Class
and Derived-Class Variables
12.7 Case Study: Creating and Using Interfaces
12.7.1 Developing an IPayable Hierarchy
12.7.2 Declaring Interface IPayable
12.7.3 Creating Class Invoice
12.7.4 Modifying Class Employee to Implement Interface IPayable
12.7.5 Modifying Class SalariedEmployee for Use with IPayable
12.7.6 Using Interface IPayable to Process Invoices and Employees
Polymorphically
12.7.7 Common Interfaces of the .NET Framework Class Library
12.9 Wrap-Up

9,10 Graphical User - Text Boxes 15 Practical


Interface- Part1 - Buttons, Labels Assignment in
- Check Boxes Class
- Radio Buttons

Practical Assignment

11,12 Graphical User - List Boxes 15,16


Interface- Part2 - Combo Boxes, Practical
- Picture Boxes, Assignment in
- Scrollbar, Splitters, Class
- Tool Tips,
- Working with timers
- Working with Menus, Built- in Dialogs
- Using Menus
- Using Context Menus
- Using the Built-in Dialog
-Image Lists
- Toolbar
- Status Bars
- Progress Bar

Practical Assignment
13,14 Menus ,dialogs, Working with Menus, Built- in Dialogs 14 Practical
and advanced - Using Menus Assignment in
contrls - Using Context Menus Class

4
- Using the Built-in Dialog
-Image Lists Assignment No
- Toolbar 3
- Status Bars Quiz No 3
- Progress Bar

15 ADO.NET - Communicatin with data base, using Project


Database - Insert query
Connectivity - Update query
- Delete query
- Update query
- Search query
- View all query
- Database Connectivity
16 MVC - Introduction to MVC Architecture Google and
Archetecture - Example using MVC architecuter internet
-web Services - Introduction to web services
- Developing a web services

Assesment and Grade Distribution

Assesment Requiremet for Grading / Due Date Points Total


Individual Work
Quiz 5%
Assignment 10 %
Term Project 10 %
Mid Term Exam 25 %
Final Term Exam 50 %

References:
[R1]Teach Yourself Visual Basic.NET 2003, Holzner, SAMS Publishing, 2003.
[R2] Visual Basic.NET A Laboratory Course, Nell Dale, Michael McMillan, Jones and Bartlett Publishers, 2003
[R3] Lecture Notes.
[R4] www.deitel.com.books/vbhtp3

You might also like