1.1 Introduction to Programming academy.zariba.com 1.

12
1.1 Introduction to Programming academy.zariba.com 1

Transcript of 1.1 Introduction to Programming academy.zariba.com 1.

Page 1: 1.1 Introduction to Programming academy.zariba.com 1.

1

1.1 Introduction to Programming

academy.zariba.com

Page 2: 1.1 Introduction to Programming academy.zariba.com 1.

2

Lecture Content

1. What software do you need?2. What is programming?3. Creating your first C# program4. Homework

Page 3: 1.1 Introduction to Programming academy.zariba.com 1.

3

What Software do you need?

• Google Account (Google Drive mostly) • Windows 8.1/Windows 10• Visual Studio 2013/2015

Page 4: 1.1 Introduction to Programming academy.zariba.com 1.

4

What is programming?

Computer programming: creating a sequence of instructions to enable the computer to do something.

Definition by Google

Page 5: 1.1 Introduction to Programming academy.zariba.com 1.

5

Programming Phases

• Define a task/problem = Specification

• Plan your solution = Design

• Write code = Implementation

• Fix errors = Testing/Debugging

Page 6: 1.1 Introduction to Programming academy.zariba.com 1.

6

Game Development Phases

• Game Idea

• Write/Obtain GDD (game design document)

• Concept Art (if applicable)

• Graphic Design

• Development

• Testing

• Deployment

• Marketing

Page 7: 1.1 Introduction to Programming academy.zariba.com 1.

7

What is C#?

• C# is a new, cutting edge language

• Extremely powerful

• Easy to learn, read and understand

• Object-oriented

• Used in Unity3D

Page 8: 1.1 Introduction to Programming academy.zariba.com 1.

8

What is Visual Studio

Visual Studio is an Integrated Development

Environment (IDE). It is a development tool to help us:

• Write the code

• Design user Interface

• Compile the code

• Execute / Test / Debug applications

• Manage projects with ease

Page 9: 1.1 Introduction to Programming academy.zariba.com 1.

9

Your first C# Project

Page 10: 1.1 Introduction to Programming academy.zariba.com 1.

10

Homework

1. Install Windows 8.1/102. Install Visual Studio 2013/20153. Get Google Drive (gmail account)4. Create, compile and run a “Hello Zariba Academy” console

application.5. Create a console application to print your name, email, age

and gender. 6. Print the numbers 0, 357, -20 and 10^20 on the console.7. Print sin(200), cos (100), tan (pi/4)8. Print 56 to the power 39. Print the remainder of 138 divided by 17.10. Write a program to read your first and last names and print

them on the console, separated by space.

Page 11: 1.1 Introduction to Programming academy.zariba.com 1.

11

References

Page 12: 1.1 Introduction to Programming academy.zariba.com 1.

12

Zariba Academy

Questions