SlideShare a Scribd company logo
Using Java
MINISTRY OF EDUCATION & HIGHER EDUCATION
COLLEGE OF SCIENCE AND TECHNOLOGY
KHANYOUNIS- PALESTINE
 What is computer?
 Computer Organization
 Programming languages
 Java Class Libraries
 Typical Java development environment
 Case Study: Unified Modeling Language
 Emank X Mezank
2Presented & Prepared by: Mahmoud R. Alfarra
 A computer is a device capable of performing
computations and making logical decisions at
speeds millions (even billions) of times faster
than human beings can.
 Computers process data under the control of
sets of instructions called computer
programs.
3Presented & Prepared by: Mahmoud R. Alfarra
 A computer consists of various devices
referred to as hardware. e.g.:
 The keyboard.
 Screen.
 Mouse.
 Disks …
 The programs that run on a computer are
referred to as software.
4Presented & Prepared by: Mahmoud R. Alfarra
 computer may be envisioned as divided into
six logical units :
1. Input unit. This is the "receiving" section of the
computer. It obtains information from input
devices and places this information at the
disposal of the other units so that it can be
processed.
5Presented & Prepared by: Mahmoud R. Alfarra
2. Output unit. This is the "shipping" section of the
computer. It takes information that the
computer has processed and places it on various
output devices to make the information
available for use outside the computer.
3. Memory unit. This is the rapid-access, relatively
low-capacity "warehouse" section of the
computer.
6Presented & Prepared by: Mahmoud R. Alfarra
7Presented & Prepared by: Mahmoud R. Alfarra
4. Arithmetic and logic unit (ALU): This is the
"manufacturing" section of the computer. It is
responsible for performing
• Calculations
• The decision mechanisms
5. Central processing unit (CPU): This is the
"administrative" section of the computer. It
coordinates and supervises the operation of the
other sections.
6. Secondary storage unit. This is the long-term,
high-capacity "warehousing" section of the
computer.
8Presented & Prepared by: Mahmoud R. Alfarra
 Programming languages may be divided into
three general types:
1.Machine languages
2.Assembly languages
3.High-level languages
9Presented & Prepared by: Mahmoud R. Alfarra
In two pages, write what is algorithm, why and how
do they represented ?HW 2.1
 Any computer can directly understand only
its own machine language.
 It is defined by the computer hardware
design.
 Machine languages are machine dependent
(i.e., a particular machine language can be
used on only one type of computer).
10Presented & Prepared by: Mahmoud R. Alfarra
 Machine languages generally consist of
strings of numbers (0,1).
 So, It was simply:
 Too slow
 Tedious for most programmers
11Presented & Prepared by: Mahmoud R. Alfarra
 Programmers began using English-like
abbreviations to represent elementary
operations.
 These abbreviations formed the basis of
assembly languages.
12Presented & Prepared by: Mahmoud R. Alfarra
 Translator programs called assemblers were
developed to convert early assembly-
language programs to machine language at
computer speeds.
13Presented & Prepared by: Mahmoud R. Alfarra
Assembly
instructions
Assemblers
Machine
instructions
Assemblers
 To speed the programming process, high-level
languages were developed in which single
statements could be written to accomplish
substantial tasks.
 Translator programs called compilers convert high-
level language programs into machine language.
14Presented & Prepared by: Mahmoud R. Alfarra
high-level
languages
Compilers
Machine
instructions
Compilers
 Java programs consist of pieces called
classes.
 Classes include pieces called methods that
perform tasks and return information when
they complete them.
15Presented & Prepared by: Mahmoud R. Alfarra
Java
Class
methods
Instructions
16Presented & Prepared by: Mahmoud R. Alfarra
 The collections of existing classes in the Java
class libraries, are also known as the Java
APIs (Application Programming Interfaces).
17Presented & Prepared by: Mahmoud R. Alfarra
18
Presented & Prepared by: Mahmoud R. Alfarra
19Presented & Prepared by: Mahmoud R. Alfarra
 UML: a graphical language that allows people
who design software systems to use an
industry standard notation to represent
them.
Study the case study from the text book of the
course, section 1.16HW3.1
Fill in the blanks in each of the following statements:
1. The logical unit of the computer that receives information from outside the
computer for use by the computer is the __________.
2. The process of instructing the computer to solve a problems is called
________.
3. __________ is a type of computer language that uses English-like
abbreviations for machine-language instructions.
4. __________ is a logical unit of the computer that sends information which has
already been processed by the computer to various devices so that it may be
used outside the computer.
5. __________ and __________ are logical units of the computer that retain
information.
6. __________ is a logical unit of the computer that performs calculations.
7. __________ is a logical unit of the computer that makes logical decisions.
8. __________ languages are most convenient to the programmer for writing
programs quickly and easily.
9. The only language that a computer can directly understand is that computer's
__________.
10. __________ is a logical unit of the computer that coordinates the activities of
all the other logical units.
20Presented & Prepared by: Mahmoud R. Alfarra
Solve the following practice…
HW3.2
َ‫ر‬ ْ‫َنن‬‫ع‬ ،ُ‫ه‬ْ‫ن‬َ‫ع‬ ‫هللا‬ َ‫ي‬ ِ‫ض‬َ‫ر‬ َ‫ة‬َ‫م‬‫ا‬َ‫م‬ُ‫أ‬ ‫ي‬ِ‫ب‬َ‫أ‬ ْ‫َن‬‫ع‬ُ ِ‫َّلله‬ ‫ا‬ِ‫ى‬‫ن‬ََ ِ ِ‫َّلله‬ ِِ‫نل‬ُ‫س‬ِ‫ه‬‫ن‬ْ‫ي‬َ‫ى‬َ‫ع‬
َِ‫نا‬َ‫ق‬ ،َ‫م‬ِ‫ى‬َ‫س‬َ‫ل‬:(ِِ‫ا‬َ‫م‬‫ن‬ِِّ ‫َّللش‬ ََ ِِ‫نا‬ََ ِ‫ن‬ِ‫إ‬ِ ‫ن‬ِ‫س‬ َ‫م‬‫ن‬َ‫ى‬ََْ‫ش‬‫َّلل‬ ُُ‫ن‬َ‫ف‬ْ‫ر‬َ‫ي‬ِ‫ش‬‫َا‬‫ع‬‫نا‬َ‫س‬
‫َّلل‬ ِ‫ل‬َ‫أ‬ ِ‫ئ‬ِ‫ط‬ْ‫خ‬ُ‫م‬ْ‫ش‬‫َّلل‬ ِ‫م‬ِ‫ى‬ْ‫س‬ُ‫م‬ْ‫ش‬‫َّلل‬ ِ‫د‬ْ‫ب‬َ‫ع‬ْ‫ش‬‫َّلل‬ ِ‫َن‬‫ع‬ْ‫س‬‫َّلل‬َ‫ل‬ َ‫م‬ِ‫د‬َ‫ن‬ ْ‫ن‬ِ‫إ‬َ‫ف‬ ،ِ‫يء‬ِ‫س‬ُ‫م‬ْ‫ش‬َ ِ‫َّلله‬ َ‫ر‬َ‫ف‬ْ‫غ‬َ‫ت‬
‫َة‬‫د‬ ِِ‫َّلل‬َ‫ل‬ ْ َ‫ب‬ِ‫ت‬ُ‫ك‬ ‫ال‬ِ‫إ‬َ‫ل‬ ،‫ا‬َ‫ه‬‫ا‬ََْ‫ش‬َ‫أ‬ ‫ا‬َ‫ه‬ْ‫ن‬ِ‫م‬)‫األلباني‬ ‫حسنـه‬
21Presented & Prepared by: Mahmoud R. Alfarra
Main concepts of
Programming
22Presented & Prepared by: Mahmoud R. Alfarra

More Related Content

What's hot (20)

Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
REHAN IJAZ
 
Compiler an overview
Compiler  an overviewCompiler  an overview
Compiler an overview
amudha arul
 
Compiler presentaion
Compiler presentaionCompiler presentaion
Compiler presentaion
Shady A. Alefrangy
 
Phases of compiler
Phases of compilerPhases of compiler
Phases of compiler
PANKAJKUMAR2519
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
Jussi Pohjolainen
 
Phases of Compiler
Phases of CompilerPhases of Compiler
Phases of Compiler
A. S. M. Shafi
 
Types of system software
Types of system softwareTypes of system software
Types of system software
Inderbir Kaur Sandhu
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
Allen de Castro
 
Compiler
CompilerCompiler
Compiler
Achyuth Dorasala
 
Compiler Design(Nanthu)
Compiler Design(Nanthu)Compiler Design(Nanthu)
Compiler Design(Nanthu)
guest91cc85
 
265 ge8151 problem solving and python programming - 2 marks with answers
265   ge8151 problem solving and python programming - 2 marks with answers265   ge8151 problem solving and python programming - 2 marks with answers
265 ge8151 problem solving and python programming - 2 marks with answers
vithyanila
 
Lecture 2 - Introductory Concepts
Lecture 2 - Introductory ConceptsLecture 2 - Introductory Concepts
Lecture 2 - Introductory Concepts
Md. Imran Hossain Showrov
 
Compiler design
Compiler designCompiler design
Compiler design
nazmul hoque
 
Techniques & applications of Compiler
Techniques & applications of CompilerTechniques & applications of Compiler
Techniques & applications of Compiler
Preethi AKNR
 
Phases of the Compiler - Systems Programming
Phases of the Compiler - Systems ProgrammingPhases of the Compiler - Systems Programming
Phases of the Compiler - Systems Programming
Mukesh Tekwani
 
Java chapter 5
Java chapter 5Java chapter 5
Java chapter 5
Mukesh Tekwani
 
Notacd07
Notacd07Notacd07
Notacd07
Azmiah Mahmud
 
Error detection recovery
Error detection recoveryError detection recovery
Error detection recovery
Tech_MX
 
Compiler
Compiler Compiler
Compiler
IGZ Software house
 
Concept of compiler in details
Concept of compiler in detailsConcept of compiler in details
Concept of compiler in details
kazi_aihtesham
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
REHAN IJAZ
 
Compiler an overview
Compiler  an overviewCompiler  an overview
Compiler an overview
amudha arul
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
Jussi Pohjolainen
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
Allen de Castro
 
Compiler Design(Nanthu)
Compiler Design(Nanthu)Compiler Design(Nanthu)
Compiler Design(Nanthu)
guest91cc85
 
265 ge8151 problem solving and python programming - 2 marks with answers
265   ge8151 problem solving and python programming - 2 marks with answers265   ge8151 problem solving and python programming - 2 marks with answers
265 ge8151 problem solving and python programming - 2 marks with answers
vithyanila
 
Techniques & applications of Compiler
Techniques & applications of CompilerTechniques & applications of Compiler
Techniques & applications of Compiler
Preethi AKNR
 
Phases of the Compiler - Systems Programming
Phases of the Compiler - Systems ProgrammingPhases of the Compiler - Systems Programming
Phases of the Compiler - Systems Programming
Mukesh Tekwani
 
Error detection recovery
Error detection recoveryError detection recovery
Error detection recovery
Tech_MX
 
Concept of compiler in details
Concept of compiler in detailsConcept of compiler in details
Concept of compiler in details
kazi_aihtesham
 

Similar to 3 programming-using-java introduction-to computer (20)

Lecture 1 introduction to_computersb(2)
Lecture 1 introduction to_computersb(2)Lecture 1 introduction to_computersb(2)
Lecture 1 introduction to_computersb(2)
xterribad
 
jhtp8_ch01.ppt
jhtp8_ch01.pptjhtp8_ch01.ppt
jhtp8_ch01.ppt
KPKumar15
 
lecture Slides - Week 1.programming fundamentals
lecture Slides - Week 1.programming fundamentalslecture Slides - Week 1.programming fundamentals
lecture Slides - Week 1.programming fundamentals
fazayn927
 
Introduction To Computer and Java
Introduction To Computer and JavaIntroduction To Computer and Java
Introduction To Computer and Java
PRN USM
 
Plc part 1
Plc part 1Plc part 1
Plc part 1
Taymoor Nazmy
 
Ch.01-2.ppt java[27/11, 11:00 am] Sumaya👸🏻✨️: Mida kale waqtiga wuba kudhamaa...
Ch.01-2.ppt java[27/11, 11:00 am] Sumaya👸🏻✨️: Mida kale waqtiga wuba kudhamaa...Ch.01-2.ppt java[27/11, 11:00 am] Sumaya👸🏻✨️: Mida kale waqtiga wuba kudhamaa...
Ch.01-2.ppt java[27/11, 11:00 am] Sumaya👸🏻✨️: Mida kale waqtiga wuba kudhamaa...
xaydari03
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
Ali Raza
 
Computer fundamentals -types, os, languages etc.pptx
Computer fundamentals -types, os, languages etc.pptxComputer fundamentals -types, os, languages etc.pptx
Computer fundamentals -types, os, languages etc.pptx
ssusere1071f2
 
CHAPTER-1.ppt
CHAPTER-1.pptCHAPTER-1.ppt
CHAPTER-1.ppt
Tekle12
 
An overview of computers and programming languages
An overview of computers and programming languages An overview of computers and programming languages
An overview of computers and programming languages
Ahmad Idrees
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
Dhanikonda Srinivasarao
 
Csc240 lecture 1
Csc240   lecture 1Csc240   lecture 1
Csc240 lecture 1
Ainuddin Yousufzai
 
Software Engineering : Computer basics - Introduction to computer
Software Engineering : Computer basics - Introduction to computerSoftware Engineering : Computer basics - Introduction to computer
Software Engineering : Computer basics - Introduction to computer
PrabaKaran656400
 
Savitch ch 01
Savitch ch 01Savitch ch 01
Savitch ch 01
Terry Yoast
 
Savitch ch 01
Savitch ch 01Savitch ch 01
Savitch ch 01
Terry Yoast
 
Introduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem AnsariIntroduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem Ansari
Tech
 
Assembly Langauge Assembly Langauge Assembly Langauge
Assembly Langauge Assembly Langauge Assembly LangaugeAssembly Langauge Assembly Langauge Assembly Langauge
Assembly Langauge Assembly Langauge Assembly Langauge
mustafkhalid
 
02_Intro to Programming Language.pptx
02_Intro to Programming Language.pptx02_Intro to Programming Language.pptx
02_Intro to Programming Language.pptx
JhunBrianAndam
 
UNIT 2 ECSE-2.pptx
UNIT 2 ECSE-2.pptxUNIT 2 ECSE-2.pptx
UNIT 2 ECSE-2.pptx
AdharshKokkula
 
Savitch Ch 01
Savitch Ch 01Savitch Ch 01
Savitch Ch 01
Terry Yoast
 
Lecture 1 introduction to_computersb(2)
Lecture 1 introduction to_computersb(2)Lecture 1 introduction to_computersb(2)
Lecture 1 introduction to_computersb(2)
xterribad
 
jhtp8_ch01.ppt
jhtp8_ch01.pptjhtp8_ch01.ppt
jhtp8_ch01.ppt
KPKumar15
 
lecture Slides - Week 1.programming fundamentals
lecture Slides - Week 1.programming fundamentalslecture Slides - Week 1.programming fundamentals
lecture Slides - Week 1.programming fundamentals
fazayn927
 
Introduction To Computer and Java
Introduction To Computer and JavaIntroduction To Computer and Java
Introduction To Computer and Java
PRN USM
 
Ch.01-2.ppt java[27/11, 11:00 am] Sumaya👸🏻✨️: Mida kale waqtiga wuba kudhamaa...
Ch.01-2.ppt java[27/11, 11:00 am] Sumaya👸🏻✨️: Mida kale waqtiga wuba kudhamaa...Ch.01-2.ppt java[27/11, 11:00 am] Sumaya👸🏻✨️: Mida kale waqtiga wuba kudhamaa...
Ch.01-2.ppt java[27/11, 11:00 am] Sumaya👸🏻✨️: Mida kale waqtiga wuba kudhamaa...
xaydari03
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
Ali Raza
 
Computer fundamentals -types, os, languages etc.pptx
Computer fundamentals -types, os, languages etc.pptxComputer fundamentals -types, os, languages etc.pptx
Computer fundamentals -types, os, languages etc.pptx
ssusere1071f2
 
CHAPTER-1.ppt
CHAPTER-1.pptCHAPTER-1.ppt
CHAPTER-1.ppt
Tekle12
 
An overview of computers and programming languages
An overview of computers and programming languages An overview of computers and programming languages
An overview of computers and programming languages
Ahmad Idrees
 
Software Engineering : Computer basics - Introduction to computer
Software Engineering : Computer basics - Introduction to computerSoftware Engineering : Computer basics - Introduction to computer
Software Engineering : Computer basics - Introduction to computer
PrabaKaran656400
 
Introduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem AnsariIntroduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem Ansari
Tech
 
Assembly Langauge Assembly Langauge Assembly Langauge
Assembly Langauge Assembly Langauge Assembly LangaugeAssembly Langauge Assembly Langauge Assembly Langauge
Assembly Langauge Assembly Langauge Assembly Langauge
mustafkhalid
 
02_Intro to Programming Language.pptx
02_Intro to Programming Language.pptx02_Intro to Programming Language.pptx
02_Intro to Programming Language.pptx
JhunBrianAndam
 
Ad

More from Mahmoud Alfarra (20)

Computer Programming, Loops using Java - part 2
Computer Programming, Loops using Java - part 2Computer Programming, Loops using Java - part 2
Computer Programming, Loops using Java - part 2
Mahmoud Alfarra
 
Computer Programming, Loops using Java
Computer Programming, Loops using JavaComputer Programming, Loops using Java
Computer Programming, Loops using Java
Mahmoud Alfarra
 
Chapter 10: hashing data structure
Chapter 10:  hashing data structureChapter 10:  hashing data structure
Chapter 10: hashing data structure
Mahmoud Alfarra
 
Chapter9 graph data structure
Chapter9  graph data structureChapter9  graph data structure
Chapter9 graph data structure
Mahmoud Alfarra
 
Chapter 8: tree data structure
Chapter 8:  tree data structureChapter 8:  tree data structure
Chapter 8: tree data structure
Mahmoud Alfarra
 
Chapter 7: Queue data structure
Chapter 7:  Queue data structureChapter 7:  Queue data structure
Chapter 7: Queue data structure
Mahmoud Alfarra
 
Chapter 6: stack data structure
Chapter 6:  stack data structureChapter 6:  stack data structure
Chapter 6: stack data structure
Mahmoud Alfarra
 
Chapter 5: linked list data structure
Chapter 5: linked list data structureChapter 5: linked list data structure
Chapter 5: linked list data structure
Mahmoud Alfarra
 
Chapter 4: basic search algorithms data structure
Chapter 4: basic search algorithms data structureChapter 4: basic search algorithms data structure
Chapter 4: basic search algorithms data structure
Mahmoud Alfarra
 
Chapter 3: basic sorting algorithms data structure
Chapter 3: basic sorting algorithms data structureChapter 3: basic sorting algorithms data structure
Chapter 3: basic sorting algorithms data structure
Mahmoud Alfarra
 
Chapter 2: array and array list data structure
Chapter 2: array and array list  data structureChapter 2: array and array list  data structure
Chapter 2: array and array list data structure
Mahmoud Alfarra
 
Chapter1 intro toprincipleofc#_datastructure_b_cs
Chapter1  intro toprincipleofc#_datastructure_b_csChapter1  intro toprincipleofc#_datastructure_b_cs
Chapter1 intro toprincipleofc#_datastructure_b_cs
Mahmoud Alfarra
 
Chapter 0: introduction to data structure
Chapter 0: introduction to data structureChapter 0: introduction to data structure
Chapter 0: introduction to data structure
Mahmoud Alfarra
 
3 classification
3  classification3  classification
3 classification
Mahmoud Alfarra
 
8 programming-using-java decision-making practices 20102011
8 programming-using-java decision-making practices 201020118 programming-using-java decision-making practices 20102011
8 programming-using-java decision-making practices 20102011
Mahmoud Alfarra
 
5 programming-using-java intro-tooop20102011
5 programming-using-java intro-tooop201020115 programming-using-java intro-tooop20102011
5 programming-using-java intro-tooop20102011
Mahmoud Alfarra
 
1 programming-using-java -introduction
1 programming-using-java -introduction1 programming-using-java -introduction
1 programming-using-java -introduction
Mahmoud Alfarra
 
تلخيص النصوص تلقائيا
تلخيص النصوص تلقائياتلخيص النصوص تلقائيا
تلخيص النصوص تلقائيا
Mahmoud Alfarra
 
4×4×4 لتحصيل التميز
4×4×4 لتحصيل التميز4×4×4 لتحصيل التميز
4×4×4 لتحصيل التميز
Mahmoud Alfarra
 
Data preparation and processing chapter 2
Data preparation and processing chapter  2Data preparation and processing chapter  2
Data preparation and processing chapter 2
Mahmoud Alfarra
 
Computer Programming, Loops using Java - part 2
Computer Programming, Loops using Java - part 2Computer Programming, Loops using Java - part 2
Computer Programming, Loops using Java - part 2
Mahmoud Alfarra
 
Computer Programming, Loops using Java
Computer Programming, Loops using JavaComputer Programming, Loops using Java
Computer Programming, Loops using Java
Mahmoud Alfarra
 
Chapter 10: hashing data structure
Chapter 10:  hashing data structureChapter 10:  hashing data structure
Chapter 10: hashing data structure
Mahmoud Alfarra
 
Chapter9 graph data structure
Chapter9  graph data structureChapter9  graph data structure
Chapter9 graph data structure
Mahmoud Alfarra
 
Chapter 8: tree data structure
Chapter 8:  tree data structureChapter 8:  tree data structure
Chapter 8: tree data structure
Mahmoud Alfarra
 
Chapter 7: Queue data structure
Chapter 7:  Queue data structureChapter 7:  Queue data structure
Chapter 7: Queue data structure
Mahmoud Alfarra
 
Chapter 6: stack data structure
Chapter 6:  stack data structureChapter 6:  stack data structure
Chapter 6: stack data structure
Mahmoud Alfarra
 
Chapter 5: linked list data structure
Chapter 5: linked list data structureChapter 5: linked list data structure
Chapter 5: linked list data structure
Mahmoud Alfarra
 
Chapter 4: basic search algorithms data structure
Chapter 4: basic search algorithms data structureChapter 4: basic search algorithms data structure
Chapter 4: basic search algorithms data structure
Mahmoud Alfarra
 
Chapter 3: basic sorting algorithms data structure
Chapter 3: basic sorting algorithms data structureChapter 3: basic sorting algorithms data structure
Chapter 3: basic sorting algorithms data structure
Mahmoud Alfarra
 
Chapter 2: array and array list data structure
Chapter 2: array and array list  data structureChapter 2: array and array list  data structure
Chapter 2: array and array list data structure
Mahmoud Alfarra
 
Chapter1 intro toprincipleofc#_datastructure_b_cs
Chapter1  intro toprincipleofc#_datastructure_b_csChapter1  intro toprincipleofc#_datastructure_b_cs
Chapter1 intro toprincipleofc#_datastructure_b_cs
Mahmoud Alfarra
 
Chapter 0: introduction to data structure
Chapter 0: introduction to data structureChapter 0: introduction to data structure
Chapter 0: introduction to data structure
Mahmoud Alfarra
 
8 programming-using-java decision-making practices 20102011
8 programming-using-java decision-making practices 201020118 programming-using-java decision-making practices 20102011
8 programming-using-java decision-making practices 20102011
Mahmoud Alfarra
 
5 programming-using-java intro-tooop20102011
5 programming-using-java intro-tooop201020115 programming-using-java intro-tooop20102011
5 programming-using-java intro-tooop20102011
Mahmoud Alfarra
 
1 programming-using-java -introduction
1 programming-using-java -introduction1 programming-using-java -introduction
1 programming-using-java -introduction
Mahmoud Alfarra
 
تلخيص النصوص تلقائيا
تلخيص النصوص تلقائياتلخيص النصوص تلقائيا
تلخيص النصوص تلقائيا
Mahmoud Alfarra
 
4×4×4 لتحصيل التميز
4×4×4 لتحصيل التميز4×4×4 لتحصيل التميز
4×4×4 لتحصيل التميز
Mahmoud Alfarra
 
Data preparation and processing chapter 2
Data preparation and processing chapter  2Data preparation and processing chapter  2
Data preparation and processing chapter 2
Mahmoud Alfarra
 
Ad

Recently uploaded (20)

What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_HyderabadWebcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Veera Pallapu
 
Pests of Rice: Damage, Identification, Life history, and Management.pptx
Pests of Rice: Damage, Identification, Life history, and Management.pptxPests of Rice: Damage, Identification, Life history, and Management.pptx
Pests of Rice: Damage, Identification, Life history, and Management.pptx
Arshad Shaikh
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big CycleRay Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18
Celine George
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptxjune 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptxAnalysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Shrutidhara2
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Pfeiffer "Secrets to Changing Behavior in Scholarly Communication: A 2025 NIS...
Pfeiffer "Secrets to Changing Behavior in Scholarly Communication: A 2025 NIS...Pfeiffer "Secrets to Changing Behavior in Scholarly Communication: A 2025 NIS...
Pfeiffer "Secrets to Changing Behavior in Scholarly Communication: A 2025 NIS...
National Information Standards Organization (NISO)
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18
Celine George
 
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
Quiz Club of PSG College of Arts & Science
 
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
GeorgeDiamandis11
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptxDiptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Arshad Shaikh
 
Allomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdfAllomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdf
Abha Pandey
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 SlidesHow to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptxRai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Dr. Ravi Shankar Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
EduSkills OECD
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_HyderabadWebcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Veera Pallapu
 
Pests of Rice: Damage, Identification, Life history, and Management.pptx
Pests of Rice: Damage, Identification, Life history, and Management.pptxPests of Rice: Damage, Identification, Life history, and Management.pptx
Pests of Rice: Damage, Identification, Life history, and Management.pptx
Arshad Shaikh
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big CycleRay Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18
Celine George
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptxjune 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptxAnalysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Shrutidhara2
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18
Celine George
 
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
GeorgeDiamandis11
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptxDiptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Arshad Shaikh
 
Allomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdfAllomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdf
Abha Pandey
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 SlidesHow to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
EduSkills OECD
 

3 programming-using-java introduction-to computer

  • 1. Using Java MINISTRY OF EDUCATION & HIGHER EDUCATION COLLEGE OF SCIENCE AND TECHNOLOGY KHANYOUNIS- PALESTINE
  • 2.  What is computer?  Computer Organization  Programming languages  Java Class Libraries  Typical Java development environment  Case Study: Unified Modeling Language  Emank X Mezank 2Presented & Prepared by: Mahmoud R. Alfarra
  • 3.  A computer is a device capable of performing computations and making logical decisions at speeds millions (even billions) of times faster than human beings can.  Computers process data under the control of sets of instructions called computer programs. 3Presented & Prepared by: Mahmoud R. Alfarra
  • 4.  A computer consists of various devices referred to as hardware. e.g.:  The keyboard.  Screen.  Mouse.  Disks …  The programs that run on a computer are referred to as software. 4Presented & Prepared by: Mahmoud R. Alfarra
  • 5.  computer may be envisioned as divided into six logical units : 1. Input unit. This is the "receiving" section of the computer. It obtains information from input devices and places this information at the disposal of the other units so that it can be processed. 5Presented & Prepared by: Mahmoud R. Alfarra
  • 6. 2. Output unit. This is the "shipping" section of the computer. It takes information that the computer has processed and places it on various output devices to make the information available for use outside the computer. 3. Memory unit. This is the rapid-access, relatively low-capacity "warehouse" section of the computer. 6Presented & Prepared by: Mahmoud R. Alfarra
  • 7. 7Presented & Prepared by: Mahmoud R. Alfarra 4. Arithmetic and logic unit (ALU): This is the "manufacturing" section of the computer. It is responsible for performing • Calculations • The decision mechanisms 5. Central processing unit (CPU): This is the "administrative" section of the computer. It coordinates and supervises the operation of the other sections.
  • 8. 6. Secondary storage unit. This is the long-term, high-capacity "warehousing" section of the computer. 8Presented & Prepared by: Mahmoud R. Alfarra
  • 9.  Programming languages may be divided into three general types: 1.Machine languages 2.Assembly languages 3.High-level languages 9Presented & Prepared by: Mahmoud R. Alfarra In two pages, write what is algorithm, why and how do they represented ?HW 2.1
  • 10.  Any computer can directly understand only its own machine language.  It is defined by the computer hardware design.  Machine languages are machine dependent (i.e., a particular machine language can be used on only one type of computer). 10Presented & Prepared by: Mahmoud R. Alfarra
  • 11.  Machine languages generally consist of strings of numbers (0,1).  So, It was simply:  Too slow  Tedious for most programmers 11Presented & Prepared by: Mahmoud R. Alfarra
  • 12.  Programmers began using English-like abbreviations to represent elementary operations.  These abbreviations formed the basis of assembly languages. 12Presented & Prepared by: Mahmoud R. Alfarra
  • 13.  Translator programs called assemblers were developed to convert early assembly- language programs to machine language at computer speeds. 13Presented & Prepared by: Mahmoud R. Alfarra Assembly instructions Assemblers Machine instructions Assemblers
  • 14.  To speed the programming process, high-level languages were developed in which single statements could be written to accomplish substantial tasks.  Translator programs called compilers convert high- level language programs into machine language. 14Presented & Prepared by: Mahmoud R. Alfarra high-level languages Compilers Machine instructions Compilers
  • 15.  Java programs consist of pieces called classes.  Classes include pieces called methods that perform tasks and return information when they complete them. 15Presented & Prepared by: Mahmoud R. Alfarra Java Class methods Instructions
  • 16. 16Presented & Prepared by: Mahmoud R. Alfarra  The collections of existing classes in the Java class libraries, are also known as the Java APIs (Application Programming Interfaces).
  • 17. 17Presented & Prepared by: Mahmoud R. Alfarra
  • 18. 18 Presented & Prepared by: Mahmoud R. Alfarra
  • 19. 19Presented & Prepared by: Mahmoud R. Alfarra  UML: a graphical language that allows people who design software systems to use an industry standard notation to represent them. Study the case study from the text book of the course, section 1.16HW3.1
  • 20. Fill in the blanks in each of the following statements: 1. The logical unit of the computer that receives information from outside the computer for use by the computer is the __________. 2. The process of instructing the computer to solve a problems is called ________. 3. __________ is a type of computer language that uses English-like abbreviations for machine-language instructions. 4. __________ is a logical unit of the computer that sends information which has already been processed by the computer to various devices so that it may be used outside the computer. 5. __________ and __________ are logical units of the computer that retain information. 6. __________ is a logical unit of the computer that performs calculations. 7. __________ is a logical unit of the computer that makes logical decisions. 8. __________ languages are most convenient to the programmer for writing programs quickly and easily. 9. The only language that a computer can directly understand is that computer's __________. 10. __________ is a logical unit of the computer that coordinates the activities of all the other logical units. 20Presented & Prepared by: Mahmoud R. Alfarra Solve the following practice… HW3.2
  • 21. َ‫ر‬ ْ‫َنن‬‫ع‬ ،ُ‫ه‬ْ‫ن‬َ‫ع‬ ‫هللا‬ َ‫ي‬ ِ‫ض‬َ‫ر‬ َ‫ة‬َ‫م‬‫ا‬َ‫م‬ُ‫أ‬ ‫ي‬ِ‫ب‬َ‫أ‬ ْ‫َن‬‫ع‬ُ ِ‫َّلله‬ ‫ا‬ِ‫ى‬‫ن‬ََ ِ ِ‫َّلله‬ ِِ‫نل‬ُ‫س‬ِ‫ه‬‫ن‬ْ‫ي‬َ‫ى‬َ‫ع‬ َِ‫نا‬َ‫ق‬ ،َ‫م‬ِ‫ى‬َ‫س‬َ‫ل‬:(ِِ‫ا‬َ‫م‬‫ن‬ِِّ ‫َّللش‬ ََ ِِ‫نا‬ََ ِ‫ن‬ِ‫إ‬ِ ‫ن‬ِ‫س‬ َ‫م‬‫ن‬َ‫ى‬ََْ‫ش‬‫َّلل‬ ُُ‫ن‬َ‫ف‬ْ‫ر‬َ‫ي‬ِ‫ش‬‫َا‬‫ع‬‫نا‬َ‫س‬ ‫َّلل‬ ِ‫ل‬َ‫أ‬ ِ‫ئ‬ِ‫ط‬ْ‫خ‬ُ‫م‬ْ‫ش‬‫َّلل‬ ِ‫م‬ِ‫ى‬ْ‫س‬ُ‫م‬ْ‫ش‬‫َّلل‬ ِ‫د‬ْ‫ب‬َ‫ع‬ْ‫ش‬‫َّلل‬ ِ‫َن‬‫ع‬ْ‫س‬‫َّلل‬َ‫ل‬ َ‫م‬ِ‫د‬َ‫ن‬ ْ‫ن‬ِ‫إ‬َ‫ف‬ ،ِ‫يء‬ِ‫س‬ُ‫م‬ْ‫ش‬َ ِ‫َّلله‬ َ‫ر‬َ‫ف‬ْ‫غ‬َ‫ت‬ ‫َة‬‫د‬ ِِ‫َّلل‬َ‫ل‬ ْ َ‫ب‬ِ‫ت‬ُ‫ك‬ ‫ال‬ِ‫إ‬َ‫ل‬ ،‫ا‬َ‫ه‬‫ا‬ََْ‫ش‬َ‫أ‬ ‫ا‬َ‫ه‬ْ‫ن‬ِ‫م‬)‫األلباني‬ ‫حسنـه‬ 21Presented & Prepared by: Mahmoud R. Alfarra
  • 22. Main concepts of Programming 22Presented & Prepared by: Mahmoud R. Alfarra