Академический Документы
Профессиональный Документы
Культура Документы
B.C.A.
Semester 2
Paper No : 206
Paper Title : Practical Total
Marks [140]
Instruction:
1. Figure to the right indicate full marks.
Q:1 Define a structure called cricket that will describe the [40]
following information: player name team name batting
average Using cricket, declare an array player with 5
elements and write a program to read the information
about all the 5 players and print a team-wise list containing
names of player with their batting average.
Q:2 Write a program to convert a given string into its reverse [20]
case without using inbuilt function.
(Eg:- VnSgu => vNsGU)
Q:3 student(s_id,s_name,address, email) [30]
[A]
marks(s_id,sub1,sub2,sub3)
Instruction:
1. Figure to the right indicates full marks.
Q:1 Write a program to find out factorial of a number using [30]
recursive function.
Q:2 Write a program to Define a structure guest_house with [30]
room_id, room_type and room_cost. Write a program to
read 10 records and print room_type wise information in
proper format.
Q:3 1. display customer details whose name start with 'H'. [30]
[B]
2. display customer details whose bought vehicle
"splender" and color is "black"
Instruction:
1. Figure to the right indicate full marks. Marks
[140]
Q:1 addition, subtraction, multiplication, division of 2 numbers [30]
using function
Q:2 Write a program using structure. Input Rollno, Name and [30]
Percentage of 5 students and display records in
percentagewise ascending order.
Q:3 department(d_id,d_name,e_id) [30]
[A]
employee(e_id,e_name,e_age, salary)
Q:3 1. delete those employee whos age greater than 40. [30]
[B]
2. display those employee name start with 2nd letter
"A".
Instruction:
1. Figure to the right indicate full marks. Marks
[140]
Q:1 Write a program to check whether a given character is [30]
alpha bate or digit or special character
Q:2 Write a program for Define a structure Employee with [30]
emp_id, emp_name and emp_age. Write a program to read
10 records and print emp_name wise information in proper
format.
Q:3 customer(c_id ,c_name,c_city,phone) [30]
[A]
room(r_id,c_id,r_type,rate)
Instruction:
1. Figure to the right indicate full marks. Marks
[140]
Q:1 Write a program to sort characters in a given string. For [30]
eg: Input narmad then output aadmnr
Q:2 Write a program to copy string using pointers [30]
Q:3 student(s_id ,s_name,city) [30]
[A]
book(b_id,s_id,bookname,auther,price,no_of_pages)
Q:3 1. display those student whose name start with "b". [30]
[B]
2. display those student which author name "bala gruh
swami".