SlideShare uma empresa Scribd logo
1 de 24
COMPUTER
PROGRAMMING
by:
Trisha Faye Gamboa
Karl Albert Balolong
 The Computer Programming and Analysis
program provides an opportunity to establish
a basic foundation in computer programming
in scientific, commercial, industrial and
government information technology
applications. Graduates are prepared for
positions as entry-level application
programmers, programmer specialists,
computer programmers and programmer
analysts.
 Computer programming is a process that leads from
an original formulation of a computing problem to
executable computer programs. Programming
involves activities such as analysis, developing
understanding, generating algorithms, verification of
requirements of algorithms including their correctness
and resources consumption, and implementation
(commonly referred to as coding) of algorithms in a
target programming language. Source code is written
in one or more programming languages (such as C,
C++, C#, Java, Python, Ruby, Smalltalk, JavaScript,
etc.).The purpose of programming is to find a
sequence of instructions that will automate
performing a specific task or solving a given problem.
Introduction to Programming
 Program is a set of step-by-step instruction
that tells or directs the computer what to do.
 Programming Language is a set of rules that
tells the computer what to perform is through
it.
 Programmer is the person who designs and
tests a program.Also decides which of the
programs or set of instruction to use.
 The process of programming thus often
requires expertise in many different subjects,
including knowledge of the application
domain, specialized algorithms and formal
logic.
 Identifying – Planning – Coding –Testing -
Documentation
- First step.To determine the
requirement of the program.
-Two ways of planning the soluti0n to a
problem.
1. Flowcharting
2. Pseudo Code
Flowcharting is a step-by-step instruction.
Psuedo Code is listing down the set of
instructions to be used in the program.
Coding the Program
 Designing the solution.This step needs to
use Visual Basic as it’s programming
language. Programming language have
their own set of rules to follow, this is
called syntax. Also used in a certain
program will produce an error called
syntax error.
After coding the program, it is important
to test if it is running.
Three phases of Testing:
1. Desk checking- in these phase the
programmer just mentally traces or checks
the logic of the program.To make sure if it’s
error free.
2. Translation- these phase uses a translator to
ensure that the programmer did not violate
any language rules by the chosen
programming language. It translates the
program line by line to locate any syntax
error.
Documentation
3. Debugging- this means detecting, locating
and correcting bugs ( an error or mistake).
-In this step, the programmer makes a
detailed description on how the program
was created. It contains a brief narrative
process undergone by a program.
- Codes used for the next programmer who
will upgrade the designed program.
Reliability: how often the results of a program are
correct.This depends on conceptual correctness of
algorithms, and minimization of programming
mistakes, such as mistakes in resource management
(e.g., buffer overflows and race conditions) and logic
errors (such as division by zero or off-by-one errors).
Robustness: how well a program anticipates
problems due to errors (not bugs).This includes
situations such as incorrect, inappropriate or corrupt
data, unavailability of needed resources such as
memory, operating system services and network
connections, user error, and unexpected power
outages.
 Usability: the ergonomics of a program: the ease with
which a person can use the program for its intended
purpose or in some cases even unanticipated purposes.
Such issues can make or break its success even regardless
of other issues.This involves a wide range of textual,
graphical and sometimes hardware elements that improve
the clarity, intuitiveness, cohesiveness and completeness of
a program's user interface.
 Portability: the range of computer hardware and
operating system platforms on which the source code of
a program can be compiled/interpreted and run.This
depends on differences in the programming facilities
provided by the different platforms, including hardware
and operating system resources, expected behavior of
the hardware and operating system, and availability of
platform specific compilers (and sometimes libraries) for
the language of the source code
 Maintainability: the ease with which a program
can be modified by its present or future
developers in order to make improvements or
customizations, fix bugs and security holes, or
adapt it to new environments. Good practices
during initial development make the difference
in this regard.This quality may not be directly
apparent to the end user but it can significantly
affect the fate of a program over the long term.
 Efficiency/performance: the amount of system
resources a program consumes (processor time,
memory space, slow devices such as disks,
network bandwidth and to some extent even
user interaction): the less, the better.This also
includes careful management of resources, for
example cleaning up temporary files and
eliminating memory leaks
 Different programming languages support
different styles of programming (called
programming paradigms).The choice of
language used is subject to many
considerations, such as company policy,
suitability to task, availability of third-party
packages, or individual preference. Ideally,
the programming language best suited for
the task at hand will be selected.
 Trade-offs from this ideal involve finding
enough programmers who know the
language to build a team, the availability of
compilers for that language, and the
efficiency with which programs written in a
given language execute. Languages form an
approximate spectrum from "low-level" to
"high-level"; "low-level" languages are
typically more machine-oriented and faster
to execute, whereas "high-level" languages
are more abstract and easier to use but
execute less quickly. It is usually easier to
code in "high-level" languages than in "low-
level" ones.
 The details look different in different
languages, but a few basic instructions appear
in just about every language:
 Input: Gather data from the keyboard, a file, or
some other device.
 Output: Display data on the screen or send data
to a file or other device.
 Arithmetic: Perform basic arithmetical
operations like addition and multiplication.
 Conditional Execution: Check for certain
conditions and execute the appropriate
sequence of statements.
 Repetition: Perform some action repeatedly,
usually with some variation.
Levels of programming language
 There are five levels of programming language.
Used in their respective generation. Each
generation is an improvement of the latter
generation.
1. Machine Language ( 1st Generation Prog.
Language
- Lowest level programming language. It’s
represented by 1s and 0s. A very tedious task for
just a simple task, the program code required
would be very long.
2. Assembly Language or 2nd Generation Prog.
Language
-Also considered as low level language.This
language is easier to use than Machine language.
Instead of using 1s and 0s, this language use
mnemonic codes( abbreviations that are easy to
remember).
3. High Level Language or 3rd Generation Prog.
Language
- this language transformed programming in
the early 1960s. It’s easier since the language is
now written in English like matter.Third
generation prog. Language uses translator.
 4.Very High Level Language or 4th Generation
Language ( 4 GL)
It simplifies further the third level generation
language (3GL) because there is a reduction in the
number of instructional statements. One hundred
(100) lines of instruction in 3GLs can be reduced to
five (5) to twenty (20) lines of instruction in 4GLs.
5. Natural Language
This language are considered to be the fifth gen.
prog. language. Natural language have their
resemblance to English language.This language
have the capability to translate human instructions
into code that a computer understands.
Examples:
Non-Procedural Languages
 So called as Object-oriented programming
languages. They are event-driven which means
that a programmer selects an event that needs
to occur before the instruction or statement is
executed.
Examples:
 VISUAL BASIC
 C++
 JAVA
 DELPHI
 Many computer languages provide a
mechanism to call functions provided
by shared libraries. Provided the
functions in a library follow the
appropriate run time conventions
(e.g., method of passing arguments),
then these functions may be written
in any other language.
Computer

Mais conteúdo relacionado

Mais procurados

Programming languages
Programming languagesProgramming languages
Programming languagesvito_carleone
 
What is programming what are its benefits
What is programming  what are its benefits What is programming  what are its benefits
What is programming what are its benefits Vijay Singh Khatri
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
Programming language
Programming languageProgramming language
Programming languageShuja Qais
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1lakshmi kumari neelapu
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languagesraksharao
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programmingNeeru Mittal
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languagesNaqashAhmad14
 
Introduction to operating syatem
Introduction to operating syatemIntroduction to operating syatem
Introduction to operating syatemRafi Dar
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computerzaheeriqbal41
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language adnan usmani
 
software History
software Historysoftware History
software HistoryAvinash Avi
 
Compiler Construction
Compiler ConstructionCompiler Construction
Compiler ConstructionAhmed Raza
 
Life cycle of a computer program
Life cycle of a computer programLife cycle of a computer program
Life cycle of a computer programAbhay Kumar
 
10th class computer science notes in english by cstechz
10th class computer science notes in english by cstechz10th class computer science notes in english by cstechz
10th class computer science notes in english by cstechzShahbaz Ahmad
 
Computer Software And its types
Computer Software And its typesComputer Software And its types
Computer Software And its typesMirza Kaleem
 

Mais procurados (20)

Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Introduction to qbasic
Introduction to qbasicIntroduction to qbasic
Introduction to qbasic
 
What is programming what are its benefits
What is programming  what are its benefits What is programming  what are its benefits
What is programming what are its benefits
 
Computer programming concepts
Computer programming conceptsComputer programming concepts
Computer programming concepts
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Programming language
Programming languageProgramming language
Programming language
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
 
Programming
ProgrammingProgramming
Programming
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
Introduction to operating syatem
Introduction to operating syatemIntroduction to operating syatem
Introduction to operating syatem
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language
 
software History
software Historysoftware History
software History
 
Compiler Construction
Compiler ConstructionCompiler Construction
Compiler Construction
 
Life cycle of a computer program
Life cycle of a computer programLife cycle of a computer program
Life cycle of a computer program
 
10th class computer science notes in english by cstechz
10th class computer science notes in english by cstechz10th class computer science notes in english by cstechz
10th class computer science notes in english by cstechz
 
Computer Software And its types
Computer Software And its typesComputer Software And its types
Computer Software And its types
 

Destaque (18)

Advertising
AdvertisingAdvertising
Advertising
 
Mpj lei (1)
Mpj lei (1)Mpj lei (1)
Mpj lei (1)
 
Meetup 1-options vs stocks
Meetup 1-options vs stocksMeetup 1-options vs stocks
Meetup 1-options vs stocks
 
ตลาดสำคัญในบางกอก
ตลาดสำคัญในบางกอกตลาดสำคัญในบางกอก
ตลาดสำคัญในบางกอก
 
Ways to improve e bay buyers experience
Ways to improve e bay buyers experienceWays to improve e bay buyers experience
Ways to improve e bay buyers experience
 
Clematis New Zealand
Clematis New ZealandClematis New Zealand
Clematis New Zealand
 
Systech International Corporate Profile
Systech International Corporate ProfileSystech International Corporate Profile
Systech International Corporate Profile
 
Meetup 2-options-single legstrategies
Meetup 2-options-single legstrategiesMeetup 2-options-single legstrategies
Meetup 2-options-single legstrategies
 
Computer Programming
Computer Programming Computer Programming
Computer Programming
 
Psa dev broad
Psa dev broadPsa dev broad
Psa dev broad
 
20 pryroda
20 pryroda20 pryroda
20 pryroda
 
25ca ~3
25ca ~325ca ~3
25ca ~3
 
1 единство
1 единство1 единство
1 единство
 
вода
водавода
вода
 
витамины
витаминывитамины
витамины
 
Vitaminy gormony
Vitaminy gormonyVitaminy gormony
Vitaminy gormony
 
презентація на тему одноклітинні організми, фесенко яни, 10 а
презентація на тему одноклітинні організми, фесенко яни, 10 апрезентація на тему одноклітинні організми, фесенко яни, 10 а
презентація на тему одноклітинні організми, фесенко яни, 10 а
 
Rpp ips kls 5
Rpp ips kls 5Rpp ips kls 5
Rpp ips kls 5
 

Semelhante a Computer

Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxAsst.prof M.Gokilavani
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptxVishwas459764
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxChewe Lulembo
 
Computer Software and It's Development
Computer Software and It's DevelopmentComputer Software and It's Development
Computer Software and It's DevelopmentRabin BK
 
Computer programming
Computer programmingComputer programming
Computer programmingSuneel Dogra
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programmingMukesh Tekwani
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxAryaDutta4
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)nharsh2308
 
Ppt about programming in methodology
Ppt about programming in methodology Ppt about programming in methodology
Ppt about programming in methodology Vaishnavirakshe2
 
introduction to programming
introduction to programmingintroduction to programming
introduction to programmingGaea Bonita
 

Semelhante a Computer (20)

Computer
ComputerComputer
Computer
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptx
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptx
 
Ic lecture8
Ic lecture8 Ic lecture8
Ic lecture8
 
Programming
ProgrammingProgramming
Programming
 
computer Unit 6
computer Unit 6computer Unit 6
computer Unit 6
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
 
grade 10 2023.pptx
grade 10 2023.pptxgrade 10 2023.pptx
grade 10 2023.pptx
 
Computer Software and It's Development
Computer Software and It's DevelopmentComputer Software and It's Development
Computer Software and It's Development
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptx
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
Ppt about programming in methodology
Ppt about programming in methodology Ppt about programming in methodology
Ppt about programming in methodology
 
SYSTEM DEVELOPMENT
SYSTEM DEVELOPMENTSYSTEM DEVELOPMENT
SYSTEM DEVELOPMENT
 
introduction to programming
introduction to programmingintroduction to programming
introduction to programming
 

Último

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 

Último (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

Computer

  • 2.  The Computer Programming and Analysis program provides an opportunity to establish a basic foundation in computer programming in scientific, commercial, industrial and government information technology applications. Graduates are prepared for positions as entry-level application programmers, programmer specialists, computer programmers and programmer analysts.
  • 3.  Computer programming is a process that leads from an original formulation of a computing problem to executable computer programs. Programming involves activities such as analysis, developing understanding, generating algorithms, verification of requirements of algorithms including their correctness and resources consumption, and implementation (commonly referred to as coding) of algorithms in a target programming language. Source code is written in one or more programming languages (such as C, C++, C#, Java, Python, Ruby, Smalltalk, JavaScript, etc.).The purpose of programming is to find a sequence of instructions that will automate performing a specific task or solving a given problem.
  • 4. Introduction to Programming  Program is a set of step-by-step instruction that tells or directs the computer what to do.  Programming Language is a set of rules that tells the computer what to perform is through it.  Programmer is the person who designs and tests a program.Also decides which of the programs or set of instruction to use.
  • 5.  The process of programming thus often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.  Identifying – Planning – Coding –Testing - Documentation
  • 6. - First step.To determine the requirement of the program. -Two ways of planning the soluti0n to a problem. 1. Flowcharting 2. Pseudo Code Flowcharting is a step-by-step instruction. Psuedo Code is listing down the set of instructions to be used in the program.
  • 7. Coding the Program  Designing the solution.This step needs to use Visual Basic as it’s programming language. Programming language have their own set of rules to follow, this is called syntax. Also used in a certain program will produce an error called syntax error. After coding the program, it is important to test if it is running.
  • 8. Three phases of Testing: 1. Desk checking- in these phase the programmer just mentally traces or checks the logic of the program.To make sure if it’s error free. 2. Translation- these phase uses a translator to ensure that the programmer did not violate any language rules by the chosen programming language. It translates the program line by line to locate any syntax error.
  • 9. Documentation 3. Debugging- this means detecting, locating and correcting bugs ( an error or mistake). -In this step, the programmer makes a detailed description on how the program was created. It contains a brief narrative process undergone by a program. - Codes used for the next programmer who will upgrade the designed program.
  • 10.
  • 11. Reliability: how often the results of a program are correct.This depends on conceptual correctness of algorithms, and minimization of programming mistakes, such as mistakes in resource management (e.g., buffer overflows and race conditions) and logic errors (such as division by zero or off-by-one errors). Robustness: how well a program anticipates problems due to errors (not bugs).This includes situations such as incorrect, inappropriate or corrupt data, unavailability of needed resources such as memory, operating system services and network connections, user error, and unexpected power outages.
  • 12.  Usability: the ergonomics of a program: the ease with which a person can use the program for its intended purpose or in some cases even unanticipated purposes. Such issues can make or break its success even regardless of other issues.This involves a wide range of textual, graphical and sometimes hardware elements that improve the clarity, intuitiveness, cohesiveness and completeness of a program's user interface.  Portability: the range of computer hardware and operating system platforms on which the source code of a program can be compiled/interpreted and run.This depends on differences in the programming facilities provided by the different platforms, including hardware and operating system resources, expected behavior of the hardware and operating system, and availability of platform specific compilers (and sometimes libraries) for the language of the source code
  • 13.  Maintainability: the ease with which a program can be modified by its present or future developers in order to make improvements or customizations, fix bugs and security holes, or adapt it to new environments. Good practices during initial development make the difference in this regard.This quality may not be directly apparent to the end user but it can significantly affect the fate of a program over the long term.  Efficiency/performance: the amount of system resources a program consumes (processor time, memory space, slow devices such as disks, network bandwidth and to some extent even user interaction): the less, the better.This also includes careful management of resources, for example cleaning up temporary files and eliminating memory leaks
  • 14.  Different programming languages support different styles of programming (called programming paradigms).The choice of language used is subject to many considerations, such as company policy, suitability to task, availability of third-party packages, or individual preference. Ideally, the programming language best suited for the task at hand will be selected.
  • 15.  Trade-offs from this ideal involve finding enough programmers who know the language to build a team, the availability of compilers for that language, and the efficiency with which programs written in a given language execute. Languages form an approximate spectrum from "low-level" to "high-level"; "low-level" languages are typically more machine-oriented and faster to execute, whereas "high-level" languages are more abstract and easier to use but execute less quickly. It is usually easier to code in "high-level" languages than in "low- level" ones.
  • 16.  The details look different in different languages, but a few basic instructions appear in just about every language:  Input: Gather data from the keyboard, a file, or some other device.  Output: Display data on the screen or send data to a file or other device.  Arithmetic: Perform basic arithmetical operations like addition and multiplication.  Conditional Execution: Check for certain conditions and execute the appropriate sequence of statements.  Repetition: Perform some action repeatedly, usually with some variation.
  • 17. Levels of programming language  There are five levels of programming language. Used in their respective generation. Each generation is an improvement of the latter generation. 1. Machine Language ( 1st Generation Prog. Language - Lowest level programming language. It’s represented by 1s and 0s. A very tedious task for just a simple task, the program code required would be very long.
  • 18. 2. Assembly Language or 2nd Generation Prog. Language -Also considered as low level language.This language is easier to use than Machine language. Instead of using 1s and 0s, this language use mnemonic codes( abbreviations that are easy to remember). 3. High Level Language or 3rd Generation Prog. Language - this language transformed programming in the early 1960s. It’s easier since the language is now written in English like matter.Third generation prog. Language uses translator.
  • 19.  4.Very High Level Language or 4th Generation Language ( 4 GL) It simplifies further the third level generation language (3GL) because there is a reduction in the number of instructional statements. One hundred (100) lines of instruction in 3GLs can be reduced to five (5) to twenty (20) lines of instruction in 4GLs. 5. Natural Language This language are considered to be the fifth gen. prog. language. Natural language have their resemblance to English language.This language have the capability to translate human instructions into code that a computer understands.
  • 20.
  • 22. Non-Procedural Languages  So called as Object-oriented programming languages. They are event-driven which means that a programmer selects an event that needs to occur before the instruction or statement is executed. Examples:  VISUAL BASIC  C++  JAVA  DELPHI
  • 23.  Many computer languages provide a mechanism to call functions provided by shared libraries. Provided the functions in a library follow the appropriate run time conventions (e.g., method of passing arguments), then these functions may be written in any other language.