Upload
lekhanh
View
225
Download
2
Embed Size (px)
Citation preview
CS111: PROGRAMMING
LANGUAGE II
Lecture 1: Introduction Computer Science
Department
1
Lecture Contents
Dr. Amal Khalifa, 2014
Course info
Why programming??
Why Java ??
Write once, run anywhere!!
2
Course info
Dr. Amal Khalifa, 2014
Website
http://cs111spr14.wordpress.com/
Book
Course plan
Assessment methods and grading
Labs and practical assignments
The term Project
3
Quiz!!!!
What is a program? (instructions)
What is a programming language? (syntax/rules)
What is a Software Package? (application domain)
4
Dr. Amal Khalifa, 2014
Why Programming?? 5
Programming Enables you to make a computer do
anything you want.
First challenge. Learn a programming language.
Next question. Which one?
Dr. Amal Khalifa, 2014
Why Java??
It’s not about the language!
Develop general programming skills applicable to
many languages
Javatar!!
6
Dr. Amal Khalifa, 2014
Why Java?
Clarity - Keep it Simple
Relatively easy graphics
and GUI programming
Lots of library packages
Full documentation
http://java.sun.com
Colleges are teaching it
Companies are using it
Students want it
Teachers welcome it... ;)
Programmers drink it... :)
Free compiler and IDEs
7
Dr. Amal Khalifa, 2014
Java == class
Everything must be in a class. There are no
global functions or global data.
What about main??
8
Dr. Amal Khalifa, 2014
Your first Java program.. 9
Dr. Amal Khalifa, 2014
The Code life Cycle!!
Edit compile run
10
Dr. Amal Khalifa, 2014
Write once, Compile Anywhere! 11
Dr. Amal Khalifa, 2014
Welcome to the java world!!
That’s all for today…..
Dr. Amal Khalifa, 2014
12