SlideShare a Scribd company logo
1 of 22
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

Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2REHAN IJAZ
 
Compiler an overview
Compiler  an overviewCompiler  an overview
Compiler an overviewamudha arul
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming ConceptsJussi Pohjolainen
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer ProgrammingAllen 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 answersvithyanila
 
Techniques & applications of Compiler
Techniques & applications of CompilerTechniques & applications of Compiler
Techniques & applications of CompilerPreethi AKNR
 
Phases of the Compiler - Systems Programming
Phases of the Compiler - Systems ProgrammingPhases of the Compiler - Systems Programming
Phases of the Compiler - Systems ProgrammingMukesh Tekwani
 
Error detection recovery
Error detection recoveryError detection recovery
Error detection recoveryTech_MX
 
Concept of compiler in details
Concept of compiler in detailsConcept of compiler in details
Concept of compiler in detailskazi_aihtesham
 

What's hot (20)

Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
 
Compiler an overview
Compiler  an overviewCompiler  an overview
Compiler an overview
 
Compiler presentaion
Compiler presentaionCompiler presentaion
Compiler presentaion
 
Phases of compiler
Phases of compilerPhases of compiler
Phases of compiler
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
 
Phases of Compiler
Phases of CompilerPhases of Compiler
Phases of Compiler
 
Types of system software
Types of system softwareTypes of system software
Types of system software
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
 
Compiler
CompilerCompiler
Compiler
 
Compiler Design(Nanthu)
Compiler Design(Nanthu)Compiler Design(Nanthu)
Compiler Design(Nanthu)
 
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
 
Lecture 2 - Introductory Concepts
Lecture 2 - Introductory ConceptsLecture 2 - Introductory Concepts
Lecture 2 - Introductory Concepts
 
Compiler design
Compiler designCompiler design
Compiler design
 
Techniques & applications of Compiler
Techniques & applications of CompilerTechniques & applications of Compiler
Techniques & applications of Compiler
 
Phases of the Compiler - Systems Programming
Phases of the Compiler - Systems ProgrammingPhases of the Compiler - Systems Programming
Phases of the Compiler - Systems Programming
 
Java chapter 5
Java chapter 5Java chapter 5
Java chapter 5
 
Notacd07
Notacd07Notacd07
Notacd07
 
Error detection recovery
Error detection recoveryError detection recovery
Error detection recovery
 
Compiler
Compiler Compiler
Compiler
 
Concept of compiler in details
Concept of compiler in detailsConcept of compiler in details
Concept of compiler in details
 

Similar to 3 programming-using-java introduction-to computer

Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languagesFrankie Jones
 
Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02Lanie Plecerda
 
introductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxintroductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxummeafruz
 
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.pptxMarkJarusTTalanquine
 
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.pdfssuserb3a23b
 
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 programmingNSU-Biliran Campus
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxUzma1102
 
System Programming VV Notes.pdf
System Programming VV Notes.pdfSystem Programming VV Notes.pdf
System Programming VV Notes.pdfbharathreddy223930
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxHazardRhenz1
 
Programming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages ConceptsProgramming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages Conceptsimtiazalijoono
 
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 frameworksijpla
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptxgaafergoda
 
Programming The Basic Computer
Programming The Basic ComputerProgramming The Basic Computer
Programming The Basic ComputerTo Sum It Up
 
C LECTURE NOTES FULL_1.pdf
C LECTURE NOTES FULL_1.pdfC LECTURE NOTES FULL_1.pdf
C LECTURE NOTES FULL_1.pdfPriyanka542143
 

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
 
Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02
 
Ayushi
AyushiAyushi
Ayushi
 
introductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxintroductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptx
 
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
 
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
 
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
 
System Programming VV Notes.pdf
System Programming VV Notes.pdfSystem Programming VV Notes.pdf
System Programming VV Notes.pdf
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
 
Programming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages ConceptsProgramming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages Concepts
 
C program full materials.pdf
C program  full materials.pdfC program  full materials.pdf
C program full materials.pdf
 
CISY 105 Chapter 1
CISY 105 Chapter 1CISY 105 Chapter 1
CISY 105 Chapter 1
 
Software Concepts Notes
Software Concepts NotesSoftware Concepts Notes
Software Concepts Notes
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)
 
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
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptx
 
Programming The Basic Computer
Programming The Basic ComputerProgramming The Basic Computer
Programming The Basic Computer
 
C LECTURE NOTES FULL_1.pdf
C LECTURE NOTES FULL_1.pdfC LECTURE NOTES FULL_1.pdf
C LECTURE NOTES FULL_1.pdf
 

More from 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 2Mahmoud Alfarra
 
Computer Programming, Loops using Java
Computer Programming, Loops using JavaComputer Programming, Loops using Java
Computer Programming, Loops using JavaMahmoud Alfarra
 
Chapter 10: hashing data structure
Chapter 10:  hashing data structureChapter 10:  hashing data structure
Chapter 10: hashing data structureMahmoud Alfarra
 
Chapter9 graph data structure
Chapter9  graph data structureChapter9  graph data structure
Chapter9 graph data structureMahmoud Alfarra
 
Chapter 8: tree data structure
Chapter 8:  tree data structureChapter 8:  tree data structure
Chapter 8: tree data structureMahmoud Alfarra
 
Chapter 7: Queue data structure
Chapter 7:  Queue data structureChapter 7:  Queue data structure
Chapter 7: Queue data structureMahmoud Alfarra
 
Chapter 6: stack data structure
Chapter 6:  stack data structureChapter 6:  stack data structure
Chapter 6: stack data structureMahmoud Alfarra
 
Chapter 5: linked list data structure
Chapter 5: linked list data structureChapter 5: linked list data structure
Chapter 5: linked list data structureMahmoud 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 structureMahmoud 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 structureMahmoud 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 structureMahmoud Alfarra
 
Chapter1 intro toprincipleofc#_datastructure_b_cs
Chapter1  intro toprincipleofc#_datastructure_b_csChapter1  intro toprincipleofc#_datastructure_b_cs
Chapter1 intro toprincipleofc#_datastructure_b_csMahmoud Alfarra
 
Chapter 0: introduction to data structure
Chapter 0: introduction to data structureChapter 0: introduction to data structure
Chapter 0: introduction to data structureMahmoud 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 20102011Mahmoud Alfarra
 
5 programming-using-java intro-tooop20102011
5 programming-using-java intro-tooop201020115 programming-using-java intro-tooop20102011
5 programming-using-java intro-tooop20102011Mahmoud Alfarra
 
1 programming-using-java -introduction
1 programming-using-java -introduction1 programming-using-java -introduction
1 programming-using-java -introductionMahmoud 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 2Mahmoud Alfarra
 

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
 
Computer Programming, Loops using Java
Computer Programming, Loops using JavaComputer Programming, Loops using Java
Computer Programming, Loops using Java
 
Chapter 10: hashing data structure
Chapter 10:  hashing data structureChapter 10:  hashing data structure
Chapter 10: hashing data structure
 
Chapter9 graph data structure
Chapter9  graph data structureChapter9  graph data structure
Chapter9 graph data structure
 
Chapter 8: tree data structure
Chapter 8:  tree data structureChapter 8:  tree data structure
Chapter 8: tree data structure
 
Chapter 7: Queue data structure
Chapter 7:  Queue data structureChapter 7:  Queue data structure
Chapter 7: Queue data structure
 
Chapter 6: stack data structure
Chapter 6:  stack data structureChapter 6:  stack data structure
Chapter 6: stack data structure
 
Chapter 5: linked list data structure
Chapter 5: linked list data structureChapter 5: linked list data structure
Chapter 5: linked list data structure
 
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
 
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
 
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
 
Chapter1 intro toprincipleofc#_datastructure_b_cs
Chapter1  intro toprincipleofc#_datastructure_b_csChapter1  intro toprincipleofc#_datastructure_b_cs
Chapter1 intro toprincipleofc#_datastructure_b_cs
 
Chapter 0: introduction to data structure
Chapter 0: introduction to data structureChapter 0: introduction to data structure
Chapter 0: introduction to data structure
 
3 classification
3  classification3  classification
3 classification
 
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
 
5 programming-using-java intro-tooop20102011
5 programming-using-java intro-tooop201020115 programming-using-java intro-tooop20102011
5 programming-using-java intro-tooop20102011
 
1 programming-using-java -introduction
1 programming-using-java -introduction1 programming-using-java -introduction
1 programming-using-java -introduction
 
تلخيص النصوص تلقائيا
تلخيص النصوص تلقائياتلخيص النصوص تلقائيا
تلخيص النصوص تلقائيا
 
4×4×4 لتحصيل التميز
4×4×4 لتحصيل التميز4×4×4 لتحصيل التميز
4×4×4 لتحصيل التميز
 
Data preparation and processing chapter 2
Data preparation and processing chapter  2Data preparation and processing chapter  2
Data preparation and processing chapter 2
 

Recently uploaded

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

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