introduction to programming at from novice 2 prof oct 2010 ,ife 2 live
DESCRIPTION
TRANSCRIPT
Introduction to programming
‘Yinka Tanimomo
You have heard about programming,but you don’t know how to start
You have never heard about the program,but the program is just #500,it cant hurt.
You are not yet a programmer
Tanimomo Olayinka, 08059254350,[email protected]
om
Foolish assumption
Impressionists
Impress Sandra
I heard girls like programmers
Some reasons people want to program
Tanimomo Olayinka, 08059254350,[email protected]
om
Why not, it’s possible,ain’t it?
They said I can’t do it
I am in computer science
Some reasons people want to program(contd)
Tanimomo Olayinka, 08059254350,[email protected]
om
Financial Reasons
I heard they pay programmers a lot My brother is a programmer and they pay
him $5,000,000 per annum I need to hack into GTB
Some reasons people want to program(contd)
Tanimomo Olayinka, 08059254350,[email protected]
om
Serious reasons
To get a particular job done To solve the world’s problems I like tinkering My final year project involves
programming
Some reasons people want to program
Tanimomo Olayinka, 08059254350,[email protected]
om
A program is a piece of instruction
written to allow a computer perform a
particular job
So what in the world is a program
Tanimomo Olayinka, 08059254350,[email protected]
om
Text editor
Linker
Builder/compiler
IDE(integrated development environment)
What do you use to write a program
Tanimomo Olayinka, 08059254350,[email protected]
om
A mobile application A web application ( e.g
bing,facebook,google) An application to calculate my GP( sorry,
you can’t write a program to increase it) A word editing software ( Microsoft word) A graphics app( Coreldraw)
So what can you program
Tanimomo Olayinka, 08059254350,[email protected]
om
A sound editing software ( e.g Fruity loops) An accounting package(Peach tree) A program to manage my financial details An Operating system( Windows 7) A robot A program to help you trade forex You get it, you can program anything
So what can you program(contd)
Tanimomo Olayinka, 08059254350,[email protected]
om
Not a magician Not intelligent Not going to take over the world(yeah, I
know you’ve watched terminator) Not a cool GUI that does nothing( true)
What a program is not
Tanimomo Olayinka, 08059254350,[email protected]
om
Interest, passion Action Learning(Knowledge, direct your passion) Practice Practice Practice
So, what does it entail
Tanimomo Olayinka, 08059254350,[email protected]
om
C#.Net .(pronounced C Sharp dot net)
So what language
Tanimomo Olayinka, 08059254350,[email protected]
om
programming language (plural pro·gram·ming lan·guages) noun
special vocabulary for instructing computer: a unique vocabulary and set of rules for writing computer programs
Microsoft® Encarta® 2009. © 1993-2008 Microsoft Corporation. All rights reserved.
But wait, whats a language?
Tanimomo Olayinka, 08059254350,[email protected]
om
A language is a set of semantics, syntax and expressions that make up a way of communicating our instructions to a
But wait, whats a language?(contd)
Tanimomo Olayinka, 08059254350,[email protected]
om
C# is an event-driven, object oriented and visual programming language in which programs are created using an Integrated Development Environment (IDE).
Microsoft announced the C# programming language in 2000.
Ok, So whats C#
Tanimomo Olayinka, 08059254350,[email protected]
om
Wait, whats .Net
Tanimomo Olayinka, 08059254350,[email protected]
om
Mobile Devices
Web applications
A stand alone desktop app( Windows media player)
Wait, whats .Net(contd)
Tanimomo Olayinka, 08059254350,[email protected]
om
The .NET platform is one over which Web-based applications can be distributed to a great variety of devices (even cell phones) and to desktop computers. The platform offers a new software-development model that allows applications created in disparate programming languages to communicate with each other.
Enuff with the talk,show me the money, sorry a real
program
Tanimomo Olayinka, 08059254350,[email protected]
om
Objective Write a program that displays “welcome to
Novice to professional” to the screen.
Our first C# program
Tanimomo Olayinka, 08059254350,[email protected]
om
Solutions
Projects
Tanimomo Olayinka, 08059254350,[email protected]
om
Introduction to Visual studio Ide
Objectives Write a program that allows a user enter
two numbers, add it and display the result.
Our next program
Tanimomo Olayinka, 08059254350,[email protected]
om
Placeholders used to refer to the values we’ll be working with
Tanimomo Olayinka, 08059254350,[email protected]
om
Variables
Types:- the kind of data they allow Size Values names
Tanimomo Olayinka, 08059254350,[email protected]
om
Variables have
Numerical types:-◦ int◦ short◦ byte◦ Double etc
String types◦ Char◦ string
Boolean type User defined type
Tanimomo Olayinka, 08059254350,[email protected]
om
Variables are divided into
Network with people Make out time for it Register @ codeproject.com
What next
Tanimomo Olayinka, 08059254350,[email protected]