SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Introduction to Programming Language
Outline Course 
 Introduction to Computer Organization 
 Introduction to Programming Language 
 Programming Phase 
 Introduction to Java Programming 
 Object Oriented Programming Concept
Lecturer 
 Dr. Muhammad Niswar 
 Education 
 Bachelor: UNHAS, 1997 
 Master: Univ. of Newcastle, NSW, 2001 
 Doctor: Nara Institute of Science & Technology, JAPAN, 2010 
 Research Interest 
 Wireless/Mobile Networking, Wireless Sensor Network 
 Mobile Application Development 
 Embedded System 
 Cloud Computing 
 Network Management & Operation 
 http://iplab.naist.jp/member/niswar/ 
 Email: niswar”at”unhas.ac.id
References 
 Java Education & Development Initiatives (JEDI) 
 Java Programming
Assessment 
 IDE Installation & usage (10%) 
 NetBeans 
 Eclipse 
 Programming Assignment (30%) 
 Practical Exam (60%)
6 
What Is a Computer? 
 Computer 
 Performs computations and makes logical decisions 
 Millions / billions times faster than human beings 
 Computer programs 
 Sets of instructions by which a computer processes data 
 Hardware 
 Physical devices of computer system 
 Software 
 Programs that run on computers
7 
Computer Organization 
 Six logical units of computer system 
 Input unit 
 Mouse, keyboard 
 Output unit 
 Printer, monitor, audio speakers 
 Memory unit 
 Retains input and processed information 
 Arithmetic and logic unit (ALU) 
 Performs calculations 
 Central processing unit (CPU) 
 Supervises operation of other devices 
 Secondary storage unit 
 Hard drives, floppy drives
Evolution of Operating Systems 
 Batch processing 
 One job (task) at a time 
 Operating systems developed 
8 
 Programs to make computers more convenient to use 
 Switch jobs easier 
 Multiprogramming 
 “Simultaneous” jobs 
 Timesharing operating systems 
 2003 Prentice Hall, Inc. All rights reserved.
The boot process 
 The process by which a machine comes up from rest 
state to the state that is usable is known as booting 
 When the power is turned on 
 The CPU runs the BIOS (Basic Input / Output System) 
 Usually located on a chip on the motherboard 
 Runs POST (Power On Self Test) of various hardware components 
 Loads the boot sector program 
9
The boot process (continued) 
 Boot Sector Program 
 Located in the first sector of the hard disk or other disk 
 Is responsible for loading the rest of the operation system into the RAM 
 Operating System 
 Once it is loaded, it configures the various hardware components 
 Then it waits for the user to issue commands 
 Then you can run your applications 
10
Introduction to Programming Language 
 Programming Language use to create/develop a program 
application or other set of instructions to control the behavior 
of a machine. 
 Example: 
 C/C++ 
 Java 
 Pascal 
 Cobol
Programming Language 
Classification 
 High Level 
 Core (compiled): Java, C++, Pascal, Fortran, Basic 
 Script (non-compiled): bash,tcsh,perl,python,ruby,..etc 
 Middle Level 
 C 
 Low Level 
 Assembly
Programming Language 
Classification
Computer 
H/W 
Application Shell OS/Kernel
Programming Phase 
 Problem Definition 
 Problem Analysis 
 Algorithm Design 
 Coding & Debugging
Problem Definition 
 Problem must be well & clearly defined 
 Clearly defined problem = ½ solution 
 Example: 
– “Create a program that will determine the number of times a 
name occurs in a list”
Problem Analysis 
 Solution of the problem must be formulated 
 Example Problem: 
“Create a program that will determine the number of times a name 
occurs in a list” 
 Input to the program 
– List of names, name to look for 
 Output to the program 
– The number of times the name occurs in a list
Algorithm Design 
 Express our solution to step-by-step manner 
 The way of Express: 
– Human Language 
– Flow chart 
– Pseudocode
Algorithm Design 
- Human Language - 
 Get the list name of names 
 Get the name to look for, let's call this the keyname 
 Compare the keyname to each of the names in the list 
 If the keyname is the same with a name in the list, add 1 to the 
count 
 If all the names have been compared, output the result.
Algorithm Design 
- Pseudocode - 
Let nameList = List of Names 
Let keyName = the name to be sought 
Let Count = 0 
For each name in NameList do the following 
If name == keyName 
Count = Count + 1 
Display Count
Algorithm Design 
- Flowchart - 
Start 
Get 
NameList 
Get 
KeyName 
Count = 0 
More 
Names ? Name = KeyName? 
Count = Count + 1 
A 
A 
Display 
Count 
Stop 
No 
Yes 
Yes
Coding & Debugging 
 Coding: 
– Create a source code based on Algorithm 
 Debugging: 
– Fixed the error found in source code 
 Compile-Time Error 
– If there is a syntax error
Exercise 
Writing an algorithm 
 Cooking an Instant Noodle 
 Getting the average of three numbers

Weitere ähnliche Inhalte

Was ist angesagt?

Assembly language
Assembly languageAssembly language
Assembly languagegaurav jain
 
Assembly language programming
Assembly language programmingAssembly language programming
Assembly language programminghimhk
 
Python programming introduction
Python programming introductionPython programming introduction
Python programming introductionSiddique Ibrahim
 
Computer and Programming
Computer and Programming Computer and Programming
Computer and Programming Mahsa Ch
 
Introduction to-python
Introduction to-pythonIntroduction to-python
Introduction to-pythonAakashdata
 

Was ist angesagt? (7)

Assembly language
Assembly languageAssembly language
Assembly language
 
Assembly language programming
Assembly language programmingAssembly language programming
Assembly language programming
 
Python programming
Python programmingPython programming
Python programming
 
Python programming introduction
Python programming introductionPython programming introduction
Python programming introduction
 
Assembly language
Assembly languageAssembly language
Assembly language
 
Computer and Programming
Computer and Programming Computer and Programming
Computer and Programming
 
Introduction to-python
Introduction to-pythonIntroduction to-python
Introduction to-python
 

Andere mochten auch

A M Treat. Pneum.
A M Treat. Pneum.A M Treat. Pneum.
A M Treat. Pneum.Med Bee
 
Multimedia online course
Multimedia online courseMultimedia online course
Multimedia online coursemhecht
 
We All Fall Down Movie Project
We All Fall Down Movie ProjectWe All Fall Down Movie Project
We All Fall Down Movie Projectguest7744c0
 
Performance analysis of new proposed window for
Performance analysis of new proposed window forPerformance analysis of new proposed window for
Performance analysis of new proposed window foreSAT Publishing House
 
Currentconcepts difficult airway
Currentconcepts difficult airwayCurrentconcepts difficult airway
Currentconcepts difficult airwayThomas StPhillip
 
Athena seafront villas
Athena seafront villasAthena seafront villas
Athena seafront villasMatuz Bakiah
 
xcel energy NSP-MN_Q106_10Q
xcel energy NSP-MN_Q106_10Qxcel energy NSP-MN_Q106_10Q
xcel energy NSP-MN_Q106_10Qfinance26
 
Cfo and ceo better together ima 2013 10-23
Cfo and ceo better together ima 2013 10-23Cfo and ceo better together ima 2013 10-23
Cfo and ceo better together ima 2013 10-23Steve Little
 
#Gikii2013 and #ICIC2013 Chris Marsden on Tempora and telegraph
#Gikii2013 and #ICIC2013 Chris Marsden on Tempora and telegraph#Gikii2013 and #ICIC2013 Chris Marsden on Tempora and telegraph
#Gikii2013 and #ICIC2013 Chris Marsden on Tempora and telegraphChris Marsden
 
Exploring Flexbox
Exploring FlexboxExploring Flexbox
Exploring Flexboxvisual28
 
The Art Of Story Telling
The Art Of Story TellingThe Art Of Story Telling
The Art Of Story TellingJene437Jarmon
 
Presentation1
Presentation1Presentation1
Presentation1DanWylie
 
ACCOMMODATION CHOICES FOR UST DEPARTMENT OF ENGLISH 1ST NATIONAL CONFERENCE
ACCOMMODATION CHOICES FOR UST DEPARTMENT OF ENGLISH 1ST NATIONAL CONFERENCEACCOMMODATION CHOICES FOR UST DEPARTMENT OF ENGLISH 1ST NATIONAL CONFERENCE
ACCOMMODATION CHOICES FOR UST DEPARTMENT OF ENGLISH 1ST NATIONAL CONFERENCEustenglishdepartment
 
Brain Behind, Body Forward
Brain Behind, Body ForwardBrain Behind, Body Forward
Brain Behind, Body ForwardBASPCAN
 
Position ada weight manegement
Position ada weight manegementPosition ada weight manegement
Position ada weight manegementmariadelatorre
 

Andere mochten auch (18)

A M Treat. Pneum.
A M Treat. Pneum.A M Treat. Pneum.
A M Treat. Pneum.
 
Multimedia online course
Multimedia online courseMultimedia online course
Multimedia online course
 
We All Fall Down Movie Project
We All Fall Down Movie ProjectWe All Fall Down Movie Project
We All Fall Down Movie Project
 
Performance analysis of new proposed window for
Performance analysis of new proposed window forPerformance analysis of new proposed window for
Performance analysis of new proposed window for
 
Currentconcepts difficult airway
Currentconcepts difficult airwayCurrentconcepts difficult airway
Currentconcepts difficult airway
 
Athena seafront villas
Athena seafront villasAthena seafront villas
Athena seafront villas
 
Akbar
AkbarAkbar
Akbar
 
xcel energy NSP-MN_Q106_10Q
xcel energy NSP-MN_Q106_10Qxcel energy NSP-MN_Q106_10Q
xcel energy NSP-MN_Q106_10Q
 
Cfo and ceo better together ima 2013 10-23
Cfo and ceo better together ima 2013 10-23Cfo and ceo better together ima 2013 10-23
Cfo and ceo better together ima 2013 10-23
 
#Gikii2013 and #ICIC2013 Chris Marsden on Tempora and telegraph
#Gikii2013 and #ICIC2013 Chris Marsden on Tempora and telegraph#Gikii2013 and #ICIC2013 Chris Marsden on Tempora and telegraph
#Gikii2013 and #ICIC2013 Chris Marsden on Tempora and telegraph
 
Cn feb12-92
Cn feb12-92Cn feb12-92
Cn feb12-92
 
Exploring Flexbox
Exploring FlexboxExploring Flexbox
Exploring Flexbox
 
The Park of a Thousand Pieces
The Park of a Thousand PiecesThe Park of a Thousand Pieces
The Park of a Thousand Pieces
 
The Art Of Story Telling
The Art Of Story TellingThe Art Of Story Telling
The Art Of Story Telling
 
Presentation1
Presentation1Presentation1
Presentation1
 
ACCOMMODATION CHOICES FOR UST DEPARTMENT OF ENGLISH 1ST NATIONAL CONFERENCE
ACCOMMODATION CHOICES FOR UST DEPARTMENT OF ENGLISH 1ST NATIONAL CONFERENCEACCOMMODATION CHOICES FOR UST DEPARTMENT OF ENGLISH 1ST NATIONAL CONFERENCE
ACCOMMODATION CHOICES FOR UST DEPARTMENT OF ENGLISH 1ST NATIONAL CONFERENCE
 
Brain Behind, Body Forward
Brain Behind, Body ForwardBrain Behind, Body Forward
Brain Behind, Body Forward
 
Position ada weight manegement
Position ada weight manegementPosition ada weight manegement
Position ada weight manegement
 

Ähnlich wie Programming 1 [compatibility mode]mm

Big Java Chapter 1
Big Java Chapter 1Big Java Chapter 1
Big Java Chapter 1Maria Joslin
 
01 intro-computer-pascal
01 intro-computer-pascal01 intro-computer-pascal
01 intro-computer-pascalSerghei Urban
 
Introduction To Computer and Java
Introduction To Computer and JavaIntroduction To Computer and Java
Introduction To Computer and JavaPRN USM
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2REHAN IJAZ
 
Lesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxLesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxNeil Mutia
 
Computer Programming Computer Programming
Computer Programming Computer ProgrammingComputer Programming Computer Programming
Computer Programming Computer Programmingarifhasan88
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptxgaafergoda
 
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURESOPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURESpriyasoundar
 
Eo gaddis java_chapter_01_5e
Eo gaddis java_chapter_01_5eEo gaddis java_chapter_01_5e
Eo gaddis java_chapter_01_5eGina Bullock
 
Eo gaddis java_chapter_01_5e
Eo gaddis java_chapter_01_5eEo gaddis java_chapter_01_5e
Eo gaddis java_chapter_01_5eGina Bullock
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!manishamorya
 

Ähnlich wie Programming 1 [compatibility mode]mm (20)

Big Java Chapter 1
Big Java Chapter 1Big Java Chapter 1
Big Java Chapter 1
 
CISY 105 Chapter 1
CISY 105 Chapter 1CISY 105 Chapter 1
CISY 105 Chapter 1
 
01 intro-computer-pascal
01 intro-computer-pascal01 intro-computer-pascal
01 intro-computer-pascal
 
Introduction To Computer and Java
Introduction To Computer and JavaIntroduction To Computer and Java
Introduction To Computer and Java
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
 
Lecture1
Lecture1Lecture1
Lecture1
 
Savitch Ch 01
Savitch Ch 01Savitch Ch 01
Savitch Ch 01
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
Lesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxLesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptx
 
Computer Programming Computer Programming
Computer Programming Computer ProgrammingComputer Programming Computer Programming
Computer Programming Computer Programming
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptx
 
Introduction.pptx
Introduction.pptxIntroduction.pptx
Introduction.pptx
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
Savitch ch 01
Savitch ch 01Savitch ch 01
Savitch ch 01
 
Savitch ch 01
Savitch ch 01Savitch ch 01
Savitch ch 01
 
Beekman5 std ppt_13
Beekman5 std ppt_13Beekman5 std ppt_13
Beekman5 std ppt_13
 
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURESOPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
 
Eo gaddis java_chapter_01_5e
Eo gaddis java_chapter_01_5eEo gaddis java_chapter_01_5e
Eo gaddis java_chapter_01_5e
 
Eo gaddis java_chapter_01_5e
Eo gaddis java_chapter_01_5eEo gaddis java_chapter_01_5e
Eo gaddis java_chapter_01_5e
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
 

Kürzlich hochgeladen

Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Roland Driesen
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...amitlee9823
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with CultureSeta Wicaksana
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxpriyanshujha201
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...rajveerescorts2022
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...lizamodels9
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 

Kürzlich hochgeladen (20)

Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 

Programming 1 [compatibility mode]mm

  • 2. Outline Course  Introduction to Computer Organization  Introduction to Programming Language  Programming Phase  Introduction to Java Programming  Object Oriented Programming Concept
  • 3. Lecturer  Dr. Muhammad Niswar  Education  Bachelor: UNHAS, 1997  Master: Univ. of Newcastle, NSW, 2001  Doctor: Nara Institute of Science & Technology, JAPAN, 2010  Research Interest  Wireless/Mobile Networking, Wireless Sensor Network  Mobile Application Development  Embedded System  Cloud Computing  Network Management & Operation  http://iplab.naist.jp/member/niswar/  Email: niswar”at”unhas.ac.id
  • 4. References  Java Education & Development Initiatives (JEDI)  Java Programming
  • 5. Assessment  IDE Installation & usage (10%)  NetBeans  Eclipse  Programming Assignment (30%)  Practical Exam (60%)
  • 6. 6 What Is a Computer?  Computer  Performs computations and makes logical decisions  Millions / billions times faster than human beings  Computer programs  Sets of instructions by which a computer processes data  Hardware  Physical devices of computer system  Software  Programs that run on computers
  • 7. 7 Computer Organization  Six logical units of computer system  Input unit  Mouse, keyboard  Output unit  Printer, monitor, audio speakers  Memory unit  Retains input and processed information  Arithmetic and logic unit (ALU)  Performs calculations  Central processing unit (CPU)  Supervises operation of other devices  Secondary storage unit  Hard drives, floppy drives
  • 8. Evolution of Operating Systems  Batch processing  One job (task) at a time  Operating systems developed 8  Programs to make computers more convenient to use  Switch jobs easier  Multiprogramming  “Simultaneous” jobs  Timesharing operating systems  2003 Prentice Hall, Inc. All rights reserved.
  • 9. The boot process  The process by which a machine comes up from rest state to the state that is usable is known as booting  When the power is turned on  The CPU runs the BIOS (Basic Input / Output System)  Usually located on a chip on the motherboard  Runs POST (Power On Self Test) of various hardware components  Loads the boot sector program 9
  • 10. The boot process (continued)  Boot Sector Program  Located in the first sector of the hard disk or other disk  Is responsible for loading the rest of the operation system into the RAM  Operating System  Once it is loaded, it configures the various hardware components  Then it waits for the user to issue commands  Then you can run your applications 10
  • 11. Introduction to Programming Language  Programming Language use to create/develop a program application or other set of instructions to control the behavior of a machine.  Example:  C/C++  Java  Pascal  Cobol
  • 12. Programming Language Classification  High Level  Core (compiled): Java, C++, Pascal, Fortran, Basic  Script (non-compiled): bash,tcsh,perl,python,ruby,..etc  Middle Level  C  Low Level  Assembly
  • 14. Computer H/W Application Shell OS/Kernel
  • 15. Programming Phase  Problem Definition  Problem Analysis  Algorithm Design  Coding & Debugging
  • 16. Problem Definition  Problem must be well & clearly defined  Clearly defined problem = ½ solution  Example: – “Create a program that will determine the number of times a name occurs in a list”
  • 17. Problem Analysis  Solution of the problem must be formulated  Example Problem: “Create a program that will determine the number of times a name occurs in a list”  Input to the program – List of names, name to look for  Output to the program – The number of times the name occurs in a list
  • 18. Algorithm Design  Express our solution to step-by-step manner  The way of Express: – Human Language – Flow chart – Pseudocode
  • 19. Algorithm Design - Human Language -  Get the list name of names  Get the name to look for, let's call this the keyname  Compare the keyname to each of the names in the list  If the keyname is the same with a name in the list, add 1 to the count  If all the names have been compared, output the result.
  • 20. Algorithm Design - Pseudocode - Let nameList = List of Names Let keyName = the name to be sought Let Count = 0 For each name in NameList do the following If name == keyName Count = Count + 1 Display Count
  • 21. Algorithm Design - Flowchart - Start Get NameList Get KeyName Count = 0 More Names ? Name = KeyName? Count = Count + 1 A A Display Count Stop No Yes Yes
  • 22. Coding & Debugging  Coding: – Create a source code based on Algorithm  Debugging: – Fixed the error found in source code  Compile-Time Error – If there is a syntax error
  • 23. Exercise Writing an algorithm  Cooking an Instant Noodle  Getting the average of three numbers