SlideShare a Scribd company logo
1 of 3
MD University CMIS 102 Week 3 Hands-On Lab
NEW
Check this A+ tutorial guideline at
http://www.uopassignments.com/cmis-102-
md-university-/cmis-102-week-3-hands-on-
lab-recent
For more classes visit
http://www.uopassignments.com/
Overview
This hands-on lab allows you to follow and
experiment with the critical steps of developing a
program including the program description,
analysis, test plan, design, pseudocode
visualization, and implementation with C code.
The example provided uses mathematical
operators and variable types. Program
Description
This program will calculate the area of a right
triangle. The program will ask the user to enter
the base and height and then use these values to
calculate and then print the area of the triangle.
The design step will include pseudocode.
Analysis
I will use sequential programming statements. I
will define two float numbers for the base and
height: base, height. Float numbers were selected
as opposed to integers to make sure triangles of all
dimensions are possible and not just whole
numbers.
Float number will store the area: area
The area will be calculated by this formula
Area = ½ * (base * height)
For example if the base was 4.2 and the height was
5.3 the area would be calculated as:
Area = ½ * (4.2 * 5.3) = ½ * (22.26) = 11.13
Test Plan
To verify this program is working properly the
following base and height values could be used for
testing:
Learning Exercises to be complete (Setting up the
code and the input parameters in ideone.com:)
1. Change the C code to calculate the perimeter of a
triangle. Support your experimentation with a
screen capture of executing the new code
2. Prepare a new test table with at least 3 distinct
test cases listing input and expected output for the
perimeter of a triangle.
3. What is this line of code doing?
1 scanf("%f", &height);
4. How would you change this line if you wanted to
input an Integer as opposed to a float?
5. What are the values of f and g after executing the
following C?

More Related Content

What's hot

c++ Question
c++  Questionc++  Question
c++ QuestionHamza4467
 
Exercise6 ch2
Exercise6 ch2Exercise6 ch2
Exercise6 ch2IIUM
 
Calc. Practice 3 (1º ESO)
Calc. Practice 3 (1º ESO)Calc. Practice 3 (1º ESO)
Calc. Practice 3 (1º ESO)jesmope
 
2D & 3D Modelling with Mathematica
2D & 3D Modelling with Mathematica2D & 3D Modelling with Mathematica
2D & 3D Modelling with MathematicaMiles Ford
 
C programming session 03
C programming session 03C programming session 03
C programming session 03Dushmanta Nath
 
More on Data Types (Exponential and Scientific Notations)
More on Data Types (Exponential and Scientific Notations)More on Data Types (Exponential and Scientific Notations)
More on Data Types (Exponential and Scientific Notations)Nicole Ynne Estabillo
 
Calc. Practice 2 (1º ESO)
Calc. Practice 2 (1º ESO)Calc. Practice 2 (1º ESO)
Calc. Practice 2 (1º ESO)jesmope
 
IS 139 Assignment 2
IS 139 Assignment 2IS 139 Assignment 2
IS 139 Assignment 2wajanga
 
Dti2143 lab sheet 4
Dti2143 lab sheet 4Dti2143 lab sheet 4
Dti2143 lab sheet 4alish sha
 
AP Calculus February 17, 2009
AP Calculus February 17, 2009AP Calculus February 17, 2009
AP Calculus February 17, 2009Darren Kuropatwa
 
Ge6161 lab manual
Ge6161 lab manualGe6161 lab manual
Ge6161 lab manualMani Kandan
 

What's hot (20)

c++ Question
c++  Questionc++  Question
c++ Question
 
Impact of error
Impact of errorImpact of error
Impact of error
 
Exercise6 ch2
Exercise6 ch2Exercise6 ch2
Exercise6 ch2
 
Calc. Practice 3 (1º ESO)
Calc. Practice 3 (1º ESO)Calc. Practice 3 (1º ESO)
Calc. Practice 3 (1º ESO)
 
Introduction to programming (week 1)
Introduction to programming (week 1)Introduction to programming (week 1)
Introduction to programming (week 1)
 
2D & 3D Modelling with Mathematica
2D & 3D Modelling with Mathematica2D & 3D Modelling with Mathematica
2D & 3D Modelling with Mathematica
 
C programming session 03
C programming session 03C programming session 03
C programming session 03
 
More on Data Types (Exponential and Scientific Notations)
More on Data Types (Exponential and Scientific Notations)More on Data Types (Exponential and Scientific Notations)
More on Data Types (Exponential and Scientific Notations)
 
Programming qns
Programming qnsProgramming qns
Programming qns
 
Calc. Practice 2 (1º ESO)
Calc. Practice 2 (1º ESO)Calc. Practice 2 (1º ESO)
Calc. Practice 2 (1º ESO)
 
For ICT - PPT
For ICT - PPTFor ICT - PPT
For ICT - PPT
 
Grade 9 COMPUTER
Grade 9 COMPUTERGrade 9 COMPUTER
Grade 9 COMPUTER
 
C activities
C activitiesC activities
C activities
 
IS 139 Assignment 2
IS 139 Assignment 2IS 139 Assignment 2
IS 139 Assignment 2
 
Dti2143 lab sheet 4
Dti2143 lab sheet 4Dti2143 lab sheet 4
Dti2143 lab sheet 4
 
Scalable machine learning
Scalable machine learningScalable machine learning
Scalable machine learning
 
Pa1 flow chart
Pa1 flow chartPa1 flow chart
Pa1 flow chart
 
AP Calculus February 17, 2009
AP Calculus February 17, 2009AP Calculus February 17, 2009
AP Calculus February 17, 2009
 
Pcd201516
Pcd201516Pcd201516
Pcd201516
 
Ge6161 lab manual
Ge6161 lab manualGe6161 lab manual
Ge6161 lab manual
 

Similar to Md university cmis 102 week 3 hands

Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newLast7693
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newscottbrownnn
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab neweyavagal
 
Cmis 102 Effective Communication / snaptutorial.com
Cmis 102  Effective Communication / snaptutorial.comCmis 102  Effective Communication / snaptutorial.com
Cmis 102 Effective Communication / snaptutorial.comHarrisGeorg12
 
Cmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comCmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comWilliamsTaylorza48
 
Cmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comCmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comStephenson22
 
Important C program of Balagurusamy Book
Important C program of Balagurusamy BookImportant C program of Balagurusamy Book
Important C program of Balagurusamy BookAbir Hossain
 
Md university cmis 102 week 5 hands
Md university cmis 102 week 5 handsMd university cmis 102 week 5 hands
Md university cmis 102 week 5 handseyavagal
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docxrosemarybdodson23141
 
Chapter 8Exercise1.Design an application that accept.docx
Chapter 8Exercise1.Design an application that accept.docxChapter 8Exercise1.Design an application that accept.docx
Chapter 8Exercise1.Design an application that accept.docxtiffanyd4
 
Unit3 overview of_c_programming
Unit3 overview of_c_programmingUnit3 overview of_c_programming
Unit3 overview of_c_programmingCapuchino HuiNing
 
UNIT-1 notes(Data Types – Variables – Operations – Expressions and Statements...
UNIT-1 notes(Data Types – Variables – Operations – Expressions and Statements...UNIT-1 notes(Data Types – Variables – Operations – Expressions and Statements...
UNIT-1 notes(Data Types – Variables – Operations – Expressions and Statements...RSathyaPriyaCSEKIOT
 
Scientific calculator project in c language
Scientific calculator project in c languageScientific calculator project in c language
Scientific calculator project in c languageAMIT KUMAR
 
Bottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docxBottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docxAASTHA76
 
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Alpro
 

Similar to Md university cmis 102 week 3 hands (20)

Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
 
Cmis 102 Effective Communication / snaptutorial.com
Cmis 102  Effective Communication / snaptutorial.comCmis 102  Effective Communication / snaptutorial.com
Cmis 102 Effective Communication / snaptutorial.com
 
Cmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comCmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.com
 
Cmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comCmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.com
 
Important C program of Balagurusamy Book
Important C program of Balagurusamy BookImportant C program of Balagurusamy Book
Important C program of Balagurusamy Book
 
Md university cmis 102 week 5 hands
Md university cmis 102 week 5 handsMd university cmis 102 week 5 hands
Md university cmis 102 week 5 hands
 
white box testing.ppt
white box testing.pptwhite box testing.ppt
white box testing.ppt
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docx
 
Chapter 8Exercise1.Design an application that accept.docx
Chapter 8Exercise1.Design an application that accept.docxChapter 8Exercise1.Design an application that accept.docx
Chapter 8Exercise1.Design an application that accept.docx
 
c++ referesher 1.pdf
c++ referesher 1.pdfc++ referesher 1.pdf
c++ referesher 1.pdf
 
LMmanual.pdf
LMmanual.pdfLMmanual.pdf
LMmanual.pdf
 
Unit3 overview of_c_programming
Unit3 overview of_c_programmingUnit3 overview of_c_programming
Unit3 overview of_c_programming
 
UNIT-1 notes(Data Types – Variables – Operations – Expressions and Statements...
UNIT-1 notes(Data Types – Variables – Operations – Expressions and Statements...UNIT-1 notes(Data Types – Variables – Operations – Expressions and Statements...
UNIT-1 notes(Data Types – Variables – Operations – Expressions and Statements...
 
Scientific calculator project in c language
Scientific calculator project in c languageScientific calculator project in c language
Scientific calculator project in c language
 
Mmt 001
Mmt 001Mmt 001
Mmt 001
 
Problem solving and design
Problem solving and designProblem solving and design
Problem solving and design
 
Bottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docxBottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docx
 
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
 

More from eyavagal

Hcr 230 week 3 check point working with medicaid
Hcr 230 week 3 check point working with medicaidHcr 230 week 3 check point working with medicaid
Hcr 230 week 3 check point working with medicaideyavagal
 
Hcr 230 complete class
Hcr 230 complete classHcr 230 complete class
Hcr 230 complete classeyavagal
 
Hcr 220 complete class
Hcr 220 complete classHcr 220 complete class
Hcr 220 complete classeyavagal
 
Uop mpa 573 week 5 city council advisement part iii recent
Uop mpa 573 week 5 city council advisement part iii recentUop mpa 573 week 5 city council advisement part iii recent
Uop mpa 573 week 5 city council advisement part iii recenteyavagal
 
Uop mpa 573 week 2 policy presentation (forecasting) recent
Uop mpa 573 week 2 policy presentation (forecasting) recentUop mpa 573 week 2 policy presentation (forecasting) recent
Uop mpa 573 week 2 policy presentation (forecasting) recenteyavagal
 
Mktg 522 week 8 final exam guide
Mktg 522 week 8 final exam guideMktg 522 week 8 final exam guide
Mktg 522 week 8 final exam guideeyavagal
 
Strayer mis 535 week 6 course project proposal paper
Strayer mis 535 week 6 course project proposal paperStrayer mis 535 week 6 course project proposal paper
Strayer mis 535 week 6 course project proposal papereyavagal
 
Strayer mis 535 week 6 course project proposal
Strayer mis 535 week 6 course project proposalStrayer mis 535 week 6 course project proposal
Strayer mis 535 week 6 course project proposaleyavagal
 
Strayer mis 535 week 6 course project proposal paper (certify for employees)
Strayer mis 535 week 6 course project proposal paper (certify for employees)Strayer mis 535 week 6 course project proposal paper (certify for employees)
Strayer mis 535 week 6 course project proposal paper (certify for employees)eyavagal
 
Ash ece 405 week 3 assignment 1 e
Ash ece 405 week 3 assignment 1 eAsh ece 405 week 3 assignment 1 e
Ash ece 405 week 3 assignment 1 eeyavagal
 
Ash ece 353 week 5 discussions 1 cognitive development and learning new
Ash ece 353 week 5 discussions 1 cognitive development and learning newAsh ece 353 week 5 discussions 1 cognitive development and learning new
Ash ece 353 week 5 discussions 1 cognitive development and learning neweyavagal
 
Ash ece 353 week 4 discussions 2 relationships between cognitive
Ash ece 353 week 4 discussions 2 relationships between cognitiveAsh ece 353 week 4 discussions 2 relationships between cognitive
Ash ece 353 week 4 discussions 2 relationships between cognitiveeyavagal
 
Msu ece 345 week 5 final paper new
Msu ece 345 week 5 final paper newMsu ece 345 week 5 final paper new
Msu ece 345 week 5 final paper neweyavagal
 
Ese 633 week 5 dq 1 discussion on co teaching
Ese 633 week 5 dq 1 discussion on co teachingEse 633 week 5 dq 1 discussion on co teaching
Ese 633 week 5 dq 1 discussion on co teachingeyavagal
 
Ese 633 week 5 assignment collaborative problem solving
Ese 633 week 5 assignment collaborative problem solvingEse 633 week 5 assignment collaborative problem solving
Ese 633 week 5 assignment collaborative problem solvingeyavagal
 
Ese 633 week 4 dq 1 transition planning
Ese 633 week 4 dq 1 transition planningEse 633 week 4 dq 1 transition planning
Ese 633 week 4 dq 1 transition planningeyavagal
 
Ese 633 week 4 assignment helping parents promote independence
Ese 633 week 4 assignment helping parents promote independenceEse 633 week 4 assignment helping parents promote independence
Ese 633 week 4 assignment helping parents promote independenceeyavagal
 
Ese 633 week 3 dq 2 collaborative consultation model
Ese 633 week 3 dq 2 collaborative consultation modelEse 633 week 3 dq 2 collaborative consultation model
Ese 633 week 3 dq 2 collaborative consultation modeleyavagal
 
Ese 633 week 2 assignment developing curriculum design
Ese 633 week 2 assignment developing curriculum designEse 633 week 2 assignment developing curriculum design
Ese 633 week 2 assignment developing curriculum designeyavagal
 
Ese 633 week 1 assignment assessing conflict styles
Ese 633 week 1 assignment assessing conflict stylesEse 633 week 1 assignment assessing conflict styles
Ese 633 week 1 assignment assessing conflict styleseyavagal
 

More from eyavagal (20)

Hcr 230 week 3 check point working with medicaid
Hcr 230 week 3 check point working with medicaidHcr 230 week 3 check point working with medicaid
Hcr 230 week 3 check point working with medicaid
 
Hcr 230 complete class
Hcr 230 complete classHcr 230 complete class
Hcr 230 complete class
 
Hcr 220 complete class
Hcr 220 complete classHcr 220 complete class
Hcr 220 complete class
 
Uop mpa 573 week 5 city council advisement part iii recent
Uop mpa 573 week 5 city council advisement part iii recentUop mpa 573 week 5 city council advisement part iii recent
Uop mpa 573 week 5 city council advisement part iii recent
 
Uop mpa 573 week 2 policy presentation (forecasting) recent
Uop mpa 573 week 2 policy presentation (forecasting) recentUop mpa 573 week 2 policy presentation (forecasting) recent
Uop mpa 573 week 2 policy presentation (forecasting) recent
 
Mktg 522 week 8 final exam guide
Mktg 522 week 8 final exam guideMktg 522 week 8 final exam guide
Mktg 522 week 8 final exam guide
 
Strayer mis 535 week 6 course project proposal paper
Strayer mis 535 week 6 course project proposal paperStrayer mis 535 week 6 course project proposal paper
Strayer mis 535 week 6 course project proposal paper
 
Strayer mis 535 week 6 course project proposal
Strayer mis 535 week 6 course project proposalStrayer mis 535 week 6 course project proposal
Strayer mis 535 week 6 course project proposal
 
Strayer mis 535 week 6 course project proposal paper (certify for employees)
Strayer mis 535 week 6 course project proposal paper (certify for employees)Strayer mis 535 week 6 course project proposal paper (certify for employees)
Strayer mis 535 week 6 course project proposal paper (certify for employees)
 
Ash ece 405 week 3 assignment 1 e
Ash ece 405 week 3 assignment 1 eAsh ece 405 week 3 assignment 1 e
Ash ece 405 week 3 assignment 1 e
 
Ash ece 353 week 5 discussions 1 cognitive development and learning new
Ash ece 353 week 5 discussions 1 cognitive development and learning newAsh ece 353 week 5 discussions 1 cognitive development and learning new
Ash ece 353 week 5 discussions 1 cognitive development and learning new
 
Ash ece 353 week 4 discussions 2 relationships between cognitive
Ash ece 353 week 4 discussions 2 relationships between cognitiveAsh ece 353 week 4 discussions 2 relationships between cognitive
Ash ece 353 week 4 discussions 2 relationships between cognitive
 
Msu ece 345 week 5 final paper new
Msu ece 345 week 5 final paper newMsu ece 345 week 5 final paper new
Msu ece 345 week 5 final paper new
 
Ese 633 week 5 dq 1 discussion on co teaching
Ese 633 week 5 dq 1 discussion on co teachingEse 633 week 5 dq 1 discussion on co teaching
Ese 633 week 5 dq 1 discussion on co teaching
 
Ese 633 week 5 assignment collaborative problem solving
Ese 633 week 5 assignment collaborative problem solvingEse 633 week 5 assignment collaborative problem solving
Ese 633 week 5 assignment collaborative problem solving
 
Ese 633 week 4 dq 1 transition planning
Ese 633 week 4 dq 1 transition planningEse 633 week 4 dq 1 transition planning
Ese 633 week 4 dq 1 transition planning
 
Ese 633 week 4 assignment helping parents promote independence
Ese 633 week 4 assignment helping parents promote independenceEse 633 week 4 assignment helping parents promote independence
Ese 633 week 4 assignment helping parents promote independence
 
Ese 633 week 3 dq 2 collaborative consultation model
Ese 633 week 3 dq 2 collaborative consultation modelEse 633 week 3 dq 2 collaborative consultation model
Ese 633 week 3 dq 2 collaborative consultation model
 
Ese 633 week 2 assignment developing curriculum design
Ese 633 week 2 assignment developing curriculum designEse 633 week 2 assignment developing curriculum design
Ese 633 week 2 assignment developing curriculum design
 
Ese 633 week 1 assignment assessing conflict styles
Ese 633 week 1 assignment assessing conflict stylesEse 633 week 1 assignment assessing conflict styles
Ese 633 week 1 assignment assessing conflict styles
 

Recently uploaded

dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesSHIVANANDaRV
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of PlayPooky Knightsmith
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 

Recently uploaded (20)

dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 

Md university cmis 102 week 3 hands

  • 1. MD University CMIS 102 Week 3 Hands-On Lab NEW Check this A+ tutorial guideline at http://www.uopassignments.com/cmis-102- md-university-/cmis-102-week-3-hands-on- lab-recent For more classes visit http://www.uopassignments.com/ Overview This hands-on lab allows you to follow and experiment with the critical steps of developing a program including the program description, analysis, test plan, design, pseudocode visualization, and implementation with C code. The example provided uses mathematical operators and variable types. Program Description
  • 2. This program will calculate the area of a right triangle. The program will ask the user to enter the base and height and then use these values to calculate and then print the area of the triangle. The design step will include pseudocode. Analysis I will use sequential programming statements. I will define two float numbers for the base and height: base, height. Float numbers were selected as opposed to integers to make sure triangles of all dimensions are possible and not just whole numbers. Float number will store the area: area The area will be calculated by this formula Area = ½ * (base * height) For example if the base was 4.2 and the height was 5.3 the area would be calculated as: Area = ½ * (4.2 * 5.3) = ½ * (22.26) = 11.13 Test Plan
  • 3. To verify this program is working properly the following base and height values could be used for testing: Learning Exercises to be complete (Setting up the code and the input parameters in ideone.com:) 1. Change the C code to calculate the perimeter of a triangle. Support your experimentation with a screen capture of executing the new code 2. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the perimeter of a triangle. 3. What is this line of code doing? 1 scanf("%f", &height); 4. How would you change this line if you wanted to input an Integer as opposed to a float? 5. What are the values of f and g after executing the following C?