-http://lect-ayuni.forumms.net
-Register, click " JOIN " the n check e-mail, followed by clicking on the link given, test your username and password by login the forum.
Step by step to register forum:
1. type URL as given:
2. Click JOIN;
3, Click " I Agree " ;
4. Fill in the blanks with info needed as circled;
5. Next, to confirm password;
6. Next, Account Activation;
7. Login at gmail.com ;
8. Click on the link given for activation;
9. Login with the username&password;
10. Choose " FOP PART TIME " ;
11. " Users granted special access " means ADMIN/creator has not approved user as an official member;
12.Click " REPLY " to add the answer;
13. An example of an answer;
14. Finally, click " LOGOUT " ;
After we done with the registration of the forum, Ms. Ayuni started to explain briefly on the Chapter 1 & 2.
CHAPTER 1 - Programming & Problem Solving
Example of a simple question:
NOTES: !!!!!!!!
EXAMPLE:
1. Find the area of a rectangle.
area=width*height
ALGORITHM
1. Get the width of the rectangle.
2. Get the height of the rectangle.
3. Calculate the area using the formula, area equals to width multiplied by height.
4. Display the area of the rectangle.
PSEUDOCODE
1. Read the width.
2. Read the height.
3. Set the area to the width multiplied by height.
4. Print the area.
FLOWCHART
NOTES !!!!!
EXERCISE 1:
1. Find the area of a circle
area=3.14*radius*radius
ALGORITHM
1. Get the radius of the circle.
2. Calculate the area equals to 3.14 multiplied by radius by radius.
3. Display the area.
PSEUDOCODE
1. Get radius.
2. Set area=3.14*radius*radius
3. Print output.
FLOWCHART
EXERCISE 2:
Find celcius
celcius=(5/9)*(fahrenheit-32)
ALGORITHM
1. Get the fahrenheit of celcius.
2. Calculate celcius equals to five divided by nine, multiplied by fharenheit minus thirty two.
3. Display celcius.
PSEUDOCODE
1. Read fahrenheit.
2. Set celcius=(5/9)*(fahrenheit-32).
3. Print celcius.
FLOWCHART
EXERCISE 3
Find fahrenheit.
fahrenheit=(9/5)*(celcius+32).
ALGORITHM
1. Read the celcius of the fahrenheit.
2. Calculate fahreheit equals to nine divided by five, multiplied by celcius added thirty two.
3. Display fahrenheit.
PSEUDOCODE
1. Get celcius.
2. Set fahrenheit=(9/5)*(celcius+32).
3. Print fahrenheit.
FLOWCHART
THE SOFTWARE LIFE CYCLE
1. Problem definiton.
2. Algorithm design.
3. Coding.
4. Testing.
5. Maintenance & evolution of the system.
6. Obsolescence.
PROGRAMMING APPROACHES
1. Procedural programming
- structured programming;
- steps taken by program to reach the desired state;
2. STRUCTURED PROGRAMMING
- composed of simple, hierarchical program flow sructures;
- 3 flow structures - sequential, selection, repetition;
- an extension of precedural programming;
- have variables/attributes and prececdures/methods;
CHAPTER TWO - C++ BASICS
NOTES !!!!!!!!
// comment (hidden)
// or /**/ -----> // 1 coding line
-----> /**/ more than 1 coding line
!!semicolon ; = existst in the BODY structure of coding and MUST use it accordingly without FAIL!
RULES 1: Check on the FORMULA given;
RULES 2: FIND how many VARIABLES name;
RULES 3: Declare variables;
INPUT
cout<<" sentences"; cin>>variable_name_that_had_been_declared;
OUTPUT
cout<<"sentences"<< variable_name_that_had_been_declared
** BE CAREFUL with the SPELLING, capital/lower case letters !!!!!!!!!!!! **
" This week Ms. Ayuni taught us theoretically !! Next week we shall start use TURBO C++, to complete our scope in learning programming language or coding in shortword. "
ALL SMILES (",) --
ALL SMILES (",) --
nice pic akak...
ReplyDeleteoverseas ea...
xajk pun...huhuhu