0% found this document useful (0 votes)
10 views2 pages

Ict Reviewer

Ict

Uploaded by

Em Kae
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Ict Reviewer

Ict

Uploaded by

Em Kae
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

I.C.

T 2ND QT REVIEWER Logical Operators - are often used in combination


(From Jun, 8 Jade) examples sa last page with the conditional statements to compare values.
btw pwede rako Ninyo e message if nay question regarding sa c++ thenks (zahc ( ==, !=, <, >, <=, >=)
joseph ry account nako)
Special Logical Operators - Are used when you
Pseudocode: need 2 or more condition in a certain statement (&&,
||)
 A method that allows programmers to
represent programming languages C++:
understood by a person who has little
-Is an object-oriented programming (OOP)
understanding of programming; also known
language.
as false codes.
-Viewed by many as the best language.
Do’s and Don’t’s:
-Large-scale applications.
Do: -Java is based on C++
-Proper naming convention -Used by companies such as NASA, Adobe, Google,
-Simple and concise Microsoft and Netflix.
-Used for High- performance application, Video
Don’ts:
games Device drivers, Web browsers, Servers,
-Don’t make it abstract
Operating Systems.
-Don’t make it generalized
Object-Oriented Programming (OOP)
Flowchart:
- Is a style of programming characterized by the
 A method that allows a programmer to
identification of classes of objects closely linked with
represent algorithm in a diagram or an
the methods (functions) with which they are
illustration.
associated; also includes inheritance of attributes
and methods.
 Represents the sequence of a
programming algorithm by using standard Integrated Development Environment – Editor +
graphic symbols that will represent the input, Debugging
process, and output.
Datatypes in C++
Different Symbols:
 String (sentences)
 Oval – represents start or end
 Arrows – represents connection or  Char (one letter)
relationship ex: letterA = ‘A’;
 Parallelogram – represents input or output
 Rectangle – represents process  bool (true or false)
 Diamond – indicates decision ex: is num an even number? = false;
Common Concepts of Programming n’ C++:
 Int (positive & negative numbers)
Syntax - the rules that control the structure of the ex: numberOne = 100
symbols, punctuation, and words of a programming
language.  Float (less precise decimal)
ex: decimal =1.5;
Variable - A word/ letter that serves as Temporary
storage of values depending on its datatype.
 Double (more precise decimal )
Datatype - Are types of data to be used in a ex: decimalOne = 1.5;
program.
Cin (Character Input):
Common Types of Datatypes:
-Uses “>>” to indicate characters to be stored on a
 String – text (surrounded by “”) certain variable.
 Integer – positive or negative numbers (no -“>>” Input Stream
decimals) -Syntax : cin >> x ;
 Character – single letter or symbol
Cout (Character Output):
(surrounded by ‘’)
 Boolean – true/false -Uses “<<“ to indicate characters to be displayed.
- “ << “ Output Stream
Arithmetic Operators are always present in
-Syntax : ‘Cout << “Anything you like”
programming (+, -, *, /, %self explanatory namn ni)
Arrays - A variable that contains multiple values and
Conditional Statements
navigated using an index.
-Are used so that the program itself can decide what
Index - refers to the position of a specific element
to do in a certain situation by the use of
within the array, typically starting from 0 for the first
-works by comparing a value with another value if element.
the condition is met then run this step, if not skip this
step.
Examples:
Flowchart:

Logical Operations:

Special Logical Operations:

Cin (Example)

Calculator (arrays topic) example:

You might also like