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

Batch 3 Programs

Uploaded by

sathiyajai309
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)
8 views6 pages

Batch 3 Programs

Uploaded by

sathiyajai309
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

NARAYANA OLYMPIAD SCHOOL

SSCE COMPUTER SCIENCE (083) PRACTICAL EXAMINATION (2024-’25 )

Duration:3hrs SET-1 Max.Marks:30


1. Write a python program to count the number of vowels in an inputted string. (8 M)
2. Write the SQL queries for the given statements from a to d based on the following table (4 M)
EMPLOYEE
TABLE: EMPLOYEE

NO NAME SALARY ZONE AGE GRADE DEPT

1 MUKUL 30000 WEST 28 A 10

2 KRITIKA 35000 CENTRE 30 A 10

3 NAVEEN 32000 WEST 40 NULL 20

4 UDAY 38000 NORTH 38 C 30

5 NUPUR 32000 EAST 26 NULL 20

6 MOKSH 37000 SOUTH 28 B 10

7 SHELLY 36000 NORTH 26 A 30

a) Display the details of all the employees from the EMPLOYEE table.

b) Display the names of all the employees in the descending order of their age.

c) Display the name, salary, and age of all the employees having A grade from EMPLOYEE
table.
d) Display the total number of employees from each zone from the EMPLOYEE table.

3. RECORD (7 M)
4. PROJECT FILE (8 M)
5. VIVA (3 M)
NARAYANA OLYMPIAD SCHOOL
SSCE COMPUTER SCIENCE (083) PRACTICAL EXAMINATION (2024-’25)

Duration: 3hrs SET-2 Max.Marks:30


1. Write a python program to implement push, pop and display operations in a stack. (8M)

2. Write the SQL queries for the given statements from a to d based on the following table EMPLOYEE (4M)

TABLE: EMPLOYEE

NO NAME SALARY ZONE AGE GRADE DEPT

1 MUKUL 30000 WEST 28 A 10

2 KRITIKA 35000 CENTRE 30 A 10

3 NAVEEN 32000 WEST 40 NULL 20

4 UDAY 38000 NORTH 38 C 30

5 NUPUR 32000 EAST 26 NULL 20

6 MOKSH 37000 SOUTH 28 B 10

7 SHELLY 36000 NORTH 26 A 30

a) Display the details of all the employees from the EMPLOYEE table

b) Display the names of all the employees in the descending order of their age
c) Display the name, salary, and age of all the employees having A grade from EMPLOYEE
table
d) Display the total number of employees from each zone from the EMPLOYEE table

3. RECORD (7 M)
4. PROJECT FILE (8 M)
5. VIVA (3 M)
NARAYANA OLYMPIAD SCHOOL
SSCE COMPUTER SCIENCE (083) PRACTICAL EXAMINATION (2024-’25)

Duration: 3hrs SET-3 Max.Marks:30


1. Write a python program to write, read and display the content of a binary file. (8M)

2. Write the SQL queries for the given statements from a to d based on the following tables EMPLOYEE

AND DEPARTMENT (4M)

TABLE: EMPLOYEE

NO NAME SALARY ZONE AGE GRADE DEPT

1 MUKUL 30000 WEST 28 A 10


TABLE: DEPARTMENT
2 KRITIKA 35000 CENTRE 30 A 10
DEPT DNAME MINSAL MAXSAL HOD

3 NAVEEN 32000 WEST 40 NULL 20 10 SALES 25000 32000 1

4 UDAY 38000 NORTH 38 C 30 20 FINANCE 30000 50000 5

5 NUPUR 32000 EAST 26 NULL 20 30 ADMIN 25000 40000 7

6 MOKSH 37000 SOUTH 28 B 10

7 SHELLY 36000 NORTH 26 A 30

a) Display the name and department of all employees from the EMPLOYEE and DEPARTMENT table.

b) Display the number of employees who are more than 30 years old from the EMPLOYEE
table.

c) Display the name, salary, and age of all the employees whose name starts with ’M’.

d) Display the structure of the table EMPLOYEE

3. RECORD (7 M)
4. PROJECT FILE (8 M)
5. VIVA (3 M)
NARAYANA OLYMPIAD SCHOOL
SSCE COMPUTER SCIENCE (083) PRACTICAL EXAMINATION (2024-’25)

Duration: 3hrs SET-4 Max.Marks:30


1. Write a python program to copy all the consonants from file1.txt to file2.txt. (8M)

2. Write the SQL queries for the given statements from a to d based on the following tables

EMPLOYEE AND DEPARTMENT (4M)

TABLE: EMPLOYEE

NAME SALARY ZONE AGE GRADE DEPT

MUKUL 30000 WEST 28 A 10 TABLE: DEPARTMENT


KRITIKA 35000 CENTRE 30 A 10 DEPT DNAME MINSAL MAXSAL HOD

NAVEEN 32000 WEST 40 NULL 20 10 SALES 25000 32000 1

UDAY 38000 NORTH 38 C 30 20 FINANCE 30000 50000 5

NUPUR 32000 EAST 26 NULL 20 30 ADMIN 25000 40000 7

MOKSH 37000 SOUTH 28 B 10

SHELLY 36000 NORTH 26 A 30

a) Display the name , minimum salary and maximum salary of all employees from the

EMPLOYEE and DEPARTMENT table.

b) Display the number of employees where the grade is assigned.


c) Display the name, salary, and age of all the employees who are from WEST zone.
d) Display the average of all salaries from EMPLOYEE table.

3. RECORD (7 M)
4. PROJECT FILE (8 M)
5. VIVA (3 M)
NARAYANA OLYMPIAD SCHOOL
SSCE COMPUTER SCIENCE (083) PRACTICAL EXAMINATION (2024-’25 )

Duration:3hrs SET-5 Max.Marks:30


1. Write a Python program to check whether the inputted number is palindrome or not. (8M)

2. Write the SQL queries for the given statements from a to d based on the following table (4M)
EMPLOYEE

TABLE: EMPLOYEE

NAME SALARY ZONE AGE GRADE DEPT

MUKUL 30000 WEST 28 A 10

KRITIKA 35000 CENTRE 30 A 10

NAVEEN 32000 WEST 40 NULL 20

UDAY 38000 NORTH 38 C 30

NUPUR 32000 EAST 26 NULL 20

MOKSH 37000 SOUTH 28 B 10

SHELLY 36000 NORTH 26 A 30

a) Display the names of all the employees.


b) Add one more column DOJ of type DATE to the EMPLOYEE table.
c) Delete the employees for whom the grades are not assigned.
d) Display the sum of all salaries from EMPLOYEE table.

3. RECORD (7 M)
4. PROJECT FILE (8 M)
5. VIVA (3 M)
NARAYANA OLYMPIAD SCHOOL
SSCE COMPUTER SCIENCE (083) PRACTICAL EXAMINATION (2024-’25 )

Duration:3hrs SET-6 Max.Marks:30

1. Write a python program to perform search and display operations in a CSV file. (8 M)
2. Write the SQL queries for the given statements from a to d based on the following table (4 M)
EMPLOYEE
TABLE: EMPLOYEE

NO NAME SALARY ZONE AGE GRADE DEPT

1 MUKUL 30000 WEST 28 A 10

2 KRITIKA 35000 CENTRE 30 A 10

3 NAVEEN 32000 WEST 40 NULL 20

4 UDAY 38000 NORTH 38 C 30

5 NUPUR 32000 EAST 26 NULL 20

6 MOKSH 37000 SOUTH 28 B 10

7 SHELLY 36000 NORTH 26 A 30

a) Display the details of all the employees from the EMPLOYEE table.

b) Display the names of all the employees in the descending order of their age.

c) Display the name, salary, and age of all the employees having A grade from EMPLOYEE
table.
d) Display the total number of employees from each zone from the EMPLOYEE table.

3. RECORD (7 M)
4. PROJECT FILE (8 M)
5. VIVA (3 M)

You might also like