0% found this document useful (0 votes)
119 views

BCSL 021 Previous Year Question Papers by Ignouassignmentguru

The document contains 4 sample question papers for a C Language Programming Lab exam for the Bachelor of Computer Applications (BCA) program. Each paper contains 2 questions worth 20 marks each and a note about viva voce being worth 10 additional marks, for a total of 50 marks. The questions cover topics like checking if a number is a palindrome, prime number, or perfect number, operations on matrices, recursion, and conversions between binary and decimal numbers.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
119 views

BCSL 021 Previous Year Question Papers by Ignouassignmentguru

The document contains 4 sample question papers for a C Language Programming Lab exam for the Bachelor of Computer Applications (BCA) program. Each paper contains 2 questions worth 20 marks each and a note about viva voce being worth 10 additional marks, for a total of 50 marks. The questions cover topics like checking if a number is a palindrome, prime number, or perfect number, operations on matrices, recursion, and conversions between binary and decimal numbers.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 58

Download More:- https://www.ignouassignmentguru.

com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Page : 1 SET - 2


BACHELOR OF COMPUTER APPLICATIONS (BCA)
(REVISED)
Term-End Practical Examination 00 7 01

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 find the total, average, Grade (A, B, C, D, E) for 20
students in 6 courses, whose maximum marks in each course is 100 marks. 40 marks is
the pass-marks in each of the course's.
between between between
A —> 70% B —> 69.9 and 60 C —p 59.9 and 50 D —> 49.9 and 40 E —> failed<40%
Note : Assumptions can be made wherever necessary

2. Write a C program to find the factorial (using recursion) for a given number. 20

BCSL-021/ S-2 1
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Page :1 SET-3


BACHELOR OF COMPUTER APPLICATIONS (BCA)
(REVISED)
00 7 5 4
Term-End Practical Examination
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 program to add matrices A, B of size 3 x 3 and store the sum in a 20
matrix C of size 3 x 3.

2. Write a C program to generate fibonacci series, using recursion for first 10 terms. 20

BCSL-021/S-3 1
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Page : 1 SET - 4


BACHELOR OF COMPUTER APPLICATIONS (BCA)
(REVISED)
000 7 4
Term-End Practical Examination
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 a C program to reverse a 5-digit number and find its sum. 20

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

BCSL-021/S-4 1
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Page : 1 SET - 2


BACHELOR OF COMPUTER APPLICATIONS (BCA)
(REVISED)
00164
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 a C program to take 10 integers as input, find their sum and average. 20

2. Write a C program to check whether the given character string is a palindrome or 20


not ?

BCSL-021/ S-2 1
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Page :1 SET - 3


BACHELOR OF COMPUTER APPLICATIONS (BCA)
(REVISED)
o 0 ill- 4
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 C program to count the number of characters and blank spaces in 20
a given string.

2. Write an interactive C program to process the student-evaluation records of 4th semester 20


BCA programme for 10 students, using structures.
Note : Use structures concept. Assumptions can be made wherever necessary.

BCSL-021/S-3 1
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Page : 1 SET - 4


BACHELOR OF COMPUTER APPLICATIONS (BCA)
(REVISED)
00 I
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 C program to find the Greatest Common Divisor (GCD) of two 20
numbers.

2. Write a function cell that will return the length of a character string. You are not 20
allowed to use the "strlen" C library function.
Note : Use "Pointers" concept.

BCSL-021/ S-4 1
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination

00403 December, 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 both.
(ii) They carry 40 marks.
(iii) The rest 10 marks are for viva-voce.

1. Write an interactive program in C to do the following operations on strings by


providing the choice using the 'switch' statement : 20
(a) To find the string-length of a given string.
(b) To concatenate 2 strings.
(c) To change all the characters to lower-case for a given string.
(d) Exit.

2. Write a C program to find the factorial for a given number. 20

BCSL-021(P)/S2 1 2,000
Download More:- https://www.ignouassignmentguru.com/papers

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

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
00104 December, 2014

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

Time : 1 Hour Maximum Marks : 50

Note : 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 a C program to do the following using a 'switch' statement : 20


(a) To add two matrices A(mxn) and B(in.n)•
(b) To subtract two matrices A(mxn) and B(mxn)•

(c) Exit.

2. Write an interactive C program to arrange the given 5 strings in alphabetical


order. 20

BCSL-021(P)/S3 1 1,000
Download More:- https://www.ignouassignmentguru.com/papers

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

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
00274 December, 2014

BCSL-021(P)/S4 : 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 a program to find the factors of a given number. 20

2. Write a C program to find the largest and smallest numbers among the given list
of 5 numbers. 20

BCSL-021(P)/S4 1 1,000
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination L.
June, 2015

BM-021( ► M : 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 a C program to find the total and average of marks for 5 students in
English, Hindi, Social Science, Science and Maths. The maximum marks in each
subject is 100 and the pass marks in each subject is 40. 20

Note : Use structures concept.

2. Write a C program to find the length of the string without using the strlen( )
function. 20

BCSL-021(P)/S2 1 3,000
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 BCSL 021(P)/S3


-

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
June, 2015

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 both.
(ii) They carry 40 marks.
(iii) The rest 10 marks are for viva-voce.

1. Write a C program to do the store name, eno, programme, programme_code,


regional_centre, study centre code and state of 10 students in a file named
"stu_record". 20

Note : Use "files" concept.

2. Write a C program to add two matrices A(mxm) and B(mxm) and store the sum
in C(mxm). 20

BCSL-021(P)/S3 1 2,000
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1


00503 I BCSL-021(P)/S4 I
BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
June, 2015

BCSL-021(P)/S4 : 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 a C program to find and display the sum of all digits for a given 5-digit
number. 20

2. Write a C program to sort a list of given 5 numbers in descending order. 20

BCSL-021(P )/S4 1 1,000


Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 BCSL-021(P) /S2 I


BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
01229 December, 2015

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 both.

(ii) They carry 40 marks.

(iii) The rest 10 marks are for viva-voce.

1. Write an interactive program to perform the following computations (on Matrices


A and B of order 3 x 3) by providing the options using a "Switch" statement : 30
(i) Add 2 matrices
(ii) Multiply 2 matrices
(iii) Exit

2. Write a C program to swap the values of 2 integer variables "a" and "b" and
display them.

Note : Use Pointers concept. 10

BCSL-021(P)/S2 1 2,000
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 I BCSL-021(P)/S3

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
n a 6- C74 December, 2015

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 both.
(ii) They carry 40 marks.
(iii) The rest 10 marks are for viva-voce.

1. Write a C program to take the inputs Emp_No, Emp_Name, Sex, Age,


Department, Designation, Basic_Pay, Address, Mobile_No and Email_Addr for
10 employees and store them in a .dat file (data file). Accept Emp_No from the
user, search and display the Emp_No, Emp_Name, Department and Basic_Pay
respectively. 30

Note : Use Structures and File Handling concepts.

2. Write a C program to find the smallest among the 3 numbers given as input. 10

BCSL-021(P)/S3 1 2,000
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 I BCSL-021(P)/S4


BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
00n?9,
December, 2015

BCSL-021(P)/S4 : 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 input 10 students' record in a data file (.dat) of


BCA 2nd semester and take the input as ENo from the user, search and display
the whole details of the respective student. 30

Note : Use Structures and File Handling concepts.

2. Write a C program to find the string length of a given string. 10

Note : Should not use the "strlen( )" function.

BCSL-021(P)/S4 1 1,000
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 BCSL-021 - Set - 2

BACHELOR OF COMPUTER APPLICATIONS (BCA)


(Revised)

Term-End Examination 02958

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

Time : 1 hour Maximum Marks : 50


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

1. Write an interactive C program for sorting the elements of an array in descending 20


order.

2. Write an interactive C program to count no. of occurrences of Consonants in a given 20


string.

BCSL-021 - Set - 2 1
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 BCSL-021 - Set - 3

BACHELOR OF COMPUTER APPLICATIONS (BCA)


(Revised)

Term-End Examination 00318

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

Time :1 hour Maximum Marks : 50


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

1. Given below is the list of marks obtained by a class of 20 students in an annual 20


examination (out of maximum 100 marks) :
65, 22, 11, 80, 91, 44, 55, 55, 46, 85, 09, 64, 99, 100, 82, 81, 76, 54, 21, 02
Write a C program to count the no. of students belonging to each of the following
groups :
0-9, 10-19, 20-29, 30-39, 40-49, 50-59, 60-69, 70-79, 80-89, 90-99, 100

2. Write a C program to find factorial of a number using recursion. 20

BCSL-021 - Set 3 - 1
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 BCSL-021 - Set - 4

BACHELOR OF COMPUTER APPLICATIONS (BCA)


(Revised)
00918
Term-End Examination
June, 2016
BCSL-021 - Set - 4 : C LANGUAGE PROGRAMMING LAB

Time : 1 hour Maximum Marks : 50


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

1. Write an interactive C program to take the inputs of marks for assignments and 20
term end exams of BCA (first semester) courses and display the student_name,
enrol no., programme, total marks, percentage and Grade.
Note : Use structures concept.

2. Write an interactive C program to count the no. of words and blank spaces in a given 20
string.

BCSL-021 - Set - 4 1
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 I BCSL-021(P)/S2


BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
December, 2016

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 both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write an interactive C program to add two matrices A (m x n) and B (m x n) and


store the sum in C (m x n). 20

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

BCSL-021(P)/S2 1 2,000
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 I BCSL-021(P)/S3


BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
December, 2016

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 both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write an interactive C program to multiply and find the product of two matrices
A (m x n) and B (n x k) and store the product in C (m x k). 20

2. Write a program to print all the prime numbers up to the given number "N" as
input. 20

BCSL-021(P )/S3 1 1,000


Download More:- https://www.ignouassignmentguru.com/papers

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

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
December, 2016
00733
BCSL-021(P)/S4 : 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 operations on matrices : 20


D=A(mxn)+B(mxn)—C(mxn)

2. Write a C program to display the product of the first 10 (ten) natural numbers. 20

BCSL-021 ( P)/S4 1 1,000


Download More:- https://www.ignouassignmentguru.com/papers

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


Download More:- https://www.ignouassignmentguru.com/papers

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

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
000n5 June, 2017

BCSL 021113)/S2 : 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 insert an element at a specific position in a given array. 20

Note : No need of sorting the array, only should be inserted at a specific position
given by the user.

2. Write a C program to simulate the billing application of a simple general store. 20

Note : Assumptions can be made wherever necessary.

BCSL-021(P)/S2 1 3,000
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 BCSL 021(P)/S3


-

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
CD CD E3 11=_.1 -
Term-End Practical Examination
June, 2017

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 both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write a C program to perform the following operations on 2 matrices of (N x N)


size : 30

(a) Addition
(b) Subtraction
(c) Multiplication

2. Write a C program to calculate the sum of all even numbers in a given list of "N"
numbers. 10

BCSL 021(P)/S3
- 1 2,000
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 I BCSL 021(P)/S4 I


-

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
June, 2017

BCSL 021(P)/S4 : 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 convert a decimal number to its binary equivalent. 20

2. Write a C program to find the largest word in a given string. 20

BCSL-021(P)/S4 1 2,000
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

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

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
December, 2017

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 both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write a C program to calculate the area of an isosceles triangle whose altitude


and base are given as inputs. 20
1
Hint : Area = — x base x height
2

2. Write a C program to check whether two given strings are Anagrams of each
other or not. 20

Hint : Two strings are said to be anagrams if the characters in the strings are
the same in terms of number and value, only arrangement or order of
characters may be different.

BCSL-021(P)/S2 1 2,000
Download More:- https://www.ignouassignmentguru.com/papers

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

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
December, 2017

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 both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write a C program to calculate Simple Interest (SI) where principal amount,


time period and rate of interest are given. 20

Hint : SI = (P * T * R)/100

2. Write a C program to insert a character at a desired place in the given string. 20

Example : VOUME (input string)

Character to be inserted : "L" at 3rd position from left

0/P : VO 0 UME

BCSL-021(P)/S3 1 1,000
Download More:- https://www.ignouassignmentguru.com/papers

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

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)
Term-End Practical Examination
r--; e--
1-a
- December, 2017

BCSL-021(P)/S4 : 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, using appropriate user-defined functions and a switch


statement to perform addition, subtraction, multiplication and division, if two
numbers and choice of the arithmetic operation are given as inputs. 30

2. Write a C program to count the number of characters in a given string. 10

BCSL-021(P)/S4 1 1,000
Download More:- https://www.ignouassignmentguru.com/papers

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
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 I BCSL-021(P)/S2


BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
June, 2018
17=1
.

BCSL-021(13 ► /82 : 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 an interactive C program to perform the following on matrices 25


D=(AxB)—C
where A, B, C are matrices of size 2 x 2 and D is the resultant matrix.

2. Write a C program to append a given string2 to stringl at the end (after a blank
space). 15
Example : STRING1 — IGNOU
STRING2 — NEWDELHI
o/p : IGNOU NEWDELHI

BCSL-021(P)/S2 1 3,000
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 BCSL-021(P) /S3 I


BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
r•- ir.:IelIF-1 let Term-End Practical Examination
June, 2018

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 both.
(ii) They carry 40 marks.
(iii) Rest 10 marks are for viva-voce.

1. Write a C program, using appropriate user defined functions and a switch


statement (to select the choice of operation) to perform Addition, Subtraction,
Division operations on given 2 matrices of size 2 x 2. 25

2. Write a C program to find and display the product of "n" numbers given as input. 15

BCSL-021(P)/S3 1 2,400
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 1 BCSL 021(P)/S4


- I
BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
June, 2018

BCSL-021( 2)/S4 : 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 circle whose radius is
given in centimetres. 20
Hint : Perimeter = 2 x it x r
Area = nr2 where IC = 3.1415

2. Write a C program to count and print the number of words in a given string. 20

BCSL-021(P )/S4 1 2,000


Download More:- https://www.ignouassignmentguru.com/papers

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.
Download More:- https://www.ignouassignmentguru.com/papers

[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)
Download More:- https://www.ignouassignmentguru.com/papers

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.
Download More:- https://www.ignouassignmentguru.com/papers

[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)
Download More:- https://www.ignouassignmentguru.com/papers

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.
Download More:- https://www.ignouassignmentguru.com/papers

[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
20
delimiter.

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

2,000
BCSL-021/S2
(A-8)
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Pages : 2 BCSL-021/S3

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
I. '

them.

(ii) They carry 40 marks.

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

(A-8) P. T. 0. -
Download More:- https://www.ignouassignmentguru.com/papers

[2]

1. Write a program to perform the following on matrices of


size (2 x 2) : 20

C=A—B

2. Using structures, write an interactive 'C program to process employee


salary for 5 employees (Gross salary and Net salary) for the current

month if attendance, basic, allowances and deductions (LIC, income-tax,

loans) are given as input. 20

BCSL-021/S3 1,000
(A-8)
Download More:- https://www.ignouassignmentguru.com/papers

No. of Printed Page : BCSL-021/S4

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)!
Download More:- https://www.ignouassignmentguru.com/papers

[2]

1. Write a C program to find factorial of a given number, using


Recursion. 20

2. Write a C program to count the no. of vowels in a given string and


display all the vowels in it separately. 20

BCSL-021/S4 1,000
(A-8)

You might also like