Class 12 Computer Science

Tamil Nadu State Board · 16 chapters, each with notes, answers and a quiz

Take a timed practice paper (board pattern) →
  1. Functions and Function SpecificationsThis lesson explains functions as reusable code units, including how they use parameters and arguments and how their types can be specified. It distinguishes an interface, which describes what an object can do, from an implementation, which carries out the instructions. It also compares pure functions, which give the same result for the same inputs, with impure functions that can depend on outside variables or cause side effects. Understanding these ideas helps students describe and reason about how algorithms and programs work.6 min9 answers17 book back6-question quiz
  2. Data Abstraction and Abstract Data TypesThis lesson explains how data abstraction lets programs use data without depending on how it is represented or implemented. Abstract Data Types use constructors to create objects and selectors to retrieve their information. Lists, tuples, pairs, and classes provide ways to bundle and access data. These ideas help programmers handle complex data in a simpler, more modular way.6 min9 answers19 book back5-question quiz
  3. Variable Scope and Modular ProgrammingThis lesson explains how scope determines where program names and variables can be used. It teaches the LEGB search order and describes local, global, enclosed, and built-in scopes. It also explains how modules divide programs into manageable parts and how access control limits the use of class members. These ideas help programmers organize code, reuse it, and control access to data.6 min10 answers20 book back6-question quiz
  4. Algorithms and Algorithmic StrategiesThis lesson explains how algorithms give clear steps for solving problems and how their efficiency is judged using time and space. It introduces searching and sorting methods, including linear search, binary search, and three sorting techniques. It also shows how dynamic programming reuses results from smaller sub-problems, with Fibonacci numbers as an example. These ideas help students design and compare ways to solve problems.14 min19 answers18 book back5-question quiz
  5. Python Variables and OperatorsThis lesson teaches how to write Python programs in Interactive mode and Script mode, and how input and output work. It explains variables, tokens, literals, data types, indentation, and several kinds of operators. These ideas help students create, understand, and run Python code.11 min12 answers22 book back5-question quiz
  6. Python Control StructuresThis lesson explains how Python control structures direct the order in which program statements run. Sequential statements run one after another, branching statements choose actions according to conditions, and loops repeat code. It also teaches how indentation defines code blocks and how break, continue, and pass affect program flow. These structures help programmers make programs choose, repeat, or skip actions as needed.10 min13 answers18 book back5-question quiz
  7. Python FunctionsThis lesson explains how Python functions group code for specific tasks, helping programs avoid repetition and become easier to manage. It teaches how to define and call functions, pass different kinds of arguments, and use return statements. It also covers variable scope, built-in and lambda functions, composition, and recursion. Understanding these ideas helps students write and reuse code and follow how functions work.13 min19 answers24 book back6-question quiz
  8. Strings and String ManipulationThis lesson teaches how Python strings store and process sequences of characters. It explains string immutability, indexing, slicing, operators, formatting, and useful built-in functions. These tools help students inspect, combine, format, and search text in Python programs. The lesson also shows how strings can be used to solve practical problems such as checking palindromes and counting vowels.10 min15 answers20 book back4-question quiz
  9. Lists, Tuples, Sets and DictionaryThis lesson explains how Python collections store and organise groups of values. It teaches how to create, access, change and remove elements in lists, tuples, sets and dictionaries. It also shows how loops and collection functions help process values, and how set operations compare collections. These skills help students write programs that manage and work with data.21 min27 answers23 book back5-question quiz
  10. Classes and Objects in PythonThis lesson explains how Python classes act as templates for objects and how to create objects to use class members. It shows how methods, class variables, and instance variables work, including the role of self. It also teaches how constructors initialize objects and how destructors are used when objects are deleted. These ideas help students organize data and functions into Python programs.5 min9 answers21 book back5-question quiz
  11. Database ConceptsThis lesson explains how databases organize data and how a DBMS helps users store, manage and protect it. It introduces database components, data models and relationships, and shows how tables represent records and fields. It also teaches relational algebra operations for querying and combining tables. These ideas matter because they help students understand how database systems store and retrieve information.8 min15 answers20 book back5-question quiz
  12. SQL and Relational DatabasesThis lesson teaches how SQL is used to create, manage, and query relational databases. It explains tables, fields, records, data types, constraints, and the main groups of SQL commands. Students learn how to add, change, remove, sort, and retrieve table data. These skills help users organize database information and control how it is accessed and changed.19 min22 answers17 book back4-question quiz
  13. Working with CSV FilesThis lesson teaches how CSV files store tabular data as text and how they differ from Excel files. It explains how to create CSV files, including how to handle commas, line breaks and double quotes inside fields. It also shows how Python can read, sort, modify and write CSV data using the csv module. These skills help students process table data and save it in a format that is easy to use across programs.16 min23 answers19 book back5-question quiz
  14. Python and C++ TogetherThis lesson explains how Python can work with C++ by wrapping C++ programs and running them through a Python script. It introduces scripting languages, MinGW, and the Python modules used to process command-line arguments and compile and execute C++ files. A palindrome example shows how the steps fit together, and a faulty C++ program demonstrates that compilation errors can be displayed. These ideas help students connect programs written in two languages and organize code into reusable modules.6 min15 answers22 book back6-question quiz
  15. Databases and SQLiteThis lesson teaches how Python can use SQLite to create tables, add and change records, and retrieve data with SQL. It explains how clauses and operators filter, group, and sort results, and how aggregate functions summarise column values. It also shows how to join tables and save query results in a CSV file. These skills help students manage database information through Python scripts.13 min18 answers22 book back6-question quiz
  16. Data Visualization Using PyplotThis lesson explains how Data Visualization presents information graphically so people can understand and analyze data more easily. It introduces Matplotlib and Pyplot, including how to import the library and display plots. It teaches how line charts, bar charts and pie charts show different kinds of information. Choosing a suitable chart helps communicate patterns, comparisons and proportions clearly.18 min21 answers14 book back5-question quiz