Вы находитесь на странице: 1из 5

VEER NARMAD SOUTH GUJARAT UNIVERSITY, SURAT

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)

insert minimum 10 records for each table

Q:3 passing marks =33 [30]


[B]
1. add one more field in student contact_no

2. display students whose name start with 'p'.

3. display students details who has got first rank

4. delete students details who failed in all sub.

5. display students details who fail in any one


subject(only one subject).

6. display total marks and percentage of each students.

Q:-4 Viva + file [20]


VEER NARMAD SOUTH GUJARAT UNIVERSITY, SURAT
B.C.A.
Semester 2
Paper No : 206
Paper Title : Practical Total Marks
[140]

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 vehicle(v_id,v_name,v_color, price) [30]


[A]
customer(c_id,v_id,c_name,c_address)

insert minimum 10 records for each table

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"

3. display vehicle details whose price<=30000 and


price>=50000.

4. display customer details whose bought height price


vehicle.

5. display customer details whose bought more than 1


vehicle .

6. Add one more field manufacture_year in vehicle.

Q:-4 Viva + file [20]


VEER NARMAD SOUTH GUJARAT UNIVERSITY, SURAT
B.C.A.
Semester 2
Paper No : 206
Paper Title : Practical

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)

insert minimum 10 records for each table

Q:3 1. delete those employee whos age greater than 40. [30]
[B]
2. display those employee name start with 2nd letter
"A".

3. display those employee name whose department


name "marketing".

4. display total salary of each department .

5. display all infarmation of employee whose salary is


hightest.

6. Add one more field DateOfJoin in employee.

Viva + file [20]


VEER NARMAD SOUTH GUJARAT UNIVERSITY, SURAT
B.C.A.
Semester 2
Paper No : 206
Paper Title : Practical

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)

insert minimum 10 records for each table

Q:3 1. display those customer whose city name "surat". [30]


[B]
2. delete those customer which room type "super
delux".

3. display those room whose rate <=1200 and rate


>=3000.

4. display those customer whose phone no end with


"91".

5. update those customer whose name "harshad"


change with "abhi".

6. Add one more field email in customer.

Viva + file [20]


VEER NARMAD SOUTH GUJARAT UNIVERSITY, SURAT
B.C.A.
Semester 2
Paper No : 206
Paper Title : Practical

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)

insert minimum 10 records for each table

Q:3 1. display those student whose name start with "b". [30]
[B]
2. display those student which author name "bala gruh
swami".

3. delete those books whose price <=200 and >=500.

4. display those books have maximum no_of_pages.

5. update those students whose city "vadodara" change


with "surat".

6. Add one more field DateofBirth in student.

Viva + file [20]

Вам также может понравиться