Reaction Paper

Only available on StudyMode
  • Download(s) : 220
  • Published : September 3, 2013
Open Document
Text Preview
INFORMATION TECHNOLOGY EDUCATION DEPARTMENT

ITES103 / ITOI103
(Introduction to Programming)

MODULE
2
INTRODUCTION TO C++
LABORATORY EXERCISE 2 - 01
Compiling and Running your Program

NAME OF STUDENT___________________________________________DATE ____________

1. Write a program that will display
“Hello [your name]! Welcome to C programming” on the screen #include <iostream>
using namespace std;

void main ()
{
char name;
cout<<"hello:";
cout<<"Your name is:";
cin>>name;
cin.get();
return 0;

}

| CRITERIA| SCORE|
1| Implementation of pseudo code| 30| |
2| Identification of Input, Process, and Output requirement| 20| | 3| Correctness and appropriateness of selected solution| 40| | 4| Overall structure and design of the program source code| 10| | | TOTAL| 100| |

COMMENTS/REMARKS

Evaluated by / Date
LABORATORY EXERCISE 2 - 02
Console Output and Escape Sequences

NAME OF STUDENT___________________________________________DATE ___________

1. Write a program that will display your weekly class schedule in a listed view. Consider the following output:
Monday
7:00-8:50 ITES 103 N05 T805
#include <iostream>
using namespace std;

void main (){

cout<<"\nMonday:";
cout<<"9:00-10:50\tITEF103\tR05\tT805:";
cout<<"\nTuesday:";
cout<<"7:00-8:50\tMATI103\tW02\tT602\n9:00-10:50\tITEI103\tW01\tT609\n11:00-1:00\tNOONBREAK\n1:00-2:50\tPEDU103\tR01\tT901\n3:00-4:50\tFILI103\tR06\tT604:"; cout<<"\nWednesday:";

cout<<"3:00-4:50\tECON103\tH305\tM205\n5:00-6:50\tECON103\tH305\tM205:";
cout<<"\nThursday:";
cout<<"9:00-10:50\tITEF103\tR05\tT606:";
cout<<"\nFriday:";
cout<<"7:00-8:50\tMATI103\tW02\tT602\n9:00-10:50\tITEI103\tW01\tT601\n11:00-1:00\tNOONBREAK\n1:00-2:50\tPEDU103\tR01\tT901\n3:00-4:50\tFILI103\tR06\tT604:";
system("pause>0");
}

2. Write a program that will display your autobiography. Your autobiography should consist of not less than 200 words. 3. #include <iostream>
4. using namespace std;
5.
6. void main (){
7.
8. cout<<"My name is Jameson Timbreza\nI live in Batasan Hills Quezon City\nI was born on April 16 1995 in Memorial hospital Quezon city\nThis is the beggining of my true to life MY story\n When i was fist year in HIgh School my experience in that time was awesome and cool but it's really hard to study because i don't have any idea to how get more friends but i realized that some of student in that time they are all very kind untill\n When i was 2nd year High school i also experience how to be a good sophomore so that in this time i will not be wasting my time to read and memorize all the matter that i will do \n When i was third year High School i experience what is greater than sophomore to become a Junior student my experience is exactly awesome and very very excitement in this time i want to become a good students so that i do everything \n When i was Fourth year High School this is the moment that will waiting before to become a Senior student i am so proud in this time because i got and im going to this level so that i give everything to pass my curriculum:"; 9. }

10. Write a program that will display your first impression to your classmates, to your course professor, and to the school. It should not be less than 200 words. 11. #include <iostream>

12.
13. const double cm_to_feet = 30.48;
14. const double cm_to_inch = 2.54; // (0.39);
15.
16. int main(void)
17. {
18. cout<<"I expect to my course are very intersting and exciting because i know that i choose this course because i love programming debugging inventing and so on\n I expect to my new friends and classmates they are all kind and helpfulness because i think many of them or what we call all of them are very very exciting to be a...
tracking img