CBSE Class 11 ยท Informatics Practices
5 Chapters
Session 2026-27
Class 11 Informatics Practices Formulas, NumPy & SQL Cheat Sheet
Comprehensive chapter-wise formula sheet, Python syntax rules, NumPy array operations, RDBMS keys, SQL queries (DDL, DML, WHERE, ORDER BY), and cyber law principles for CBSE Class 11 Informatics Practices (Code 065) as per NCERT 2026-27 syllabus.
Key Principles
- Computer Architecture: Input Unit, Central Processing Unit (CPU - ALU, CU, Registers), Output Unit, and Storage Units.
- Memory Hierarchy: Primary Memory (RAM - volatile read/write; ROM - non-volatile read-only firmware) and Secondary Memory (HDD, SSD, Optical Discs).
- Data Storage Units: Bit (binary digit 0 or 1), Nibble (4 bits), Byte (8 bits), Kilobyte (1 KB = 1024 Bytes), Megabyte (1 MB = 1024 KB), Gigabyte (1 GB = 1024 MB), Terabyte (1 TB = 1024 GB), Petabyte (1 PB = 1024 TB).
- Types of Software: System Software (Operating System, Device Drivers), Programming Tools, Application Software (General Purpose vs Customized).
- Operating System Functions: Process management, Memory management, File management, Device management, User interface provision.
- Cloud Computing Models: Infrastructure as a Service (IaaS), Platform as a Service (PaaS), Software as a Service (SaaS).
| # | Topic | Formula | Conditions & Meaning |
|---|---|---|---|
| 1 | Binary Memory Scale Multipliers | 1 Byte = 8 bits; 1 KB = 1024 Bytes; 1 MB = 1024 KB = 2^20 Bytes; 1 GB = 1024 MB = 2^30 Bytes; 1 TB = 1024 GB = 2^40 Bytes | Computer memory uses powers of 2 (2^10 = 1024) rather than standard decimal powers of 10. |
| 2 | Nibble vs Byte Relation | 1 Byte = 2 Nibbles = 8 bits; 1 Nibble = 4 bits | Hexadecimal digits map exactly to one 4-bit nibble. |
| 3 | Von Neumann Stored Program Architecture | Computer System = CPU (ALU + CU + Registers) + Main Memory (RAM) + I/O Subsystem connected via System Bus | Instruction cycle: Fetch -> Decode -> Execute. |
| 4 | RAM vs ROM Memory Classification | RAM: Volatile, Read/Write, Fast temporary working storage; ROM: Non-volatile, Read-Only, Permanent BIOS bootstrap firmware | RAM loses contents when power is turned off; ROM retains instructions permanently. |
| 5 | Cache Memory Access Speed Hierarchy | Registers (Fastest, Smallest) > L1/L2 Cache > RAM > SSD > HDD > Optical Storage (Slowest, Largest) | Cache bridges the operational speed mismatch between the micro-processor and slower main memory. |
Showing 5 of 12 formulas. View all 12 formulas →
Key Principles
- Python Features: High-level, interpreted, dynamically typed, case-sensitive language with clean indentation syntax.
- Tokens in Python: Keywords (reserved words, e.g. `if`, `for`, `def`, `class`), Identifiers (naming rules: letters, digits, underscore; cannot start with digit), Literals, Operators, Delimiters.
- Data Types: Integer, Float, Complex, Boolean (`True`, `False`), String (immutable), List (mutable ordered sequence `[...]`), Tuple (immutable ordered sequence `(...)`), Dictionary (mutable key-value pairs `{k: v}`).
- Operators: Arithmetic (`+`, `-`, `*`, `/`, `//` floor division, `%` modulo, `**` exponent), Relational (`==`, `!=`, `<`, `>`, `<=`, `>=`), Logical (`and`, `or`, `not`), Membership (`in`, `not in`), Identity (`is`, `is not`).
- Control Flow: Conditional statements (`if-elif-else`), Loops (`for` with `range(start, stop, step)`, `while` condition), Loop control (`break`, `continue`).
- String and List Slicing: Syntax `sequence[start : stop : step]` where stop index is strictly exclusive.
| # | Topic | Formula | Conditions & Meaning |
|---|---|---|---|
| 1 | Floor Division vs True Division Rule | True Division a / b returns float; Floor Division a // b returns largest integer quotient <= a/b | In Python, true division always yields float; floor division rounds down towards negative infinity. |
| 2 | Modulo Remainder Identity | a % b = a - (a // b) * b | The sign of the result matches the sign of divisor b in Python. |
| 3 | Sequence Slicing Formula | s[start : stop : step] extracts elements from index 'start' up to 'stop - 1' with interval 'step' | If step is negative, slice traverses backwards from start down to stop + 1. |
| 4 | Reverse Sequence Slicing | s[::-1] reverses entire string or list | Concise idiomatic Python syntax to reverse any indexable sequence. |
| 5 | Range Function Generation Rule | range(start, stop, step) produces integers from start up to (stop - 1) in steps of step | Stop argument b is strictly exclusive; default start is 0, default step is 1. |
Showing 5 of 12 formulas. View all 12 formulas →
Key Principles
- NumPy Library: Core library for scientific computing in Python, providing high-performance multidimensional array object (`ndarray`) and vectorized mathematical routines.
- NumPy Array vs Python List: NumPy arrays store homogeneous elements in contiguous memory buffers; support vectorized element-wise arithmetic without explicit loops; lower memory overhead and faster execution.
- Array Creation: `np.array()`, `np.zeros()`, `np.ones()`, `np.empty()`, `np.arange()`, `np.linspace()`, `np.eye()`.
- Array Attributes: `ndim` (number of dimensions), `shape` (tuple of array dimensions), `size` (total elements), `dtype` (data type of elements), `itemsize` (bytes per element).
- Indexing and Slicing: 1D array indexing; 2D array indexing `arr[row, col]`; slicing `arr[row_start:row_stop, col_start:col_stop]`.
- Vectorized Operations & Statistical Functions: Element-wise arithmetic (`+`, `-`, `*`, `/`), universal functions (`np.sqrt()`, `np.exp()`), statistical methods (`np.sum()`, `np.mean()`, `np.median()`, `np.std()`, `np.min()`, `np.max()`).
| # | Topic | Formula | Conditions & Meaning |
|---|---|---|---|
| 1 | NumPy Array Size-Shape Product Identity | arr.size = Product of all dimensions in arr.shape = m * n (for 2D array) | Total count of scalar elements stored inside the ndarray. |
| 2 | Total Memory Consumed by ndarray | Total Bytes = arr.size * arr.itemsize = arr.nbytes | Calculates total physical RAM buffer occupied by the homogeneous array. |
| 3 | Linspace Step Size Formula | step = (stop - start) / (num - 1) for np.linspace(start, stop, num) | Generates n linearly spaced samples over the closed interval [start, stop]. |
| 4 | Vectorized Element-wise Arithmetic | C[i] = A[i] op B[i] without Python for-loops (where op is +, -, *, /, **) | Operations execute compiled C-speed vector instructions in underlying CPU SIMD registers. |
| 5 | Broadcasting Compatibility Rule | Two dimensions are compatible for broadcasting if: (1) they are equal, OR (2) one of them is 1 | Allows NumPy to perform operations between arrays of different shapes without copying data. |
Showing 5 of 12 formulas. View all 12 formulas →
Key Principles
- Relational Database Concepts: Database (organized collection of interrelated data), Table / Relation (data organized in rows and columns), Attribute / Field (column), Tuple / Record (row), Domain (set of permissible values for an attribute).
- Degree and Cardinality: Degree = Total number of attributes (columns); Cardinality = Total number of tuples (rows).
- Keys in a Database: Candidate Key (minimal set of attributes identifying a tuple uniquely), Primary Key (selected candidate key, cannot be NULL), Alternate Key (candidate keys not chosen as primary), Foreign Key (attribute referencing primary key of another table).
- Structured Query Language (SQL): Standard language for relational databases; DDL (Data Definition Language: `CREATE DATABASE`, `USE`, `CREATE TABLE`, `DROP TABLE`, `ALTER TABLE`) vs DML (Data Manipulation Language: `INSERT INTO`, `SELECT`, `UPDATE`, `DELETE`).
- Data Types in MySQL: `CHAR(n)` (fixed length), `VARCHAR(n)` (variable length), `INT`, `DECIMAL(p, s)`, `DATE` ('YYYY-MM-DD').
- Query Filtering & Sorting: `WHERE` clause, Comparison operators (`=`, `!=`, `<`, `>`, `<=`, `>=`), Logical operators (`AND`, `OR`, `NOT`), Special operators (`BETWEEN ... AND`, `IN (...)`, `LIKE` with wildcards `%` and `_`, `IS NULL`, `IS NOT NULL`), `ORDER BY` (ASC/DESC), `DISTINCT`.
| # | Topic | Formula | Conditions & Meaning |
|---|---|---|---|
| 1 | Degree and Cardinality Definitions | Degree = Number of Columns (Attributes); Cardinality = Number of Rows (Tuples) | Adding a column increases Degree by 1; inserting a record increases Cardinality by 1. |
| 2 | Candidate Key, Primary Key, and Alternate Key Identity | Total Candidate Keys = Primary Key (1 chosen) + Alternate Keys (All remaining candidate keys) | Primary key cannot contain NULL values and must uniquely identify every row (Entity Integrity). |
| 3 | DDL vs DML Command Classification | DDL (Structure): CREATE, ALTER, DROP, TRUNCATE; DML (Data): INSERT, SELECT, UPDATE, DELETE | DDL changes table schema/columns; DML modifies tuple values inside the existing schema. |
| 4 | SQL Pattern Matching Wildcards (LIKE Operator) | % matches zero or more characters; _ (underscore) matches exactly one single character | e.g. 'A%' matches words starting with A; '_ _ _' matches strings of exactly 3 characters. |
| 5 | CHAR vs VARCHAR Storage Formula | CHAR(n) allocates fixed n bytes regardless of text length; VARCHAR(n) allocates actual length + 1 byte overhead | CHAR pads with trailing spaces; VARCHAR conserves disk storage for variable-length text. |
Showing 5 of 12 formulas. View all 12 formulas →
Key Principles
- Emerging Technologies: Artificial Intelligence (AI), Machine Learning (ML), Natural Language Processing (NLP), Computer Vision, Big Data (5 Vs: Volume, Velocity, Variety, Veracity, Value), Internet of Things (IoT), Cloud Computing, Blockchain.
- Digital Footprint: Active digital footprint (data intentionally submitted online, e.g. social media posts, emails, web forms) vs Passive digital footprint (data collected involuntarily without active knowledge, e.g. browsing history, IP address, geolocation cookies).
- Cyber Safety & Etiquette: Secure passwords, two-factor authentication (2FA), avoiding phishing emails, netiquette (courtesy, respecting privacy and copyright).
- Cyber Crimes: Phishing (fraudulent attempts to steal sensitive credentials via counterfeit websites/emails), Cyber bullying, Identity theft, Hacking, Spamming, Ransomware, Cyber stalking.
- Intellectual Property Rights (IPR): Copyright (artistic/literary creations), Patents (inventions), Trademarks (brand logos); Plagiarism (using another person's work without proper citation).
- Open Source & Licences: Proprietary vs Open Source software; Free and Open Source Software (FOSS), GNU General Public License (GPL), Creative Commons (CC); Indian Information Technology (IT) Act, 2000.
| # | Topic | Formula | Conditions & Meaning |
|---|---|---|---|
| 1 | Digital Footprint Classification | Total Digital Footprint = Active Footprint (Forms, Posts, Uploads) + Passive Footprint (IP, Cookies, Geolocation, Server Logs) | Permanent digital trail created whenever a user interacts with internet services. |
| 2 | The 5 Vs of Big Data | Big Data Characteristics = Volume (Petabytes) + Velocity (Real-time speed) + Variety (Text, Audio, Video) + Veracity (Trustworthiness) + Value | High-dimensional datasets exceeding the processing capability of traditional relational database management systems. |
| 3 | Blockchain Cryptographic Hash Chain | Block_i = Hash(Block_{i-1}) + Transaction Data + Nonce + Timestamp | Immutable, distributed, peer-to-peer ledger where altering one block invalidates all subsequent blocks. |
| 4 | Password Entropy & Strength Formula | Entropy E = L * log2(R) bits (L = password length, R = character pool size: 26 lowercase + 26 uppercase + 10 digits + 32 symbols = 94) | Increasing length L exponentially increases resistance to automated brute-force attacks. |
| 5 | Two-Factor Authentication (2FA) Equation | 2FA Security = Something You Know (Password/PIN) + Something You Have (Phone OTP/Token) + Something You Are (Biometrics) | Prevents account takeover even if an attacker steals the text password via phishing. |
Showing 5 of 12 formulas. View all 12 formulas →