Uploaded by Robert jones

cp lab new set 2- Civil Model

advertisement
Paavai Engineering College, Namakkal – 637 018
(Autonomous)
End Semester Model Practical Examinations –May 2019
Department of Computer Science and Engineering
(Common to CSE & IT)
Sub Code / Sub Name: CS 19101– Programming in C
Sem/Year
: 01/Ist Year
Date
:
List of Experiments
1. a) Create a word document to apply the text manipulation for an advertisement. (30marks)
b) Create an Excel Sheet of student mark sheet using Bar and Pie Chart. (30marks)
c) Write a C program to find the roots of a quadratic equation, explain the logic with algorithm and
flowchart and verify and test the results for an example. (40marks)
2. a).Create a word document and apply suitable link between various pages(hyperlink). (30marks)
b).Create an excel sheet for the student details of marks obtained in a particular subject and
calculate the total, average and grade. Apply the filtering options. (30marks)
c) Write a C program to find the sum of given array elements.(40marks)
3. a) Create a MS-Word document for the following using Scientific notations. (30marks)
(i) A=a+ a31+b20 +b-41 (ii) x1y1+x(x+y)
b) Create an EXCEL Sheet to compare the product sales and generate line Chart.(30marks)
Amount
Product
c) Write a C program to implement the various arithmetic operators in c with suitable example
programs and verify the results.(40marks)
4. a) Create a table to do the following:(30marks)
(i) Insert a Column and Row
(ii)Merge two columns and three rows
(iii)Split a column into three cells.
b) Create a work sheet and insert an object or picture and apply the protection of a document.
(30marks)
c) Write a C program to find the length of given two strings and concatenate them.(40marks)
5. a)Create a table for the student details and convert the table into a text format. (30marks)
b) Create an excel sheet for employee details and find the minimum, maximum and average salary
of an employee using formulas. (30marks)
c)Write a c program to find the cube of first 10 integers. (40marks)
6. a) Create a Word document to call the candidates for an interview using mail merge. (30marks)
b) Create an EXCEL sheet for your family monthly budget and generate bar chart for monthly
comparison. (30marks)
c) Explain the syntax of switch case statements by implementing a simple arithmetic calculator.
(40marks)
7. a)create a word document to prepare a call letter to invite the students for a graduation day
function using mail merge. (30marks)
b) Create an excel sheet with consumer number, name, type(H/C),previous reading, current
reading, chargeable unit and cost per unit and calculate the total amount to be paid using
following condition. (30marks)
CU
<=100
<=100
>100
>100
CT
H
C
H
C
Cost/Unit
2
4
3
6
c) Write an algorithm and C program to find the factorial of a given number using recursive
function. (40marks)
8. a) Create a WORD document to explain the concept of structure with word art and pictures.
(30marks)
b) Create an EXCEL Sheet of student mark sheet and generate bar and pie chart for the top five
students. (30marks)
c)Write a C program to print the square of first n integers, using suitable control logic.(40marks)
9. a) Create a flowchart in WORD to find the greatest of three numbers.(30marks)
b) Create an EXCEL sheet for comparing the product sales and generate line Chart. (30marks)
c) Write a C program to illustrate conditional and relational operators, e.g., to find the greatest
of 3 numbers, explain the conditional logic with flowchart. (40marks)
10.a)create a flowchart in word to find the roots of a quadratic equation.(30marks)
b) Create an EXCEL sheet for comparing the sales percentage of five salesmen and generate
Line chart.(30marks)
c)Explain and write a c program to concatenate and compare the strings “good” and “ morning”,
find the length of the two strings.(40marks)
11. a) Create a flowchart in WORD to check the given number is a prime or not.(30marks)
b) Create an EXCEL Sheet for the student details and calculate the total average.(30marks)
Basic pay
HRA
DA
PF
<=5000
>5000<=10000
>10000
10%
20%
25%
5%
10%
15%
5%
10%
15%
Medical
allowance
3%
5%
10%
c) Write a C program to implement matrix addition of 3*3 matrices and display the results.
(40marks)
12. a) Create a student mark sheet in MS-Word using table Formatting.(30marks)
b) Create an EXCEL sheet for a pay roll and to calculate the net salary of the employees with the
following details. (30marks)
c) Write a C program to implement the difference between exit and entry controlled loop with
suitable example. (40marks)
13.a) Create a table to do the following:(30marks)
(i) Insert a Column and Row
(ii)Merge two columns and three rows
(iii)Split a column into three cells.
b) Create an EXCEL sheet for employee details and find the minimum, maximum and average
salary of an employee using formulas.(30marks)
c) Write a c program to print the square root of first 100 integers and display the results.
(40marks)
14. a) create a word document to prepare a call the candidates for an interview using mail merge.
(30marks)
b) Create an excel sheet with consumer number, name, type(H/C),previous reading, current
reading, chargeable unit and cost per unit and calculate the total amount to be paid using
following condition.(30marks)
CU
CT
Cost/Unit
<=100
H
2
<=100
C
4
>100
H
3
>100
C
6
c) Write a C program to find the difference between nested if and if else statements with your
concept. (40marks)
15. a) Create a flow chart in WORD to generate a Fibonacci series. (30marks)
b) Create an EXCEL sheet for employee details and find the minimum, maximum and average
salary of an employee using formulas and group them based on their designation. (30marks)
c) Write a c program to print first 20 even numbers and find the sum of it, explain the control and
looping statements used. (40marks)
16. a) Explain the logic to check whether the given number is odd or even and draw the flowchart
(30marks)
b) Create an EXCEL sheet for employee details and find the minimum, maximum and average
salary of an employee using formulas. (30marks)
c) Using array concepts write a c program to find the smallest of n numbers. (40marks)
17. a)Create a flowchart in WORD to find factorial of a given number(30marks)
b) Write the steps to convert the following table to text: (30marks)
CU
CT
Cost/Unit
<=100
H
2
<=100
C
4
>100
H
3
>100
C
6
c) Write a C program to implement the concept of Nested structure with suitable example
of your choice. (40marks)
18. a) Create a document on “go green” by adding shadows and 3D effects.(30marks)
b) The ABC company shows the sales of different products for 5 years. Create Bar Graph and
Pie Chart for the following data.
(30marks)
YEAR
1997
1998
1999
2000
2001
PRODUCT 1
1000
800
1200
400
1800
PRODUCT 2
800
400
80
190
200
PRODUCT 3
900
500
400
300
400
PRODUCT 4
1000
900
800
100
1200
c)Explain the array and nested loop concepts in c to illustrate the multiplication of two matrices
(40marks)
19. a) Draw the flow chart to find the sum of squares of n numbers and store the results in the
variable sum.(30marks)
b) Create an EXCEL sheet for subject marks and calculate total and average.(30marks)
c) Write a c program to print a pyramid of “ * ”. (40marks)
20. a) Draw the flowchart to generate fibanocci series, explain the algorithm. (30marks)
b) Create an Excel Sheet of student mark sheet using Bar and Pie Chart. (30marks)
c) Convert the temperature in Celsius to Fahrenheit e.g., c=34, implement a c program and test the
results.(40marks)
INTERNAL EXAMINER
EXTERNAL EXAMINER
Download