31
Introduction to programming ‘Yinka Tanimomo

Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

Introduction to programming

‘Yinka Tanimomo

Page 2: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

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 3: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

So you really want to program

Tanimomo Olayinka, 08059254350,[email protected]

om

Page 4: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

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

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

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

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 8: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

Tanimomo Olayinka, 08059254350,[email protected]

om

To control a robot

Page 9: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 28: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

Deployment

How do I give my friend this program

Tanimomo Olayinka, 08059254350,[email protected]

om

Page 29: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

Network with people Make out time for it Register @ codeproject.com

What next

Tanimomo Olayinka, 08059254350,[email protected]

Page 30: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

Tanimomo Olayinka, 08059254350,[email protected]

om

Thank you

Page 31: Introduction to programming at from novice 2 prof oct 2010 ,ife 2 live

Tanimomo Olayinka, 08059254350,[email protected]

om

Questions?