Loading the virtual lab…
12th Computer Applications Practicals: Virtual Lab
All 10 exercises from the Tamil Nadu State Board 12th Computer Applications practical manual. Format pages in a PageMaker-style window, run MySQL commands, and see what each PHP program shows in the browser.
Use this to prepare before your lab period. The board practical exam is done on real apparatus.
Exercises: TN State Board 12th Computer Applications practical manual. The PageMaker window, MySQL console and PHP output are simulated by this page.
Experiments in this lab
1Exercise 1: PageMaker — page formatting
Aim: To create a new document with A4 size, 4 pages and margins 1.25″ top, 0.75″ others; type the text "HAPPINESS"; set the heading to Arial 18 pt bold centre and the paragraph to Arial 12 pt, justified, leading 20; save as "happiness".
Apparatus: Adobe PageMaker 7.0.
2Exercise 2: PageMaker — student notice board
Aim: To create a student notice board: a 100 × 100 mm cyan box (tint 25%), a 100 × 15 mm black box on top, and the words "Student Notice Board" in 20 pt bold, reversed and centred.
Apparatus: Adobe PageMaker 7.0.
3Exercise 3: PageMaker — visiting card
Aim: To create a visiting card (95 mm × 55 mm) with the name of the person, the company name (first character enlarged) and the company address.
Apparatus: Adobe PageMaker 7.0.
4Exercise 4: PageMaker — label
Aim: To create a label: a 100 × 40 mm rectangle with rounded corners containing Name, STD, Section, School and Subject, each followed by a dotted line up to a right tab at 90 mm.
Apparatus: Adobe PageMaker 7.0.
5Exercise 5: MySQL — usage of commands in a database
Aim: To execute DDL (Data Definition Language) and DML (Data Manipulation Language) MySQL queries.
Apparatus: XAMPP Control Panel → MySQL → Shell (command prompt).
6Exercise 6: PHP — basic programming
Aim: To create and execute a basic PHP program (echo, variables, a function and the ternary operator).
Apparatus: XAMPP (Apache, PHP) and a web browser.
7Exercise 7: PHP — create and execute variables
Aim: To create and execute a PHP program on variables: number, string and float variables, variable scope and static variables.
Apparatus: XAMPP (Apache, PHP) and a web browser.
8Exercise 8: PHP — ECHO and PRINT statements
Aim: To create and execute ECHO and PRINT statements in a PHP program.
Apparatus: XAMPP (Apache, PHP) and a web browser.
9Exercise 9: PHP — string functions
Aim: To create and execute string functions in PHP: strlen, str_word_count, strrev, strpos, str_replace, define and preg_replace.
Apparatus: XAMPP (Apache, PHP) and a web browser.
10Exercise 10: PHP — convert words to digits
Aim: Write a PHP program to convert words to digits, e.g. "zero;three;five;six;eight;one" → 035681.
Apparatus: XAMPP (Apache, PHP) and a web browser.