Professional Documents
Culture Documents
Java Programming Language Lecturer: Kamaluddin Behzad
Java Programming Language Lecturer: Kamaluddin Behzad
lecture 01
lecturer : Kamaluddin Behzad
Kamaluddin Behzad 1
Roadmap of today
• Administrative Issues
• Course Contents, Text Book, Exams, Office Hours, Homework, Grading, etc.
• Course Description
• What material will we cover?
Kamaluddin Behzad 2
Kamaluddin Behzad 3
Course Text Book
Kamaluddin Behzad 4
Software
• For the course, you may use any IDE you are comfortable using. I will use one or
more of the following in the classroom:
• Notepad++ and JDK
• Eclipse
• Netbeans
• All these products can be downloaded from the web for free.
• The next presentations will include instructions on downloading and installing these
programs.
• If you do not have your own computer, the computer labs on campus have the
software.
Kamaluddin Behzad 5
Grading
Kamaluddin Behzad 6
Student Civility
Kamaluddin Behzad 7
Help is available
• Kamaluddin Behzad
Bachelor of Computer Science from India
• hashimikamalluddien@gmail.com
• 0747080407 ( Telegram,Whatsapp )
Kamaluddin Behzad 8
Course Description
Kamaluddin Behzad 9
Course Prerequisites
• Prerequisites:
– No prior programming experience required
• Who should be taking this course:
– students who want to switch to a computer science major
– students who want a computer science minor or a computer applications minor
– students who are just interested in programming.
• You must get a score of 55 or better in this class to take further computer
science classes.
Kamaluddin Behzad 10
What the class is really about
Kamaluddin Behzad 11
1. Learn the Basics of Java Programming
Kamaluddin Behzad 12
2. Learn the Core Concepts of all High level
Languages
• There are many programming languages available:
Pascal, C, C++, Java, Ada, Perl, PHP, Python, Go, ASP.NET, etc
.
• All of these languages share core concepts.
• By focusing on these concepts, you are better able to learn any
programming language.
• Hence, by learning Java, you are poised to learn other languages,
such as C++ or Perl.
Kamaluddin Behzad 13
…
• By learning the core concepts, you are also much more marketable as
you are able to learn new technologies quicker.
• Java has a construct called a for loop that enables a program to
repeat actions over and over.
Most other languages also have a for loop.
• Hence, by learning about for loops in Java, you can easily learn for
loops in C,C++, Ada, PHP, Python, etc.
Kamaluddin Behzad 14
Introduction to Programming Languages and Java
Kamaluddin Behzad 15
Programming Languages
• Machine Language
• Assembly Language
• High Level Languages
Java
C++
Go
Python
VB.NET
C#.NET
Kamaluddin Behzad 16
Machine Language (1st Generation)
• Advantage
The only advantage is that program of machine language run very fast
because no translation program is required for the CPU.
• Disadvantages
It is very difficult to program in machine language. The programmer has to
know details of hardware to write program.
The programmer has to remember a lot of codes to write a program which
results in program errors.
It is difficult to debug the program.
Kamaluddin Behzad 17
Assembly Language programming 2 generation
nd
Kamaluddin Behzad 18
High-level Languages 3rd Generation
Kamaluddin Behzad 19
Java program to add two numbers:
Kamaluddin Behzad 20
That’s all for today
?
Kamaluddin Behzad 21