Vous êtes sur la page 1sur 6

AISSCE PRACTICAL EXAMINATIONS

083- COMPUTR SCIENCE


DATE: 10/02/2011

TIME:

TO

C++ -- 10 Marks
SQL 5 Marks
Record 5 Marks
Project 5 Marks
Viva
5 Marks
___________________
Total 30 Marks
___________________
Internal Examiner
Examiner No: KK083027

External Examiner
Examiner No:KK083009

Set-A
Date of Exam: 10/02/2011
School Code: 06475

Timings :
to
Centre No: 4158

Class: XII
Subject: Computer Science

Marks: 30
Duration : 3Hrs

1. Write a C++ program to implement a linked list and perform the following operations
using functions:
a. Read a list of numbers
b. Display the list
c. Insert an element at the end of the list.
d. Sort using selection sort.
e. Search for a given element using Binary Search
2. Write SQL statement using MySQL to create tables with the following information.
Table 1 : SENDER

SenderID SenderName SenderAddress SenderCity


ND01
R Jain
2,ABC Appts
New Delhi
MU02
H Sinha
12, Newtown
Mumbai
MU15
S Jha
27/1, Park Street
Mumbai
ND50
T Prasad
122-K, SDA
New Delhi
Table 2: RECIPIENT

RecId SenderID
KO05
ND01
ND08
MU19
MU32
ND48

MU02
ND01
MU15
ND50

RecName
R
Baupayee
S Mahajan
H Singh
P K Swamy
S Tripathi

RecAddress
5, Central Avenue

RecCity
Kolkata

116, A vihar
2A, Andheri East
B5, C S Terminus
13, B1 D, Mayur
Vihar

New Delhi
Mumbai
Mumbai
New Delhi

3. Write a SQL query to display the names of all Senders from Mumbai.
4. Write a SQL query to display the RecID, SenderName, SenderAddress, RecName,
RecAddress for every Recipient.
5. Write a SQL query to dia ly Recipient details in ascending order of RecName.
6. Write a query to display number of Recipients from each city.
7. Viva
8. Record
9. Project Work

(5 Marks)
(5 Marks)
(5 Marks)

Class : XII
Subject : Computer Science

Marks: 30
Duration : 3Hrs

1. Write a c++ program to implement a list using array and perform the following
operations using functions:
a. Read a list of numbers.
b. Display the list
c. Insert an element at the end of the list
d. Sort using Bubble Sort.
e. Search for a given element.
2.

Write SQL statement using MySQL to create a table with the following
information.

Table: STUDENT

No
.
1
2
3
4
5
6
7
8
9
10

Name

Stipen
d
Karan
400.00
Divakar 450.00
Divya
300.00
Arun
350.00
Sabina 500.00
John
400.00
Robert 250.00
Rubina 450.00
Vikas
500.00
Mohan 300.00

Stream

AvgMar
k
Medical
78.5
Commerce 89.2
Commerce 68.6
Humanities 73.1
Nonmedical 90.6
Medical
75.4
Humanities 64.4
Nonmedical 88.5
Nonmedical 92.0
Commerce 67.5

Grad
e
B
A
C
B
A
B
C
A
A
C

Clas
s
12B
11C
12C
12C
11A
12B
11A
12A
12A
12C

3.
4.
5.
6.

Write SQL statement to select all Nonmedical stream students from STUDENT.
List the names of those students who are in class 12 sorted by Stipend.
List all students sorted by AvgMark in descending order.
To count the number of students with Grade A.

7.
8.
9.

Viva
Record
Project Work

(5 Marks)
(5 Marks)
(5 Marks)

Class : XII
Subject : Computer Science

Marks: 30
Duration : 3Hrs

1.
Write a C++ program that count no.of alphabets , no. of digits in a file.
2. Write SQL statement using MySQL to create a table with the following information.
Table 3 : CONSIGNOR

CnorI
D
ND01
ND02
MU15
MU50

CnorName

CnorAddress

City

R Singhal
Amit Kumar
R Kohli
S Kaur

24, ABC Enclave


New Delhi
123, Palm Avenue New Delhi
5/A, South Street Mumbai
27-K, Westend
Mumbai
Table 4:CONSIGNEE

CneeI
D
MU05
ND08
KO19
MU32
ND48

CnorI
d
ND01
Nd02
MU15
ND02
MU50

CneeName

CneeAddress

CneeCity

Rahul Kishore
P Dhingra
A P Roy
S Mittal
B P Jain

5, Park Avenue
16/J, Moore Enclave
2A, Central Avnue
P 245, AB Colony
13,BlockD, A Vihar

Mumbai
New Delhi
Kolkata
Mumbai
New Delhi

3. Write a SQL query to display the names of all Consignors from Mumbai.
4. To display the CneeID, CnorName, CnorAddressm, CneeName, CneeAddress for
every Consignee.
5. To display Consignee details in descending order of CneeName.
6. To display number of consignors from each city.
7. Viva
8. Record
9. Project Work

(5 Marks)
(5 Marks)
(5 Marks)

Class : XII
Subject : Computer Science

Marks: 30
Duration : 3Hrs

1.

Write a C++ program that reads a text file data.xyz, and create a file that stores
the text file along with the line numbers.
2. Write SQL statement using MySQL to create a table with the following information.
Table : SPORTS

Student
No.
10
11
12
13
14
15

Clas
s
7
8
7
7
9
10

Grad
e
Sameer Cricket
B
Sujit
Tennis
A
Kamal
Swimming B
Venna
Tennis
C
Archana Basketball A
Arpit
Cricket
A
Name

Game1

Grad
e
Swimming A
Skating
C
Football
B
Tennis
A
Cricket
A
Athletics
C
Game2

3. Write a SQL query to display the names of the students who have grade C in either
Game 1 or Game2 or both.
4. Write a query to display the number of students getting grade A in Cricket.
5. Display the names of the students who have same grade for both Game1 and Game2.
6. Display the games taken up by the students, whose name starts with A. Arrange the
table in alphabetical order of Name.
7. Viva
8. Record
9. Project Work

(5 Marks)
(5 Marks)
(5 Marks)

Vous aimerez peut-être aussi