0% found this document useful (0 votes)
185 views

GUI Programming - L1

Computer programming involves designing and building executable programs to perform tasks. It involves defining problems, planning solutions through algorithms and data structures, writing code, testing for and fixing errors, and deploying the program. Console applications use only text interfaces while graphical user interfaces (GUIs) provide visual representations like windows, menus and icons for easier user interaction. C# is an object-oriented language developed by Microsoft that can be used to create various application types and is part of the .NET framework, which provides functionality and supports standards. The .NET framework allows development across platforms and languages and includes a common language runtime for executing programs.

Uploaded by

sasuke
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
185 views

GUI Programming - L1

Computer programming involves designing and building executable programs to perform tasks. It involves defining problems, planning solutions through algorithms and data structures, writing code, testing for and fixing errors, and deploying the program. Console applications use only text interfaces while graphical user interfaces (GUIs) provide visual representations like windows, menus and icons for easier user interaction. C# is an object-oriented language developed by Microsoft that can be used to create various application types and is part of the .NET framework, which provides functionality and supports standards. The .NET framework allows development across platforms and languages and includes a common language runtime for executing programs.

Uploaded by

sasuke
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 18

Computer Programming?

Computer programming is the process of


designing and building an executable computer
program to accomplish a specific computing result
or to perform a specific task.
Computer programming: creating a sequence of

instructions to enable the computer to do


something.
Programming Phases
Define a task/problem = Specification

Plan your solution = Design

 Find suitable algorithm to solve it

 Find suitable data structures to use

 Write code = Implementation

 Fix program error (bugs) = Testing & Debugging

 Make your customer happy = Deployment


A console application 
A console application is a program designed to be used via a

text-only computer interface, such as a text terminal,


the command line interface of some operating
systems (Unix, DOS, etc.) or the text-based interface included
with most Graphical User Interface (GUI) operating systems,
such as the Win32 console in Microsoft Windows, the Terminal
in macOS, and xterm in Unix. A user typically interacts with a
console application using only a keyboard and display screen,
as opposed to GUI applications, which normally require the use
of a mouse or other pointing device
What is a GUI?
GUI is the acronym for graphical user interface, which is the

interface through which users interact with electronic devices,


such as computers, laptops, smartphones and tablets. A
graphical user interface offers visual representations of the
available commands and functions of an operating system or
software program.
These visual representations consist of elements like icons,

menus, tabs, pointers and windows, which allow users to easily


access and manipulate available functions
Structural elements of a GUI
A GUI consists of structural elements that together define the

appearance of the interface. Here are a few examples of such


structural elements:
• Windows

• Menus

• Icons

• Widgets

• Tabs
What are the benefits of a GUI?
Older desktop operating systems, such as MS-DOS, as well as

many current programming languages, employ command-line


interfaces.
As a GUI provides visual representations of commands.

The benefits of using a GUI are multiple. Apart from the fact

that it provides users with an intuitive and easy-to-use interface


and immediate visual feedback, a GUI also allows a user to
open up multiple programs or instances and displays these
simultaneously.
C# is a Sharp C
C#, pronounced c sharp, C# is a simple & powerful object-

oriented programming language developed by Microsoft. C#


can be used to create various types of applications, such as
web, windows, console applications, or other types of
applications using Visual studio.
 C# is one of the languages used in the Microsoft .NET

Framework. The Microsoft .NET Framework is a library of


objects that create or draw things on the computer.
C# is used for:
• Mobile applications

• Desktop applications

• Web applications

• Web services

• Web sites

• Games

• Database applications

• And much, much more!


Why Use C#?
• It is one of the most popular programming language
in the world
• It is easy to learn and simple to use

• It has a huge community support

• C# is an object oriented language which gives a


clear structure to programs and allows code to be
reused, lowering development costs.
• As C# is close to C, C++ and Java, it makes it easy
for programmers to switch to C# or vice versa
What is Microsoft .Net Framework?
• .NET is a software framework which is designed and
developed by Microsoft. The first version of the .Net
framework was 1.0 which came in the year 2002.
• In easy words, it is a virtual machine for compiling
and executing programs written in different
languages like C#, VB.Net etc.
It is used to develop Form-based applications, Web-
based applications, and Web services
There is a variety of programming languages available

on the .NET platform, VB.Net and C# being the most


common ones. It is used to build applications for
Windows, phone, web, etc. It provides a lot of
functionalities and also supports industry standards.
.NET Framework supports more than 60 programming

languages in which 11 programming languages are


designed and developed by Microsoft. The
remaining Non-Microsoft Languages which are
supported by .NET Framework but not designed and
developed by Microsoft.
11 Programming Languages which are designed
and developed by Microsoft are:
• C#.NET
• VB.NET
• C++.NET
• J#.NET
• F#.NET
• JSCRIPT.NET
• WINDOWS POWERSHELL
• IRON RUBY
• IRON PYTHON
• C OMEGA
• ASML(Abstract State Machine Language)
Difference Between .NET and ASP.NET Framework
What is a compiler
A compiler is a program that transforms source

code written in one programming language into


another programming language.
When you run the C# compiler, it takes your code

as an input, does some processing, and then


outputs your program in intermediate language
(IL) code which is saved in *.exe or *.dll files.
Compile process
Common Language Runtime
CLR is a program running on your computer that

manages the execution of IL code.


Thank You

You might also like