Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Programming (CS 201) Lecture 01 - Introduction.

Similar presentations


Presentation on theme: "Introduction to Programming (CS 201) Lecture 01 - Introduction."— Presentation transcript:

1 Introduction to Programming (CS 201) Lecture 01 - Introduction

2 Recommended Text Books 1. Introduction to Java and Object Oriented Programming (Volume 1)  Sebastian Danicic, University of London.  Online: http://www.doc.gold.ac.uk/~mas01lo/course/2012- 2013/foundation/lecture-slides/java-study-guide-volume1.pdfhttp://www.doc.gold.ac.uk/~mas01lo/course/2012- 2013/foundation/lecture-slides/java-study-guide-volume1.pdf 2. Introduction to Programming in Java: An Interdisciplinary Approach  Robert Sedgewick, Princeton University  Online: http://introcs.cs.princeton.edu/java/home/http://introcs.cs.princeton.edu/java/home/

3 Syllabus Input and output to screen with Java program Structure of Java programs Statements Data types Standard Input Conditional statements Loop constructs Arrays, character and string handling Random Number generation Filing (Reading and Writing ) Functions

4 Marks Distribution

5

6 Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf

7

8

9

10 Before Writing First Java Program  Step 1: Download Java Development Kit (JDK SE v7 ) from http://www.oracle.com/technetwork/java/javase/download s/index.html http://www.oracle.com/technetwork/java/javase/download s/index.html  Step 2: Download ‘DrJava Windows App’ from http://www.drjava.org/ http://www.drjava.org/  Instead of DrJava you can also use any other editor such as Simple Notepad, NetBeans etc.

11 Snap Shot of DrJava App Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf

12 General Steps Write Java ProgramSave ProgramCompile ProgramRun Program Compiling is the process of translating source code written in a particular programming language into computer-readable machine code that can be executed.


Download ppt "Introduction to Programming (CS 201) Lecture 01 - Introduction."

Similar presentations


Ads by Google