Wednesday, August 22, 2007
Computer Notes...

Hi Sumo Kids,
I sent you powerpoints through email. The first is the computer powerpoint about flowcharts. Although I copy pasted it (pls see below), it is hard to understand because the powerpoint has shapes and symbols (since it is about flowcharting) and I cannot copy paste them here. Please just check your emails, ok? The other powerpoint I attached was my report a while ago on the culture of Japan so you can see the pictures and complete your notes about it.

So, there. Hope you will understand. Thank you so so much!
Alleana (",)

~*~FLOWCHART~*~
PROGRAM LOGIC FORMULATION

*What is a Flowchart?
Flowchart is considered as the most popular tool in logic formulation.
: it represents the pictorial solution of the problem.
: it is the basic tool of programming analysis.
:charts also aid in communication, provide a valuable documentation support and contribute to a more efficient coding and program maintenance and documentation.

*Two Types of Flowchart:
System Flowchart: shows the general transformation of inputs into its output form.
Program Flowchart: shows the detailed steps/procedure of the solution of the problem.

*Example of System Flowchart:
STD-FLE: is the INPUT file - Student File.

IBM-PC: Is the PROCESSor.

PRT-FLE: is the OUTPUT file - Print File (Document)

*Data Processing Cycle:
INPUT: machine-readable form.
PROCESS: operations performed on gathered data.
OUTPUT: human-readable form.


*Problem : Make a program that will compute for the sum of three numbers

*ALGORITHM
Given: three numbers (INPUT)
A, B, C

Required: sum of three numbers (OUTPUT)
S

Solution: Sum = 1st # + 2nd # + 3rd # (PROCESS)
S = A + B + C

***Program Flowcharting Symbols:
*Terminal : Denotes the beginning and end of an algorithm.
*Parallelogram: Input or output operations.

*Process Symbol: Rectangle
Two Forms To Represent a Process:
~Macroinstruction
Eg.Add A, B, C Giving S
~Assignment Statement
eg. S = A + B + C

*Decision Symbol: Must be answerable by YES or NO or TRUE or FALSE.

*Flowlines: Use to connect all the symbols.

*Arrowheads: Show direction; being used together with flowlines.

*Preparation Symbol: Hexagon
It is being used to denote a pre-process usually an initialization.

*Small pentagon: Off - Page Connector

***CONNECTORS

On-page - Shows continuation of the program on the same page
Off-page - Interconnects the parts of the program on separate pages

*RULES IN NAMING VARIABLES:
1. It must start with an alphabetic character or an underscore (_).
2. It can contain letters, numbers and an underscore (_) for space.
3. It should not exceed 127 characters.
4. It should not contain any special character and a space.

*General Notations in Flowcharting and Programming

Mathematical
+ addition
- subtraction
* multiplication
/ division
^ exponentiation
( )grouping


Relational
= equal to
< > not equal to
< less than
> greater than
<= less than or equal to
>= greater than or equal to


*Logical Operators
1. && :Logical AND
if (ACAD >= 90) && (CNDCT > = 87)

2. | | :Logical OR
if (CNDCT= = “BP”) | | (CNDCT = = “Bp)

3. ! :Logical NOT
if (CODE ! = ‘A’)

*Structured Programming has three control structures:

1. SEQUENCE
Input-Process-Output
2. SELECTION
Input-Condition-Process-Output
3. ITERATION
Input-Loop-Process-Output



Yo

Hello there. You have reached two-four's/Sumokids's class blog. YAY. :]

WATCH
Songfest | Ito Ang Maynila video
--
credits to Moira :]
Speech choir | Earthkeeper video
--
credits to Kara :]


links

Kara [M]
Estela [M]
Ariana [M]
Erin [M]
Jamie [M]
Amy [M]
Alleana [M]
Moira [B] [M]
PL [M]
Jackie [M]
Elise [M]
Ate Mikka [M]
Alex [M]
Nikki [M]
Sunny [lj] [M]
Anapat [M]
Janel [M]
Milcielo [M]
--
CPTwoFour [YG]
Sir Velarde [B]
Stat 0708 [M]
AfroAsianArt [B]
Two-three [B]


blab!





archive

07.2007
08.2007
09.2007
10.2007
11.2007
12.2007
01.2008
02.2008
03.2008
04.2008
05.2008
06.2008
07.2008
08.2008
09.2008
10.2008
11.2008
12.2008
03.2009
04.2009


Previous posts

  • Things needed for August 23...and other reminders
  • OTHER REMINDERS :D
  • RETREAT REMINDERS :D
  • Things needed for Aug 17
  • about the directory...
  • Things Needed for August 16...and other reminders
  • things needed THIS WEEK :D
  • Homework/reminders for August 13
  • homework......and stuff :P
  • Things needed for August 9, 2007


  • etc

    This homework/ requirements / announcements blog is being maintained by two-four's Academic Committee. ♥

    Powered by Blogger

    Subscribe to
    Posts [Atom]

    Thanks.