You are on page 1of 12

H/H CAMPUS

DEP’T OF IT

Revision On C++ Computer Programing One & Two

Set. By Tedesse Tolasa


 Basics Of Computer And Programming
Language
• Computer Fundamentals
• Definition of Computer
Computer is an electronic device that accepts data, performs
computations, and makes logical decisions according to
instructions that have been given to it; then produces meaningful
information in a form that is useful to humans.
Con’t…
Computer Programming
Definition Of Computer Programming
Computer programming (often shortened to programming
or coding) is the process of writing, testing,
debugging/troubleshooting, and maintaining the source code
of computer programs.
 Algorithm representation and data structure
• Data Structure
Data structure is a way to store and organize data
so that it can be used efficiently. the data structure
name indicates that the data is being stored in
memory.
Con’t…
• Algorithm
Algorithm is a method of representing the step-by-step
procedure for solving a problem.
It is a method of finding the right answer to a problem or
a different problem by breaking the problem into simple
cases.
Con’t…

• Flow Chart
Flowchart is a graphical or symbolic representation
of an algorithm.
It is the diagrammatic representation of the step-by-
step solution to a given problem.
Con’t…
• Pseudo Code
Pseudo code is one of the methods that can be used to write
an initial plan that can be developed into a computer
program.
It is a generic way of describing an algorithm without the
use of any specific programming language syntax.
 Arrays And Strings
Arrays
An array is a data structure which allows a collective
name to be given to a group of elements which all have the
same type.
An individual element of an array is identified by its own
unique index (or subscript).
Con’t…
Strings
String in C++ is nothing but a sequence of character in which
the last character is the null character ‗\0‘.
The null character indicates the end of the string.
Any array of character can be converted into string type in C++
by appending this special character at the end of the array
sequence.
 What are classes and objects in C++?
CON’T…
y ou
an k
T h

You might also like