3.5-r4 visual programming

5
B Level Syllabus R4 203 B3.5-R4: Visual Programming Objective of the Course To make the students to understand the visual programming language concepts applied to a business environment including: form design, common form tool controls, input-process-output model, arithmetic operations and assignment statements, predefined object methods & functions, decision structures, looping structures, list controls, array and table processing, sub procedures and user-defined functions, and database programming. Implement application design specifications with a visual object-oriented, event-driven programming language. Outline of the Course S.No Topic Minimum No. of Hours 1. Introduction to .NET 04 2. VB .NET 05 3. Console Applications 05 4. Introduction to Windows Forms 05 5. Introduction to ADO.NET 05 6. Windows Forms and Controls in detail 04 7. Data Types and Base Class Libraries 05 8. Object Oriented Programming with VB.NET 08 9. Visual Inheritance 02 10. Mastering Windows Forms 02 11. ASP .NET 08 12. Themes and Master Pages 03 13. Managing State 04 Lectures = 60 Practicals = 60 Total = 120 Detailed Syllabus 1 Introduction to .NET .NET framework, MSIL, CLR, CLS, Name spaces, Assemblies The Common Language Implementation | Assemblies | Metadata and Intermediate Language | Garbage Collection | Versioning and Side-by-Side Execution | The End to DLL Hell | Managed Execution | COM InterOp 2 VB .NET Language Features | Creating .NET Projects | NameSpaces | Data Structure and Language Highlights | Classes and Inheritance | Structured Error Handling | Exploring the Base Class Library | Compatibility with VB6 | The .NET Type System | Threads | C# 3 Console Applications When to use Console Applications | Generating Console Output | Processing Console Input 4 Introduction to Windows Forms Benefits of Windows Forms | Windows Forms compared to the classic VB 'Ruby' Forms mode | .NET Events | Visual Inheritance | Code-free re-sizing | Using ActiveX Controls

Upload: ashok-kumar-agrawal

Post on 07-Nov-2014

79 views

Category:

Documents


7 download

DESCRIPTION

DOEACC Syllabus of 3.5-R4 Visual Programming

TRANSCRIPT

B Level Syllabus R4 203

B3.5-R4: Visual Programming

Objective of the Course

� To make the students to understand the visual programming language concepts

applied to a business environment including: form design, common form tool controls, input-process-output model, arithmetic operations and assignment statements, predefined object methods & functions, decision structures, looping structures, list controls, array and table processing, sub procedures and user-defined functions, and database programming. Implement application design specifications with a visual object-oriented, event-driven programming language.

Outline of the Course

S.No Topic Minimum No. of Hours

1. Introduction to .NET 04 2. VB .NET 05 3. Console Applications 05 4. Introduction to Windows Forms 05 5. Introduction to ADO.NET 05 6. Windows Forms and Controls in detail 04 7. Data Types and Base Class Libraries 05 8. Object Oriented Programming with VB.NET 08 9. Visual Inheritance 02 10. Mastering Windows Forms 02 11. ASP .NET 08 12. Themes and Master Pages 03 13. Managing State 04 Lectures = 60

Practicals = 60 Total = 120

Detailed Syllabus

1 Introduction to .NET .NET framework, MSIL, CLR, CLS, Name spaces, Assemblies The Common Language Implementation | Assemblies | Metadata and Intermediate Language | Garbage Collection | Versioning and Side-by-Side Execution | The End to DLL Hell | Managed Execution | COM InterOp

2 VB .NET Language Features | Creating .NET Projects | NameSpaces | Data Structure and Language Highlights | Classes and Inheritance | Structured Error Handling | Exploring the Base Class Library | Compatibility with VB6 | The .NET Type System | Threads | C#

3 Console Applications

When to use Console Applications | Generating Console Output | Processing Console Input

4 Introduction to Windows Forms

Benefits of Windows Forms | Windows Forms compared to the classic VB 'Ruby' Forms mode | .NET Events | Visual Inheritance | Code-free re-sizing | Using ActiveX Controls

B Level Syllabus R4 204

5 Introduction to ADO.NET

Benefits of ADO.NET | ADO.NET compared to classic ADO | DataSets | Managed Providers | Data Binding, DataSets and XML | Typed DataSets

6 Windows Forms and Controls in detail

The Windows Forms Model |Creating Windows Forms |Windows Forms Properties and Events |Windows Form Controls |Resizing | Menus | Dialogs | ToolTips

7 Data Types and Base Class Libraries

Understanding .NET Data Types | Exploring Assemblies and Namespaces | String Manipulation | Files and I/O | Collections | The Microsoft.VisualBasic Namespace

8 Object Oriented Programming with VB.NET

Creating Classes in VB.NET | Overloading | Constructors | Inheritance | Controlling scope and visibility | Dispose and Finalization | Debugging and Error Handling

9 Visual Inheritance

Apply Inheritance techniques to Forms | Creating Base Forms | Programming Derived Forms

10 Mastering Windows Forms

Printing | Handling Multiple Events | GDI+ | Creating Windows Forms Controls 11 ASP .NET

Introduction to ASP.NET, Working with Controls, Using Rich Server Controls Accessing Data, Overview of ADO.NET | Connecting to Data | Executing Commands | Working with Data | Choosing an ADO.NET Provider | Configuration Overview | Using the Web Site Administration Tool | Programming Configuration Files | Encrypting Configuration Sections

12. Themes and Master Pages Creating a Consistent Web Site | ASP.NET 2.0 Themes | Master Pages Displaying Data with the GridView Control

13. ManagingState

Preserving State in Web Applications | Page-Level State | Using Cookies to Preserve State | ASP.NET Session State | Storing Objects in Session State | Configuring Session State | Setting Up an Out-of-Process State Server | Storing Session State in SQL Server | Using Cookieless Session IDs | Application State Using the DataList and Repeater Controls | Overview of List-Bound Controls |Creating a Repeater Control | Creating a DataList Control

Recommended Books:

1. Bradley, Julie C. and Anita C. Millspaugh. PROGRAMMING VISUAL BASIC 2008 Edition 7th Edition, Boston, MA: McGraw-Hill/Irwin,

2. Professional VB. NET 3.0, Wrox publication by Bill, Billy, Tim, Kent and Bill Sheldon. 3. ASP .NET complete reference, publication Tata McHill. 4. Introducing Microsoft Visual Basic 2005 for Developers, Microsoft Publications 5. Professional ASP.NET 2.0 , Wrox Publication

Web Reference: www.msdn.microsoft.com

B Level Syllabus R4 205

Model Question Paper B3.5-R4 VISUAL PROGRAMMING

NOTE: 1. Answer question 1 and any FOUR questions from 2 to 7.

2. Parts of the same question should be answered together and in the same sequence.

Time: 3 Hours Total Marks: 100

a) Explain the difference between Array and Array List. b) Explain the architecture of .NET and the Framework of .NET. c) Explain Operator Overloading by giving Proper Example. d) Explain Exception handling in VB.NET. e) Define Namespace. Give types of namespace with example. f) Give the difference between Out and Ref Parameter. g) Define terms: CLR and CLS

(7x4) Q.2

a) Explain Visual Inheritance in VB.NET with example. b) How the below methods of sqlCommand class are differ from each other.

• ExecuteNonQuery() • ExecuteReader() • ExecuteScalar()

c) Explain events and delegates with example. (6+6+6)

Q.3 a) Explain Managed and Unmanaged Code in the .NET context with Example.

b) Explain Split and Join String function in VB.NET with program code. (9+9)

Q.4 a) List out the steps to create a master page and the use of the master page. b) Explain the page execution of the ASP.Net and also explain which are the main events

of page are occurred when page is requested. (9+9)

Q.5 a) Differentiate web server and HTML control in brief and list various navigation controls

in asp.net. b) Write a menu driven program that behaves like calculator. Take three arguments from

user Two numbers and one operator and display proper result. Use command line Arguments. Define exception called ExWrongInput to handle invalid input, also handle zero division exception

c) Explain Function Overloading & Overriding. (6+9+3)

Q.6 a) What is the difference between a sealed, interface and abstract class? b) Differentiate cookies, Sessions and application objects of Asp.net. c) What is the use of the DataRelation class? Can I use DataRelation class with

DataTable? (7+6+5)

Q.7 a) Explain Terms: .NET code Synchronization, Multithreading b) How Regular Expression is handled in .NET? Explain with code example. c) What is Virtual Function? Give syntax of declaring of virtual function in VB .Net. d) What is the significance of DataSet Class? Explain how to populate a DataSet using a

DataAdapter. (4+4+6+4)

B Level Syllabus R4 206

Practical Assignment List

Sr. no. Practical Week no.

PART-1 .NET Framework 2.0 and Visual Studio 2005

1 Study of .NET framework with comparison of various framework versions. 1

2 Study of .NET Architecture with 1) Run time environment (CLR) 2) CSC 3) Garbage Collection 4) Common Type System (CTS)

1

3 Introduction to IDE Visual Studio 2005 and Explain about new features of 2005 compares to Visual Studio 2003

2

4 Study of language features and comparison of VB.NET and C#. 3

PART-2. Visual Studio 2005 C#

5 Write a program for Arithmetic Calculator using Console Application in C# & VB.

3

PART-3. Visual Studio 2005 Object Oriented Programming

6 Write a Program for explaining use of Overloading and Overriding, constructor and Destructor in Class with using methods and properties in VB.

4

7 Write a program for explaining events and Delegates in VB. 5

PART-4. Windows Forms VB.NET 2.0

8 Implement Windows Form based application using controls like menus, dialog and tool tip etc.

6

9 Implement Master Form with Windows application. 7

10 Implement concepts of Inheritance, visual inheritance and Interface in windows application.

8

11 Implement printing of GDI+ with windows application. 8

PART-5. ADO.NET 2.0

12 Study of comparison between ADO and ADO.NET. 9

13 Use Dataset, Data Reader, XML Reader & Data Sources (SQL, Object & XML) with Any Windows or Web Application.

9

14 Use Data Controls like Data List, Grid View, Detail View, Repeater and List Bound Control

10

PART-6. ASP.NET 2.0

15 Implement web application using ASP.NET with web control. 11

16 Write a code for web application to provide input validations using Input Valuators.

12

17 Create a Web application that illustrates the use of themes and master pages with Site-Map.

13

18 Create a Web Application in ASP.NET using various CSS. 13

19 Implement the concept of state management in a web application. 14

20 Implement code in ASP.NET that creates and consumes Web service. 15

21 Study of ASP.NET administration and configuration tool. 16

Guidelines for Practical List: Here Considering all aims if we can use these as a features of any application, we can get implemented two projects or two small applications (Windows Application and Web Application) by incorporating all practical of respective stream. We would follow VB.NET as programming language. For ASP.NET use of VB script is preferable. Please go through the operating manner describe below in next page

B Level Syllabus R4 207

Any Application Development is developed in three layers 1) User Interface – Windows Forms and Windows Form Controls, Master Forms

Web Controls with Skins, Master Pages, Themes, Skins etc. 2) Business Logic – Using Constructors, Events, Inheritance and required etc.

& for Web Application State Management 3) Database – ADO.NET with Data Controls and Reports Generation

This can accomplish a 75% work for a Windows/Web Application. Remaining work is testing and validating the Input, which is also included in the practical list. Polishing the application will remain only. Here we can ask them to work for past analyzed project also. Example-1: .Assume that a bank maintains two kinds of accounts for customers, one called as ‘savings account’ and the other as ‘current account’. The savings account provides compound interest and withdraws as facilities but no chequebook facility .The current account provides chequebook facility but no interest. Current account holders should also maintain a minimum balance and if the balance falls below this level, a service charge is imposed. Create an abstract class ‘Account’ that stores customers name, account number and type of account. From this derive classes’ cur_acct and sav_acct to make them more specific to their requirements. Include necessary member functions in order to achieve the following tasks. a) Accept deposit from a customer and update the balance b) Display the balance c) Compute & deposit interest d) Permit withdrawal and update the balance e) Check for the minimum balance, impose penalty necessary and update the balance. (Use Constructors, Properties, method overloading) Generate various reports for the organization , there is a namespace bit.edu and under that namespace there are three namespace such as Admin, Account, and Computer. Under the admin namespace there is a class called CollegeReports and interface called Report and CollegeReports class implements the Report interface and Account class implements also Report interface in account name space and ComputerReports class also implements Report interface Example-2 For Data Types, Expressions, Control Structures, Modifiers Exception Handling We can give some application description as below. A Program, it behaves like calculator. Take three arguments from user, two numbers and one operator and display proper result. Use command line Arguments. Define exception called ExWrongInput to handle invalid input, also handle DivideByZeroException and catch other necessary application exceptions.