Download as pdf or txt
Download as pdf or txt
You are on page 1of 88

`

SRM INSTITUTE OF SCIENCE AND


TECHNOLOGY
Ramapuram,Chennai-600089

FACULTY OF ENGINEERING AND TECHNOLOGY


Department of Computer Science & Engineering
Academic Year (2019 – 2020)

PROGRAMMING FOR PROBLEM SOLVING


(18CSS101J)

SEMESTER- II
Name : Ashwin Nair

Reg. No : RA1911030020001

Class : B.Tech (CSE)

Year : I year

1
`

SRM INSTITUTE OF SCIENCE AND


TECHNOLOGY
Ramapuram,Chennai-600089

FACULTY OF ENGINEERING AND TECHNOLOGY


Department of Computer Science & Engineering

REG NO: R A1 9 1 1 0 3 0 0 2 0 0 0 1

BONAFIDE CERTIFICATE

Certified that this is the bonafide record of work done by Ashwin Nair of II
semester B.Tech Computer Science and Engineering during the academic year
2019 – 2020, EVEN Semester in 18CSS101J – Programming For Problem Solving

--------------------------- --------------------------------------
Staff-In charge Head of the Department

Submitted for the End Semester Practical Examination held on ___________ at


SRM Institute of Science & Technology, Ramapuram, Chennai-89.

---------------------------- -------------------------------
Examiner - 1 Examiner – 2

2
INDEX
SI.NO DATE NAME OF THE EXPERIMENT PAGE NO. SIGNATURE
1 SESSION 1: Input and Output

Display Size

Exchange of gifts

Turbo Task

Number Reversing
8-15
Sum of Series

Adding Digits

Valid Perfect Square

Interest and Amount

2 SESSION 2: Data Types

Find the Year

Float to Integer

Multiplication of Numbers

Greedy Actor
16-23
Roman Tour

Hot Summer

Polygon

Grading System

3 SESSION 3: Operators

3
BMI Index

Find Mode

Calculating SP

Chef and a Large Permutation


24-31
Average Scale

Leenas Classroom

Byte Value

Near Prime

4 SESSION 4: Control and Looping

Semester Holidays

Letters Cyclic Shifts

Gross Salary

Take a Count
32-39
Biased Chandan

Count of Positive and Negative

Binary and Decimal

Hotel Tariff Calculator

5 SESSION 5: Arrays

Symmetric Matrix

Sum Of Positive Number 40-47


Catch the Second

4
Report and Add

Ballots

Making of a cake
40-47

Sum of odd numbers

Zoo Tail

6 SESSION 6: String

Reverse String

Encryption

Count a String

Student Directory
48-55
Alphabetical Order

Remove string 1st Occurrence

Frequency of Each

String Pattern

7 SESSION 7: Functions

Array Inversion

Sum of even numbers

Turbo Sort

Apple Vendor
56-63
Random Order

Power of a Number

5
Kitchen Timetable

Recursion

8 SESSION 8: Structures and Unions

Day and Time

Payroll

Find no of character in a name

Time Difference
64-71
College Details

Students Details

EMI Calculator

Fees info

9 SESSION 9: Pointers

Subtraction of 2 numbers using Pointers

Find Odd numbers between m and n

Largest of three numbers

Add two Integers


72-79
Length of String

Sum of 6 numbers

Swapping

Remove a character

10 SESSION 10: Structure Pointers and Array of Pointers

6
Back 2 Back

Semester Holidays

Sum of even and odd numbers

Who is big and who is dwarf


80-87
No. of characters

Computing X

Magic Square

Go to Rome

7
1.1 Display Size

8
1.2 Exchange of Gifts

9
1.3 Turbo Task

10
1.4 Number Reversing

11
1.5 Sum of Series

12
1.6 Adding Digits

13
1.7 Valid Perfect Square

14
1.8 Interest and Amount

15
2.1 Find the Year

16
2.2 Float to Integer

17
2.3 Multiplication of Number

18
2.4 Greedy Actor

19
2.5 Roman Tour

20
2.6 Hot Summer

21
2.7 Polygon

22
2.8 Grading System

23
3.1 BMI Index

24
3.2 Find Mode

25
3.3 Calculating SP

26
3.4 Chef and a large Permutation

27
3.5 Average Scale

28
3.6 Leenas Classroom

29
3.7 Bytes Value

30
3.8 Near Prime

31
4.1 Semester Exams

32
4.2 Letters Cyclic Shifts

33
4.3 Gross Salary

34
4.4 Take a Count

35
4.5 Biased Chandan

36
4.6 Count of Positive and
negative

37
4.7 Binary and Decimal

38
4.8 Hotel Teriff Calculator

39
5.1 Symmetric Matrix

40
5.2 Sum of Positive Number

41
5.3 Catch the Second

42
5.4 Report and Add

43
5.5 Ballots

44
5.6 Making of a Cake

45
5.7 Sum of Odd Numbers

46
5.8 Zoo Tails

47
6.1 Reverse String

48
6.2 Encryption

49
6.3 Count a String

50
6.4 Student Directory

51
6.5 Alphabetical Order

52
6.6 Remove string 1st occurrence

53
6.7 Frequency Of Each

54
6.8 String Pattern

55
7.1 Array Inversion

56
7.2 Sum of Even Number

57
7.3 Turbo Sort

58
7.4 Apple Vendor

59
7.5 Random Order

60
7.6 Power of a Number

61
7.7 Kitchen Timetable

62
7.8 Recursion

63
8.1 Day and Time

64
8.2 Payroll

65
8.3 Find no of character in a
name

66
8.4 Time Difference

67
8.5 College Details

68
8.6 Student Details

69
8.7 EMI Calculator

70
8.8 Fees Info

71
9.1 Subtraction of 2 numbers
using pointer

72
9.2 Find Odd number between
m and n

73
9.3 Largest of three numbers

74
9.4 Add two Integers

75
9.5 Length of String

76
9.6 Sum of 6 numbers

77
9.7 Swapping

78
9.8 Remove a Character

79
10.1 Back 2 Back

80
10.2 Semester Holidays

81
10.3 Sum of Even and Odd
numbers

82
10.4 Who is Big and who is
Dwarf

83
10.5 No. of Character

84
10.6 Computing X

85
10.7 Magic Square

86
10.8 Go to Rome

87
88

You might also like