16
INTEL ULTIMATE ENG INEE RING EXP ERIE N CE

INTEL ULTIMATE ENGINEERING EXPERIENCE. INSTRUCTORS BRAD NICHOLS [email protected] MICHAEL KATIC [email protected] RYAN SCOTT [email protected] Feel

Embed Size (px)

Citation preview

INTE

L ULT

IMAT

E

EN

GI N

EE

RI N

G E

XP

ER

I EN

CE

INSTRUCTORS

B R A D N I C H O L S

[email protected]

M I C H A E L K A T I C

[email protected]

R Y A N S C O T T

[email protected]

Feel free to contact any of us for whatever reason If you cant figure out an error or are stuck on a design issue just shoot an email to one of our email and we’ll help out the best we can!

I sure do love

making mobile apps!

Come on in, the code is GREAT!

Come try on your

computer science hats!

WHO SPEAKS COMPUTER?

WIT

HOUT FU

RTHER D

ELAY

Computer Programming is the:• Designing• Writing• Testing• Debugging• and Maintaining

of source code of computer programs.

WHAT IS PROGRAMMING?

PayStarting Salaries in computer programming range from $59,000 to $112,000 per yearContract jobs run as high as $100 to $400 per hour

Flexibility & IndependenceWork from home as freelance contractorNearly always able to work from homeBring your work anywhereThe “Do good work and we wont ask questions” policy

Demand & Job SecurityAs long as society relies on computing technology, there will be a demand for computer programmers.

WHY DO I WANT TO BE A COMPUTER PROGRAMMER?

Notes from: http://www.indeed.com/

http://www.askitcareercoach.com/ http://smallbusiness.chron.com/advantages-being-computer-programmer-38637.html

•While (Students.Understand() == false)Students.teachProgramming();

•Hello, World!•Variables, Variable TypesMonday•Roll Playing Game•Loops, Conditionals, and Functions•Classes and Objects•Random classTuesday•Creating a Tip Calculator•String Manipulation•Graphics•Drawing to a WindowWednesday

• Build your own application or gameThursday• Build your own application or gameFriday

COURSE SCHEDULE

HELLO, WORLD!

class Program { static void Main(string[] args) { Console.WriteLine("Hello, World!"); } }

TIP:Don’t forget to add

Console.ReadKey(true);to stop the console window from closing.

Hello World TutorialGeneral Structure of a C# Program

Main() and Command-Line Arguments

TYPES, VARIABLES, AND VALUES

int

1

-5int a = 5; int b = a + 2; //OK

bool test = true;

// Error. Operator '+' cannot be applied // to operands of type 'int' and 'bool'.int c = a + test;

More on Types

LEARNING CONDITIONALS

Operators < is less than > is greater than <= is less than or equal to >= is greater than or equal to == is equal to != is not equal to && logical “and” (True only if both sides are true. False otherwise.) || logical “or” (False only if both sides are false. True otherwise.)

Example:if( X > 3 && X < 6 )if( hitPoints == fullHitPoints )

LEARNING CONDITIONALS

The "if" Statement 

 static void Main(String[] args)

        {

            int x;

            x=20;

            if (x > 0)

            {

                x -= 1;

                Console.WriteLine(x);

            }

        }

LEARNING LOOPS

The 'While' Loop

while (count < maxCount)

{

Console.WriteLine(count);

count++;

}

Console.ReadLine();

RESEARCHING YOUR ISSUES

Google is your friend!

Here are some other friends you might want to become familiar with:

• MSDN Learning Recources

• Top C# Questions on Stack Overflow

• Get More Out of Google

GETTING A JUMP START ON TOMORROW

Tomorrow we will be learning about the following:

• Conditionals, Loops, and Methods• Classes• Random class

To get a head start you can visit the links above and play around with some of the code provided.HAPPY CODING

INTE

L ULT

IMAT

E

EN

GI N

EE

RI N

G E

XP

ER

I EN

CE