Dear Students
This is to inform you all that get signed your journal Practical List: 01 and 02 by or on before 14th November 2022 by me during your lab time or in free lecture.
If any student fails to sign the journal, will not be eligible for CIE 02.
Kindly find the attached Practical Lists for the same.
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