Using Java MINISTRY OF EDUCATION & HIGHER EDUCATION COLLEGE OF SCIENCE AND TECHNOLOGY KHANYOUNIS- PALESTINE.

Slides:



Advertisements
Similar presentations
EC-111 Algorithms & Computing Lecture #1 Instructor: Jahan Zeb Department of Computer Engineering (DCE) College of E&ME NUST.
Advertisements

Introduction to Computer Programming Nai-Wei Lin Department of Computer Science and Information Engineering National Chung Cheng University.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
Java Environment (CSS444)
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
Chapter 1 Introduction to C Programming. 1.1 INTRODUCTION This book is about problem solving with the use of computers and the C programming language.
1 CS150 Introduction to Computer Science 1 Professor: Chadd Williams
August 29, 2005ICP: Chapter 0: Introduction to Computers and Computing 1 Introduction or Computer Programming Chapter 0: Introduction to Computers and.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
 2000 Prentice Hall, Inc. All rights reserved. 1 Introduction to Computers and C Programming Outline Introduction What Is a Computer? Computer Organization.
CHAPTER 1 GC 101 Introduction to computers and programs.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Computer Programming-1 CSC 111 Chapter 1 : Introduction.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
Introduction to Computers, the Internet and the by Pedernal Jemerson G by Pedernal.
BACS 287 Basics of Programming BACS 287.
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions 
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
CHAPTER 1 GC 101 Introduction to computers and programs.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introduction to Computers Outline 1.1Introduction.
 2006 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
1 CISC181 Introduction to Computer Science Dr. McCoy Lecture 1 February 8, 2005.
Using Java MINISTRY OF EDUCATION & HIGHER EDUCATION COLLEGE OF SCIENCE AND TECHNOLOGY KHANYOUNIS- PALESTINE.
1 MIS 131 Introduction to Algorithms and Programming 2015/2016 Fall - Chapter 1 -
Module 2 : Part 1 INTRODUCTION TO HARDWARE & SOFTWARE INTRODUCTION TO HARDWARE & SOFTWARE.
1 Programming Fundamentals How to Program in C++ How to Program in C++
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
CHAPTER 1 INTRODUCTION 1 st semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
Computer Organization & Assembly Language © by DR. M. Amer.
Spring 09- ICE0124 Programming Fundamentals I Java Programming XuanTung Hoang Lecture No. 1.
CHAPTER 1 INTRODUCTION 2 nd Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.1Introduction 1.2What.
CS2301:Computer Programming 2
CHAPTER 1: INTRODUCTION C++ Programming. CS 241 Course URL: Text Book: C++ How to Program, DETITEL & DEITEL, eighth Edition.
UniMAP Sem2-10/11 DKT121: Fundamental of Computer Programming1 Introduction to C – Part 1.
1 Introduction to Computers, the Internet and World Wide Web.
CHAPTER 1.1 INTRODUCTION TO COMPUTERS AND C++ Dr. Shady Yehia Elmashad.
1. an electronic device that manipulates information, or "data“
Chapter 1 An Overview of Computers and Programming Languages.
Using Java MINISTRY OF EDUCATION & HIGHER EDUCATION COLLEGE OF SCIENCE AND TECHNOLOGY KHANYOUNIS- PALESTINE Lecture 18 Recursion & Pointers in Java.
Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a Computer? 1.3 Computer Organization 1.4 Evolution.
Structured programming 1 st stage By Heba.A Raheem Assist Lecturer College of Sciences/Computer Sciences Department.
Chapter 1 Introduction 2nd Semester H
BASIC PROGRAMMING C SCP1103 (02)
Introduction to Computers, the Internet and the Web
Chapter 1 – Introduction to Computers, the Internet, and the Web
Outline Introduction What Is a Computer? Computer Organization
BASIC PROGRAMMING C SCP1103 (02)
© by Pearson Education, Inc. All Rights Reserved.
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
GC101 Introduction to computers and programs
Introduction to Programming
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Introduction To Programming Information Technology , 1’st Semester
Outline Introduction What Is a Computer? Computer Organization
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Introduction to Computer Programming
Presented By: Mahmoud Rafeek Alfarra
Introduction to Computers, Internet and the World Wide Web
Programming Fundamentals Lecture #2 Overview of Computer Programming
Presentation transcript:

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:  Case Study: Unified Modeling Language  Emank X Mezank 2 Presented & 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. 3 Presented & 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. 4 Presented & 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. 5 Presented & 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. 6 Presented & Prepared by: Mahmoud R. Alfarra

7 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. 8 Presented & Prepared by: Mahmoud R. Alfarra

 Programming languages may be divided into three general types: 1. Machine languages 2. Assembly languages 3. High-level languages 9 Presented & 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). 10 Presented & 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 11 Presented & Prepared by: Mahmoud R. Alfarra

 Programmers began using English-like abbreviations to represent elementary operations.  These abbreviations formed the basis of assembly languages. 12 Presented & Prepared by: Mahmoud R. Alfarra

 Translator programs called assemblers were developed to convert early assembly- language programs to machine language at computer speeds. 13 Presented & 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. 14 Presented & 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. 15 Presented & Prepared by: Mahmoud R. Alfarra Java Class methods Instructions

16 Presented & 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 Presented & Prepared by: Mahmoud R. Alfarra

18 Presented & Prepared by: Mahmoud R. Alfarra

19 Presented & 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.16 HW3.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. 20 Presented & Prepared by: Mahmoud R. Alfarra Solve the following practice… HW3.2

عَنْ أَبِي أُمَامَةَ رَضِيَ الله عَنْهُ، عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ، قَالَ : عَنْ أَبِي أُمَامَةَ رَضِيَ الله عَنْهُ، عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ، قَالَ : (إِنَّ صَاحِبَ الشِّمَالِ لِيَرْفَعُ الْقَلَمَ سِتَّ سَاعَاتٍ عَنِ الْعَبْدِ الْمُسْلِمِ الْمُخْطِئِ أَوِ الْمُسِيءِ، فَإِنْ نَدِمَ وَاسْتَغْفَرَ اللَّهَ مِنْهَا أَلْقَاهَا، وَإِلا كُتِبَتْ وَاحِدَةً) حسنـه الألباني 21 Presented & Prepared by: Mahmoud R. Alfarra

Main concepts of Programming 22 Presented & Prepared by: Mahmoud R. Alfarra