Programming Shote Notes

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

PROGRAMMING THEORY PART NOTES

A computer program is also called Computer Software

What is a computer program(software)-Is a set of instruction written in programming language that


is used to perform specific task

CATEGORIES OF COMPUTER PROGRAM

They are categorized according to their purpose and functionality

 Operating System
 Word Processors
 Web Browser
 Video Games

NOTE:
These instructions are typically organized into a series of steps that the computer follows in
order to carry out the derived function

Computer program can be used in; Business

Education

HealthCare

Science

Entertainment

Computer Programming-It involves writing instructions or code in a programing language that can be
understand by the computer and used to perform specific task

Examples of programming language


C++

PYTHON

JAVA

C#

PHP

GO

HTML

RUBY

SWIFT

Stages of programming (what you must put down bf programming)

User requirement

Designing

Writing the code

Test (u check if the program gives the correct output) and debugging (remove errors).
PROGRAMMING THEORY PART NOTES

Maintenance and Update

Documentation

Computer Programming is Used in Industries such as; Software development

Web development

Data analysis

Scientific research

EXPLAIN COMMONLY USED PROGRAMMING LANGUAGES

1. JAVA-For developing enterprise application, android apps and web application (It is a
popular object-oriented programing language)
2. PYTHON-Used for scientific computing, data analysis, web development, artificial
intelligence and more (A high-level general-purpose programming language)
3. JAVA SCRIPT- (Scripting language)-Used for creating interactive and dynamic web
page as well as server-side applications with NodeJS
4. C#-Used for creating windows application, games and web application with ASP.NET.
5. C++-Used for system level programming, game development and scientific computing
(Low level programing language)
6. PHP-Used for web development and building dynamic web application
7. RUBY-Used for web development, scripting and automation
8. SWIFT-For developing OS, Mac OS and watch OS applications (It is developed by
Apple)
9. GO-For building networked and scalable software application (A high programming
language developed by google

LANGUAGE TRANSLATORS

Are software programs that convert the human reliable code or instruction written in one language
into machine reliable instruction that can be executed by a computer.

They Include;

 COMPILER; translate the entire source code of program written in a high-level programming
language into machine code that can be executed by a computer.
 INTEPRETER; is a program that translate the source code of a program line by line and execute it
immediately.
 ASSEMBLER; is a program that translates assembly language code
 LINKER; is a program that is used in the software development process to combine multiple
object file into single executable file or library.
 A PROGRAM LOADER; is a component of operating system that loads a program from its
executable file into memory for execution.
PROGRAMMING THEORY PART NOTES

 PROGRAMING EDITOR; is a software tool used by programmers to write, edit and manage code.

NOTE: Computer language is also called (BINARY LANGUAGE)


(MACHINE LANGUAGE)
Which should be 0\1
C programming should be translated to machine language.

NOTE; Visual Studio Code: Is A free open-source editor developed by Microsoft featuring: Build-
in Support for Multiple programming language, debugging, and extensions.

PROGRAMMING APPROACHES
Refers to approaches that the software developers use to create software application
1.PROCUDURAL PROGRAMMING

Involve writing the code in sequential manner, where series of instruction are executed one
after another.

2.OBJECT-ORIENTED PROGRAMMING

Data is organized into objects that can interact with each other

3.EVENT DRIVEN PROGRAMMING

In this approach, the flow of program is based on event that occur

4. INTERNET BASED PROGRAMMING

Refers to the development of software application based on technologies.


Involve using Web based technologies such as HTML, JAVA SCRIPT AND VARIOUS WEB
DEVELOPMENT.

NOTE: There are more other approaches for programming


Often a combination of these approaches is used to create a software application

PROGRAM DEVELOPMENT METHODOLOGIES


Is a precise statement of the effects that an individual program is required to achieve.

Information Included during the description of comp program specification


1.Program Name
The name of the comp program
2.Purpose
Brief description of the program purpose and wat is designed to accomplish
PROGRAMMING THEORY PART NOTES

3.Functionality
An Overview of a program’s main functions and features
4.User Interface
Describe how the user interact with the program.
5.Input and Output
Explanation of the type of input the program accepts and corresponding output it procedures
6.Security
7.Perfomance
Any performance considerations e.g., processing speed
8.Documentation and Support
9.Licensing
10.Intergration

Software Design Approaches


1.Top Down Model

You might also like