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

Ssce Board Ip Sample Question Paper

The document contains sample question papers for SSCE with various programming and database tasks across multiple sets. Each set includes tasks such as creating data structures, plotting charts, and writing SQL queries related to student, employee, and library data. The maximum marks for each set are 30, and the questions cover a range of topics from data manipulation to database management.

Uploaded by

Rayan Ahmed
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)
24 views6 pages

Ssce Board Ip Sample Question Paper

The document contains sample question papers for SSCE with various programming and database tasks across multiple sets. Each set includes tasks such as creating data structures, plotting charts, and writing SQL queries related to student, employee, and library data. The maximum marks for each set are 30, and the questions cover a range of topics from data manipulation to database management.

Uploaded by

Rayan Ahmed
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

SSCE : BOARD - IP - SAMPLE QUESTION PAPER

Time : 3 Hours SET : 1 Maximum Marks : 30

1) Write a program to create a Series using a dictionary which stores number of students
in each section [Ex: 12A - 25, 12B - 27, 12C - 28, 12D - 23, 12E - 30] 3M

2) Write a program to plot a bar chart for the medals won by top four countries. Give
appropriate axes labels, chart title and legend. Make sure that bars are separately visible. 5M

Country Gold Silver Bronze Total


Australia 80 59 59 198
England 45 45 46 136
India 26 20 20 66
Canada 15 40 27 82

3)
a) Create the table STUDENT given below with appropriate datatype and constraints
and insert the records as it is 2M
Table: Student

Name Age Gender Rollno Aggregate


Anjali 16 F 101 456
Jacob 16 M 103 Null
Joseph 15 M 104 430
Simran 17 F 105 410
Vinitha 16 F 106 Null
Amit 17 M 107 410
Sameer 16 M 108 412
Vikas 15 M 110 434

Write the given Queries/Commands based on the table Student given above

b) List the unique ages from the table STUDENT. 1M

c) Add the column percentage decimal(6,2) to the above table 1M

d) Write a query to update all the records in above table with percentage=Aggregate/5 1M

e) Write a query to display the names of the students whose aggregate is 410 or 434 or 456. 1M

f) Write a query to display the names, gender and aggregate of all the students in the
ascending order of gender and descending order of aggregate. 1M
Time : 3 Hours SET : 2 Maximum Marks : 30

1) Write a program to create a Series object that stores the Donation amount as the values and the
stream names as the indexes as given below and print it.

Stream Donation Amount


Medical 45000
Nonmedical
Commerce 50000
Humanities 25000
Your College had decided to double the donation amount. Write the code to double the
donation amount and print it 4M

2) Write a program to plot a bar chart from the medals won by Australia. In the same chart,
plot medals won by India too based on the table given below along with axes labels,
chart title and legend. 4M
Country Gold Silver Bronze Total
Australia 80 59 59 198
India 26 20 20 66
3)
a) Create the table Bank as per the specification given below 1M
Table: Bank
Column Name AccountNo CustName Gender Address
Data Type Integer Varchar Char Varchar
Length 30 1 30
Nulls/Unique Not null
Keys Primary key

b) Create the Table DEPARTMENT as per the specification given below. 1M


Table: Department

Column name Data Type Length Key Nulls/Unique


DeptID Integer 5 Primary Key
DeptName Varchar 20 Unique
Loc Varchar 15

c) Add one column mobileno of datatype varchar and size 12 to the table Bank. 1M

d) Change the datatype of column DeptName to Varchar(30) in the table Department. 1M

e) Write a command to change the column name from Loc to Location and datatype
Varchar(15) to Varchar(20 in the table Department. 1M

f) Write a command to remove the primary key constraint from Bank Table 1M

g) Write a query to insert one record in bank table and one record in Department table. 1M
Time : 3 Hours SET : 3 Maximum Marks : 30

1) Write the program to generate the DataFrame given below. And then execute any four attributes /
properties of a DataFrame 4M
Weight Name Gender
0 20.0 Nehal Male
1 36.0 Sameera Female
2 NaN Ajay Male

2) Write a program to create the Series given below. Sort the series based on
(a) values  ascending and descending
(b) indexes  ascending and descending 4M
CSK Ruturaj Gaikwad
GT Shubham Gill
MI Hardik Pandya
SRH Pat Cummins
RR Sanju Samson

3 a) Create the table EMPLOYEE given below with appropriate datatype and constraints and
insert the records as it is. 2M
Table: Employee
ENO ENAME SALARY ZONE AGE GRADE DEPT
1 Mona 70000 East 40 A 10
2 Mukhtar 71000 West 45 B 20
3 Nalini 60000 East 26 A 10
4 Sameer 65000 South 36 A 20
5 Surya 58000 North 30 B 30
6 Sanjay 38000 East 27 C 30
7 Reena 57500 North 31 A 20

b) Write a query to display Eno, Ename, Salary, Age of all the employees whose age is in
between 26 and 40 (both values inclusive) 1M

c) Write a query to display Grade, Maximum salary, Minimum salary, Total salary
and Average salary according to Grade wise. 1M

d) Write a query to display Zone name, Zone wise total salary and Count of number of
employees where Count of no of employees working in the zone is two or more than two. 1M

e) Write a query to change the ename to “Tina” and age to 30 where eno is 7 1M

f) Write a query to display Ename, Salary, Zone and Income Tax. (Note: Income Tax to be
calculated as 30% of salary) of all the employees with appropriate column headings 1M
Time : 3 Hours SET : 4 Maximum Marks: 30

1) Write a program to create the DataFrame given below 3M

Akash Vishal Sameer


Age 15 16 17
Location Hyderabad Bangalore Delhi
Marks 90 90 90
Section 12A 12B 12C

2) Write the commands to perform the following tasks based on the DataFrame created above. 5M
a) Change Vishal : Section  12D
b) Drop Column Sameer
c) Delete Row  Marks
d) Rename the index AgeA, LocationL, SectionS (permanently)
e) Rename the column Akash Sanjay, Vishal  Ramesh, Sameer Vikram (temporarily)
3)
a) Create the table LIBRARY given below with appropriate datatype and constraints and
insert the records as it is. 2M
Table : Library

No Title Author Subject Publisher Quantity Price

1 Data Structure Lipschute DS McGraw 4 217.00

2 DOS Guide Norton OS BPB 3 175.00

3 Turbo C++ Robort Lafore Prog Galgotia 5 270.00

4 Dbms Dummies Palmer DBMS PustakM 7 130.00

5 Mastering Windows Cowart OS BPB 1 225.00

6 Computer Studies French FND Galgotia 2 75.00

b) Write a query to display list of all the books with price more than 150 in ascending
order of quantity. 1M

c) Write a query to display title and 3 characters from 3rd place from the column title. 1M

d) Write a query to display publisher name, publisher wise total stock values (Quantity*Price) 1M

e) Write a query to add a column misplacement_charges with appropriate data type 1M

f) Write a query to update the column misplacement_charges as (1.25% price of book) 1M


Time : 3 Hours SET : 5 Maximum Marks : 30

1) Write a program to create the DataFrame given below 4M

Population Hospitals Schools


Chennai 2000 200 20
Delhi 3000 300 30
Kolkata 4000 400 40
Mumbai 5000 500 50

2) Write the commands to perform the following tasks based on the DataFrame created above. 4M
a) To display top two rows (or) bottom two rows
b) Write the command to extract the hospitals in Mumbai using row numeric index
c) Change the complete row values of Kolkata  500
d) Write the command to change all the values of DataFrame to 0
3)
a) Create the table EMP given below with appropriate datatype and constraints and
insert the records as it is. 2M

b) Write a query to display the name of those employees whose month in DOB is October. 1M

c) Write a query to display Ename, Department, last 2 characters from the


Ename Column and 2nd character from Department column. 1M

d) Write a query to display the Ename, Department name in lower case of those employees
whose Ename contains “n” at last position. 1M

e) Write a query to display the records in the descending order of department and
ascending order of DOJ. 1M

f) Write a query to delete the record of employee whose ename is “Ivan” 1M


Time : 3 Hours SET : 6 Maximum Marks : 30

1) Write a program to create the DataFrame given below 4M

Population Hospitals Schools


Chennai 2000 200 20
Delhi 3000 300 30
Kolkata 4000 400 40
Mumbai 5000 500 50

2) Write the commands to perform the following tasks based on the DataFrame created above. 4M
a) To display two columns values (ex: Hospitals, Schools)
b) To get the following output
Population Hospitals
Chennai 2000 200
Delhi 3000 300
(or)
Any 2 Rows and 2 Columns
c) Extract the same output which you got in b) using iloc command
d) Add the column Parks with value =100
3)
a) Create the table STOCK given below with appropriate datatype and constraints and
insert the records as it is. 2M
Table: Stock
Itcode Itname Dcode Qty Unitprice
444 Drawing Copy 101 10 21.75
445 Sharpener Camlin 102 25 13.50
450 Eraser Natraj 101 40 6.25
452 Gel Pen Montex 103 80 75.10
457 Geometry Box 102 65 65.75
467 Parker Premium 103 40 109.50

b) Write a query to display the itcode, itname, dcode from stock table for items whose
itname does not contains ‘a’ in it. 1M

c) Write a query to count the number of records whose unit price is more than 60 1M

d) Write a query to display dcode, highest unitprice dcode wise. 1M

e) Write a query to display itname, position of occurrence of letter ‘a’ in itname 1M

f) Write a query to increase the unitprice of all the items by 8% 1M

You might also like