SlideShare una empresa de Scribd logo
1 de 35
Object-Oriented Programming Using C#
Objectives


               In this session, you will learn to:
                  Use static variables and static functions
                  Identify the components of the .NET Framework
                  Use the Visual Studio .NET IDE




    Ver. 1.0                        Session 5                     Slide 1 of 35
Object-Oriented Programming Using C#
Static Variables and Static Functions


                Each object has its own set of member variables.
                To retain the value of a variable throughout the program,
                you can declare the variable as a static variable.
                To manipulate and use the values of static variables, you
                can define a function as static function.




     Ver. 1.0                      Session 5                         Slide 2 of 35
Object-Oriented Programming Using C#
Static Variables


                • The keyword 'static' means that only one instance of a
                  given variable exists for a class.
                • Static variables are used to define constants because their
                  values can be retrieved by invoking the class without
                  creating an instance of it.
                • Static variables can be initialized outside the member
                  function or class definition.
                • Unlike other member variables, only one copy of the static
                  variable exists in the memory for all the objects of that class.




     Ver. 1.0                          Session 5                          Slide 3 of 35
Object-Oriented Programming Using C#
Static Functions


               Static functions can access only static variables.
               Static functions exist even before the object is created.




    Ver. 1.0                       Session 5                          Slide 4 of 35
Object-Oriented Programming Using C#
Demo: Counting the Number of Times Function is Called by Using Static Functions



                 Problem Statement:
                    John a software developer in Zed Axsis Technology needs to
                    check how many times a function is called. For the same, he
                    has been asked to create the function called “CountFunction”.
                    Help John to create this function.




      Ver. 1.0                       Session 5                            Slide 5 of 35
Object-Oriented Programming Using C#
Introducing the .NET Framework


                The .NET Framework, introduced by Microsoft, aims at
                integrating various programming languages and services.
                The .NET Framework is designed to make significant
                improvements in code reuse, code specialization, resource
                management, multilanguage development, security,
                deployment, and administration.
                The .NET Framework consists of all the technologies that
                help in creating and running robust, scalable, and
                distributed applications.




     Ver. 1.0                      Session 5                       Slide 6 of 35
Object-Oriented Programming Using C#
Introducing the .NET Framework (Contd.)


                The .NET suite consists of:
                   .NET Products
                   .NET Services
                   .NET Framework
                Let us understand each component of the .NET suite in
                detail.




     Ver. 1.0                       Session 5                     Slide 7 of 35
Object-Oriented Programming Using C#
Introducing the .NET Framework (Contd.)


                .NET Products:
                   .NET products aim at allowing developers to create
                   applications, which are capable of interacting seamlessly with
                   each other.
                   All .NET products use eXtensible Markup Language (XML) for
                   describing and exchanging data between applications.
                   An example of a .NET product is Visual Studio .NET.




     Ver. 1.0                        Session 5                            Slide 8 of 35
Object-Oriented Programming Using C#
Introducing the .NET Framework (Contd.)


                .NET Services:
                   .NET helps you to create software as Web services. A Web
                   Service is an application or business logic that is accessible
                   through standard Internet protocols such as Hypertext Transfer
                   Protocol (HTTP) and Simple Object Access Protocol (SOAP).
                   You can identify the service by a Uniform Resource Locator
                   (URL).
                   Microsoft has come up with its own set of Web services, known
                   as My Services.
                   This service allows users to access data by linking calendars,
                   phonebooks, address books, and personal references to the
                   passport authentication service.




     Ver. 1.0                       Session 5                            Slide 9 of 35
Object-Oriented Programming Using C#
Introducing the .NET Framework (Contd.)


                • The .NET Framework:
                     It is the foundation for designing, developing, and deploying
                     applications.
                     It is the core of the .NET infrastructure because it exists as a
                     layer between the .NET applications and the underlying
                     operating system.
                  Let us understand the .NET Framework in detail.




     Ver. 1.0                           Session 5                             Slide 10 of 35
Object-Oriented Programming Using C#
Components of the .NET Framework


               The various components of the .NET Framework are:
                  Common Language Runtime
                  The .NET Framework Class Library
                  User and Program Interfaces




    Ver. 1.0                      Session 5                    Slide 11 of 35
Object-Oriented Programming Using C#
Components of the .NET Framework (Contd.)


                The following figure displays the various components of
                the .NET Framework.

                    Common Language Runtime (CLR)


                    .NET Framework Class Libraries


                Windows          Console         Web Forms and
                Forms            Applications    Web Services




     Ver. 1.0                      Session 5                        Slide 12 of 35
Object-Oriented Programming Using C#
Components of the .NET Framework (Contd.)


                Common Language Runtime (CLR):
                – CLR is the environment where all programs in .NET are
                  executed.
                – CLR provides services such as code compilation, memory
                  allocation, and garbage collection.
                – CLR allows the execution of code across different platforms by
                  translating code into Intermediate Language (IL).
                – IL is a low level language that the CLR understands.
                – IL is converted into machine language during execution by the
                  JIT compiler. During JIT compilation, code is also checked for
                  type safety.
                – Type safety ensures that objects are always accessed in a
                  compatible way.




     Ver. 1.0                       Session 5                           Slide 13 of 35
Object-Oriented Programming Using C#
Components of the .NET Framework (Contd.)


                – CLR consists of a set of common rules followed by all the
                  languages of the .NET Framework. This set of rules is known
                  as Common Language Specification (CLS).
                – CLS enables an object or application to interact with the
                  objects or applications of other languages.
                – The classes that follow the rules specified by CLS are termed
                  as CLS-compliant classes. The classes defined in the .NET
                  Framework class library are CLS-compliant.
                – One of the specifications defined in CLS is CTS, which
                  provides a type system that is common across all languages.
                  CTS define how data types are declared, used, and managed
                  in the code at run time.
                – While executing the program, CLR:
                      Identifies the process of compilation
                      Identifies the process of code execution


     Ver. 1.0                        Session 5                          Slide 14 of 35
Object-Oriented Programming Using C#
Components of the .NET Framework (Contd.)


                The .NET Framework Class Library:
                   The .NET Framework class library works with any .NET
                   language, such as VB.NET, VC++ .NET, and VC#.
                   The .NET Framework class library provides classes that can
                   be used in the code to accomplish a range of common
                   programming tasks, such as string management, data
                   collection, database connectivity, and file access.
                   The .NET Framework class library comprises of:
                      Namespaces
                      Assemblies




     Ver. 1.0                       Session 5                          Slide 15 of 35
Object-Oriented Programming Using C#
Components of the .NET Framework (Contd.)


                User and Program Interfaces:
                   At the presentation layer, .NET provides three types of user
                   interfaces:
                    • Windows Forms
                    • Web Forms
                    • Console Applications
                – .NET provides a program interface, Web Services, to
                  communicate with remote components.




     Ver. 1.0                        Session 5                            Slide 16 of 35
Object-Oriented Programming Using C#
Components of the .NET Framework (Contd.)


                Advantages of the .NET Framework:
                –   Consistent programming model
                –   Multi-platform applications
                –   Multi-language integration
                –   Automatic resource management
                –   Ease of deployment




     Ver. 1.0                      Session 5        Slide 17 of 35
Object-Oriented Programming Using C#
Using Visual Studio .NET IDE


                The Visual Studio .NET IDE provides you with a common
                interface for developing various kinds of projects for the
                .NET Framework.
                The IDE also provides you with a centralized location for
                designing the user interface for an application, writing code,
                and compiling and debugging the application.




     Ver. 1.0                       Session 5                         Slide 18 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions


                In Visual Studio .NET, an application can be made up of
                one or more items, such as files and folders.
                To organize these items efficiently, Visual Studio .NET has
                provided two types of containers:
                 – Project: It typically contains items that make up the
                   application. These items are interrelated.
                 – Solution: It usually acts as a container for one or more
                   projects.




     Ver. 1.0                        Session 5                            Slide 19 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                The following figure shows a solution with multiple projects.
                                   Solution          Project 1
                                                      Items
                                   Project 1



                                   Project 2
                                                     Project 2
                                                      Items


                              Miscellaneous
                                  Files




     Ver. 1.0                           Session 5                     Slide 20 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                To create a console application in Visual Studio, you need
                to create a project. To create a project, you need to perform
                the following steps:
                 – Select Start  All Programs  Microsoft Visual Studio
                   2005  Microsoft Visual Studio 2005. The
                   Start Page - Microsoft Visual Studio window will be
                   displayed.




     Ver. 1.0                       Session 5                        Slide 21 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                – Select FileNewProject. The New Project dialog box will
                  be displayed.




     Ver. 1.0                      Session 5                        Slide 22 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                – In the New Project dialog box, select Visual C# from the
                  Project Types pane and Console Application from the
                  Templates pane.
                – Specify the name of the application in the Name text box.
                – Specify the location where the new project is to be created in
                  the Location combo box. You can use the Browse button to
                  browse to the folder in which the new project is to be created.
                – Click the OK button.




     Ver. 1.0                       Session 5                            Slide 23 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                User Interface Elements of Visual Studio .NET IDE:
                   When you work with a console application project in Visual
                   Studio .NET, you can use the following main elements in
                   Visual Studio .NET IDE.




     Ver. 1.0                       Session 5                            Slide 24 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                Standard Toolbar:
                   The Standard toolbar is located below the menu bar. It provides
                   shortcuts for menu commands.




     Ver. 1.0                     Session 5                                Slide 25 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                       The following table shows the various components of
                       Standard toolbar.

                Name                Button                     Function
                NewProject                                     Creates a new project
                Add New Item                                   Add new item in the
                                                               project
                Save                                           Saves the Program.

                SaveAll                                        Save all the unsaved
                                                               items of the application
                Cut                                            Places selected text or
                                                               objects on the Windows
                                                               Clipboard
                Copy                                           Places a copy of selected
                                                               text or objects on the
                                                               Windows Clipboard
                Paste                                          Pastes the contents of
                                                               the Clipboard on the
                                                               document.
                Start Debugging                                Compiles and Executes
                                                               the current project.


     Ver. 1.0                         Session 5                                      Slide 26 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                – The Start Page:
                      When you start Visual Studio .NET, it displays the
                      Start Page- Microsoft Visual Studio.
                      The Start Page is the default home page for the browser provided
                      within the Visual Studio .NET IDE.
                      This tab displays some of the recent projects and the last date of
                      their modification. You can open any one of these projects.




     Ver. 1.0                        Session 5                                 Slide 27 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                The Solution Explorer Window:
                 • The Solution Explorer window lists the solution name, the project
                   name, and all the classes that are used in the project.




     Ver. 1.0                      Session 5                                Slide 28 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                The Output Window:
                 • The Output window displays messages for the status of various
                   features provided in the Visual Studio .NET IDE.




     Ver. 1.0                     Session 5                               Slide 29 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                The Error List Window:
                   The Error List window displays a list of errors along with the
                   source (the file and the line number) of the error. It helps you
                   identify and locate problems that are detected automatically as
                   you edit or compile code.




     Ver. 1.0                      Session 5                                 Slide 30 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                The Class View Window:
                   The Class View window displays the classes, methods, and
                   properties associated with a particular file. They are displayed in a
                   hierarchical tree-view depicting the containership of these items.




     Ver. 1.0                      Session 5                                  Slide 31 of 35
Object-Oriented Programming Using C#
Creating Projects and Solutions (Contd.)


                The Code Editor:
                   The code editor allows you to enter and edit code. You may use
                   this editor to add code for your class.




     Ver. 1.0                      Session 5                              Slide 32 of 35
Object-Oriented Programming Using C#
Compiling and Executing Project


                To compile and execute the application, you need to
                perform the following steps:
                •   Select BuildBuild Solution or press F6 to compile the
                    application.
                •   Select DebugStart Debugging or press F5 to execute the
                    application.




     Ver. 1.0                      Session 5                          Slide 33 of 35
Object-Oriented Programming Using C#
Summary


               In this session, you learned that:
                  The static variable retains its value even after the function to
                  which it belongs has been executed.
                  The static functions can access only static variables.
                  Non-static variables cannot be accessed by using static
                  functions.
                  The .NET Framework is made up of many components, such
                  as Common Language Specification (CLS), Common language
                  Runtime (CLR), and Just-In-Time (JIT) compiler.
                  CLS is a set of rules that are followed by all the languages of
                  the .NET Framework.
                  When a program is compiled using Visual Studio .NET the
                  compiler translates the code into the Intermediate Language
                  (IL) instead of machine language.



    Ver. 1.0                        Session 5                            Slide 34 of 35
Object-Oriented Programming Using C#
Summary (Contd.)


               The Just-In-Time (JIT) compiler is used to translate code from
               IL into machine language.
               The Common Language Runtime (CLR) is the environment
               where all .NET applications are executed.
               The Visual Studio .NET Integrated Development Environment
               (IDE) provides you with a common interface for developing
               various kinds of applications for the .NET Framework.
               Visual Studio .NET provides two types of containers, projects
               and solutions to organize the constituents of an application.




    Ver. 1.0                     Session 5                           Slide 35 of 35

Más contenido relacionado

La actualidad más candente

01 iec t1_s1_oo_ps_session_01
01 iec t1_s1_oo_ps_session_0101 iec t1_s1_oo_ps_session_01
01 iec t1_s1_oo_ps_session_01Niit Care
 
13 iec t1_s1_oo_ps_session_19
13 iec t1_s1_oo_ps_session_1913 iec t1_s1_oo_ps_session_19
13 iec t1_s1_oo_ps_session_19Niit Care
 
03 iec t1_s1_oo_ps_session_04
03 iec t1_s1_oo_ps_session_0403 iec t1_s1_oo_ps_session_04
03 iec t1_s1_oo_ps_session_04Niit Care
 
Java session01
Java session01Java session01
Java session01Niit Care
 
Java session02
Java session02Java session02
Java session02Niit Care
 
02 iec t1_s1_plt_session_02
02 iec t1_s1_plt_session_0202 iec t1_s1_plt_session_02
02 iec t1_s1_plt_session_02Niit Care
 
Win32/Flamer: Reverse Engineering and Framework Reconstruction
Win32/Flamer: Reverse Engineering and Framework ReconstructionWin32/Flamer: Reverse Engineering and Framework Reconstruction
Win32/Flamer: Reverse Engineering and Framework ReconstructionAlex Matrosov
 
C programming session 14
C programming session 14C programming session 14
C programming session 14AjayBahoriya
 
NDK Primer (Wearable DevCon 2014)
NDK Primer (Wearable DevCon 2014)NDK Primer (Wearable DevCon 2014)
NDK Primer (Wearable DevCon 2014)Ron Munitz
 
NDK Primer (AnDevCon Boston 2014)
NDK Primer (AnDevCon Boston 2014)NDK Primer (AnDevCon Boston 2014)
NDK Primer (AnDevCon Boston 2014)Ron Munitz
 
Evolution of Patterns
Evolution of PatternsEvolution of Patterns
Evolution of PatternsChris Eargle
 
Write native iPhone applications using Eclipse CDT
Write native iPhone applications using Eclipse CDTWrite native iPhone applications using Eclipse CDT
Write native iPhone applications using Eclipse CDTAtit Patumvan
 
Java - Remote method invocation
Java - Remote method invocationJava - Remote method invocation
Java - Remote method invocationRiccardo Cardin
 
4.class diagramsusinguml
4.class diagramsusinguml4.class diagramsusinguml
4.class diagramsusingumlAPU
 

La actualidad más candente (20)

01 iec t1_s1_oo_ps_session_01
01 iec t1_s1_oo_ps_session_0101 iec t1_s1_oo_ps_session_01
01 iec t1_s1_oo_ps_session_01
 
13 iec t1_s1_oo_ps_session_19
13 iec t1_s1_oo_ps_session_1913 iec t1_s1_oo_ps_session_19
13 iec t1_s1_oo_ps_session_19
 
03 iec t1_s1_oo_ps_session_04
03 iec t1_s1_oo_ps_session_0403 iec t1_s1_oo_ps_session_04
03 iec t1_s1_oo_ps_session_04
 
01 gui 01
01 gui 0101 gui 01
01 gui 01
 
Java session01
Java session01Java session01
Java session01
 
Java session02
Java session02Java session02
Java session02
 
02 iec t1_s1_plt_session_02
02 iec t1_s1_plt_session_0202 iec t1_s1_plt_session_02
02 iec t1_s1_plt_session_02
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
 
C Course Material0209
C Course Material0209C Course Material0209
C Course Material0209
 
Csharp
CsharpCsharp
Csharp
 
Win32/Flamer: Reverse Engineering and Framework Reconstruction
Win32/Flamer: Reverse Engineering and Framework ReconstructionWin32/Flamer: Reverse Engineering and Framework Reconstruction
Win32/Flamer: Reverse Engineering and Framework Reconstruction
 
Tutorial c#
Tutorial c#Tutorial c#
Tutorial c#
 
C programming session 14
C programming session 14C programming session 14
C programming session 14
 
Dacj 1-2 a
Dacj 1-2 aDacj 1-2 a
Dacj 1-2 a
 
NDK Primer (Wearable DevCon 2014)
NDK Primer (Wearable DevCon 2014)NDK Primer (Wearable DevCon 2014)
NDK Primer (Wearable DevCon 2014)
 
NDK Primer (AnDevCon Boston 2014)
NDK Primer (AnDevCon Boston 2014)NDK Primer (AnDevCon Boston 2014)
NDK Primer (AnDevCon Boston 2014)
 
Evolution of Patterns
Evolution of PatternsEvolution of Patterns
Evolution of Patterns
 
Write native iPhone applications using Eclipse CDT
Write native iPhone applications using Eclipse CDTWrite native iPhone applications using Eclipse CDT
Write native iPhone applications using Eclipse CDT
 
Java - Remote method invocation
Java - Remote method invocationJava - Remote method invocation
Java - Remote method invocation
 
4.class diagramsusinguml
4.class diagramsusinguml4.class diagramsusinguml
4.class diagramsusinguml
 

Similar a 04 iec t1_s1_oo_ps_session_05

Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)DrUjwala1
 
1 get started with c#
1   get started with c#1   get started with c#
1 get started with c#Tuan Ngo
 
DotNet Framework
DotNet FrameworkDotNet Framework
DotNet FrameworkWani Zahoor
 
1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)Shoaib Ghachi
 
.Net overview|Introduction Of .net
.Net overview|Introduction Of .net.Net overview|Introduction Of .net
.Net overview|Introduction Of .netpinky singh
 
.Net framework
.Net framework.Net framework
.Net frameworkRaghu nath
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net frameworkFaisal Aziz
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iRakesh Joshi
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iRakesh Joshi
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net frameworkInstantenigma
 

Similar a 04 iec t1_s1_oo_ps_session_05 (20)

Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)
 
.Net slid
.Net slid.Net slid
.Net slid
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
 
Unit6
Unit6Unit6
Unit6
 
1.0
1.01.0
1.0
 
1 get started with c#
1   get started with c#1   get started with c#
1 get started with c#
 
Dot net introduction
Dot net introductionDot net introduction
Dot net introduction
 
Dot net
Dot netDot net
Dot net
 
C Sharp Jn
C Sharp JnC Sharp Jn
C Sharp Jn
 
C Sharp Jn
C Sharp JnC Sharp Jn
C Sharp Jn
 
DotNet Framework
DotNet FrameworkDotNet Framework
DotNet Framework
 
1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)1..Net Framework Architecture-(c#)
1..Net Framework Architecture-(c#)
 
.Net overview|Introduction Of .net
.Net overview|Introduction Of .net.Net overview|Introduction Of .net
.Net overview|Introduction Of .net
 
.Net framework
.Net framework.Net framework
.Net framework
 
Inside .net framework
Inside .net frameworkInside .net framework
Inside .net framework
 
Dotnet1
Dotnet1Dotnet1
Dotnet1
 
Net framework
Net frameworkNet framework
Net framework
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part i
 
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part iDot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part i
 
Microsoft dot net framework
Microsoft dot net frameworkMicrosoft dot net framework
Microsoft dot net framework
 

Más de Niit Care (20)

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
 
Dacj 1-3 b
Dacj 1-3 bDacj 1-3 b
Dacj 1-3 b
 

Último

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Último (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

04 iec t1_s1_oo_ps_session_05

  • 1. Object-Oriented Programming Using C# Objectives In this session, you will learn to: Use static variables and static functions Identify the components of the .NET Framework Use the Visual Studio .NET IDE Ver. 1.0 Session 5 Slide 1 of 35
  • 2. Object-Oriented Programming Using C# Static Variables and Static Functions Each object has its own set of member variables. To retain the value of a variable throughout the program, you can declare the variable as a static variable. To manipulate and use the values of static variables, you can define a function as static function. Ver. 1.0 Session 5 Slide 2 of 35
  • 3. Object-Oriented Programming Using C# Static Variables • The keyword 'static' means that only one instance of a given variable exists for a class. • Static variables are used to define constants because their values can be retrieved by invoking the class without creating an instance of it. • Static variables can be initialized outside the member function or class definition. • Unlike other member variables, only one copy of the static variable exists in the memory for all the objects of that class. Ver. 1.0 Session 5 Slide 3 of 35
  • 4. Object-Oriented Programming Using C# Static Functions Static functions can access only static variables. Static functions exist even before the object is created. Ver. 1.0 Session 5 Slide 4 of 35
  • 5. Object-Oriented Programming Using C# Demo: Counting the Number of Times Function is Called by Using Static Functions Problem Statement: John a software developer in Zed Axsis Technology needs to check how many times a function is called. For the same, he has been asked to create the function called “CountFunction”. Help John to create this function. Ver. 1.0 Session 5 Slide 5 of 35
  • 6. Object-Oriented Programming Using C# Introducing the .NET Framework The .NET Framework, introduced by Microsoft, aims at integrating various programming languages and services. The .NET Framework is designed to make significant improvements in code reuse, code specialization, resource management, multilanguage development, security, deployment, and administration. The .NET Framework consists of all the technologies that help in creating and running robust, scalable, and distributed applications. Ver. 1.0 Session 5 Slide 6 of 35
  • 7. Object-Oriented Programming Using C# Introducing the .NET Framework (Contd.) The .NET suite consists of: .NET Products .NET Services .NET Framework Let us understand each component of the .NET suite in detail. Ver. 1.0 Session 5 Slide 7 of 35
  • 8. Object-Oriented Programming Using C# Introducing the .NET Framework (Contd.) .NET Products: .NET products aim at allowing developers to create applications, which are capable of interacting seamlessly with each other. All .NET products use eXtensible Markup Language (XML) for describing and exchanging data between applications. An example of a .NET product is Visual Studio .NET. Ver. 1.0 Session 5 Slide 8 of 35
  • 9. Object-Oriented Programming Using C# Introducing the .NET Framework (Contd.) .NET Services: .NET helps you to create software as Web services. A Web Service is an application or business logic that is accessible through standard Internet protocols such as Hypertext Transfer Protocol (HTTP) and Simple Object Access Protocol (SOAP). You can identify the service by a Uniform Resource Locator (URL). Microsoft has come up with its own set of Web services, known as My Services. This service allows users to access data by linking calendars, phonebooks, address books, and personal references to the passport authentication service. Ver. 1.0 Session 5 Slide 9 of 35
  • 10. Object-Oriented Programming Using C# Introducing the .NET Framework (Contd.) • The .NET Framework: It is the foundation for designing, developing, and deploying applications. It is the core of the .NET infrastructure because it exists as a layer between the .NET applications and the underlying operating system. Let us understand the .NET Framework in detail. Ver. 1.0 Session 5 Slide 10 of 35
  • 11. Object-Oriented Programming Using C# Components of the .NET Framework The various components of the .NET Framework are: Common Language Runtime The .NET Framework Class Library User and Program Interfaces Ver. 1.0 Session 5 Slide 11 of 35
  • 12. Object-Oriented Programming Using C# Components of the .NET Framework (Contd.) The following figure displays the various components of the .NET Framework. Common Language Runtime (CLR) .NET Framework Class Libraries Windows Console Web Forms and Forms Applications Web Services Ver. 1.0 Session 5 Slide 12 of 35
  • 13. Object-Oriented Programming Using C# Components of the .NET Framework (Contd.) Common Language Runtime (CLR): – CLR is the environment where all programs in .NET are executed. – CLR provides services such as code compilation, memory allocation, and garbage collection. – CLR allows the execution of code across different platforms by translating code into Intermediate Language (IL). – IL is a low level language that the CLR understands. – IL is converted into machine language during execution by the JIT compiler. During JIT compilation, code is also checked for type safety. – Type safety ensures that objects are always accessed in a compatible way. Ver. 1.0 Session 5 Slide 13 of 35
  • 14. Object-Oriented Programming Using C# Components of the .NET Framework (Contd.) – CLR consists of a set of common rules followed by all the languages of the .NET Framework. This set of rules is known as Common Language Specification (CLS). – CLS enables an object or application to interact with the objects or applications of other languages. – The classes that follow the rules specified by CLS are termed as CLS-compliant classes. The classes defined in the .NET Framework class library are CLS-compliant. – One of the specifications defined in CLS is CTS, which provides a type system that is common across all languages. CTS define how data types are declared, used, and managed in the code at run time. – While executing the program, CLR: Identifies the process of compilation Identifies the process of code execution Ver. 1.0 Session 5 Slide 14 of 35
  • 15. Object-Oriented Programming Using C# Components of the .NET Framework (Contd.) The .NET Framework Class Library: The .NET Framework class library works with any .NET language, such as VB.NET, VC++ .NET, and VC#. The .NET Framework class library provides classes that can be used in the code to accomplish a range of common programming tasks, such as string management, data collection, database connectivity, and file access. The .NET Framework class library comprises of: Namespaces Assemblies Ver. 1.0 Session 5 Slide 15 of 35
  • 16. Object-Oriented Programming Using C# Components of the .NET Framework (Contd.) User and Program Interfaces: At the presentation layer, .NET provides three types of user interfaces: • Windows Forms • Web Forms • Console Applications – .NET provides a program interface, Web Services, to communicate with remote components. Ver. 1.0 Session 5 Slide 16 of 35
  • 17. Object-Oriented Programming Using C# Components of the .NET Framework (Contd.) Advantages of the .NET Framework: – Consistent programming model – Multi-platform applications – Multi-language integration – Automatic resource management – Ease of deployment Ver. 1.0 Session 5 Slide 17 of 35
  • 18. Object-Oriented Programming Using C# Using Visual Studio .NET IDE The Visual Studio .NET IDE provides you with a common interface for developing various kinds of projects for the .NET Framework. The IDE also provides you with a centralized location for designing the user interface for an application, writing code, and compiling and debugging the application. Ver. 1.0 Session 5 Slide 18 of 35
  • 19. Object-Oriented Programming Using C# Creating Projects and Solutions In Visual Studio .NET, an application can be made up of one or more items, such as files and folders. To organize these items efficiently, Visual Studio .NET has provided two types of containers: – Project: It typically contains items that make up the application. These items are interrelated. – Solution: It usually acts as a container for one or more projects. Ver. 1.0 Session 5 Slide 19 of 35
  • 20. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) The following figure shows a solution with multiple projects. Solution Project 1 Items Project 1 Project 2 Project 2 Items Miscellaneous Files Ver. 1.0 Session 5 Slide 20 of 35
  • 21. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) To create a console application in Visual Studio, you need to create a project. To create a project, you need to perform the following steps: – Select Start  All Programs  Microsoft Visual Studio 2005  Microsoft Visual Studio 2005. The Start Page - Microsoft Visual Studio window will be displayed. Ver. 1.0 Session 5 Slide 21 of 35
  • 22. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) – Select FileNewProject. The New Project dialog box will be displayed. Ver. 1.0 Session 5 Slide 22 of 35
  • 23. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) – In the New Project dialog box, select Visual C# from the Project Types pane and Console Application from the Templates pane. – Specify the name of the application in the Name text box. – Specify the location where the new project is to be created in the Location combo box. You can use the Browse button to browse to the folder in which the new project is to be created. – Click the OK button. Ver. 1.0 Session 5 Slide 23 of 35
  • 24. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) User Interface Elements of Visual Studio .NET IDE: When you work with a console application project in Visual Studio .NET, you can use the following main elements in Visual Studio .NET IDE. Ver. 1.0 Session 5 Slide 24 of 35
  • 25. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) Standard Toolbar: The Standard toolbar is located below the menu bar. It provides shortcuts for menu commands. Ver. 1.0 Session 5 Slide 25 of 35
  • 26. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) The following table shows the various components of Standard toolbar. Name Button Function NewProject Creates a new project Add New Item Add new item in the project Save Saves the Program. SaveAll Save all the unsaved items of the application Cut Places selected text or objects on the Windows Clipboard Copy Places a copy of selected text or objects on the Windows Clipboard Paste Pastes the contents of the Clipboard on the document. Start Debugging Compiles and Executes the current project. Ver. 1.0 Session 5 Slide 26 of 35
  • 27. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) – The Start Page: When you start Visual Studio .NET, it displays the Start Page- Microsoft Visual Studio. The Start Page is the default home page for the browser provided within the Visual Studio .NET IDE. This tab displays some of the recent projects and the last date of their modification. You can open any one of these projects. Ver. 1.0 Session 5 Slide 27 of 35
  • 28. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) The Solution Explorer Window: • The Solution Explorer window lists the solution name, the project name, and all the classes that are used in the project. Ver. 1.0 Session 5 Slide 28 of 35
  • 29. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) The Output Window: • The Output window displays messages for the status of various features provided in the Visual Studio .NET IDE. Ver. 1.0 Session 5 Slide 29 of 35
  • 30. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) The Error List Window: The Error List window displays a list of errors along with the source (the file and the line number) of the error. It helps you identify and locate problems that are detected automatically as you edit or compile code. Ver. 1.0 Session 5 Slide 30 of 35
  • 31. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) The Class View Window: The Class View window displays the classes, methods, and properties associated with a particular file. They are displayed in a hierarchical tree-view depicting the containership of these items. Ver. 1.0 Session 5 Slide 31 of 35
  • 32. Object-Oriented Programming Using C# Creating Projects and Solutions (Contd.) The Code Editor: The code editor allows you to enter and edit code. You may use this editor to add code for your class. Ver. 1.0 Session 5 Slide 32 of 35
  • 33. Object-Oriented Programming Using C# Compiling and Executing Project To compile and execute the application, you need to perform the following steps: • Select BuildBuild Solution or press F6 to compile the application. • Select DebugStart Debugging or press F5 to execute the application. Ver. 1.0 Session 5 Slide 33 of 35
  • 34. Object-Oriented Programming Using C# Summary In this session, you learned that: The static variable retains its value even after the function to which it belongs has been executed. The static functions can access only static variables. Non-static variables cannot be accessed by using static functions. The .NET Framework is made up of many components, such as Common Language Specification (CLS), Common language Runtime (CLR), and Just-In-Time (JIT) compiler. CLS is a set of rules that are followed by all the languages of the .NET Framework. When a program is compiled using Visual Studio .NET the compiler translates the code into the Intermediate Language (IL) instead of machine language. Ver. 1.0 Session 5 Slide 34 of 35
  • 35. Object-Oriented Programming Using C# Summary (Contd.) The Just-In-Time (JIT) compiler is used to translate code from IL into machine language. The Common Language Runtime (CLR) is the environment where all .NET applications are executed. The Visual Studio .NET Integrated Development Environment (IDE) provides you with a common interface for developing various kinds of applications for the .NET Framework. Visual Studio .NET provides two types of containers, projects and solutions to organize the constituents of an application. Ver. 1.0 Session 5 Slide 35 of 35

Notas del editor

  1. Students have learnt the structure of different types of dimensions and the importance of surrogate keys in Module I. In this session, students will learn to load the data into the dimension tables after the data has been transformed in the transformation phase. In addition, students will also learn to update data into these dimension tables. Students already know about different types of dimension tables. Therefore, you can start the session by recapitulating the concepts. Initiate the class by asking the following questions: 1. What are the different types of dimensions? 2. Define flat dimension. 3. What are conformed dimension? 4. Define large dimension. 5. Define small dimension. 6. What is the importance of surrogate key in a dimension table? Students will learn the loading and update strategies theoretically in this session. The demonstration to load and update the data in the dimension table will be covered in next session.
  2. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  3. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  4. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  5. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  6. Students know the importance of surrogate keys. In this session students will learn the strategy to generate the surrogate key. Give an example to explain the strategy to generate the surrogate keys by concatenating the primary key of the source table with the date stamp. For example, data from a Product table has to be loaded into the Product_Dim dimension table on Feb 09, 2006. The product_code is the primary key column in the Product table. To insert the surrogate key values before loading the data into the dimension table, you can combine the primary key value with the date on which the data has to be loaded. In this case the surrogate key value can be product_code+09022006.
  7. Students know what is the structure of Flat dimension. You can initiate the session by asking the following questions: 1. What are flat dimension tables? 2. What is the structure of flat dimension? 3. Given examples of a flat dimension? Next, tell the strategy to load the data into the flat dimension table. You can explain the loading strategy with the help of the example given in SG. Continue this session by asking the following questions: 4. What are large flat dimension tables? 5. Give examples of large flat dimensions? Then, explain the strategy to load data into the large flat dimension table. Before explaining the strategy to load data into the small dimension table ask the following questions and the tell the strategy to load the data into the dimension table. 6. What are small flat dimension tables? 7. Give examples of small flat dimension tables. With the help of these questions, students will be able to recall about flat dimensions, they have learnt in Module I. Explain this topic with the help of an example given in SG.
  8. Students know what is the structure of Flat dimension. You can initiate the session by asking the following questions: 1. What are flat dimension tables? 2. What is the structure of flat dimension? 3. Given examples of a flat dimension? Next, tell the strategy to load the data into the flat dimension table. You can explain the loading strategy with the help of the example given in SG. Continue this session by asking the following questions: 4. What are large flat dimension tables? 5. Give examples of large flat dimensions? Then, explain the strategy to load data into the large flat dimension table. Before explaining the strategy to load data into the small dimension table ask the following questions and the tell the strategy to load the data into the dimension table. 6. What are small flat dimension tables? 7. Give examples of small flat dimension tables. With the help of these questions, students will be able to recall about flat dimensions, they have learnt in Module I. Explain this topic with the help of an example given in SG.
  9. Students know what is the structure of Flat dimension. You can initiate the session by asking the following questions: 1. What are flat dimension tables? 2. What is the structure of flat dimension? 3. Given examples of a flat dimension? Next, tell the strategy to load the data into the flat dimension table. You can explain the loading strategy with the help of the example given in SG. Continue this session by asking the following questions: 4. What are large flat dimension tables? 5. Give examples of large flat dimensions? Then, explain the strategy to load data into the large flat dimension table. Before explaining the strategy to load data into the small dimension table ask the following questions and the tell the strategy to load the data into the dimension table. 6. What are small flat dimension tables? 7. Give examples of small flat dimension tables. With the help of these questions, students will be able to recall about flat dimensions, they have learnt in Module I. Explain this topic with the help of an example given in SG.
  10. Student already have learnt about type 2 SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 2 SCDs? Given an example to explain type 2 SCDs. This will recapitulate what they have learnt about type 2 SCD in Module 1. Now explain the strategy to update the data into these dimension tables with help the example given in SG. After explaining the examples, you can ask students to think of an example of a type 2 SCD and then tell the strategy to update the data into this dimension table.
  11. Student already have learnt about type 2 SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 2 SCDs? Given an example to explain type 2 SCDs. This will recapitulate what they have learnt about type 2 SCD in Module 1. Now explain the strategy to update the data into these dimension tables with help the example given in SG. After explaining the examples, you can ask students to think of an example of a type 2 SCD and then tell the strategy to update the data into this dimension table.
  12. Student already have learnt about type 2 SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 2 SCDs? Given an example to explain type 2 SCDs. This will recapitulate what they have learnt about type 2 SCD in Module 1. Now explain the strategy to update the data into these dimension tables with help the example given in SG. After explaining the examples, you can ask students to think of an example of a type 2 SCD and then tell the strategy to update the data into this dimension table.
  13. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  14. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  15. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  16. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  17. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  18. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  19. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  20. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  21. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  22. You can summarize the session by running through the summary given in SG. In addition, you can also ask students summarize what they have learnt in this session.
  23. You can summarize the session by running through the summary given in SG. In addition, you can also ask students summarize what they have learnt in this session.
  24. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  25. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  26. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  27. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  28. You can summarize the session by running through the summary given in SG. In addition, you can also ask students summarize what they have learnt in this session.
  29. You can summarize the session by running through the summary given in SG. In addition, you can also ask students summarize what they have learnt in this session.
  30. You can summarize the session by running through the summary given in SG. In addition, you can also ask students summarize what they have learnt in this session.
  31. You can summarize the session by running through the summary given in SG. In addition, you can also ask students summarize what they have learnt in this session.
  32. You can summarize the session by running through the summary given in SG. In addition, you can also ask students summarize what they have learnt in this session.
  33. You can summarize the session by running through the summary given in SG. In addition, you can also ask students summarize what they have learnt in this session.
  34. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.
  35. Student already have learnt about SCDs in Module I. Therefore, you can start this topic by asking the following questions to students: What are type 1 SCDs? Given an example to explain type 1 SCDs. This will recapitulate what they have learnt about type 1 SCD in Module 1. Now explain the strategy to load the data into these dimension tables with help of the given diagram. Relate this diagram to the example given in SG.