Steps in solving problems in programming
Step 1 Analyze the problem and develop the specification
Step 2 Design a solution
Step 3 code the problem in a programming language with documentation
Step 4 Test the program
Step 5 Validate the program
Incase I sit beside you,you fit run ham for me I no read o
Translator is computer program or computer software used to translate or convert program
written in high level language to machine language
Types of translator
1. Interpreter they translate line by line
2. Compiler date gather or the program written and translate them at once by adding or removing
to it
3. Assemble they used abbreviation
1. What is programmer? And give us examples
2. What is program? And give us examples
3. What is algorithm? And give us examples
4. What is flow chart? And give us examples
5. What is pseudocode? And give us examples
What is programming: programming involves creation of a series of instruction aimed in directing
a computer to perform tasks far more efficiently than human
Benefit of programming
Computer programming is used to create innovative and functional software
Computer programming is used to perform specific task using mathematical algorithm and logic
It is also used to create website games and other digital contents
Features of a good program
Computer program is a set of sequence a set of instruction in programming language for
computer to execute
Features of a good program
Portability
Readability
Efficiency
Structural
Flexibility
Generality
Documentation
Steps in solving problem in programming
Step one analyze the problem and develop the specification
Step two design a solution
Step three code the program in a programming language with documentation
Step four test the program
Step five validate the program
Program is a set of instruction given to a computer to perform specific task
Programmer is individual or group of people that write a series to a computer
Algorithm is a step-by-step procedure taking in solving particular programming problem
Characteristics of a good algorithm
Input
Output
Definiteness
Finiteness
Procedure to write good algorithm
Define the input
Define the variables
Outline the operations
Output your results
Types of algorithm
Loop
Sequence
Branching
Properties of algorithm is the same as characteristics of algorithm
Flowchart is a pictorial representation or diagrammatical of a step-by-step procedure taken in
solving particular programming problem
Pseudo code is a method of describing computer algorithms using a combination of natural
language and programming language.
What is programming language
Programming language is a set of rule that provide a way of telling the computer what operation
to perform
Differences between natural language and programming language
Natural language are spoken by human why programming language is intended for machine or a
language that the computer understand
Types of programming language
High level language
Low level language
Assembly language
Machine language
What is translator
Translator is computer program or computer software used to translate or convert program
written in high level language to machine language
Types of translator
Interpreter
Compiler
Assemble
advantages of using assembler
Very fast in translating
Is fairly easy to understand
Advantage of Using a compiler
Is more secure
Produce faster code that interpreting source code
It is produce executable file
Advantages of using an interpreter
Easy to check errors
Useful for prototyping software and testing basic program
Easy to create multiplatform code
Guys don't forget to read
Types of errors in programming it might comes out of our test let just prepare
Types of errors
Syntax
Semantic
Runtime
1. *Syntax*: The set of rules that defines the structure or order of words and symbols in a
programming language or sentence.
2. *Semantics*: The meaning or interpretation of words, symbols, or expressions in programming
or language.
3. *Runtime*: The period when a program is actually running, from the start to the end of its
execution. It also refers to errors that occur while the program is running.
Q - Quick
B - Beginner’s
A - All - purpose
S - Symbolic
I - Instruction
C _ Code
Read
Features of QBASIC
Advantages of QBASIC
Elements of QBASIC
CONSTANT
OPERATOR
VARIABLE
EXPRESSION
CHARACTER SET
KEYWORD