218x Filetype PDF File size 0.73 MB Source: isc.ku.edu.kw
Kuwait University College of Life Sciences Department of Information Science Lab Manual ISC 115 Computing Foundations Prepared by Professor Mostafa Abd-El-Barr Dr. Mariam Al-Otaibi Eng. Aisha Al-Noori Revised 2018 Table of Contents Laboratory Hardware and Software/Tools Requirements ............................................................................. 3 Laboratory Schedule ..................................................................................................................................... 4 Laboratory Policy .......................................................................................................................................... 5 Laboratory Grading Policy ............................................................................................................................ 6 Introduction ................................................................................................................................................... 7 Familiarity with Lab Hardware and Software tools ...................................................................................... 7 Laboratory Tools Setup ................................................................................................................................. 8 Laboratory #1 – Introduction & Input/Output Statements ............................................................................ 9 Laboratory #2– C++ Variables, Constant & Operators .............................................................................. 13 Laboratory #3 – Control Structures I .......................................................................................................... 16 Laboratory #4 – Control Structures II ......................................................................................................... 18 Laboratory #5 – Arrays I ............................................................................................................................. 21 Laboratory #6 – Arrays II ........................................................................................................................... 24 Laboratory #7– Functions ........................................................................................................................... 26 Example: A program that converts a temperature in Celsius into Fahrenheit ..................................... 27 Scope of variables ............................................................................................................................... 28 Laboratory #8 – Applications I ................................................................................................................... 30 Laboratory #9 – Applications II .................................................................................................................. 32 Laboratory #10– Applications III ............................................................................................................... 33 Appendix A: Rules to follow by Computer Lab Users ............................................................................... 35 Appendix B: Endorsement .......................................................................................................................... 36 ISC 115 Computing Foundations Page 2 Laboratory Hardware and Software/Tools Requirements In this lab the students will be using Dev C++. ISC 115 Computing Foundations Page 3 Laboratory Schedule # Lab Title Lab activity 1 Introduction & Input/Output Statements Exercise # 1 2 Variables, Constant & Operators Exercise # 2 3 Control Structures (I) Exercise # 3 4 Control Structures (II) Exercise # 4 5 Arrays I Exercise # 5 6 Arrays II Exercise # 6 7 Functions Exercise # 7 8 Applications I: C++ Program for Simple Statistical Applications Exercise # 8 9 Applications II: C++ Program to Compute a Finite Series Exercise # 9 10 Applications III: C++ Program for Matrix Applications Exercise # 10 ISC 115 Computing Foundations Page 4
no reviews yet
Please Login to review.