Introduction to Programming (CS 201) Lecture 01 - Introduction
Recommended Text Books 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.pdf Introduction to Programming in Java: An Interdisciplinary Approach Robert Sedgewick, Princeton University Online: http://introcs.cs.princeton.edu/java/home/
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
2 Programming Assignments Marks Distribution 1st Midterm Exam 20% 2nd Midterm Exam Final Exam 40% 2 Quizzes 10 % 2 Programming Assignments 10%
Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf
Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf
Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf
Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf
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 Step 2: Download ‘DrJava Windows App’ from http://www.drjava.org/ Instead of DrJava you can also use any other editor such as Simple Notepad, NetBeans etc.
Snap Shot of DrJava App Ref: http://introcs.cs.princeton.edu/java/lectures/11hello.pdf
Write Java Program Save Program Compile Program Run Program General Steps Write Java Program Save Program Compile Program Run Program Compiling is the process of translating source code written in a particular programming language into computer-readable machine code that can be executed.