---
title: "Class 12 IT 802 Notes 2026-27: RDBMS, Web Apps, Java"
description: "Class 12 IT 802 notes for 2026-27, chapter by chapter: RDBMS and SQL, web based applications, Java, work integrated learning and Part A, all code run."
canonical: https://learn.modernagecoders.com/cbse-class-12-it-802-notes
source: src/pages/cbse-class-12-it-802-notes.html
---
> Class 12 IT 802 notes for 2026-27, chapter by chapter: RDBMS and SQL, web based applications, Java, work integrated learning and Part A, all code run.

Start here

## Courses for the two coding units

Java and SQL are 35 of the 60 theory marks and come back in the lab. These courses build the skill from the start; board notes are then quick to learn.

[![Java Programming for Teens course thumbnail](/images/java-teens.webp)  Behind Unit 3 Java Programming for Teens Variables to classes and exceptions, learned by writing programs. Good for a student who can read the notes and still cannot begin a program. Open the course →](/courses/java-programming-masterclass-for-teens)[![MySQL for Teens course thumbnail](/images/mysql-teens.webp)  Behind Unit 1 MySQL for Teens Queries, joins, keys and constraints on real tables, then a database of your own design. It goes past what 802 asks. Open the course →](/courses/mysql-mastery-for-teens)[![Computer Science Class 11 and 12 course thumbnail](/images/ip-cs-class-11-12.webp)  A wider subject Computer Science Class 11 and 12 For a student who studies computer science as well as IT, or a younger sibling choosing between the two. Open the course →](/courses/cbse-icse-computer-science-class-11-12-python-java-complete-course)

Ans. The short version

Class 12 IT 802 notes for 2026-27 have to cover 60 theory marks: Employability Skills (10), Database Concepts and RDBMS (15), Operating Web Based Applications (10), Fundamentals of Java Programming (20) and Work Integrated Learning (5). This page gives notes for each unit, with SQL run on MySQL, Java programs run on version 21, and recall questions. For a PDF, CBSE lists its own student handbook free on cbseacademic.nic.in. Modern Age Coders teaches the units live, personalised one to one at your own timing, and a priority demo lets you try a complete class first.

Q1. What do the notes have to cover?

## IT 802 class 12 chapter notes: units, hours and what each one asks of you

The theory paper is 60 marks: 10 for Part A and 50 for four subject units. Two of those units are code and two are writing, so they need different kinds of notes.

| Unit | Theory hours | Marks | Kind of notes |
| --- | --- | --- | --- |
| 1. Database Concepts, RDBMS tool | 30 | 15 | Definitions, plus queries you can write |
| 2. Operating Web Based Applications | 15 | 10 | Lists of points with one example each |
| 3. Fundamentals of Java programming | 30 | 20 | Short programs and their output |
| 4. Work Integrated Learning, IT-DMA | 10 | 5 | One database example per work area |
| Part A. Employability Skills, five units | 50 in all | 10 | Terms and short situations |
| **Theory** |   | **60** |   |

Hours and marks are from the 802 curriculum for 2026-27, whose table shows 10 to 15 for each Part A unit except Green Skills, which has 5. CBSE gives no marks to single topics, so nothing below is ranked by weight.

### Is there a Class 12 IT 802 notes PDF?

Yes, an official book exists. The books page of CBSE's skill education section lists a Class XII student handbook for 802, titled Database Management Applications, as a free PDF. Its four units match the four units of the curriculum. Part A has its own NCERT book, Employability Skills for Class XII, reachable from the same page.

The handbook was first printed in 2016, so a few lines describe older software. Four to correct in your own notes:

- **CHECK.** It says MySQL ignores CHECK. True for the 5.6 it uses. On MySQL 26 our bad row was refused.
- **binarySearch().** It says -1 when the value is missing. Java promises only a negative number; ours gave -3.
- **new Integer(50).** It still runs on Java 21 with a removal warning. Write `Integer b = 50;` instead.
- **Sites.** Some shopping and learning sites it pictures have changed. Learn the steps, not the screens.

For dates, practical marks and the topic list read the [IT 802 syllabus for 2026-27](/cbse-class-12-it-802-syllabus-2026-27).

Unit 1, first half

## RDBMS notes for Class 12 IT 802: database ideas, keys and constraints

A database is a collection of related data kept so that it can be searched and updated. A DBMS is the software that creates, maintains and protects it, and an RDBMS is a DBMS that keeps the data in tables.

### Why not separate files?

Suppose a zoo's food store and its vet each keep their own list of animals.

| Problem | What goes wrong at the zoo |
| --- | --- |
| Data redundancy | Every animal is typed twice and stored twice |
| Data inconsistency | The vet records a birth, the food store does not |
| Lack of integration | Feed cost per illness needs facts from both lists |

### Three features of a DBMS

- **Self-describing.** It stores the data and a description of it, called meta-data, in a catalogue or data dictionary.
- **Program-data independence.** A column can be added without rewriting the programs that do not use it.
- **Sharing.** Many users work at once, and concurrency control keeps their changes from colliding.

### Who uses it

| User | In one line |
| --- | --- |
| End user | Asks questions and prints reports |
| Database administrator (DBA) | Grants access, watches performance, protects data |
| Application programmer | Writes the programs that talk to the database |
| System analyst | Finds out what users need and plans the design |

### For and against

| Advantages | Limitations |
| --- | --- |
| Less redundancy, so less storage | High cost of software, design and training |
| Consistent and shared data | Overheads of security and recovery: backups, access control |
| Access by password and user rights | Too heavy for a small list that one person keeps |
| Easy to query and change |   |

### Relational terms, on one table

***KEEPER**MySQL output*

```
+-----+---------+------+
| KID | KName   | Zone |
+-----+---------+------+
|   1 | Lobsang | B    |
|   2 | Farida  | A    |
|   3 | Gopal   | C    |
+-----+---------+------+
```

Each keeper looks after one zone.

***ANIMAL**MySQL output*

```
+-----+-------+----------+------+-------+------+
| AID | AName | Kind     | Age  | Feed  | KID  |
+-----+-------+----------+------+-------+------+
|  11 | Moti  | Elephant |   34 | 150.0 |    1 |
|  12 | Rani  | Elephant |   12 |  90.5 |    1 |
|  13 | Sheru | Lion     |    7 |   8.0 |    2 |
|  14 | Tara  | Lion     |    5 |   6.5 |    2 |
|  15 | Bala  | Deer     |    3 |   4.0 | NULL |
+-----+-------+----------+------+-------+------+
```

Feed is in kilograms a day. Bala is new and has no keeper yet.

| Term | Meaning | Here |
| --- | --- | --- |
| Relation | A table | KEEPER |
| Tuple | A row | (2, Farida, A) |
| Attribute | A column | Zone |
| Domain | The values a column may hold | Age: whole numbers from 0 |
| Degree | Number of columns | ANIMAL 6 |
| Cardinality | Number of rows | ANIMAL 5 |
| NULL | Unknown, unavailable or not applicable | Bala's KID |

| Key | Meaning | Here |
| --- | --- | --- |
| Superkey | Any set of columns that never repeats | {AID}, {AID, AName} |
| Candidate key | A superkey with nothing to spare: remove a column and it stops working | {AID}; also {AName} if the zoo never repeats a name |
| Primary key | The candidate chosen to identify rows | AID |
| Alternate key | A candidate that was not chosen | AName |
| Foreign key | A column that must match another table's primary key or be NULL | ANIMAL.KID |

### Constraints are the rules on data

| Constraint | The rule |
| --- | --- |
| Domain | Each value must come from the allowed set |
| Key | Two rows may not share a key value |
| Null value | A NOT NULL column may not be empty |
| Entity integrity | No part of a primary key may be NULL |
| Referential integrity | A foreign key value must exist in the other table, or be NULL |

**A foreign key may repeat.** KID 1 appears twice in ANIMAL, because one keeper has two animals. Uniqueness is demanded of the primary key it points to.

Unit 1, second half

## SQL notes for IT 802: create, change, order, group and join

SQL has two parts here. DDL commands (CREATE, ALTER, DROP) change the structure of tables, and DML commands (INSERT, UPDATE, DELETE, SELECT) work on the rows.

### 1. Create and open

***Two linked tables**SQL*

```
CREATE DATABASE zoo;
USE zoo;

CREATE TABLE Keeper (
  KID INT PRIMARY KEY,
  KName VARCHAR(20) NOT NULL,
  Zone CHAR(1) DEFAULT 'A'
);

CREATE TABLE Animal (
  AID INT PRIMARY KEY,
  AName VARCHAR(15) NOT NULL,
  Kind VARCHAR(12),
  Age INT CHECK (Age >= 0),
  Feed DECIMAL(5,1),
  KID INT,
  FOREIGN KEY (KID) REFERENCES Keeper(KID)
    ON DELETE SET NULL ON UPDATE CASCADE
);
```

Keeper must be created first, because Animal refers to it. DECIMAL(5,1) means five digits in all, one of them after the point.

| Data type | Use it for |
| --- | --- |
| `CHAR(n)` | Text of one fixed length: a zone letter, a PIN code |
| `VARCHAR(n)` | Text of any length up to n: a name |
| `INT` | Whole numbers |
| `DECIMAL(m,d)` | Exact decimals: m digits, d after the point |
| `DATE` | A date written 'YYYY-MM-DD' |

### 2. Fill

***INSERT, two forms**SQL*

```
INSERT INTO Keeper
VALUES (1, 'Lobsang', 'B');

INSERT INTO Keeper (KID, KName)
VALUES (2, 'Farida');
```

The second form names its columns. Zone was left out, so Farida got the default 'A'.

Two rows MySQL refused: an animal aged -2 broke the CHECK, and an animal with keeper 8 broke the foreign key, since there is no keeper 8.

### 3. Change rows

***UPDATE and DELETE**SQL*

```
UPDATE Animal SET Feed = Feed + 1.5
WHERE Kind = 'Lion';

DELETE FROM Keeper WHERE KID = 2;

UPDATE Keeper SET KID = 10 WHERE KID = 1;
```

After these, Sheru and Tara had KID NULL (ON DELETE SET NULL), and Moti and Rani had KID 10 (ON UPDATE CASCADE). Without WHERE, every row changes or goes. We ran parts 4 to 6 first, on the data printed above.

| Rule | When the parent row goes or changes |
| --- | --- |
| `SET NULL` | The child value becomes NULL |
| `CASCADE` | The child row is deleted, or its value is updated too |
| `RESTRICT` | The change is refused while a child exists |

### 4. Ask and order

***Order of feed**SQL*

```
SELECT AName, Feed FROM Animal
WHERE Feed BETWEEN 5 AND 100
ORDER BY Feed DESC;
```

***Result**MySQL output*

```
+-------+------+
| AName | Feed |
+-------+------+
| Rani  | 90.5 |
| Sheru |  8.0 |
| Tara  |  6.5 |
+-------+------+
```

| Condition | Rows it picked from ANIMAL |
| --- | --- |
| `Kind = 'Lion' OR Age > 30` | Moti, Sheru, Tara |
| `AName LIKE '_a%'` | Rani, Tara, Bala: second letter a |
| `Kind IN ('Deer','Lion')` | Sheru, Tara, Bala |
| `KID IS NULL` | Bala |

`SELECT DISTINCT Kind` shows Elephant, Lion and Deer once each. An alias renames a column in the result: `Feed * 7 AS Week`. ORDER BY is ascending unless you write DESC.

### 5. Count and group

***Group, then filter groups**SQL*

```
SELECT Kind, COUNT(*) AS Num,
       SUM(Feed) AS Kg
FROM Animal GROUP BY Kind;

SELECT Kind, SUM(Feed) AS Kg FROM Animal
WHERE Age > 4
GROUP BY Kind HAVING SUM(Feed) > 20;
```

***Results**MySQL output*

```
+----------+-----+-------+
| Kind     | Num | Kg    |
+----------+-----+-------+
| Elephant |   2 | 240.5 |
| Lion     |   2 |  14.5 |
| Deer     |   1 |   4.0 |
+----------+-----+-------+

+----------+-------+
| Kind     | Kg    |
+----------+-------+
| Elephant | 240.5 |
+----------+-------+
```

WHERE works on rows before grouping, HAVING on groups afterwards.

On all five animals COUNT(*) gave 5, COUNT(KID) gave 4 because NULL is skipped, SUM(Feed) 259.0, AVG(Age) 12.2000, MIN(Age) 3 and MAX(Age) 34.

### 6. Two tables

***Join and nested query**SQL*

```
SELECT AName, KName
FROM Animal A, Keeper K
WHERE A.KID = K.KID;

SELECT KName FROM Keeper
WHERE KID IN (SELECT KID FROM Animal
              WHERE Age > 20);
```

***Results**MySQL output*

```
+-------+---------+
| AName | KName   |
+-------+---------+
| Moti  | Lobsang |
| Rani  | Lobsang |
| Sheru | Farida  |
| Tara  | Farida  |
+-------+---------+

+---------+
| KName   |
+---------+
| Lobsang |
+---------+
```

Leave the WHERE out of the join and you get 5 x 3 = 15 rows, the Cartesian product. Bala is missing because NULL matches nothing.

### 7. Change the structure

| Task | Command we ran |
| --- | --- |
| Add a column | `ALTER TABLE Animal ADD Sex CHAR(1);` |
| Change its type | `ALTER TABLE Animal MODIFY AName VARCHAR(25);` |
| Remove a column | `ALTER TABLE Animal DROP Sex;` |
| Set or drop a default | `ALTER TABLE Keeper ALTER Zone SET DEFAULT 'D';` and `ALTER TABLE Keeper ALTER Zone DROP DEFAULT;` |
| See the tables, the structure | `SHOW TABLES;` and `DESC Animal;` |
| Remove a table | `DROP TABLE Keeper;` was refused while Animal referred to it. Drop Animal first. |

### Recall, Unit 1

1. Which is larger for a table after deleting two rows: the change in degree or in cardinality? Check Cardinality falls by two. Degree does not change, since no column was touched.
2. A table has NULL in three of its ten Phone values. What do COUNT(*) and COUNT(Phone) give? Check 10 and 7.
3. Which constraint stops a primary key from being empty? Check Entity integrity.
4. Why does a join need a condition? Check Without one every row of the first table is paired with every row of the second.

To write more queries, take the sets on [Class 12 SQL queries](/cbse-class-12-computer-science-sql-queries); the syntax is the same, though that syllabus stops before nested queries.

Unit 2

## Operating web based applications: notes for the 10-mark unit

A web based application is a program on a server that people use through a browser over a network. The unit asks what such applications do for people, how to use them safely, and how one is planned and built.

| Application | What it is | Good for the user | Good for the provider or the state |
| --- | --- | --- | --- |
| Online reservation | Search, book, pay for and cancel travel, hotel or cinema seats | Open all day, prices compared, seat chosen, confirmation in seconds | Fewer counter staff, no need for a central office, customers from anywhere |
| E-governance | Government information and services given through ICT | No middleman, forms and records from home | Transparency, less paper, one portal for many departments |
| Online shopping | Choose goods, fill a cart, pay, receive at an address | No travel, reviews, delivery to a friend elsewhere | Wide reach, stock shown without a showroom |
| Bill payment | Electricity, water, tax and similar bills paid on a site | No queue, a receipt that can be kept | Payments recorded as they arrive |
| Online tutorials and tests | Lessons and assessment through video, interaction or webinar | Own place, own pace, instant scores | Many learners reached by one lesson |

### The shopping sequence

Open the site, register or log in, browse and compare, add to the cart, review the cart, choose an address, pay, get the order number. Payment may be by card, net banking, e-gift voucher, wire transfer or cash on delivery.

### Safe transactions

Mix capitals, digits and symbols in a password. Do not share it, write it down near the computer, or make it from a family name. Log out on a shared computer and read the terms before paying.

### E-governance names

NICNET is the National Informatics Centre's network, launched in 1987. NeGP is the National e-Governance Plan of 2006. india.gov.in is the National Portal of India, built as one window to government information and services.

### How a web application project is managed

A project has a clear objective, limited resources, and a start and an end. Project management uses knowledge, tools and techniques to reach that objective in the time fixed. Planning and monitoring run beside all four phases.

| Phase | Question it answers | What it produces | For a quiz application |
| --- | --- | --- | --- |
| 1. Requirement definition | Is it feasible, and what must it do? | Feasibility (technical, economic), scope, limits | Register, log in, pick a category, answer, see a report |
| 2. Design | How will it look and store data? | Site map, database tables, page structure | Tables for admin, users, questions and results |
| 3. Implementation | Can we build it? | Back end, front end, and the connection between them | Radio buttons for options, SQL for storing marks |
| 4. Testing | Does it work with many kinds of data? | Bugs found, fixed and tested again | Wrong password, no option chosen, all answers right |

The syllabus names three case studies. Know the tables each one needs, because that links this unit to Unit 1.

| Case study | A table it needs | A control the form needs | A test worth doing |
| --- | --- | --- | --- |
| Online game (guess the word) | CATEGORY(CatID, CatName) and WORDS(CatID, Word) | A list for the category, a text field for the letter | The same letter guessed twice |
| Online quiz | QUESTION(QNo, Subject, Text, Opt1 to Opt4, Answer) | One radio button per option, in one group | Submitting with nothing chosen |
| Online bill calculator | BILL(BillNo, UserName, Amount, Tax, DueDate) | Text fields for units, a button to calculate | A negative number of units |

### Recall, Unit 2

1. Checking whether the school has enough computers for an online test belongs to which phase? Check Requirement definition: it is technical feasibility.
2. Name two things a bus company gains from online booking. Check It needs fewer counter staff, and it can take bookings from people anywhere.
3. Which phase decides the size of a VARCHAR column? Check Design, when table structures are decided.

Unit 3, 20 marks

## Java notes for Class 12 IT 802, in ten short programs

Java source code is compiled into bytecode, and the Java Virtual Machine runs the bytecode, which is why the same class file runs on different systems. Each program below carries one heading of Unit 3.

### Language elements and types

***RainDay.java**Java*

```
public class RainDay {
  public static void main(String[] args) {
    String town = "Shillong"; // text
    int days = 6;             // whole number
    double rain = 148.5;      // decimal
    char grade = 'H';         // one character
    boolean flood = rain > 200;

    System.out.println(town + " " + grade);
    System.out.println(rain / days);
    System.out.println((int) rain / days);
    System.out.println(flood);
  }
}
```

***Output of RainDay**Java 21*

```
Shillong H
24.75
24
false
```

The cast (int) works on rain alone, giving 148; then 148 / 6 is whole-number division, 24.

The eight primitive types are byte, short, int, long, float, double, char and boolean. A name may use letters, digits, _ and $, must not start with a digit, and must not be a keyword. Comments are `// to the end of the line` or `/* a block */`.

### Operators

***OpTrace.java**Java*

```
public class OpTrace {
  public static void main(String[] args) {
    int a = 17, b = 5;
    System.out.println(a/b + " " + a%b);
    int c = a++ + --b;      // 17 + 4
    System.out.println(a+" "+b+" "+c);
    a -= 10;                // a = a - 10
    boolean ok = a > 5 && b != 4;
    System.out.println(ok + " " + !ok);
    System.out.println("Sum: " + a + b);
    System.out.println("Sum: " + (a + b));
  }
}
```

***Output of OpTrace**Java 21*

```
3 2
18 4 21
false true
Sum: 84
Sum: 12
```

After a String, + joins. The brackets make the addition happen first.

### Control flow

***Season.java**Java*

```
public class Season {
  static String name(int month) {
    String s;
    switch (month) {
      case 12:
      case 1:
      case 2:  s = "Winter";  break;
      case 7:
      case 8:
      case 9:  s = "Monsoon"; break;
      default: s = "Other";
    }
    return s;
  }

  public static void main(String[] args) {
    for (int m = 6; m <= 8; m++)
      System.out.print(name(m) + " ");
    int m = 12;
    do {
      System.out.print(name(m) + " ");
      m++;
    } while (m <= 12);
  }
}
```

***Output of Season**Java 21*

```
Other Monsoon Monsoon Winter
```

Cases without break fall through to the next line of code, which is useful here. name() is a user defined method: return type, name, parameter.

| Loop | Tests | Runs at least once? | Choose it when |
| --- | --- | --- | --- |
| `for` | before | no | the count is known |
| `while` | before | no | a condition decides |
| `do while` | after | yes | a menu must show once |

### Arrays

***Heights.java**Java*

```
import java.util.Arrays;

public class Heights {
  public static void main(String[] args) {
    int[] cm = {171, 158, 166, 149, 180};
    int total = 0;
    for (int i = 0; i < cm.length; i++)
      total += cm[i];
    System.out.println("Total " + total);

    Arrays.sort(cm);
    System.out.println(Arrays.toString(cm));
    System.out.println(
      Arrays.binarySearch(cm, 166));
    System.out.println(
      Arrays.binarySearch(cm, 160));
  }
}
```

***Output of Heights**Java 21*

```
Total 824
[149, 158, 166, 171, 180]
2
-3
```

Indexes run from 0 to length - 1. Sort before binarySearch, or the answer means nothing.

### Class design

***Locker.java**Java*

```
public class Locker {
  private int number;       // data members
  private String owner;

  // constructor: no return type, class name
  public Locker(int n, String o) {
    number = n;
    owner = o;
  }
  public String getOwner() {        // getter
    return owner;
  }
  public void setOwner(String o) {  // setter
    if (!o.isEmpty())
      owner = o;
  }
  public String label() {
    return "L" + number + ": " + owner;
  }

  public static void main(String[] args) {
    Locker k = new Locker(21, "Zoya");
    k.setOwner("");               // refused
    System.out.println(k.label());
    k.setOwner("Parth");
    System.out.println(k.getOwner());
  }
}
```

***Output of Locker**Java 21*

```
L21: Zoya
Parth
```

Class: the plan. Object: one thing made from it with new. Private data reached only through methods is encapsulation, and the setter is where bad values are stopped.

### String manipulation

With `String s = "Monsoon Sale";`

| Call | Gives |
| --- | --- |
| `s.length()` | 12 |
| `s.charAt(3)` | s |
| `s.indexOf('o')` | 1 |
| `s.indexOf("Sale")` | 8 |
| `s.indexOf('z')` | -1, not found |
| `s.toUpperCase()` | MONSOON SALE |
| `s.replace('o', '0')` | M0ns00n Sale |
| `s.concat("!")` | Monsoon Sale! |
| `s.contains("soon")` | true |
| `s.endsWith("ale")` | true |
| `s.equals("monsoon sale")` | false, case counts |
| `s.equalsIgnoreCase("monsoon sale")` | true |

A String never changes. After the line `s.toUpperCase();` alone, s still printed Monsoon Sale. Store the result or lose it.

### Exceptions, assertions, threads and wrappers

These four headings are short in the handbook and easy to mix up. An exception is a problem met while running; an assertion is a check you write to catch your own mistakes; a thread is a part of a program that runs alongside others; a wrapper is a class that holds one primitive value as an object.

***SafeRead.java**Java*

```
public class SafeRead {
  static void show(String text, int[] seats) {
    try {
      int i = Integer.parseInt(text);
      System.out.println(seats[i] / i);
    } catch (NumberFormatException e) {
      System.out.println("Not a number");
    } catch (ArithmeticException e) {
      System.out.println("Divided by zero");
    } catch (IndexOutOfBoundsException e) {
      System.out.println("No such seat");
    } finally {
      System.out.println("- done " + text);
    }
  }

  public static void main(String[] args) {
    int[] seats = {40, 36, 50};
    show("2", seats);
    show("two", seats);
    show("0", seats);
    show("7", seats);
  }
}
```

***Output of SafeRead**Java 21*

```
25
- done 2
Not a number
- done two
Divided by zero
- done 0
No such seat
- done 7
```

Only the first matching catch runs. The finally block runs every time.

***VoteAge.java**Java*

```
public class VoteAge {
  static String status(int age) {
    assert age >= 0 : "Age below zero";
    if (age >= 18)
      return "can vote";
    return "too young";
  }

  public static void main(String[] args) {
    System.out.println(status(19));
    System.out.println(status(-3));
  }
}
```

***Output of VoteAge**Java 21, no option*

```
can vote
too young
```

Assertions are off by default, so the bad age passed. Run as `java -ea VoteAge`, it stopped after the first line with AssertionError: Age below zero. In NetBeans, type -ea in the VM Options box under project properties, Run.

***Download.java**Java*

```
public class Download extends Thread {
  private String file;

  public Download(String f) { file = f; }

  public void run() {    // the thread's work
    for (int p = 50; p <= 100; p += 50)
      System.out.println(file+" "+p);
  }

  public static void main(String[] args)
      throws InterruptedException {
    Download d = new Download("map.png");
    d.start();         // not d.run()
    d.join();          // wait for it to end
    System.out.println("Saved");
  }
}
```

***Output of Download**Java 21*

```
map.png 50
map.png 100
Saved
```

join() makes main wait, so Saved is always last. With two threads started together, the order of their lines can differ from run to run.

***Ticker.java**Java*

```
public class Ticker implements Runnable {
  public void run() {
    System.out.println("Tick from "
      + Thread.currentThread().getName());
  }

  public static void main(String[] args)
      throws InterruptedException {
    Ticker job = new Ticker();
    Thread t = new Thread(job, "clock");
    t.start();
    t.join();
    System.out.println(t.isAlive());
  }
}
```

***Output of Ticker**Java 21*

```
Tick from clock
false
```

The second way. A class that extends Thread cannot extend anything else; a class that implements Runnable still can.

***Wrap.java**Java*

```
public class Wrap {
  public static void main(String[] args) {
    Integer box = 45;    // wrapped for you
    int plain = box;     // and unwrapped
    int n = Integer.parseInt("120");
    double d = Double.parseDouble("2.5");
    String s = Integer.toString(n + plain);
    System.out.println(s + s.length());
    System.out.println(box.intValue() * d);
    System.out.println(Integer.MAX_VALUE);
    System.out.println(
      Character.isDigit('7'));
  }
}
```

***Output of Wrap**Java 21*

```
1653
112.5
2147483647
true
```

The first line joins "165" and its length 3. Each primitive has a wrapper; the two with different spellings are Integer and Character.

### Recall, Unit 3

1. What are the starting values in `new int[3]`, `new boolean[1]` and `new String[1]`? Check 0, false and null. We printed all three.
2. How does a constructor differ from a method? Check It has the class name, no return type, and runs by itself when an object is made with new.
3. With `String p = "Pune";` what does `p.charAt(0) + p.charAt(1)` print? Check 197. Two char values are added as numbers, 80 + 117. Start with "" to join them instead.
4. What is wrong with calling `d.run()` and not `d.start()`? Check The code runs in the same thread as an ordinary method call; no new thread is started.

Longer programs are on [Java notes and programs for IT 802](/cbse-class-12-it-802-java-programs), and the ones your file needs are on [the 802 practical and project file](/cbse-class-12-it-802-practical-and-project-file). Beginners can warm up with [Java array programs](/blog/java-array-programs-for-beginners).

Unit 4 and Part A, 15 marks

## Work Integrated Learning notes, and Employability Skills pointers

Unit 4 asks where databases are used at work and what they store there. Part A asks for terms and for sensible answers to short situations. Both reward one exact example over a long paragraph.

### Unit 4: where databases work

| Work area | What the database keeps | A query someone there needs |
| --- | --- | --- |
| School | Students, marks, staff, departments | Students absent more than ten days |
| Bank | Customers, accounts, loans, daily transactions | Loans due this week |
| Hospital | Patients, doctors, rooms, medicines | Rooms free on a date |
| Railway or airline | Trains or flights, fares, bookings | Seats left on one date |
| Telecom | Plans, call records, bills | Plans that end today |
| Hotel | Guests, rooms, staff, menu | Guests checking out this morning |
| Government | Voters, taxes, licences, certificates | Licences that expire next month |

### The shopping site as an example

The handbook works through a shopping site. Its entities are CATEGORY, PRODUCT, CUSTOMER, SELLER, WISH_LIST, ORDER, SHIPMENT and PAYMENT. Be ready to say how two of them link: PRODUCT holds the category's id as a foreign key, and PAYMENT holds the order's id.

Order of events: add to cart, choose buy, log in or give details, choose how to pay, pay, and the order is stored with a status. If a customer may cancel, PAYMENT needs somewhere to record the refund.

### Part A: five units, ten marks

| Unit and marks | Learn these |
| --- | --- |
| Communication Skills IV, 2 | Why active listening matters and its steps; phrase and sentence; kinds and parts of a sentence; parts of speech; articles; building a paragraph |
| Self-Management Skills IV, 3 | Needs and desires as motives; sources of motivation; internal and external motivation; personality traits; the disorders named: paranoid, antisocial, schizoid, borderline, narcissistic, avoidant, dependent, obsessive |
| ICT Skills IV, 1 | Spreadsheet: formulas, functions, sort and filter, password, saving formats. Presentation: slides, layout, images, printing |
| Entrepreneurial Skills IV, 3 | Barriers to becoming an entrepreneur; behavioural competencies such as adaptability, perseverance and stress management; entrepreneurial ones such as initiative, goal setting and persistence |
| Green Skills IV, 1 | Green jobs in solar and wind power, water conservation, reuse and recycling, tourism, building, transport and protecting ecosystems |

### A situation, answered in 30 words

**Asked:** Irfan's first tiffin service loses customers because deliveries are late. He records each delay, changes two routes and tells customers the new timing. Which competencies does he show?

**Answer:** He seeks information by recording delays, solves the problem by changing routes, and shows persistence and concern for quality by keeping customers informed and not giving up.

Notice that each competency is tied to something Irfan did. A list of names alone answers only half of what was asked.

**Sort or filter?** Sorting changes the order of rows and shows all of them. Filtering hides the rows that do not match. That pair is a complete answer.

### How to study from these notes

### Type the code units

Build the zoo tables once and run each query. Type three Java programs a day, change one line, and guess the output before running.

### Speak the theory units

Cover the right-hand columns of the tables for Units 2 and 4 and say them aloud. Then write two answers of 30 words with a clock.

### Finish with a paper

When three units are done, write [the original IT 802 practice paper](/cbse-class-12-it-802-sample-paper) and let the lost marks choose your next week.

One to one, at your own timing

## Go through the 802 units with a teacher, one to one

Notes explain; they do not ask what you meant. In a private class your teacher does, on the days and at the timing that fit you. A priority demo is a whole live class of about 45 to 60 minutes and its fee is adjusted in the first month if you continue. The free demo class is there for a first look.

Before you enrol · Try a class

### Priority demo, at a slot you pick

a full live class of about 45 to 60 minutes

- One unit checked aloud to find what you already hold
- A query and a Java program written by you, then run
- A 30-word Part A answer improved line by line
- A skill report in writing that sorts the five parts by need

[Book a priority demo](/book-demo)

The classes · Choose your own timing

### Personalised one to one

₹4,999

per month, 4 private classes, fully flexible timing

- Java and MySQL taught by doing, with theory beside it
- Your school book and handbook used as they are
- Recall questions at the start of each class
- More time on the unit that needs it, none on the one that does not

Ask for a personalised plan

Many 802 students meet Java for the first time in Class 11 or 12, and catching up is ordinary work for us. Fees are billed month by month in your own currency, joining costs nothing extra, and you may stop when a month ends.

Studying outside India?

## IT 802 notes and classes for CBSE students anywhere

If your CBSE school in Doha, Riyadh or Kathmandu offers 802, the curriculum is the one used here. Tell us when you are home from school and the class goes there.

| Where you live | Time difference | Usual class window, local time | Format |
| --- | --- | --- | --- |
| India every Indian city | Indian time | Any time you choose | Personalised 1-on-1 |
| UAE and Oman Dubai, Abu Dhabi, Sharjah, Muscat | 1 h 30 min behind India | 3:00 PM to 9:00 PM | Personalised 1-on-1 |
| Saudi Arabia, Qatar, Kuwait, Bahrain Riyadh, Jeddah, Dammam, Doha, Kuwait City, Manama | 2 h 30 min behind India | 3:00 PM to 9:00 PM | Personalised 1-on-1 |
| Nepal Kathmandu | 15 min ahead of India | 4:30 PM to 9:00 PM | Personalised 1-on-1 |
| Ethiopia and East Africa Addis Ababa and East Africa Time | 2 h 30 min behind India | 4:30 PM to 9:00 PM | Personalised 1-on-1 |
| Singapore and Malaysia Singapore, Kuala Lumpur | 2 h 30 min ahead of India | 3:30 PM to 9:00 PM | Personalised 1-on-1 |

You will want NetBeans or any Java setup and MySQL on your computer. A teacher can sit with you through the installation in the first class.

What families say

## Rated 4.9 across 547 Google reviews

Real reviews from real families. We neither write nor commission them.

★★★★★

"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."

Ria Mukherjee

Parent

★★★★★

"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."

Samriddha Mondal

Student

★★★★★

"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."

Vansh Agarwal

Student

★★★★★

"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."

Sonam Oswal

Parent of Dhairya

★★★★★

"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."

Sonu Goyal

Parent

★★★★★

"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."

Ritu Kedia

Parent

The rest of the Class 12 series

## More pages for Class 12 students

Every page in the CBSE Class 12 Information Technology series, grouped by what you need.

### Information Technology 802

- [IT 802 syllabus 2026-27](/cbse-class-12-it-802-syllabus-2026-27)
- [IT 802 Java notes and programs](/cbse-class-12-it-802-java-programs)
- [IT 802 practical and project file](/cbse-class-12-it-802-practical-and-project-file)
- [IT 802 sample paper practice](/cbse-class-12-it-802-sample-paper)

**CBSE Class 12 Computer Science (083):** [Class 12 CS viva questions](/cbse-class-12-computer-science-viva-questions)  [Class 12 CS sample paper practice](/cbse-class-12-computer-science-sample-paper-2026-27)  [Class 12 CS project with source code](/cbse-class-12-computer-science-project-python-mysql)  [Class 12 CS important questions](/cbse-class-12-computer-science-important-questions)

**CBSE Class 12 Informatics Practices (065):** [Class 12 IP practical file](/cbse-class-12-informatics-practices-practical-file)  [Class 12 IP project with source code](/cbse-class-12-informatics-practices-project)  [Class 12 IP sample paper practice](/cbse-class-12-informatics-practices-sample-paper-2026-27)  [Class 12 IP important questions](/cbse-class-12-informatics-practices-important-questions)

**CBSE Class 11 CS, IP and AI:** [Class 11 CS practical file](/cbse-class-11-computer-science-practical-file)  [Class 11 IP practical file](/cbse-class-11-informatics-practices-practical-file)  [CS or IP in Class 11](/computer-science-or-informatics-practices-class-11)

**ISC Computer Science (868):** [ISC Class 12 CS syllabus 2027](/isc-class-12-computer-science-syllabus-2027)  [ISC Class 12 CS practice paper](/isc-class-12-computer-science-specimen-paper-practice)  [ISC Class 12 practical questions solved](/isc-class-12-computer-science-practical-questions)  [ISC Boolean algebra and K-maps](/isc-class-12-computer-science-boolean-algebra)

**Program lists with output:** [String and array programs in Java](/blog/string-and-array-programs-in-java)  [Java project ideas](/blog/java-project-ideas-for-students)

Questions about the notes

## What students ask about Class 12 IT 802 notes

### Where can I find Class 12 IT 802 notes PDF?

The official PDF is the CBSE student handbook for Class XII, Database Management Applications, listed under 802 on the skill education books page of cbseacademic.nic.in. It is free and follows the same four units. The notes on this page are read online, and use your browser to print what you need.

### How many chapters are there in Class 12 IT 802?

There are four subject units: Database Concepts with an RDBMS tool, Operating Web Based Applications, Fundamentals of Java Programming, and Work Integrated Learning. Employability Skills adds five more units as Part A. Together they carry the 60 theory marks.

### What is RDBMS in Class 12 IT 802?

An RDBMS is a relational database management system: software that stores data in tables and links them through keys. MySQL and Oracle are examples. In 802 the unit covers database basics, creating and filling tables, changing data and structure, ordering and grouping, and queries on more than one table, for 15 marks.

### Which is the most important unit in IT 802 Class 12?

By marks it is Java, with 20 of the 60 theory marks. RDBMS follows with 15, then web based applications and Employability Skills with 10 each, and work integrated learning with 5. Java and MySQL also decide most of the 40-mark practical, so they repay the most effort.

### Is Java or Python taught in Class 12 IT 802?

Java. Unit 3 of the 2026-27 curriculum is Fundamentals of Java Programming, and the practical file needs at least 15 Java programs. Python belongs to Computer Science 083 and Informatics Practices 065, which are different subjects.

### What is the Work Integrated Learning unit in IT 802?

Unit 4, Work Integrated Learning IT-DMA, is worth 5 marks. It covers the areas of work where database applications are used, such as education, banking, hospitals and travel, and work experience through a case study. CBSE's handbook uses a shopping website and its tables as the example.

### Are nested queries in the IT 802 syllabus?

The curriculum names operating with multiple tables and does not list query types. The CBSE handbook for the unit includes a short section on nested queries with IN, so it is sensible to be able to read and write one. The same result can often be had with a join.

### Do I need to study assertions and threads for IT 802?

Yes. Unit 3 names exception handling, assertions, threads, wrapper classes and string manipulation as topics. Learn to write one small program for each, say what it prints, and state the two ways to create a thread: extending Thread and implementing Runnable.

### How do I prepare Employability Skills for IT 802?

Read the five units for terms and practise short situations. They carry 2, 3, 1, 3 and 1 marks in 2026-27. In a situation answer, name the skill and then point to the action that shows it. Ten minutes a day is enough for most students once the book has been read.

### Are these notes enough for the Class 12 IT 802 exam?

They cover every heading in the 2026-27 curriculum in brief. Use them to understand and to revise, with your school book for detail, and then write papers. For Java and SQL, reading is not enough: type and run the programs. If a unit does not make sense, a one to one class or a priority demo can start from it.

Start

## Bring the unit that will not stay in your head

Pick one heading from these notes that you have read twice and still cannot explain. That is where a free demo class can begin.

In a **priority demo**, at a slot you pick, a teacher goes further: that heading is taught until you can explain it back, your Java and SQL are checked, and you receive a written skill report. Continue with us and the demo fee is taken off your first month.

Still choosing a subject? See [Class 12 computer tuition](/computer-science-class-12-cbse).

[WhatsApp us](https://wa.me/919123366161?text=Hello%20Modern%20Age%20Coders.%20I%20want%20one%20to%20one%20classes%20for%20the%20CBSE%20Class%2012%20IT%20802%20theory%20units.) · [+91 91233 66161](tel:+919123366161) · [connect@modernagecoders.com](mailto:connect@modernagecoders.com)

Every class is live video. The form requests a callback and reserves nothing.

### Want it sooner? Book a priority demo

A full live class of about 45 to 60 minutes at a slot you pick, with a written skill report and learning roadmap on WhatsApp afterwards. The fee is adjusted against your first month if you enrol.

[Book a priority demo](/book-demo)

## Keep exploring Modern Age Coders

### By class and age

- [Class 12 IP Viva Questions with Answers, 2026-27 (065)](/cbse-class-12-informatics-practices-viva-questions)
- [Class 12 IP Syllabus 2026-27, Paper Pattern and Exam Date](/cbse-class-12-informatics-practices-syllabus-and-paper-pattern)
- [CBSE Computational Thinking for Classes 3-5](/cbse-computational-thinking-classes-3-to-5)
- [Class 12 IP SQL Questions with Answers and MySQL Output](/cbse-class-12-informatics-practices-sql-questions)
- [Coding for CBSE Students: Python](/coding-for-cbse-students)
- [Societal Impacts Class 12 IP Notes with Case Answers](/cbse-class-12-informatics-practices-societal-impacts)
- [Python for Class 9: CBSE Code 402 Python, Flask, Django Intro & Kaggle](/python-for-class-9)
- [Class 12 Computer Science Marking Scheme 2027, Date, Pattern](/cbse-class-12-computer-science-paper-pattern-and-marking-scheme)
- [Class 12 Computer Science Output Questions with Answers](/cbse-class-12-computer-science-output-questions)

### Learn more

- [Java Classes for Teens](/java-classes-for-teens)
- [ICSE Computer Applications (Class 9-10): Java with BlueJ](/courses/icse-computer-applications-java-bluej-course)
- [Java Programming for Kids & Teens: Learn Java Online](/java-programming-for-kids-teens)
- [Learn to Code Minecraft Mods in Java: A Guide for Teens](/learn-to-code-minecraft-mods)

### Free resources

- [Java Tutorial for Beginners to Advanced](/resources/java)
- [Collections Framework](/resources/java/collections-framework)
- [Exception Handling in Java](/resources/java/exception-handling)
- [Installing Java and Setting Up Your Environment](/resources/java/installing-java-and-setup)

### From the blog

- [Java Tutorials & Programs](/blog/topic/java)
- [Java Constructors Explained: Types, Overloading, ICSE](/blog/java-constructors-explained)
- [String Handling in Java: The ICSE and CBSE Guide](/blog/string-handling-in-java)
- [Top 20 Java Programs for ICSE Class 10 (With Code)](/blog/top-20-java-programs-for-icse-class-10)

### Start here

- [Try a free trial class with a Modern Age Coders mentor](/free-trial)
- [About Modern Age Coders, teaching since 2020](/about)

---

*Canonical: https://learn.modernagecoders.com/cbse-class-12-it-802-notes*
