ClubEnsayos.com - Ensayos de Calidad, Tareas y Monografias
Buscar

Programacion En CODEWARRIOR U


Enviado por   •  3 de Junio de 2013  •  22.872 Palabras (92 Páginas)  •  182 Visitas

Página 1 de 92

Learn Programming with C

Page 1

Welcome to the "Learn Programming with C" course from Freescale CodeWarriorU. This course consists

of a collection of lessons that will introduce you to the fundamentals of programming using the C

programming language

Lesson 1: Start at the Beginning 2

Lesson 2: Algorithms and Flowcharts 7

Lesson 3: Variables and Data Types 14

Lesson 4: More Data Types 21

Lesson 5: Computer Arithmetic 29

Lesson 6: Handling Complex Data 35

Lesson 7: Modularity 43

Lesson 8: Conditionals and Branching 48

Lesson 9: Going Loopy 55

Lesson 10: Real World Problems 61

Lesson 11: Coding Up A Storm 64

Lesson 12: Debugging Technique 69

For additional courses, please visit the Embedded Learning Center on the Freescale Semiconductor

website.

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc.

© Freescale Semiconductor, Inc. 2005

Learn Programming with C

Page 2

Lesson 1: Start at the Beginning

Lesson Description: A famous actress and singer noted that the beginning is a "very

good place to start." Thus began the tune "Do Re Mi." So, let's start at the beginning

by finding out why you're here and what your goals are.

Why Do You Want to Learn Programming?

Why do you want to learn programming? This question should be with you throughout

this course. Essentially, there are two kinds of programmers. Those who do it for the pure

love of programming, and those who do it as part of their job.

For the Love of Code

The first kind of programmer writes software for the sheer love and enjoyment of coding.

These people are the true "hackers" of the world -- not those who break into systems,

who are really "crackers."

Programmers in this category often write small programs to help others with a specific

problem that they need to solve. These same programmers will often share ideas and even

source code with others. Freeware and shareware authors generally fall into this category.

Working Programmers

Working programmers are those who program as part of their daily job. They may be

contractors who write software to fulfill a specific need for a company, or they could be

developers at a well-known (or maybe not so well-known) software development

company.

Of course, just because programming is part of the job does not mean the programmer

doesn't love or enjoy programming. However, these programmers have specific tasks in

mind, which are often driven by hard deadlines, structure, and goals.

Which Are You?

Now we come back to my first question, "Why do you want to learn programming?" As

you are only beginning to learn programming and have no experience, you probably don't

fall into either category yet. However, that's not to say that you won't love programming

at some point in the future. Chances are that you are seeking direction, trying to find out

if you will like programming, or if you should seek another career choice. Programming

is not always an easy task. It's sometimes full of frustration, upsets, and stress. But it is

also full of joy, rewards, and a sense of pride from accomplishment. So you must give it a

solid effort before you make your decision.

This course is very basic. I would encourage you to take at least one or two more

programming courses (increasing in skill and knowledge) after this one. I believe that

only then will you have the necessary experience and mindset to make a proper decision.

Learn Programming with C

Page 3

I personally fall into both categories. I program as part of my job, but I also love

programming and try to do as much of it as I can in my spare time.

A Brief History of Programming

You've heard the phrase "necessity is the mother of invention." The idea is no different in

programming. Strictly speaking, programs are developed out of necessity to solve a

problem or to fill a need.

People have always had a desire to solve problems faster. For example, the abacus was

developed in ancient China to perform mathematical calculations more quickly and

easily. The abacus is a visual tool. The user eventually developed a skill not only for

adding quickly but also for pattern matching, i.e., seeing a seven without

...

Descargar como (para miembros actualizados)  txt (120.8 Kb)  
Leer 91 páginas más »
Disponible sólo en Clubensayos.com