0% found this document useful (0 votes)
720 views9 pages

II Pu New Syl - 25-26

The document outlines the syllabus for the II PU Computer Science course in Karnataka for the academic year 2025-26, detailing 13 chapters covering topics such as exception handling, file handling, data structures, database concepts, and security aspects. Each chapter includes a breakdown of theory and practical hours, along with a proposed time distribution for assessments. Additionally, it provides a list of practical problems and examination formats for both theoretical and practical evaluations.

Uploaded by

ravi.dubashi
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)
720 views9 pages

II Pu New Syl - 25-26

The document outlines the syllabus for the II PU Computer Science course in Karnataka for the academic year 2025-26, detailing 13 chapters covering topics such as exception handling, file handling, data structures, database concepts, and security aspects. Each chapter includes a breakdown of theory and practical hours, along with a proposed time distribution for assessments. Additionally, it provides a list of practical problems and examination formats for both theoretical and practical evaluations.

Uploaded by

ravi.dubashi
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/ 9

GOVERNMENT OF KARNATAKA

DEPARTMENT OF SCHOOL EDUCATION (PRE UNIVERSITY)


Course Outline for II PU Course – Computer Science (New Syllabus) 2025-26

SYLLABUS
Total Hours 150 (including practical Hours)

Chapter 1: Exception Handling in Python 06 Theory + 2 Practical


Exception Handling: syntax errors, exceptions, need of exception handling, user-defined exceptions, raising
exceptions, handling exceptions, catching exceptions, Try - except - else clause, Try - finally clause,
recovering and continuing with finally, built-in exception classes.

Chapter 2: File Handling in Python 06 Theory + 2 Practical


File Handling: text file and binary file, file types, open and close files, reading and writing text files, reading
and writing binary files using pickle module, file access modes.

Chapter 3: Stack 9 Theory + 4 Practical


Stack (List Implementation): Introduction to stack (LIFO Operations), operations on stack (PUSH and POP)
and its implementation in python. Expressions in Prefix, Infix and postfix notations, evaluating arithmetic
expressions using stack, conversion of Infix expression to postfix expression

Chapter 4: Queue 9 Theory + 4 Practical


Queue (List Implementation): Introduction to Queue (FIFO), Operations on Queue (INSERT and DELETE)
and its implementation in Python. Introduction to DQueue and its implementation in Python.

Chapter 5: Sorting 12 Theory + 4 Practical


Overview of sorting techniques, Bubble Sort, Selection Sort and Insertion Sort. Dry run to identify best,
worst and average cases. Implementation of sorting techniques in Python. Hashing: Hash Functions,
Collision Resolution, Implementing the Map Abstract Data Type.

Chapter 6: Searching 12 Theory + 4 Practical


Searching: Sequential search, Binary search, Analysis of Sequential and Binary Search. Dry run to identify
best, worst and average cases. Implementation of searching techniques in Python.

Chapter 7: Understanding Data 4 Theory


Data and its purpose, collection and organization; understanding data using statistical methods:
mean, median, standard deviation, variance; data interpretation; visualization of data.

Chapter 8: Database Concepts 13 Theory


Introduction to database concepts, difference between database and file system, relational data model:
concept of domain, tuple, relation, keys - candidate key, primary key, alternate key, foreign key; Relational
algebra: selection, projection, union, set difference and cartesian product;

Chapter 9: Structured Query Language 19 Theory + 10 Practical


Advantages of using Structured Query Language, Data Definition Language, Data Query
Language and Data Manipulation Language, Introduction to MySQL, Creating a database using MySQL,
Data Types Data Definition: CREATE TABLE, DROP TABLE, ALTER TABLE, Data Query: SELECT,
FROM, WHERE Data Manipulation: INSERT, UPDATE, DELETE Math functions: POWER (), ROUND
(), MOD (). Text functions: UCASE ()/UPPER (), LCASE ()/LOWER (),
MID ()/SUBSTRING ()/SUBSTR (), LENGTH (), LEFT (), RIGHT (), INSTR (), LTRIM (), RTRIM (),
TRIM ().
Date Functions: NOW (), DATE (), MONTH (), MONTHNAME (), YEAR (), DAY (), DAYNAME
(). Aggregate Functions: MAX (), MIN (), AVG (), SUM (), COUNT (); using COUNT (*).
Querying and manipulating data using Group by, Having, Order by.
Operations on Relations - Union, Intersection, Minus, Cartesian Product, JOIN

1
GOVERNMENT OF KARNATAKA
DEPARTMENT OF SCHOOL EDUCATION (PRE UNIVERSITY)
Course Outline for II PU Course – Computer Science (New Syllabus) 2025-26

Chapter 10: Computer Networks 13 Theory


Introduction to computer networks, Evolution of networking,
Network types: LAN, WAN, MAN
Network devices: Modem, Ethernet Card, Repeater, Hub, Switch, Router, Gateway.
Network Topologies: Mesh, Ring, Bus, Star, and Tree topologies
Basic concept of MAC and IP Address
Difference between Internet and web

Chapter 11: Data Communication 10 Theory


Concept of communication, Types of Data Communication, switching techniques
Communication Media: Wired Technologies – Twisted pair cable, Co-axial cable, Ethernet Cable, Optical
Fibre;
Introduction to mobile telecommunication technologies
Wireless Technologies – Bluetooth, WLAN, Infrared, Microwave
Network Protocol: Need for Protocol, Categorization and Examples of protocol, HTTP, FTP, IP, PPP;
electronic mail protocol Concept of Channel, Bandwidth (Hz, KHz, MHz) and Data Transfer rate (bps,
Kbps, Mbps, Gbps, Tbps)

Chapter 12: Security Aspects 7 Theory


Threats and prevention: Viruses, Worms, Trojan horse, Spam, Cookies, Adware, Firewall, http vs https
Network Security Concepts: Firewall, Cookies, Hackers and Crackers
Antivirus and their workings
Network security threats: Denial of service, Intrusion problems, Snooping, Eavesdropping

Chapter 13: Project based learning

Introduction, Approaches for Solving Projects, Teamwork, Project Descriptions

2
GOVERNMENT OF KARNATAKA
DEPARTMENT OF SCHOOL EDUCATION (PRE UNIVERSITY)
Course Outline for II PU Course – Computer Science (New Syllabus) 2025-26

CHAPTERWISE TIME DISTRIBUTION

Existing
Proposed (Hrs)
Chapter Description Periods (periods) HRS Marks
PR TH TOT PR TH TOT
Exception Handling
Chapter 1 10 2 08 10 08 02 06 08 05
in Python
File Handling in
Chapter 2 10 2 08 10 08 02 06 08 05
Python
Chapter 3 Stack 15 3 12 15 13 04 09 13 07

Chapter 4 Queue 15 3 12 15 13 04 09 13 09

Chapter 5 Sorting 20 4 16 20 16 04 12 16 10

Chapter 6 Searching 20 4 16 20 16 04 12 16 09

Chapter 7 Understanding Data 5 0 5 5 04 04 04 04

Chapter 8 Database Concepts 15 0 15 15 13 13 13 11


Structured Query
Chapter 9 35 12 23 35 29 10 19 29 15
Language
Chapter 10 Computer Networks 15 0 15 15 13 13 13 13

Chapter 11 Data Communication 12 0 12 12 10 10 10 10

Chapter 12 Security Aspects 8 0 8 8 07 07 07 07


Project based
Chapter 13 -- -- -- -- -- -- -- -- --
learning
180 30 150 180 150 30 120 150 105

3
GOVERNMENT OF KARNATAKA
DEPARTMENT OF SCHOOL EDUCATION (PRE UNIVERSITY)
Course Outline for II PU Course – Computer Science (New Syllabus) 2025-26

BLUE PRINT
(PROPOSED / SUBJECT TO CHANGE)
E E
VSA SA 2 SA 3
VSA 1 5 5
Chapter Description HOURS 1 2 3 TOTAL
(MCQ) Marks Marks
(FIB) Marks Marks
LOTS HOTS
Exception Handling
Chapter 1 6 1 1 1 05
in Python
File Handling in
Chapter 2 6 1 05
Python
Chapter 3 Stack 9 1 1 1 1 7

Chapter 4 Queue 9 1 1 1 9

Chapter 5 Sorting 12 1 1 1 1 1 10
(Part D/E) (Part E/D)

Chapter 6 Searching 12 1 1 1 1 1 9
(Part D/E) (Part E/D)

Chapter 7 Understanding Data 4 1 1 4

Chapter 8 Database Concepts 13 3 1 1 11


Structured Query
Chapter 9 19 3 2 1 1 15
Language
Chapter 10 Computer Networks 13 1 1 2 13

Chapter 11 Data Communication 10 3 1 1 10

Chapter 12 Security Aspects 7 1 1 7


Project based
Chapter 13 -- -- -- -- -- -- -- --
learning
120 15 5 7 7 7 3 105

4
GOVERNMENT OF KARNATAKA
DEPARTMENT OF SCHOOL EDUCATION (PRE UNIVERSITY)
Course Outline for II PU Course – Computer Science (New Syllabus) 2025-26

COMMON SYLLABUS FOR II PU I TEST


Chapter 1 Exception Handling in Python 6 Hrs
1.1 Introduction 1.2 Syntax Errors
1.3 Exceptions 1.4 Built-in Exceptions
1.5 Raising Exceptions 1.6 Handling Exceptions
1.7 Finally Clause

Chapter 2 File Handling in Python 6 Hrs


2.1 Introduction to Files 2.2 Types of Files
2.3 Opening and Closing a Text File 2.4 Writing to a Text File
2.5 Reading from a Text File 2.6 Setting Offsets in a File
2.7 Creating and Traversing a Text File 2.8 The Pickle Module

Chapter 3 Stack 9 Hrs


3.1 Introduction 3.2 Stack
3.3 Operations on Stack 3.4 Implementation of Stack in Python
3.5 Notations for Arithmetic Expressions 3.6 Conversion from Infix to Postfix Notation
3.7 Evaluation of Postfix Expression

Chapter 4 Queue 9 Hrs


4.1 Introduction to Queue 4.2 Operations on Queue
4.3 Implementation of Queue using Python 4.4 Introduction to Deque
4.5 Implementation of Deque Using Python

Chapter 5 Sorting 12 Hrs


5.1 Introduction 5.2 Bubble Sort
5.3 Selection Sort 5.4 Insertion Sort
5.5 Time Complexity of Algorithms

COMMON SYLLABUS FOR MID EXAMINATION I TERM PORTIONS and

Chapter 6 Searching 12 Hrs


6.1 Introduction 6.2 Linear Search
6.3 Binary Search 6.4 Search by Hashing

Chapter 7 Understanding Data 4 Hrs


7.1 Introduction to Data 7.2 Data Collection
7.3 Data Storage 7.4 Data Processing
7.5 Statistical Techniques for Data Processing

Chapter 8 Database Concepts 13 Hrs


8.1 Introduction 8.2 File System
8.3 Database Management System 8.4 Relational Data Model
8.5 Keys in a Relational Database

COMMON SYLLABUS FOR II TERM TEST


Chapter 9 Structured Query Language (SQL) 19 Hrs
9.1 Introduction 9.2 Structured Query Language (SQL)
9.3 Data Types and Constraints in MySQL 9.4 SQL for Data Definition
9.5 SQL for Data Manipulation 9.6 SQL for Data Query
9.7 Data Updation and Deletion 9.8 Functions in SQL
9.9 GROUP BY Clause in SQL 9.10 Operations on Relations
9.11 Using Two Relations in a Query

5
GOVERNMENT OF KARNATAKA
DEPARTMENT OF SCHOOL EDUCATION (PRE UNIVERSITY)
Course Outline for II PU Course – Computer Science (New Syllabus) 2025-26

Chapter 10 Computer Networks 13 Hrs


10.1 Introduction to Computer Networks 10.2 Evolution of Networking
10.3 Types of Networks 10.4 Network Devices
10.5 Networking Topologies 10.6 Identifying Nodes in a Networked
Communication
10.7 Internet, Web and the Internet of Things 10.8 Domain Name System

PRACTICALEXAMINATION
Sl. No Program Marks
1 Writing 1 Program from PART-A (Python) 6 Marks
Writing 1 Program from PART-B
2 6 Marks
(SQL)
3 Execution of any one program of examiner’s choice 8 Marks
4 Practical record 6 Marks
Viva-voce (Four Questions related to the program
5 4 Marks
written by the student in Exam)
Total 30 Marks

PRACTICAL MARKS DISTRIBUTION


PART-A One Python program 06

PART-B One SQL Problem 06

Execution of any one program of examiner’s choice 08

Viva-Voce (2-Internal, 2-External)


(Questions related to the program written by the student in Practical 04
Exam)
Attendance
90% - 100% 06
80% - 90 % 05
Practical Record (Marks)
70% - 80% 04
60% - 70% 03
Below 60% 00
TOTAL → 30

6
GOVERNMENT OF KARNATAKA
DEPARTMENT OF SCHOOL EDUCATION (PRE UNIVERSITY)
Course Outline for II PU Course – Computer Science (New Syllabus) 2025-26

List of practical problems - II PU Course

PART – A

Python
1) Write a python program using a function to print n Fibonacci numbers.
2) Write a menu driven program in python to find factorial, and sum of n natural Numbers using function.
3) Write a python program using user defined function to calculate interest amount using simple interest
method and compound interest method and find the difference of interest amount between the two
methods.
4) Write a Python Program to create a text file and to read a text file and display the number of vowels,
consonants, uppercase and lowercase characters in the file.
5) Write a python code to find the number of lines, number of words and number of characters in a text file.
6) Write a python program to create and to read records in binary file with student name and marks of six
subjects.
7) Write a python program to create & copy the records of the students having percentage of more than 90
from the binary file into another file.
8) Write a python program using function to sort the elements of a list using bubble sort method.
9) Write a python program using function to sort the elements of a list using selection sort method.
10) Write a python program using function to sort the elements of a list using insertion sort method.
11) Write a python program using function to search an element in a list using linear search method.
12) Write a python program using function to search an element in a list using binary search method.
13) Write a python program to add and display elements from a stack using list.
14) Write a python program to add and display elements from a queue using list.

PART B

MYSQL
B1) Create a table with the following fields and enter 10 records into the table.
Entity Name: marks

Attribute name Type Size Constraints


Rollno Int 5
Sname Varchar 15 Not null
Lang_mks Int 3 Between 0 and 100
Eng_mks Int 3 Between 0 and 100
Sub1_mks Int 3 Between 0 and 100
Sub2_mks Int 3 Between 0 and 100
Sub3_mks Int 3 Between 0 and 100
Sub4_mks Int 3 Between 0 and 100

7
GOVERNMENT OF KARNATAKA
DEPARTMENT OF SCHOOL EDUCATION (PRE UNIVERSITY)
Course Outline for II PU Course – Computer Science (New Syllabus) 2025-26

(i) List all the records


(ii) Display the description of the table
(iii) Add the new attributes total and percent
(iv) Calculate total and percentage of marks for all the students
(v) List the students whose percentage of marks is more than 60%.
(vi) List the students whose percentage is between 60 % and 85%.
(vii) Arrange the students based on percentage of marks from highest to lowest.

B2) Create a table for house hold Electricity bill with the following fields and enter 10 records.
Entity Name: BESCOM
Attributename Type Size Constraint
RRNO Varchar 10 Primary key
CUSTNAME Varchar 25 Not null
BILLDATE DATE
UNITS INT 4

1. View the structure of table.


2. List all the records
3. Add a new field for bill amount in the name of billamt.
4. Compute the bill amount for each consumer as per the following rules.
a. MINIMUM Amount Rs. 100
b. For first 100 units Rs 7.50/Unit
c. For the above 100 units Rs. 8.50/Unit
5. Display the maximum, minimum and total bill amount.
6. List all the bills generated in a sorted order based on RRNO.

B3) Create a table with the following details and enter 10 records into the table.

Entity Name: student

Attribute name Type Size Constraint


Rollno int 5 Primary key
Sname Varchar 15 Not null
DOB date
Gender char 1
Combn Varchar 5
Class Char 6

(i) List all the students


(ii) List the students who are in BASC and CEBA combination.
(iii) List only the combination by removing duplicate values.
(iv) List the students alphabetically.
(v) List the students alphabetically and class-wise.
(vi) List the students who born in the month of June of any year.
(vii) Count the number of students Gender-wise.

8
GOVERNMENT OF KARNATAKA
DEPARTMENT OF SCHOOL EDUCATION (PRE UNIVERSITY)
Course Outline for II PU Course – Computer Science (New Syllabus) 2025-26

B4) Create a table with following fields and enter 10 records into the table.

Entity Name: Library

Attributename Type Size Constraint


Title Varchar 75 Not null
Author Varchar 60
Year int 4
Category Varchar 25
price float 7,2
Qty Int 4

(i) List all the books


(ii) Calculate Amount by altering table with a new column ‘Amount’
(iii) List the records of all those books price is between 400 and 900.
(iv) List those records with no value in the attribute year .
(v) List the names of the authors whose name starts with ‘C’ or ‘D’.
(vi) List Title, year, category with category has word ‘science’.
(vii) List all those records whose year of publication is 2010 onwards with price is less than 750.

You might also like