Introduction to Programming (CS 201) Lecture 01 - Introduction
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/~mas 01 lo/course/20122013/foundation/lecture-slides/java-study-guidevolume 1. pdf 2. Introduction to Programming in Java: An Interdisciplinary Approach � Robert Sedgewick, Princeton University � Online: http: //introcs. 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
Marks Distribution First Exam 15% Second Exam 20% Final Exam 30% 3 Quizzes 15% 4 Programming Assignments 20%
Ref:
Ref:
Ref:
Ref:
Before Writing First Java Program � Step 1: Download Java Development Kit (JDK SE v 7 ) from http: //www. oracle. com/technetwork/javase/down loads/index. html � Step 2: Download ‘Dr. Java Windows App’ from http: //www. drjava. org/ � Instead of Dr. Java you can also use any other editor such as Simple Notepad, Net. Beans etc.
Snap Shot of Dr. Java App Ref:
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.