AISSCE Practical Exam 2021
AISSCE Practical Exam 2021
AISSCE Practical Exam 2021
(a) Write a SQL command to create the above table with the following details:
(b) Create another table Lib out of above table to contain rows only of Osborn Publisher.
(c) Update the column Mem_name of the above table by adding ‘Mr’ before every name.
(d) Insert 2 more rows into table Lib with edition as NULL and Price as NOT NULL.
2. Practical File 05
3. Project 05
4. Viva Voce 05
AICCSE Practical Exam 2020-21
Informatics Practices(065)
SET B
1. Consider the data given below: 08
(a) Write a Query in SQL to create the table EXAM. Take Data types, size and constraints of fields at your own.
(b) WAQ to list the names of those students, who have obtained Division as FIRST, in the ascending
order of NAME.
(c) WAQ to count the number of students, who have either Accounts or Informatics as a Subject.
(d) WAQ to display a report listing NAME, SUBJECT and Annual stipend received assuming that the stipend
column has monthly stipend.
3. Practical File 05
4. Project 05
5. Viva Voce 05
AICCSE Practical Exam 2020-21
Informatics Practices(065)
SET C
1. Create DataFrame wdf and answer followings: 08
minTemp maxTemp Rainfall Evaporation
0 2.9 8 24.3 0
1 3.1 14 26.9 3.6
2 6.2 13.7 23.4 3.6
3 5.3 13.3 15.5 39.8
4 6.3 17.6 16.1 2.8
5 5.4 18.2 16.9 0
6 5.5 21.1 18.2 0.2
7 4.8 18.3 17 0
8 3.6 20.8 19.5 0
9 7.7 19.4 22.8 16.2
10 9.9 24.1 25.2 0
a) Write command to calculate minimum value for each of the columns.
b) Write command to calculate maximum value for each of the rows.
2. Create table EMPL with following records and answer the queries that follow: 07
i. Display the employee name, job and start date of employees hired between Feb 20, 1991 and May 1,
1992. Order the query in ascending order of start date.
ii. List the name and salary of the employees who earn more than 1500 and are in department 10 or 30.
Label the columns Employee and Monthly Salary respectively.
iii. Display the name and hiredate of every employee who was hired in 1992.
iv. Display the name, job and salary for all employees whose job is Clerk or Analyst and there salary is not
equal to 1000, 3000 or 5000.
v. Display name, salary and commission for all employees whose commission amount is greater than their
salary. Display also increased salary by 10%.
3. Practical File 05
4. Project 05
5. Viva Voce 05
AICCSE Practical Exam 2020-21
Computer Science (083) SET A
WE, THE PEOPLE OF INDIA, having solemnly resolved to constitute India into a SOVEREIGN SOCIALIST
SECULAR DEMOCRATIC REPUBLIC and to secure to all its citizens:
JUSTICE, social, economic and political;
LIBERTY of thought, expression, belief, faith and worship;
EQUALITY of status and of opportunity;
and to promote among them all FRATERNITY assuring the dignity of the individual and the unity and integrity of
the Nation;
IN OUR CONSTITUENT ASSEMBLY this twenty-sixth day of November, 1949, do HEREBY ADOPT, ENACT
AND GIVE TO OURSELVES THIS CONSTITUTION
Thereafter open the file in read mode and read lines from “Preamble.txt”, to find and display the occurrence of the
word “INDIA” or “India”.
2. Write SQL statements for the questions that follow, based on table given here: 05
Table : BUS
Busno Origin Dest Rate KM ST_time Type
21 Del Jalandhar 25 210 9.50 AC
198 Del Amritsar NULL 250 10.00 NULL
101 Chandi Delhi 12 250 22.00 NON
49 Mum Pune 35 200 11.00 NULL
12 Del Agra 50 330 6.00 AC
25 Del Hridwar 20 250 5.00 NON
24 Del Agra 25 330 8.30 NON
(a) Write a SQL command to create the above table with records according to following description:
Column Name Datatype Size Constraint
Busno INTEGER 4 PRIMARY KEY
Origin VARCHAR 10 NOT NULL
Dest VARCHAR 10 NOT NULL
Rate DECIMAL 5, 2 NOT NULL
KM INTEGER 5 CHECK for greater than 200
Time DECIMAL 4, 2 DEFAULT 12.0
Type VARCHAR 4
(b) Add one more column Tax_Charge NUMBER(6) with constraint NOT NULL to the table.
(c) Modify the row of Busno 198 by changing Rate to 30 and Type to ‘NON’.
(d) Create a view Bus consisting of Busno, Origin, Dest, St_time of buses with Dest as ‘Agra’.
3. Practical File 07
4. Project 08
5. Viva Voce 03
AICCSE Practical Exam 2020-21
Computer Science (083) SET B
1. Write a program in python to define and call a function BinarySearch(Arr,l,R,X) to search the given element X to
be searched from the List Arr having R elements,where l represents lower bound and R represents the upper
bound. 07
2. Consider the following table EXAM: 05
No. Name' Stipend Subject Average Division
1 Karan 400 English 68 FIRST
2 Arnan 680 Mathematics 72 FIRST
3 Javed 500 Accounts 67 FIRST
4 Bishakh 200 Informatics 55 SECOND
5 Sugandha 400 History 35 THIRD
6 Suparna 550 Geography 45 THIRD
(a) Write a Query in SQL to create the table EXAM. Take Data types, size and constraints of fields at your own.
(b) WAQ to list the names of those students, who have obtained Division as FIRST, in the ascending
order of NAME.
(c) WAQ to count the number of students, who have either Accounts or Informatics as a Subject.
WAQ to display a report listing NAME, SUBJECT and Annual stipend received assuming that the stipend
column has monthly stipend.
3. Practical File 07
4. Project 08
5. Viva Voce 03