![Page 1: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/1.jpg)
Introduction to programming
‘Yinka Tanimomo
![Page 2: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/2.jpg)
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
![Page 4: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/4.jpg)
Impressionists
Impress Sandra
I heard girls like programmers
Some reasons people want to program
Tanimomo Olayinka, 08059254350,[email protected]
om
![Page 5: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/5.jpg)
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
![Page 6: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/6.jpg)
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
![Page 7: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/7.jpg)
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
![Page 9: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/9.jpg)
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
![Page 10: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/10.jpg)
Text editor
Linker
Builder/compiler
IDE(integrated development environment)
What do you use to write a program
Tanimomo Olayinka, 08059254350,[email protected]
om
![Page 11: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/11.jpg)
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
![Page 12: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/12.jpg)
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
![Page 13: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/13.jpg)
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
![Page 14: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/14.jpg)
Interest, passion Action Learning(Knowledge, direct your passion) Practice Practice Practice
So, what does it entail
Tanimomo Olayinka, 08059254350,[email protected]
om
![Page 15: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/15.jpg)
C#.Net .(pronounced C Sharp dot net)
So what language
Tanimomo Olayinka, 08059254350,[email protected]
om
![Page 16: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/16.jpg)
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
![Page 17: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/17.jpg)
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
![Page 18: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/18.jpg)
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
![Page 19: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/19.jpg)
Wait, whats .Net
Tanimomo Olayinka, 08059254350,[email protected]
om
Mobile Devices
Web applications
A stand alone desktop app( Windows media player)
![Page 20: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/20.jpg)
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.
![Page 21: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/21.jpg)
Enuff with the talk,show me the money, sorry a real
program
Tanimomo Olayinka, 08059254350,[email protected]
om
![Page 22: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/22.jpg)
Objective Write a program that displays “welcome to
Novice to professional” to the screen.
Our first C# program
Tanimomo Olayinka, 08059254350,[email protected]
om
![Page 23: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/23.jpg)
Solutions
Projects
Tanimomo Olayinka, 08059254350,[email protected]
om
Introduction to Visual studio Ide
![Page 24: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/24.jpg)
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
![Page 25: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/25.jpg)
Placeholders used to refer to the values we’ll be working with
Tanimomo Olayinka, 08059254350,[email protected]
om
Variables
![Page 26: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/26.jpg)
Types:- the kind of data they allow Size Values names
Tanimomo Olayinka, 08059254350,[email protected]
om
Variables have
![Page 27: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/27.jpg)
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
![Page 29: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live](https://reader034.vdocuments.us/reader034/viewer/2022051110/54b547614a795969608b45ca/html5/thumbnails/29.jpg)
Network with people Make out time for it Register @ codeproject.com
What next
Tanimomo Olayinka, 08059254350,[email protected]