SlideShare a Scribd company logo
1 of 2
Download to read offline
BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU
B.Sc.(IT) / Integrated M.Sc.(IT)
BHAVIK SARANG | UKA TARSADIA UNIVERSITY PAGE 1
Practical List: 01 Enrollment No.: Name:
Sr. No. Practical Problems
1. Write a C++ program to print “Welcome to C++” on screen.
2. Write a C++ program to display the sum of two numbers.
3. Write a C++ program to calculate Simple Interest.
4. Write a C++ program to calculate 10% Bonus of the salary.
5. The distance between two cities is input through the keyboard. Write a C++ program to
convert and display the distance in Meter, Feet, Inches and Centimeter.
6. The Length and Breadth of a Rectangle; and Radius of a circle are input through the
keyboard. Write a C++ program to calculate the area and perimeter of the rectangle; and the
area and perimeter of the circle.
7. Write a C++ program to interchange the content of variable A and B. Take two numbers as
input through keyboard into two locations A and B.
8. Write a C++ program for entering the amount and displaying the numbers of Rupees Notes.
9. A student scored 45 in CFO, 38 in DBMS, 30 in CFO, 42 in MCA and 39 in PC. Calculate
the sum of these five subject’s marks and find percentage. Maximum marks in one subject
are 100.
10. Mr. Roy is living in Canada where temperature is mapped in Fahrenheit. According to
weather report current temperature in Canada is 130 °F. Roy’s mother is living in different
region of Canada where temperature is mapped in Celsius. Convert current temperature of
Canada into Celsius.
C = (F - 32) * 5 / 9
Objective(s) To practice how to write a program in C++, it compilation process and
execution of program.
To learn how to read an input from the user and how to write a
mathematical expression in the programing form.
Pre-requisites Variables, Constants, Assignment and Arithmetic Operators,
Expressions; Input and Output Streams.
Duration for Completion 8 Hours
PEO(s) to be achieved To provide quality practical skill of tools and technologies to solve
industry problems.
PO(s) to be achieved Ability to use the techniques, skills and modern tools as necessary for
software development.
CO(s) to be achieved CO1: Describe the basic concepts of programming.
CO2: Solve problems through program development life cycle.
Solution must contain Algorithm, Flowchart, Program, Sample Calculation and Output
Nature of submission Handwritten using pen on A4 size blank papers.
References for solving the
problem
--
Semester-I
C S 3 0 18 - F un d am e n t a l s o f P r o g r a m m i n g
BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU
B.Sc.(IT) / Integrated M.Sc.(IT)
BHAVIK SARANG | UKA TARSADIA UNIVERSITY PAGE 2
Post Laboratory questions 1. What is the usage for #include<iostream>?
2. What is the use of “namespace” in C++?
3. Which one condition/form, every C++ program must fulfill?
4. What do you mean by “keywords” in programming language?
5. What is the input operator “>>” and output operator “<<” called?
6. State the purpose of “constant” by giving example.
7. List difference types of operators used in C++.
Assessment
Faculty Signature and
Date

More Related Content

Similar to CS3018 Practical List 1.pdf

Similar to CS3018 Practical List 1.pdf (20)

C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
 
Problem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to CProblem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to C
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEM
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
I PUC CS Lab_programs
I PUC CS Lab_programsI PUC CS Lab_programs
I PUC CS Lab_programs
 
Calculator 130223123821-phpapp01
Calculator 130223123821-phpapp01Calculator 130223123821-phpapp01
Calculator 130223123821-phpapp01
 
Chap-02-01.ppt
Chap-02-01.pptChap-02-01.ppt
Chap-02-01.ppt
 
Chap-02-1.ppt
Chap-02-1.pptChap-02-1.ppt
Chap-02-1.ppt
 
Chap-02-1.ppt
Chap-02-1.pptChap-02-1.ppt
Chap-02-1.ppt
 
Chap-02-1.ppt
Chap-02-1.pptChap-02-1.ppt
Chap-02-1.ppt
 
Chap-02-1.ppt
Chap-02-1.pptChap-02-1.ppt
Chap-02-1.ppt
 
Chap-02-1.ppt
Chap-02-1.pptChap-02-1.ppt
Chap-02-1.ppt
 
Chap 02-1
Chap 02-1Chap 02-1
Chap 02-1
 
C programming-1.pptx
C programming-1.pptxC programming-1.pptx
C programming-1.pptx
 
Basic of c++ programming
Basic of c++ programmingBasic of c++ programming
Basic of c++ programming
 
vtu data structures lab manual bcs304 pdf
vtu data structures lab manual bcs304 pdfvtu data structures lab manual bcs304 pdf
vtu data structures lab manual bcs304 pdf
 
Programing Fundamental
Programing FundamentalPrograming Fundamental
Programing Fundamental
 
C programming orientation
C programming orientationC programming orientation
C programming orientation
 
C language
C language C language
C language
 
UoN-Lec_12_Control_Structure.pdf
UoN-Lec_12_Control_Structure.pdfUoN-Lec_12_Control_Structure.pdf
UoN-Lec_12_Control_Structure.pdf
 

Recently uploaded

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
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
 
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
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 

Recently uploaded (20)

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
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)
 
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Ữ Â...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

CS3018 Practical List 1.pdf

  • 1. BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU B.Sc.(IT) / Integrated M.Sc.(IT) BHAVIK SARANG | UKA TARSADIA UNIVERSITY PAGE 1 Practical List: 01 Enrollment No.: Name: Sr. No. Practical Problems 1. Write a C++ program to print “Welcome to C++” on screen. 2. Write a C++ program to display the sum of two numbers. 3. Write a C++ program to calculate Simple Interest. 4. Write a C++ program to calculate 10% Bonus of the salary. 5. The distance between two cities is input through the keyboard. Write a C++ program to convert and display the distance in Meter, Feet, Inches and Centimeter. 6. The Length and Breadth of a Rectangle; and Radius of a circle are input through the keyboard. Write a C++ program to calculate the area and perimeter of the rectangle; and the area and perimeter of the circle. 7. Write a C++ program to interchange the content of variable A and B. Take two numbers as input through keyboard into two locations A and B. 8. Write a C++ program for entering the amount and displaying the numbers of Rupees Notes. 9. A student scored 45 in CFO, 38 in DBMS, 30 in CFO, 42 in MCA and 39 in PC. Calculate the sum of these five subject’s marks and find percentage. Maximum marks in one subject are 100. 10. Mr. Roy is living in Canada where temperature is mapped in Fahrenheit. According to weather report current temperature in Canada is 130 °F. Roy’s mother is living in different region of Canada where temperature is mapped in Celsius. Convert current temperature of Canada into Celsius. C = (F - 32) * 5 / 9 Objective(s) To practice how to write a program in C++, it compilation process and execution of program. To learn how to read an input from the user and how to write a mathematical expression in the programing form. Pre-requisites Variables, Constants, Assignment and Arithmetic Operators, Expressions; Input and Output Streams. Duration for Completion 8 Hours PEO(s) to be achieved To provide quality practical skill of tools and technologies to solve industry problems. PO(s) to be achieved Ability to use the techniques, skills and modern tools as necessary for software development. CO(s) to be achieved CO1: Describe the basic concepts of programming. CO2: Solve problems through program development life cycle. Solution must contain Algorithm, Flowchart, Program, Sample Calculation and Output Nature of submission Handwritten using pen on A4 size blank papers. References for solving the problem -- Semester-I C S 3 0 18 - F un d am e n t a l s o f P r o g r a m m i n g
  • 2. BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU B.Sc.(IT) / Integrated M.Sc.(IT) BHAVIK SARANG | UKA TARSADIA UNIVERSITY PAGE 2 Post Laboratory questions 1. What is the usage for #include<iostream>? 2. What is the use of “namespace” in C++? 3. Which one condition/form, every C++ program must fulfill? 4. What do you mean by “keywords” in programming language? 5. What is the input operator “>>” and output operator “<<” called? 6. State the purpose of “constant” by giving example. 7. List difference types of operators used in C++. Assessment Faculty Signature and Date