Exam Details
Subject | lab i (c programming) | |
Paper | ||
Exam / Course | b.c.a | |
Department | ||
Organization | Alagappa University Distance Education | |
Position | ||
Exam Date | December, 2017 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
B.C.A. DEGREE EXAMINATION, DECEMBER 2017.
LAB I — PROGRAMMING)
(2003 onwards)
Time Three hours Maximum 100 marks
Examiner has to select ONE question and give it to the
student by LOT system.
Each question has two subdivisions.
1. Write a C program to input a basic pay and
calculate Gross pay and Net pay.
INCOME:
HRA l5% of BASICPAY
DA 90% of BASIC PAY
GROSS PAY BASIC PAY DA HRA
DEDUCTIONS
PF 10% of BASIC PAY
WCHARGE 200
NET PAY GROSS PAY DEDUCTIONS
Write a C program to sort 5 names in alphabetical
order.
Sub. Code
16
DE-9811
2
wk6
2. There are 10 students in a class. Their names and
marks in three different subjects are given. If a
student takes more than 40 marks in each subject,
then he is declared Otherwise Write
a C program to do the above.
Write a C program to check whether the given word
is palindrome or not. (Ex. The word MALAYALAM
is a palindrome and the word TAMIL is not
palindrome)
3. Write a C program to print the all ASCII
characters.
Write a C program to accept and display your DATE
OF BIRTH using STRUCTURE.
4. Write a C program to compute commission earned
by a salesman according to the scheme given below
SALES AMOUNT COMMISSION
Up to Rs.1000 0
Above 1000 up to 5000 5
Above 5000 10
Write a C program to find the factorial of a given
number using FUNCTION declaration.
Cut here
Cut here
DE-9811
3
wk6
5. Write a C program that receives the data such as
age and name of person to cheek the eligibility for
voting. Take the condition that if a person is more
than 18 years old he is eligible to vote. Else display
the number of years he has to wait for voting.
Write a C program to find the biggest of 5 numbers.
Modify the program to find the biggest of
10 numbers.
6. Write a C program to accept two strings. Assign a
string to another variable, Concatenate the two
strings and find the length of concatenated string.
Write a C program to find simple and compound
interests using FUNCTION declaration.
7. A man is paid at the hourly rate of Rs. per hour
for the first 45 hours worked. Thereafter, overtime
is paid at 1.5 times the hourly rate for the next
25 hours and 2 times the hourly rate for further
hours worked per week, Write a C program to
calculate and print his gross weekly wage.
Write a C program to check whether the given word
is palindrome or not. (Ex. The word MALAYALAM
is a palindrome and the word TAMIL is not
palindrome)
DE-9811
4
wk6
8. There are 10 students in a class. Their names and
marks in three different subjects are given. If a
student takes more than 40 marks in each subject,
then he is declared PASS'. Otherwise FAIL'. Write a
C program to do the above.
Write a C program to find the biggest of 5 numbers.
Modify the program to find the biggest of 10
numbers.
———————
B.C.A. DEGREE EXAMINATION, DECEMBER 2017.
LAB I — PROGRAMMING)
(2003 onwards)
Time Three hours Maximum 100 marks
Examiner has to select ONE question and give it to the
student by LOT system.
Each question has two subdivisions.
1. Write a C program to input a basic pay and
calculate Gross pay and Net pay.
INCOME:
HRA l5% of BASICPAY
DA 90% of BASIC PAY
GROSS PAY BASIC PAY DA HRA
DEDUCTIONS
PF 10% of BASIC PAY
WCHARGE 200
NET PAY GROSS PAY DEDUCTIONS
Write a C program to sort 5 names in alphabetical
order.
Sub. Code
16
DE-9811
2
wk6
2. There are 10 students in a class. Their names and
marks in three different subjects are given. If a
student takes more than 40 marks in each subject,
then he is declared Otherwise Write
a C program to do the above.
Write a C program to check whether the given word
is palindrome or not. (Ex. The word MALAYALAM
is a palindrome and the word TAMIL is not
palindrome)
3. Write a C program to print the all ASCII
characters.
Write a C program to accept and display your DATE
OF BIRTH using STRUCTURE.
4. Write a C program to compute commission earned
by a salesman according to the scheme given below
SALES AMOUNT COMMISSION
Up to Rs.1000 0
Above 1000 up to 5000 5
Above 5000 10
Write a C program to find the factorial of a given
number using FUNCTION declaration.
Cut here
Cut here
DE-9811
3
wk6
5. Write a C program that receives the data such as
age and name of person to cheek the eligibility for
voting. Take the condition that if a person is more
than 18 years old he is eligible to vote. Else display
the number of years he has to wait for voting.
Write a C program to find the biggest of 5 numbers.
Modify the program to find the biggest of
10 numbers.
6. Write a C program to accept two strings. Assign a
string to another variable, Concatenate the two
strings and find the length of concatenated string.
Write a C program to find simple and compound
interests using FUNCTION declaration.
7. A man is paid at the hourly rate of Rs. per hour
for the first 45 hours worked. Thereafter, overtime
is paid at 1.5 times the hourly rate for the next
25 hours and 2 times the hourly rate for further
hours worked per week, Write a C program to
calculate and print his gross weekly wage.
Write a C program to check whether the given word
is palindrome or not. (Ex. The word MALAYALAM
is a palindrome and the word TAMIL is not
palindrome)
DE-9811
4
wk6
8. There are 10 students in a class. Their names and
marks in three different subjects are given. If a
student takes more than 40 marks in each subject,
then he is declared PASS'. Otherwise FAIL'. Write a
C program to do the above.
Write a C program to find the biggest of 5 numbers.
Modify the program to find the biggest of 10
numbers.
———————
Other Question Papers
Subjects
- accounting fundamentals
- c programming
- electronic devices and digital circuits
- lab i (c programming)
- principles of information technology
- principles of operating system