Exam Details
Subject | lab i (c programming) | |
Paper | ||
Exam / Course | b.c.a | |
Department | ||
Organization | Alagappa University Distance Education | |
Position | ||
Exam Date | May, 2018 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
B.C.A. DEGREE EXAMINATION, MAY 2018.
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. 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 '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.
2. Write a C program to accept and display your DATE
OF BIRTH using STRUCTURE
Write a C program to find simple and compound
interests using FUNCTION declaration.
Sub. Code
16
DE-7012
2
wk16
3. Write a C program to compute commission earned
by a salesman according to the scheme given below:
SALES AMOUNT COMMISSION
Up to Rs.l000 0
Above 1000 up to 5000 5
Above 5,000 10
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)
4. Write a C program that receives the data such as
age and name of person to check the eligibility for
voting, lake 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 simple and compound
interests using FUNCTION declaration
5. Write a C program to input a basic pay and
calculate Gross pay and Net pay.
INCOME
HRA 15% 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 find the factorial of a given
number using FUNCTION declaration.
DE-7012
3
wk16
6. Write a C program to sort 5 names in alphabetical
order.
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.
7. Write a C program to find the biggest of 5 numbers.
Modify the program to find the biggest of 10
numbers.
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.
8. Write a C program to print the all ASCII
characters.
Write a C program to find simple and compound
interests using FUNCTION declaration
————————
B.C.A. DEGREE EXAMINATION, MAY 2018.
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. 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 '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.
2. Write a C program to accept and display your DATE
OF BIRTH using STRUCTURE
Write a C program to find simple and compound
interests using FUNCTION declaration.
Sub. Code
16
DE-7012
2
wk16
3. Write a C program to compute commission earned
by a salesman according to the scheme given below:
SALES AMOUNT COMMISSION
Up to Rs.l000 0
Above 1000 up to 5000 5
Above 5,000 10
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)
4. Write a C program that receives the data such as
age and name of person to check the eligibility for
voting, lake 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 simple and compound
interests using FUNCTION declaration
5. Write a C program to input a basic pay and
calculate Gross pay and Net pay.
INCOME
HRA 15% 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 find the factorial of a given
number using FUNCTION declaration.
DE-7012
3
wk16
6. Write a C program to sort 5 names in alphabetical
order.
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.
7. Write a C program to find the biggest of 5 numbers.
Modify the program to find the biggest of 10
numbers.
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.
8. Write a C program to print the all ASCII
characters.
Write a C program to find simple and compound
interests using FUNCTION declaration
————————
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