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
Ad

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)

Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languages
Frankie Jones
 
Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02
Lanie Plecerda
 
Ayushi
AyushiAyushi
Ayushi
Ayushi Chaturvedi
 
introductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxintroductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptx
ummeafruz
 
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptxITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
MarkJarusTTalanquine
 
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdfAERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
ssuserb3a23b
 
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Lanie Plecerda
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
NSU-Biliran Campus
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
Uzma1102
 
System Programming VV Notes.pdf
System Programming VV Notes.pdfSystem Programming VV Notes.pdf
System Programming VV Notes.pdf
bharathreddy223930
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
HazardRhenz1
 
Programming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages ConceptsProgramming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages Concepts
imtiazalijoono
 
Introduction to Computer, Programming languages , Networks and Internet.pptx
Introduction to Computer, Programming languages , Networks and Internet.pptxIntroduction to Computer, Programming languages , Networks and Internet.pptx
Introduction to Computer, Programming languages , Networks and Internet.pptx
SheharBano86
 
C program full materials.pdf
C program  full materials.pdfC program  full materials.pdf
C program full materials.pdf
RSathyaPriyaCSEKIOT
 
CISY 105 Chapter 1
CISY 105 Chapter 1CISY 105 Chapter 1
CISY 105 Chapter 1
Jackie Marshall
 
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
EG20910848921ISAACDU
 
Software Concepts Notes
Software Concepts NotesSoftware Concepts Notes
Software Concepts Notes
Prof. Dr. K. Adisesha
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)
Suneel Dogra
 
Abstraction level taxonomy of programming language frameworks
Abstraction level taxonomy of programming language frameworksAbstraction level taxonomy of programming language frameworks
Abstraction level taxonomy of programming language frameworks
ijpla
 
Define Computer language, Translator, Standard input out C
Define Computer language, Translator, Standard input out CDefine Computer language, Translator, Standard input out C
Define Computer language, Translator, Standard input out C
Dr Shailendra Bhalawe
 
Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languages
Frankie Jones
 
Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02
Lanie Plecerda
 
introductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxintroductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptx
ummeafruz
 
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptxITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
MarkJarusTTalanquine
 
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdfAERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
ssuserb3a23b
 
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Lanie Plecerda
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
NSU-Biliran Campus
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
Uzma1102
 
System Programming VV Notes.pdf
System Programming VV Notes.pdfSystem Programming VV Notes.pdf
System Programming VV Notes.pdf
bharathreddy223930
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
HazardRhenz1
 
Programming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages ConceptsProgramming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages Concepts
imtiazalijoono
 
Introduction to Computer, Programming languages , Networks and Internet.pptx
Introduction to Computer, Programming languages , Networks and Internet.pptxIntroduction to Computer, Programming languages , Networks and Internet.pptx
Introduction to Computer, Programming languages , Networks and Internet.pptx
SheharBano86
 
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
EG20910848921ISAACDU
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)
Suneel Dogra
 
Abstraction level taxonomy of programming language frameworks
Abstraction level taxonomy of programming language frameworksAbstraction level taxonomy of programming language frameworks
Abstraction level taxonomy of programming language frameworks
ijpla
 
Define Computer language, Translator, Standard input out C
Define Computer language, Translator, Standard input out CDefine Computer language, Translator, Standard input out C
Define Computer language, Translator, Standard input out C
Dr Shailendra Bhalawe
 
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)

Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx   quiz by Ridip HazarikaTHE STG QUIZ GROUP D.pptx   quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
Ridip Hazarika
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Political History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptxPolitical History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdfAPM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
Association for Project Management
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
SPRING FESTIVITIES - UK AND USA -
SPRING FESTIVITIES - UK AND USA            -SPRING FESTIVITIES - UK AND USA            -
SPRING FESTIVITIES - UK AND USA -
Colégio Santa Teresinha
 
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
Engage Donors Through Powerful Storytelling.pdf
Engage Donors Through Powerful Storytelling.pdfEngage Donors Through Powerful Storytelling.pdf
Engage Donors Through Powerful Storytelling.pdf
TechSoup
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFAExercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx   quiz by Ridip HazarikaTHE STG QUIZ GROUP D.pptx   quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
Ridip Hazarika
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
Engage Donors Through Powerful Storytelling.pdf
Engage Donors Through Powerful Storytelling.pdfEngage Donors Through Powerful Storytelling.pdf
Engage Donors Through Powerful Storytelling.pdf
TechSoup
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFAExercise Physiology MCQS By DR. NASIR MUSTAFA
Exercise Physiology MCQS By DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 

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