Professional Documents
Culture Documents
TABLE OF CONTENTS
EXPECTED DATE TO
S.NO. NAME OF THE EXERCISE DATE
COMPLETE
12 PRACTICES ON 2 D ARRAY
29/10/2018 5/11/2018
13 PRACTICES ON STRING
5/11/2018 12/11/2018
14 PRACTICES ON FILES
12/11/2018 19/11/2018
15 PRACTICES ON STRUCTURES AND
UNIONS 19/11/2018 26/11/2018
A.S.B.PRIYA TF/RCC 1
GE7161 COMPUTER PRACTICES LABORATORY
27/8/2018
AIM:
PROCEDURE :
RESULT:
A.S.B.PRIYA TF/RCC 2
GE7161 COMPUTER PRACTICES LABORATORY
3/9/18
AIM:
To practice MS Word in details.
PROCEDURE:
You are supposed to create a word processing file using MS Word 2007,
according to the instructions given below.
1. Open a new MS Word file and type the following text given in the box below.
Academy award
The Academy Awards, informally known as The Oscars®, are a set of awards given annually
for excellence of cinematic achievements. The Oscar statuette is officially named the Academy
Award of Merit andis one of nine types of Academy Awards. The Academy Awards ceremany
is also the oldest award ceremony in the media; its equivalents, the Grammy Awards (for
music), Emmy Awards (for television), and Tony Awards (for theatre) are modeled after the
Academy.
Current special categories
Academy Honorary Award: since 1929
Academy Scientific and Technical Award: since 1931
Gordon E. Sawyer Award: since 1981
A.S.B.PRIYA TF/RCC 3
GE7161 COMPUTER PRACTICES LABORATORY
11. At the end of the bulleted list create the table shown below.
ceremony date best picture winner venue
st th
1 Academy Award 16 May 1929 Wings Hollywood
Roosevelt Hotel
2nd Academy Award 3rd April 1930 The Broadway Ambassador Hotel
Melody
12. Enter “Award Ceremonies” text as the heading of the table and format it to get the following output
using a Wordart. (Font: Arial Black, Font size: 16, Align: Center)
13. Insert a new row just below the last row of the table and enter the following information into the new
row:
> ceremony: 84th Academy Award >date: 24th February 2012
>best picture winner: The Artist >venue: Dolby Theatre
14. Insert another row just above the last row of the table and merge all the cells in that row.
A.S.B.PRIYA TF/RCC 4
GE7161 COMPUTER PRACTICES LABORATORY
19. Insert the W01 image given in the "Resources" directory, to the right hand side of the bulleted list of
the document.
OUTPUT:
RESULT:
A.S.B.PRIYA TF/RCC 5
GE7161 COMPUTER PRACTICES LABORATORY
3/9/2018
AIM:
PROCEDURE :
1) CONDITIONAL FORMATTING
2) INCREASE \ DECREASE DECIMAL FORMATTING (ROUND OFF )
3) TABLE FORMAT
4) CELL STYLE
5) SORT & FILTER
6) RENAME THE SHEET
7) INSERT ALL TYPE OF CHART (Chart Title, Axis Values, Data label values, Legend
values)
8) TEXT TO COLUMNS
9) SORTING (ASCENDING / DESCENDING ORDER)
10) REMOVE DUPLICATES
11) DATA VALIDATION
12) BACKGROUND
13) OUTLINE (GROUP/UNGROUP/SUBTOTAL)
14) FORMULAS:
SUM,MINUS,AVG,ROUNDOFF,VLOOKUP, MINIMUM,
MAXIMUM,MEAN,STANDARD DEVIATION
15) USING IF CONDITION :
TO FIND OUT PASS/FAIL.
TO FIND GRADE.
RESULT:
A.S.B.PRIYA TF/RCC 6
GE7161 COMPUTER PRACTICES LABORATORY
AIM:
To practise MS Excel in details.
PROCEDURE:
You are supposed to create a spreadsheet using MS Excel 2007, by following the
instructions given below.
Figure 1.1
1. Create a blank workbook in MS Excel 2007 and save it as "<Your Reg no>_E01".
2. Create a table with 7 rows and 9 columns in the cell range A3:I9, as shown in Figure 1.1.
You have to bold and center the heading of each column.
3. Insert a title "Anna University" and a sub title "Mark sheet for Batch - K ", by centering it
with the table, making the text bold, and changing the font size 16 for main title and 14
for subtitle.
4. Enter the data given under the columns, "Index No", "Name", "Physics", "Chemistry", "Computer
Techniques " and "English".
5. Use the relevant formula to calculate the total marks and average marks of 'Liyanage' (Index No.-
1001) and copy the formula to the relevant cells.
6. Format the "Average" column with two decimal places.
7. Use the relevant formula to find the rank of ‘Livanage’
A.S.B.PRIYA TF/RCC 7
GE7161 COMPUTER PRACTICES LABORATORY
(Index No.- 1001) and copy the formula to the relevant cells.
8. Use conditional formatting to change the color of the cells of which the average mark is more
than 60, in to green
9. Select the columns, "Index No", "Physics", "Chemistry", "Computing Techniques", and
"English" column and draw a column chart as shown below
10. Insert the title, " Anna University ", and the sub title, "Mark sheet for Batch - K" to the top of
the chart.
11. Set the X axis labels with the index numbers.
12. Label the X axis title as, "Index No" and Y axis title as, "Marks".
13Label the legends for 4 subjects, "Physics", "Chemistry", " Computing Techniques " and
"English".
14. Insert your index number in the center of the footer.
15. Make sure to get a graph similar to the one given below.
OUTPUT:
RESULT:
A.S.B.PRIYA TF/RCC 8
GE7161 COMPUTER PRACTICES LABORATORY
AIM:
TO STUDY ABOUT FUNDAMENTALS OF C PROGRAMMING.
PROCEDURE:
1) DEFINE PROGRAM
4) FEATURES OF C
6) DEFINE VARIABLE
FILES:
A) STDIO.H
B) CONIO.H
C) TYPE.H
D) MATH.H
E) STRING.H
F) CTYPE.H
A.S.B.PRIYA TF/RCC 9
GE7161 COMPUTER PRACTICES LABORATORY
FORMATTED I/O
UNFORMATTED I/O
19) LIST OUT ALL THE FORMATTED I/P WITH SY. & EX.
20) LIST OUT ALL THE FORMATTED O/P WITH SY. & EX.
22) LIST OUT ALL THE UNFORMATTED I/P WITH SY. & EX.
23) LIST OUT ALL THE UNFORMATTED O/P WITH SY. & EX.
A.S.B.PRIYA TF/RCC 10
GE7161 COMPUTER PRACTICES LABORATORY
RESULT:
A.S.B.PRIYA TF/RCC 11
GE7161 COMPUTER PRACTICES LABORATORY
EX NO : 6 PRACTICES ON C FUNDAMENTALS
AIM:
TO WRITE THE C PROGRAM WITH ALGORITHM, PSEUDOCODE AND
FLOWCHART FOR THE FOLLOWING QUESTIONS.
QUESTIONS:
SEQUENCE STATEMENT
1) TO PRINT A PROVERB.
2) TO PRINT 3 PROVERB IN SINGLE LINE USING SINGLE PRINTF.
3) TO PRINT 3 PROVERB IN SEPARATE LINE USING SINGLE PRINTF.
4) TO PRINT 3 PROVERB IN SINGLE LINE USING MULTIPLE PRINTF.
5) TO PRINT 3 PROVERB IN SEPERATE LINE USING MULTIPLE PRINTF.
6) TO PRINT 3 PROVERB IN SEPARATE LINE WITH FOLLOWING TAB(\t,\t\t,\t\t\t)
7) WRITE A C PROGRAM WITH THE FOLLOWING CONDITION:
i) DECLARE 2 INTEGER, CHARACTER & 3 FLOAT VARIABLE.
ii) ASSIGN THE VALUES TO 1 INTEGER & 1 CHARATER ,2
FLOAT VARIABLE.
iii) GET USER I/P FROM REMAINING VARIABLES.
iv) DISPLAY THE VALUES OF THE VARIABLE IN SEPARATE
LINES USING SINGLE PRINTF().
8) WRITE A C PROGRAM TO PERFORM ALL THE ARITHMETIC OPERATIONS:
1) ADDITION
2) SUBTRACTION
3) MULTIPLICATION
4) DIVISION
5) MODULOS
9) WRITE A C PROGRAM TO FIND AREA OF CIRCLE AND AREA OF
RECTANGLE.
10) WRITE A C PROGRAM FOR CALCULATING SIMPLE INTEREST(S=(P*N*R)/100).
11) WRITE A C PROGRAM TO PERFORM SWAPPING USING TEMPERORY
VARIABLE.
12) WRITE A C PROGRAM TO PERFORM SWAPPING WITHOUT USING
TEMPERORY VARIABLE.
13) WRITE A C PROGRAM TO CONVERT CELSIUS INTO FARENHEIT AND VICE
VERSA.
Fahrenheit = Celsius * 1.8 + 32.
A.S.B.PRIYA TF/RCC 12
GE7161 COMPUTER PRACTICES LABORATORY
SELECTION STATEMENT
ASSIGNMENT OPERATOR( == )
15) WRITE A C PROGRAM TO FIND WHETHER THE GIVEN VALUE IS POSITIVE
OR NEGATIVE.
16) WRITE A C PROGRAM TO FIND WHETHER THE GIVEN VALUE IS ZERO OR
ANYTHING ELSE.
17) WRITE A C PROGRAM TO FIND WHETHER THE VALUE IS 50 OR NOT.(GET I/P
FROM USER WHILE EXECUTING)
LOGICAL OPERATOR(&&,!!)
20) WRITE A C PROGRAM TO FIND WHETHER THE VALUE IS VOWEL OR NOT.
21) WRITE A C PROGRAM TO FIND WHETHER THE VALUE IS VOWEL OR
CONSONANT.
22) WRITE A C PROGRAM TO FIND WHETHER THE YEAR IS LEAP YEAR OR NOT.
A.S.B.PRIYA TF/RCC 13
GE7161 COMPUTER PRACTICES LABORATORY
3) FIND POSITIVE/NEGATIVE.
28) Write a program to calculate the electricity bill using if else statement.
If a unit consumed is below 100, cost per unit is Rs. 2.50.
If unit consumed is between 100 to 250 cost per unit is Rs. 4.00.
If unit consumed is above 250 cost per unit is Rs 5.00
29) Write a program to calculate the grade of the student, Scan 3 assessment marks and
calculate Total, Average.
If Average is equal to and above 90, grade is “S”.
If Average is between 80 and 89, grade is “A”(inclusive of both limits).
If Average is between 70 and 79, grade is “B” (inclusive of both limits).
If Average is between 60 and 69, grade is “C” (inclusive of both limits).
If Average is between 55 and 59, grade is “D” (inclusive of both limits).
If Average is between 50 and 54, grade is “E” (inclusive of both limits).
If Average is below 50, then the grade is “U”.
30) Write a program to calculate Gross pay and Net pay based on the following condition.
If Basic Pay is > =15000 then HRA is 20% of Basic Pay
---- Dearness Pay = 30% of Basic Pay.
Dearness Allowance = 23.88% of (Basic Pay + Dearness Pay).
CCA = 700, MA = 500, GPF = 25% 0f (Basic Pay + Dearness Pay).
FBF = 18.38% of (Basic Pay + Dearness Pay), IT = 1000.
If Basic Pay is < 15000 then HRA is 15% of Basic Pay
Dearness Pay = 20% of Basic Pay.
Dearness Allowance = 18.33% of (Basic Pay + Dearness Pay).
CCA = 500, MA = 300, GPF = 20% 0f (Basic Pay + Dearness Pay).
FBF =12.22% of (Basic Pay + Dearness Pay), IT = 700.
Gross Pay = Basic Pay + Dearness Pay + Dearness Allowance + HRA + CCA + MA.
Deductions = GPF + FBF + IT.
Net Pay = Gross Pay – Deductions.
RESULT:
THUS THE ABOVE C PROGRAMS HAS BEEN WRITTEN, EXECUTED AND
VERIFIED SUCCESFULLY.
A.S.B.PRIYA TF/RCC 14
GE7161 COMPUTER PRACTICES LABORATORY
AIM:
SAME AS EX:6
QUESTIONS:
RESULT:
SAME AS EX:6
A.S.B.PRIYA TF/RCC 15
GE7161 COMPUTER PRACTICES LABORATORY
AIM:
SAME AS EX:6
QUESTIONS:
% %
% % %
% % % %
% % % % %
2.
& & & & &
& &
&
3. FGDH
$ $
$ $ $
$ $ $ $
$ $ $ $ $
A.S.B.PRIYA TF/RCC 16
GE7161 COMPUTER PRACTICES LABORATORY
4. DGHDGH
# # # # #
# # # #
# # #
# #
5. DG
*
* * *
* * * * *
* * * * * * *
* * * * *
* * *
6.
I I I I I
I I I I I
A.S.B.PRIYA TF/RCC 17
GE7161 COMPUTER PRACTICES LABORATORY
7.
H H
H H
H H H H H
H H
H H
8.
T T T T T
9.
E E E E E
E E E E E
E E E E E
10.
X X
X X
X X
X X
X X
X X
A.S.B.PRIYA TF/RCC 18
GE7161 COMPUTER PRACTICES LABORATORY
11.
A
a B
A b C
a B c D
A b C d E
RESULT:
SAME AS EX:6
A.S.B.PRIYA TF/RCC 19
GE7161 COMPUTER PRACTICES LABORATORY
8/10/18
AIM:
SAME AS EX:6
QUESTIONS:
RESULT:
SAME AS EX:6
A.S.B.PRIYA TF/RCC 20
GE7161 COMPUTER PRACTICES LABORATORY
15/10/18
AIM:
TO STUDY ABOUT BASICS OF ARRAYS.
QUESTIONS:
ARRAY NAME
MAX. SIZE
INDEX NO.
POSITION NO.
RANGE.
BASE ADDRESS
POINTER
4) TYPES OF ARRAY
5) SYN. FOR ARRAY DECLARATION
6) EX. FOR ARRAY DECLARATION FOR ALL DT
7) SYN. FOR ARRAY INITIALIZATION
8) EX. FOR ARRAY INITIALIZATION FOR ALL DT WITH MEMORY STORAGE
9) SYN. FOR PRINTING THE STATIC VALUES USING ARRAYS.
10) SYN. FOR GETTING I/P FROM USER AND THEN PRINT THE ARRAY
VALUES.
RESULT:
THUS THE BASICS OF ARRAYS HAS BEEN STUDIED.
A.S.B.PRIYA TF/RCC 21
GE7161 COMPUTER PRACTICES LABORATORY
22/10/18
AIM:
SAME AS EX:6
QUESTIONS:
RESULT:
SAME AS EX:6
A.S.B.PRIYA TF/RCC 22
GE7161 COMPUTER PRACTICES LABORATORY
29/10/18
AIM:
SAME AS EX:6
QUESTIONS:
RESULT:
SAME AS EX:6
A.S.B.PRIYA TF/RCC 23
GE7161 COMPUTER PRACTICES LABORATORY
5/11/18
AIM:
SAME AS EX:6
QUESTIONS:
A.S.B.PRIYA TF/RCC 24
GE7161 COMPUTER PRACTICES LABORATORY
RESULT:
SAME AS EX:6
A.S.B.PRIYA TF/RCC 25
GE7161 COMPUTER PRACTICES LABORATORY
12/11/18
AIM:
SAME AS EX:6
QUESTIONS:
RESULT:
SAME AS EX:6
A.S.B.PRIYA TF/RCC 26
GE7161 COMPUTER PRACTICES LABORATORY
19/11/18
AIM:
SAME AS EX:6
QUESTIONS:
RESULT:
SAME AS EX:6
A.S.B.PRIYA TF/RCC 27