0% found this document useful (0 votes)
9 views

XII IP Practicals B With Answers

Uploaded by

ptlk.lalli
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

XII IP Practicals B With Answers

Uploaded by

ptlk.lalli
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

KENNEDY HIGH the global school

SSCE PRACTICAL EXAMINATION 2022 – 23


Subject: Informatics Practices (Code: 065) School Code: 57563
Class: XII Time: 3 Hrs
Dt: 10-01-2023 Total Marks: 30
SET - B
1. a) Create the Dataframe TCH which is given below. [05M]

Tname salary department

1001 Scott 90000 Math

1002 Tom 34000 Computers

1003 Joy 32000 Computers

1004 Sam 40000 Math

1005 Martin 85000 Science

(i) Display columns Tname and department only.

(ii) Change the salary of Joy to 35000.

(iii) Retrieve the bottom three records from the Dataframe.

Page |1
(iv) Delete a record in which Tname is ‘Tom’ from the DataFrame.

(v) Create a bar chart.

b) To Store the data into a CSV file with seperator as ‘$’ [03M]

Page |2
Output:

(the folder should contain this file)

(inside the file)

2. Write MySQL queries for the given questions based on the following table. [07M]
Table Name: Student
Roll_no Name Specialization Marks

11 Subhransu Patra Computers 90

12 Sudhansu Patra English 69

13 Jonny English 99

14 Missy Computers 78

15 Jenny Mathematics 96

16 Kyle Computers 97

17 Nathan English 76

18 Abby Computers 85

19 John Mathematics 67

20 Steve Sociology 83

Prerequisite:

 Create the database with your name.


 Create the above table with suitable datatype and insert the records. Choose the suitable
primary key constraint for the table.

Answer the following questions:

1. Display the student records in descending order based on marks.

Page |3
2. Display the total of all students marks from the above table.

3. Display the number of students in each specialization.

4. Display last 4 characters of the ‘Specialization’ column.

5. Display the student details who scored maximum marks.


Page |4
6. Display the names of students whose name contains letter ‘a’.

7. Display from 3rd character to 6th character from the ‘Specialization’ column.

3. Practical File [05M]

4. Project [05M]

5. Viva Voce [05M]

Page |5

You might also like