The words you are searching are inside this book. To get more targeted content, please make full-text search by clicking here.

PSPD GUIDE BOOK is written specifically for Polytechnic students who are studying Problem Solving and Program Design. The main purpose of creating and publishing this book is to introduce the guidance of the techniques in Problem Solving and Program Design. The concepts learned in this book can be applied to many real life problems which can be solved by writing the programming codes using C++ languages and also can be a useful guide for undergraduates.
This book is designed with the infographic concepts with the intention of providing the guidance not only for the students but also for the educators too. This book provides quick information and guidance for problem solving and program design concepts with various examples, activities and exercises.

Discover the best professional documents and content resources in AnyFlip Document Base.
Search
Published by Penerbit PSIS, 2023-11-20 04:01:20

GUIDE BOOK PSPD, PROBLEM SOLVING AND PROGRAM DESIGN

PSPD GUIDE BOOK is written specifically for Polytechnic students who are studying Problem Solving and Program Design. The main purpose of creating and publishing this book is to introduce the guidance of the techniques in Problem Solving and Program Design. The concepts learned in this book can be applied to many real life problems which can be solved by writing the programming codes using C++ languages and also can be a useful guide for undergraduates.
This book is designed with the infographic concepts with the intention of providing the guidance not only for the students but also for the educators too. This book provides quick information and guidance for problem solving and program design concepts with various examples, activities and exercises.

Keywords: GUIDE BOOK PSPD

Based on the programming code given below, identify the input, process and the output. QUIZ! Time Source code Input, process, output #include <iostream> using namespace std; void main ( ) { float width, height, volume, length; cout << “Please insert width in cm : ”; cin >> width; cout << “Please insert height in cm : ”; cin >> heigth; cout << “Please insert length in cm : ”; cin >> length; volume = length*width*height; cout << “volume is : ”<< volume; } 192


Based on the program code given, identify the input, process and the output. Then, construct the pseudo code and draw the flowchart. QUIZ! Time Pseudo code Flowchart 193


Based on the input, process and output below, write the source code using Visual C++ and show the result. Input : no1, no2,no3 Process : sum = no1 + no2 + no3 average = sum / 3 Output : average QUIZ! Time Source code Output 194


The following is the pseudo code to find the maximum number between two numbers given. Convert the pseudo code below to the source code using Microsoft Visual C++. Compile the source code and show the output of the source code. QUIZ! Time Pseudo code Source code Start Input number1, number2; if number1 > number2 Maxnumber = number1; else Maxnumber = number2; Print Maxnumber; End Output 195


Based on the program code given, identify the input, process and the output. Then, construct the pseudo code and draw the flow chart. QUIZ! Time Source code Input, process, output #include <iostream> using namespace std; void main ( ) { int weight, i=1, sum=0; while (i<=20) { cout << “Please key in the weight : ”; cin >> weight; sum = sum + weight; i = i + 1; } cout << “The sum of 20 weight is : “, cout << sum; } 196


Based on the program code given, identify the input, process and the output. Then, construct the pseudo code and draw the flow chart. QUIZ! Time Flowchart Pseudo code 197


Fazilat Siddiq, Ronny Scherer. (2017). Revealing the Hector. N. (2019). Programming Languages : Principles and Jerr y R. Hanl y and Elliot B. Koffman. (4th edition 2019). Kafai, Y. B., & Bur ke, Q. (2014). Connected code why Kenneth. C. L . &. Kenneth. A. L . (2020). Programming Kir s ti Ala-Mut ka. (2014). Problems in learning and 198 processes of students' interaction with a novel collaborative problem solving task: An in-depth analysis of think-aloud protocols. Computers in Human Behavior 76, pages 509-525. Practices. New York: CLANRYE International. (ISBN: 1632409054) Problem Solving and Program Design in C, India. children need to learn programming. Cambridge MA: MIT Press. Languages: Principles and Practices (Advanced Topics) 3rd Edition. Cengage Learning. (ISBN: 1111529418) teaching programming, a literature study for developing visualizations in the Codewitz-Minerva project, pp. 1 – 13.


198 M. N. Ismail, N. A. Ngah and I. N. Umar., (2010). M. Papastergiou. (2009). Digital Game-Based Learning in Siti Rahayah Ariffin. (2003). Teori, konsep & amalan Somashekara. M.T., Guru. D. S., &. Manjunatha. K. S., (2018). Walter. S. (2017). Problem Solving with C++ 10th Edition. Wan Mohammad, W.A, Mohd Mydin, A. and Ishak,S.(2015). Yew, K.H. (2018). Fundamentals of Programming. Shah Alam. Instructional strategy in the teaching of computer programming: a need assessment analyses. TOJET: The Turkish Online Journal of Educational Technology, volume 9 Issue 2, pp. 569–571. high school Computer Science education: Impact on educational effectiveness and student motivation. Comput. Educ., vol. 52, no. 1, pp. 1–12. dalam pengukuran dan penilaian. Bangi: Pusat Pembangunan Akademik UKM. Problem Solving with C (2nd Edition). India: PHI Learning. (ISBN: 9387472221) United State: Pearson. (ISBN: 0134448286) Introduction to C++ Programming. Shah Alam. Oxford University Press. Oxford University Press.


PROBLEM SOLVING AND PROGRAM DESIGN GUIDE BOOK Published by Politeknik Sultan Idris Shah Sungai Lang, 45100 Sungai Air Tawar Selangor Darul Ehsan Telephone No: 03-3280 6200 Website: www.psis.mypolycc.edu.my PSPD GUIDE BOOK: PROBLEM SOLVING AND PROGRAM DESIGN is written to provide quick information and guidance for the Polytechnic students in Problem Solving and Program Design course. This concise and comprehensive guide offers practical insights into problem solving and fundamental of programming concepts. Infused with infographic design and enriched with examples and exercises, this book serves as a valuable companion for both students and educators.


Click to View FlipBook Version