PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore 560 100 Department of MCA COURSE INFORMATION SHEET Programming Using C#.NET (13MCA53) 1. GENERAL INFORMATION: Academic Year: 2015 Semester: V Title Code Duration (hrs) Lectures 4 Hrs/Week Programming Using 13MCA53 C#.NET Total 52 Hrs 2. COURSE PRE-REQUISITE: 3. COURSE OBJECTIVE: Student should know the basics of OOPs and knowledge about HTML. This course introduces.net development using Microsoft Visual Studio.NET in Windows and Mono Develop in Ubuntu. Programming using C#.NET focuses on C# syntax; logic constructs application development, exception handling, error handling, object creation/cleanup, and basic inheritance. In addition, students are exposed to debugging.net applications and exploring system programming issues within a.net application environment. 4. COURSE OUTCOMES: A student who successfully completes the course will be able to: Build web applications Create web forms
Validate form data using server-side Validation controls Create dynamic Web applications that interact with a database using server-side programming. Use the development products of Microsoft Visual Studio.Net products to implement and connect the automated system to a database stored on a web server. Link and publish Visual Studio.Net applications to reflect a web application 5. FACULTY DETAILS: Details Name Mrs. Jeny Jijo Department MCA Room Number 500 and 506 (V Floor) E-mail address jenyjijo@pes.edu Contact Hours Office Hours 6. VENUE AND HOURS/WEEK: All lectures will normally be held in 5 th and 6 th Floor. Lecture Hours/week: 4Hrs All the laboratory sessions will be held in Room 500 & 506, V Floor. Laboratory Hours/week: 2Hrs 7. MODULE MAP: Class Theme Topics to be covered 1 2 3 4 CHAPTER 1 Getting started with.net Framework 4.0 Benefits of.net Framework, Architecture of.net Framework 4.0, Components of.net Framework 4.0: CLR, CTS Metadata and Assemblies,.NET Framework Class Library, Windows Forms, ASP.NET and ASP.NET AJAX, ADO.NET, Windowsworkflow Foundation, Windows Presentation Foundation Windows Communication Foundation, Widows Card Space and LINQ. % of portions covered Chapter Cumulative Wise 8% 8% 5 CHAPTER 2 Need of C#, C# Pre-processor Directives, Creating a Simple C# Console Application, 12% 20%
6 7 8 Building C# Applications Identifiers and Keywords. Data Types, Variables and Constants: Value Types, Reference Types, Type Conversions, Boxing and Undoing,, Variabl es and Constants.Expression and Operator s : Operator Precedence, Using the?? (Null Coalescing) Operator, Using the :: (Scope Resolution) Operator 9 Using the is and as Operators 10 11 12 13 14 15 16 CHAPTER 3 Namespaces, Classes, Objects and Structures Control Flow statements: Selection Statements, Iteration Statements and Jump Statements. Namespaces, The System namespace, Classes and Objects: Creating a Class, Creating an Object, Using this Keyword, Creating an Array of Objects, Using the Nested Classes, Defining Partial Classes and Method, Returning a Value from a Method Describing Access Modifiers. Static Classes and Static Class Members. Properties: Read-only Property, Static Property, Accessibility of accessors and Anonymous types Indexers, Structs: Syntax of a struct and Access Modifiers for structs. 12% 32% 17 18 19 20 21 22 23 CHAPTER 4 Object- Oriented Programming CHAPTER 5 Delegates and Events and Encapsulation: Encapsulation using accessors and mutators, Encapsulation using Properties. Inheritance: Inheritance and Cons t ructor s, Seal ed Cl a s s es and Seal ed Me thods, Ext ens ion methods. Polymorphism: Compile time Polymorphism/ Overloading, Runtime Polymorphism/ Overriding. Abstraction: Abstract classes, Abstract methods. Interfaces: Syntax of Interfaces, Implementation of Interfaces and Inheritance Delegates: Creating and using Delegates, Muticasting with Delegates. Events: Event Sources, Event Handlers, Events and Delegates 10% 42% 10% 52%
24 Exception Multiple Event Handlers 25 Handling Exception Handling: The try/catch/finally statement, 26 Checked and Unchecked Statements. 27 Introduction, Windows Forms, 28 Event Handling: A Simple Event- Driven GUI, Visual Studio Generated GUI Code, Delegates and Event- Handling Mechanism, 29 CHAPTER 6 Another Way to Create Event Handlers, Locating Event Information. Control 30 Graphical User Properties and Layout, Interface with Labels, TextBoxes and Buttons, GroupBoxes 31 Windows and Panels, CheckBoxes and RadioButtons, Forms ToolTips, Mouse-Event Handling, Keyboard- 32 Event Handling. Menus, MonthhCalendor Control, 33 Date TimePicker Control, LinkLabel Control 19% 71% 34 35 36 ListBox Control, CheckedListBox Control, ComboBox Control, TreeView Control, ListView Control, TabControl Control and Multiple Document Interface (MDI) Windows. Class Theme Topics to be covered 37 Understanding ADO.NET: Describing the Architecture of ADO.NET 38 ADO>NET, ADO.NET Entity Framework. Creating Connection Strings: Syntax for Connection Strings. 39 CHAPTER 7 Creating a Connection to a Database: SQL Server Database, 40 Data Access with ADO.NET OLEDB Database, ODBC Data Source. Creating a Command Object. Working with DataAdapters 41 Creating DataSet from DataAdapter, Paging with DatyaAdapters, 42 Updating with DataAdapters, Adding Multiple Tables to a DataSet, 43 Creating Data View. 44 Using DataReader to Work with Databases. % of portions covered Chapter- Cumulative Wise 15% 86%
45 46 47 48 CHAPTER 8 Web App Development with ASP.NET 49 Continuation 50 51 52 Introduction, Web Basics, Multitier Application Architecture, Your First Web Application: Building WebTime Application, Examining WEebTime.aspx s Code-Behind File, Standard Web Controls: Designing a Form, Validation Controls, Session Tracking:Cookies, Session Tracking with http Session State, Options. Aspx :Selecting a Programming Language, ecommenations.aspx: Displaying Recommendations based on Session Values. Case study: Database-Driven ASP.NET Guestbook, Building a Web Form that Displays Data from a Database, Modifying the Code-Behind File for the Guestbook Application ASP.NET AJAX: Traditional Web Applications, Ajax Web Applications, Testing an ASP.NET Ajax application, the ASP.NET Ajax Control Toolkit. Case study: Password-Protected Books Database Application 14% 100% 8. RECOMMENDED BOOKS PRESCRIBED TEXTBOOK 1..NET 4.0 Programming (6-in-1), Black Book, Kogent Learning Solutions Inc., Wiely- Dream Tech Press. (Chapters: 1,10,11,12,13,14 and 19). 2. Paul Deitel and Harvey Deitel: C# 2010 for Programmers, 4th Edition, Pearson Education. (Chapters: 14,15,19 and 27.3) REFERENCE BOOKS 1. Andrew Trolsen: Pro C# 5.0 and the.net 4.5 Framework, 6th Edition, Wiely-Appress. 2. Bart De Smet: C# 4.0 Unleashed, Pearson Education- SAMS Series. 3. Hebert Shildt: Programming in C# 4.0, Tata McGraw Hill.
10. ASSESSMENT WRITTEN EXAMINATION Paper Structure No. Of Questions 8 Main Questions No. of questions to be answered 5 Exam date Paper Duration 3 Hrs Total Marks 100 Pass Marks 40 CONTINUOUS ASSESSMENT Parameters Weighting (%) Assignment(s): 5 Marks (10%) Seminar(s): 5 Marks (10%) Class Test(s): 5 Marks (10%) Overall 5 Marks (10%) Performance: Test(s): 30 Marks (60%) Total Marks: 50 Marks ASSIGNMENT Refer PART-B of.net Laboratory and add the modifications for the following questions Question-1 5) Display the details the students who have taken admission and not eligible in a particular year. Question-4 1) Create a sign-in page for alumni and display the details of alumni like year of passing, current company, designation, email id and contact number. Question-5 3) List the name of branch along with its bank name and total amount of loan given by it. 4) Retrieve the names of customers who have accounts in all the branches located in a specific city. 10. QUESTION BANK 1. What is.net Framework? 2. What are the main components of.net Framework? 3. List the new features added in.net Framework 4.0. 4. What is an IL? 5. What is Manifest? 6. What are code contracts?
7. Name the classes that are introduced in the System.Numerics namespace. 8. What is managed extensibility framework? 9. What is Common Type System (CTS)? 10. Which method do you use to enforce garbage collection in.net? 11. State the differences between the Dispose() and Finalize(). 12. What is Difference between NameSpace and Assembly? 13. Which is the root namespace for fundamental types in.net Framework? 14. What is Microsoft Intermediate Language (MSIL)? 15. What is the role of the JIT compiler in.net Framework? 16. What's C#? 17. How does one compare strings in C#? 18. How do you specify a custom attribute for the entire assembly (rather than for a class)? 19. How do I simulate optional parameters to COM calls? 20. Where are shared assemblies stored? 21. What is the difference between the System.Array.CopyTo() and System.Array.Clone()? 22. How do I declare inout arguments in C#? 23. What is the difference between const and static read-only? 24. Are private class-level variables inherited? 25. What is the difference between an interface and abstract class? 26. Does C# support multiple-inheritance? 27. What s the.net collection class that allows an element to be accessed using a unique key? 28. What s the C# syntax to catch any possible exception? 29. What is an interface class? 30. What is the difference between a Struct and a Class? 31. How is method overriding different from method overloading? 32. What are the different ways a method can be overloaded? 33. What are three test cases you should go through in unit testing? 34. Can you change the value of a variable while debugging a C# application? 35. Difference between value and reference type. what are value types and reference types?