0% found this document useful (0 votes)
36 views22 pages

BCSL 021

Uploaded by

aashishdigital07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views22 pages

BCSL 021

Uploaded by

aashishdigital07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

No.

of Printed Page :1 SET-1

BACHELOR OF COMPUTER APPLICATIONS (BCA)


(REVISED)
01241
Term-End Practical Examination
December, 2013
BCSL-021 : C Language Programming Lab

Time allowed : 1 hour Maximum Marks : 50

Note : There are two questions in this paper. Answer them all. They carry 40 marks.
The rest 10 marks are for viva-voce.

1. Write an interactive program in C to subtract matrix B from matrix A and store the 20
difference in matrix C of size 3 x 3.

2. Write a C program to find the factorial of any given number less than 20. 20

BCSL-021/S-1 1
No. of Printed Pages : 1 BCSL-021(P)/S1

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination

00800 December, 2014

BCSL-021(P)/S1 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer them both.
(ii) They carry 40 marks.
(iii) The rest 10 marks are for viva-voce.

1. Write an interactive C program to calculate the Gross salary and Net salary of 5
employees working in a retail outlet if Basic, DA, TA, Allowances and
Deductions are given. Use Structures concept.

Note : Assumptions can be made wherever necessary. 20

2. Write a C program to find and display the reversal of a 4-digit number.

Example : I /P : 6794

01P : 4976 20

BCSL-021(P)/S1 1 3,000
No. of Printed Pages : 1 BCSL-021(P)/S1

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
June, 2017

BCSL-021(P)/S1 : C LANGUAGE PROGRAMMING LAB .

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer them both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write a C program to reverse every word of a given string. 20

2. Write a C program to calculate the sum and average of all the 10 elements in the
array. 20

BCSL-021(P )/S1 1 5,000


No. of Printed Pages : 1
I BCSL-021(P)/S1 I
BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
• E June, 2018

BCSL-021(P)/S1 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50


Note : (i) There are two questions in this paper. Answer them both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write a C program to calculate the perimeter and area of a rectangle whose


length and breadth are given. 20
Hint : Perimeter = 2 (Length + Breadth)
Area = Length x Breadth

2. Write a C program to count the number of repetitive characters in a simple


string. 20
Example : JANUARY
o/p : Character A - Appeared 2 times.

BCSL-021(P)/S1 1 5,000
No. of Printed Pages : 1 BCSL-021(P)/S1

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
00 1=1_ 1 Term-End Practical Examination
December, 2017

BCSL-021(P)/S1 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer them both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write a C program to perform the following on matrices : 30

D=A+B—C

where A, B, C are matrices of size 3 x 3 and D is the resultant matrix.

2. Write a C program to calculate the length of a given string without using the
strlen( ) function. 10

BCSL-021(P)/S1 1 3,000
No. of Printed Page : 1 SET-1
BACHELOR IN COMPUTER APPLICATIONS (BCA)
(REVISED)
Term-End Practical Examination
December, 2012 03695

BCSL-021 : C Language Programming

Time allowed : 1 hour Maximum Marks : 50

Note : There are two questions in this paper. Answer them all. They carry 40 marks.
The rest 10 marks are for viva-voce.

1. Write an interactive 'C' Program to check whether the given number is a palindrome 20
or not ?

2. Write an interactive program to calculate Gross salary and Net salary and generate the 20
pay-slips for 5 employees if Basic, TA, DA, allowances and deductions are given.
Assumptions can be made wherever necessary.
Note : Use Structures concept.

BCSL-021/S-1 1
No. of Printed Page :1 SET-2
BACHELOR IN COMPUTER APPLICATIONS (BCA)
(REVISED)
Term-End Practical Examination
01165
December, 2012
BCSL-021 : C Language Programming

Time allowed : 1 hour Maximum Marks : 50

Note : There are two questions in this paper. Answer them all. They carry 40 marks.
The rest 10 marks are for viva-voce.

1. Write an interactive 'C' Program to abbreviate a given name. 20


Example : Input : RAM LAXMAN KAPOOR
Output : R L KAPOOR

2. Write a program to check whether a given number is a prime number or not. 20

BCSL-021/S-2 1
No. of Printed Page :1 SET - 3
BACHELOR IN COMPUTER APPLICATIONS (BCA)
(REVISED)
Term-End Practical Examination 0 1 2 4 5
December, 2012
BCSL-021 : C Language Programming

Time allowed : 1 hour Maximum Marks : 50

Note : There are two questions in this paper. Answer them all. They carry 40 marks.
The rest 10 marks are for viva-voce.

1. Write an interactive 'C' Program to calculate the total, average and grade if the marks 20
of 5 subjects are given for 5 students. Assumptions can be made wherever necessary.
Note : Use Structures concept.

2. Write a program to convert a decimal number to its binary number equivalent. 20

BCSL-021/S-3 1
No. of Printed Page : 1 SET - 4
BACHELOR IN COMPUTER APPLICATIONS (BCA)
(REVISED)
Term-End Practical Examination 00695
December, 2012
BCSL-021 :C Language Programming

Time allowed : 1 hour Maximum Marks : 50

Note : There are two questions in this paper. Answer them all. They carry 40 marks.
The rest 10 marks are for viva-voce.

1. Write an interactive program to convert a binary number to its decimal equivalent. 20

2. Write an interactive 'C' program to add two matrices A, B of size 3 x 3 and store the 20
sum in matrix C.

BCSL-021/S-4 1
No. of Printed Pages : 1 BCSL-021(P)/S1

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
00955 June, 2014

BCSL-021IPI/S1 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50


Note : (i) There are two questions in this paper. Answer them all.
(ii) They carry 40 marks.
(iii) The rest 10 marks are for viva-voce.

1. Write an interactive program to do the following operations by providing the


choice using the switch statement : 20
(a) Add two numbers
(b) Subtract two numbers
(c) Multiply two numbers
(d) Divide two numbers
(e) Exit
2. Write a program to check whether the given string is a palindrome or not. 20

BCSL-021(P)/S1 1 4,000
No. of Printed Pages : 1 BCSL-021(P)/S2

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
4.1:;: Term-End Practical Examination
June, 2014

BCSL-021(P)/S2 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer them all.
(ii) They carry 40 marks.
(iii) The rest 10 marks are for viva-voce.

1. Write a C program to sort a given list of N numbers in ascending order using any
of the sorting algorithms of your choice. 20

2. Write a C program to convert a given upper-case string to a lower-case string. 20

BCSL-021(P)/S2 1 3,000
No. of Printed Pages : 1 BCSL-021(P)/S3

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
June, 2014

BCSL-021(P)/S3 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer them all.
(ii) They carry 40 marks.
(iii) The rest 10 marks are for viva-voce.

1. Write an interactive C program to count no. of vowels, no. of characters, no. of


special symbols and no. of spaces in a given string. 20
2. Write a C program to display the pattern shown below : 20
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5

BCSL-021(P)/S3 1 2,000
No. of Printed Pages : 1 BCSL-021(P)/S4

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
00158 June, 2014

BCSL-021113)/S4 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer them all.
(ii) They carry 40 marks.
(iii) The rest 10 marks are for viva-voce.

1. Write an interactive C program to multiply 2 matrices A and B of order (m x n)


and (n x p) and store the product in matrix C. 20
2. Write a program in C using structures, to take the details of 5 students of
Class V and display them. 20

BCSL-021(P)/S4 1 1,000
No. of Printed Page :1 SET - 1

BACHELOR OF COMPUTER APPLICATIONS (BCA)


(REVISED)
Term-End Practical Examination 00604

June, 2013
BCSL-021 : C Language Programming Lab

Time allowed : 1 hour Maximum Marks : 50

Note : There are two questions in this paper. Answer them all. They carry 40 marks.
The rest 10 marks are for viva-voce.

1. Write an interactive C program to check whether the given number is a "PRIME 20


NUMBER" or not.

2. Write a C program to swap the values of 2 variables "a" and "b", using pointers. 20

BCSL-021/ S-1 1
No. of Printed Pages : 2 BCSL-021/S1

Bachelor of Computer
Application (Revised) (BCA)
Term-End Examination
December 2018
`C' LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer both of
them.

(ii) They carry 40 marks.

(iii) Rest 10 marks are for viva-voce.

(A-8) P. T. O.
[2]

1. Write a C' program to find the second largest number among 3 numbers

given as input. 20

2. Using structures, write an interactive `C program to find the total

marks, average marks in the first semester courses of BCA for 5

students of your class.. 20

Note : Assuniptions can be made wherever necessary.

BCSL-021/S1 3,000
(A-8)
No. of Printed Pages : 2 BCSL-021/S2

Bachelor of Computer
Application (Revised) (BCA)
Term-End Examination
December, 2018

'C' LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks

Note : (i) There are two questions in this paper. Answer both of
them.

(ii) They carry 40 marks.

(iii) Rest 10 marks are for viva-voce.

(A-8) P. T. 0.
[2]

1. Write a C program to add 2 matrices A (2 X 2), B (2 x 2) and store the


sum in matrix C. 20

2. Write an interactive C program to remove the duplicates in a given


word (string) and display the individual characters with a comma
delimiter. 20

Example : : CALCULATE
0/P : C, A, L U, T, E

BCSL-021/S2 2,000
(A-8)
No. of Printed Pages : 1 I BCSL-021(P)/S1
BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
- A_ 3 December, 2015

BCSL-021(P)/S1 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer them both.
(ii) They carry 40 marks.
(iii) The rest 10 marks are for viva-voce.

1. Write an interactive C program to generate a bill for the ordered items for a
Fast Food Restaurant. 30

Note : Assumptions can be made wherever necessary.

2. Write a C program to count the number of vowels in a given string and display
all the vowels in it. 10

BCSL-021(P)/S1 1 3,000
No. of Printed Pages : 1 I BCSL 021(P)/S1
-

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
December, 2016

BCSL-021113 )/S1 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer them both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write a program to find the largest number in a given array of 10 elements. 20

2. Using structures, write a program to calculate the Gross_salary and Net_salary


of 10 employees working in a retail medical shop if their Basic, DA, TA, other
allowances and deductions are given. Display the employee_name, employee id,
designation, month/year of salary, Basic, DA, TA, other allowances, deductions,
Gross_salary and Net_salary for each employee. 20

BCSL-021(P)/S1 1 3,000
No. of Printed Pages : 1 BCSL-021 - Set - 1

BACHELOR OF COMPUTER APPLICATIONS (BCA)


(Revised)

Term-End Examination 01088

June, 2016
BCSL-021 - Set - 1 : C LANGUAGE PROGRAMMING LAB

Time :1 hour Maximum Marks : 50


Note : (i) There are two questions in this paper. Answer them both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write a menu driven program to read list of numbers and perform the following 20
operations :
(a) Print the list
(b) Delete the duplicates, if any from the list

2. Write a C program to find the no. of occurrences of Vowels in a given string. 20

BCSL-021 - Set - 1 1
No. of Printed Pages : 1 I BCSL-021(P)/S1 I
BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
June, 2015

BCSL-021(P)/S1 : C LANGUAGE PROGRAMMING LAB

Time : 1 Hour Maximum Marks : 50

Note : (i) There are two questions in this paper. Answer them both.
(ii) They carry 40 marks.
(iii) The rest 10 marks are for viva-voce.

1. Write an interactive C program to generate a bill for a stationery shop. 30

Note : Assumptions can be made wherever necessary.

2. Write a C program to find the sum of n numbers given as input by the user. 10

BCSL-021(P)/S1 1 4,000

You might also like