0% found this document useful (0 votes)
7 views6 pages

Int 206 Practical 2023

The document outlines the internal practical paper for FYBCA SEM 2 at the College of Applied Sciences & Professional Studies, Chikhli, dated March 31, 2023, and April 5, 2023. It includes various programming tasks in C and Python, as well as database table creation and PL/SQL coding exercises. Each set of questions is designed to assess students' understanding of programming concepts, database management, and practical application skills.

Uploaded by

muskansh7860
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views6 pages

Int 206 Practical 2023

The document outlines the internal practical paper for FYBCA SEM 2 at the College of Applied Sciences & Professional Studies, Chikhli, dated March 31, 2023, and April 5, 2023. It includes various programming tasks in C and Python, as well as database table creation and PL/SQL coding exercises. Each set of questions is designed to assess students' understanding of programming concepts, database management, and practical application skills.

Uploaded by

muskansh7860
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

College of Applied Sciences & Professional Studies, Chikhli.

CASPS Marks:
206 Internal Practical Paper 2023 Roll No:
FYBCA SEM 2
Date: 31/03/2023

Set1 100
Q-1 Write a C program to input 5 different strings and count the total no of palindrome 20
A words in each string.
B Write a python program to input the no and check the no is prime or not. 20
Q2-A Create the following tables with appropriate Constraints (primary key & foreign key). 20
Doctor( doc_no, dname,city,specialization (eg. Surgeon, cardiology, Neurology etc.)
Patient(pno,patient_name,age,city,doc_no,admit_date, Fees)

Solve the following :


1. Display doctor name and patient name.
2. Display patient information who admits in February and March.
3. Display patient name, doctor name,admit_date where patient take treatment
from cardiology
Q2-B Write a pl/sql code to accept patient no from user and give concession 1000 rs if 20
patient city is chikhli otherwise give proper message.(use above tables)

Q3 Viva+File 20
College of Applied Sciences & Professional Studies, Chikhli.
CASPS
206 Internal Practical Paper 2023 Marks
FYBCA SEM 2 Roll No:
Date: 31/03/2023

Set2
Q-1A Write a function in python program to input no N and display sum of all the numbers 20
between 1 to N.
B Write a program to create structure cricket(teamname, playername runrate). Input 5 20
records and display team wise player list.
Q2-A Create following tables with appropriate constraint: 20
Deposit(actno,cno,bno,amt,adate)
Branch(bno,bname,city)
Customer(cno,cname,city)
(1) Gives the names of customer having the same living city as
their branch city.
(2) Display the Branch cities of „anil‟ and „sunil‟.
(3) Display deposited transaction of current month.
Q2-B Write a PL/SQL code That accept actno from user and display message “you need to 20
pay tax” if amt is more than 7 lakhs.(make use of user define exception)

Q3 Viva+File 20
College of Applied Sciences & Professional Studies, Chikhli.
CASPS
206 Internal Practical Paper 2023
FYBCA SEM 2 Marks
Date: 31/03/2023 RollNo

Set3
Q-1A Write a python program to input5 different strings in list and display reverse string 20
without any inbuilt function.
B Write a c program to create matrix a[3][3] and matrix b[3][3] .find the multiplication 20
of and b in matrix c..
Q2-A Consider the following table 20
EmpDetails(EmpId, EmpName, BasicSalary, DA, NetPAy)
a. Create table using appropriate constraint and insert atleast 5 records in table.
b. Write a PL/SQL block to calculate DA (125% of the BasicSalary) and NetPay of employee on
the basis of basicsalary fetched from table. .

Q2-B Write a PL/SQL block that accept empId from user and fetch that employee‟s salary from 20
table, if the salary is more than 50,000 give the message that ‘Salary is more than 50000’.

Q3 Viva+File 20
College of Applied Sciences & Professional Studies, Chikhli.
CASPS
206 Internal Practical Paper 2023 Marks
FYBCA SEM 2 RollNo
Date: 05/04/2023

Set4
Q-1A Write a program in python to generate a following pattern. 20
*
* *
* * *
* * * *
* * * * *

B Write a c program to 5 different strings and one word from user count the occurrences 20
of the word from these strings.
Q2-A Create the following table. 20
Product_master order_master
Prd_no varchar2(6) p.k. Order_no varchar2(5)
Prd_desc varchar2(15) Prd_no varchar2(6) f.k.
Qty_on_hand n(8) Qty_order n(8)
Sell-price n(8,2) Prd-rate n(10,2)
Cost_price n(8,2) Order_date date
1) Solve the following queries.
(a) Display Order no, order_date, Product name, qty_order between the month
january to march.
(b) Display order information which order in the current month.
(c) Delete all order details for the product name start with J or T.

Q2-B Write a PlSQL Code to check whether the Qty_order is less than Qty_on_hand for 20
particular Prd_no, according to it give an appropriate message “Quantity is sufficient
for order” otherwise message “Ordered quantity is more than quantity on hand”.

Q3 Viva+File 20
College of Applied Sciences & Professional Studies, Chikhli.
CASPS
206 Internal Practical Paper 2023 Marks
FYBCA SEM 2
Date: 05/04/2023 Roll No

Set5
Q-1A Write a menu driven python program to create tuple t with five items in it and perform 20
following operations .
1.insert item
2.remove item
3.diplay item
B Create a structure of emp(eno,name,sal). Input 5 records of employee and display 20
salarywise list.
Q2-A Create following tables with appropriate constraint: 20
Book_mst table Stud_mst table
Book_no varchar2(4) Lib_no varchar2(4)
Book_name varchar2(25) stud_name varchar2(20)
Author varchar2(20) Book_no varchar2(4)
Publisher varchar2(20) Tranc_type varchar2(10)(type should
No_of_copy number(3) be
Price number(6,2) either
issue/return)
trans_date date
1) Solve the following queries.
(a) Display all student who have “RDBMS” book.
(b) Delete records from stud_mst for all students whose transaction is done on
current month.
(c) Display student name, book_name, tansc_type and trans_date for transaction is
Return.
Q2-B Write a PlSQL Code to accept book no from the user. Update the no of copy by 20
adding 25 copy to said book no otherwise give an appropriate message if book_ no not
found(make use of appropriate exception) .

Q3 Viva+File 20
College of Applied Sciences & Professional Studies, Chikhli.
CASPS
206 Internal Practical Paper 2023
FYBCA SEM 2 Roll No
Date: 05/04/2023 Marks

Set6
Q-1 Write a menu driven python program to input five different strings and perform the 20
A following operation.
1.count occurrence
2.convert in lowercase
3.convert in uppercase
4.reverse

B Write a c program to create matrix a[3][3] and find the addition of matrix a and matrix 20
b in matrix c,
Q2-A Create the following tables with appropriate constraint: 20
Emp_mst( Empno, Ename, city,Dob)
Emp_detail(B_code, Empno, Job, Basic_sal, Doj,deptno)
Solve the following queries:

(a) Delete the employee‟s detail whose deptno is 10 and doj in the month June
2021
(b) Display the employee details(empno,basic_sal,city) whose city is not surat.
(c) Display ename, job,city and Basic Salary who live in either navsari or
billimora.

Q2-B Write a PL/SQL code to give increment as per the following criteria to user inputted 20
empno.(use above tables)
if department no is 10 then give increment of basic salary 15%
if department no is 20 then give increment of basic salary 25%
if department no is 30 then give increment of basic salary 35%

Q3 Viva+File 20

You might also like