Computer Science: I II III
Computer Science: I II III
CLASS-XII
Code No. 083
2020-21
1. Prerequisites
2. Learning Outcomes
3. Distribution of Marks:
3
4. Practical
S. Marks
Area
No. (Total=30)
1 Lab Test:
1. Python program (60% logic + 20%
documentation + 20% code quality) 7
2. Small Python program that sends a SQL query
to a database and displays the result. A stub 5
program can be provided.
2 Report file: Minimum 20 Python programs. Out of 7
this at least 4 programs should send SQL
commands to a database and retrieve the result
3 Project (that uses the concepts that have been learnt
8
in Class 11 and 12)
4 Viva voce 3
4
Database Management
● Create a student table and insert data. Implement the following SQL
commands on the student table:
ALTER table to add new attributes / modify data type / drop
attribute
UPDATE table to modify data
ORDER By to display data in ascending / descending order
DELETE to remove tuple(s)
GROUP BY and find the min, max, sum, count and average
● Similar exercise may be framed for other cases.
● Integrate SQL with Python by importing the MySQL module.
6. Project
The aim of the class project is to create something that is tangible and useful
using Python / Python and SQL connectivity. This should be done in groups
of two to three students and should be started by students at least 6 months
before the submission deadline. The aim here is to find a real world problem
that is worthwhile to solve.
Students are encouraged to visit local businesses and ask them about the
problems that they are facing. For example, if a business is finding it hard to
create invoices for filing GST claims, then students can do a project that
takes the raw data (list of transactions), groups the transactions by category,
accounts for the GST tax rates, and creates invoices in the appropriate
format. Students can be extremely creative here. They can use a wide
variety of Python libraries to create user friendly applications such as games,
software for their school, software for their disabled fellow students, and
mobile applications, Of course to do some of these projects, some additional
learning is required; this should be encouraged. Students should know how
to teach themselves.