Zed-King Study app · Free
O Level students across India practise here, free
Google login · no Play Store needed
About this PDF
Actual PR-2 practical paper from 10 February 2026, Shift 1 — student record application, age-based authorisation page and JavaScript pop-up boxes, all with solutions.
This is part of the free O Level PR-2 study material in the Zed-King Study Zone. You can read every page above in your browser, or download the file and study offline. Zed-King Group of Institute is a NIELIT Study Centre in Kaithal, Haryana, and all of this material follows the current NIELIT syllabus.
- Course
- O Level — NIELIT Foundation Diploma
- Module
- PR2 — PR-2: M2-R5.1 Web Designing and Publishing — Practical
- Section
- Previous Year Practical Questions
- Format
- PDF — read online or download
- Price
- Free, no sign-up required
Text from this PDF
The opening pages as plain text — open the reader above for tables, diagrams and the full file.
PR-2 (10 fEbRuaRy 2026)
Question No. 1 Write an application that receives the following information from a set of students.
The application should also display the information of all the students once the data is entered:
Student Id Student Name Course Name Date of Birth SOLUTION:-
Question No. 2 Implement a web application that takes name and age from an HTML page.
If the age is less than 18, it should send a page with:
“Hello, you are not authorized to visit the site” (where Hello should be replaced with the entered name).
Otherwise, it should send:
“Welcome to this site” SOLUTION:-
Question No. 3 Develop and demonstrate JavaScript with POP-UP boxes and functions for the following problems:
Input: Click on Display Date button using onclick() function Output: Display date in the textbox SOLUTION a):- Input: A number n obtained using prompt Output: Factorial of n number using alert SOLUTION b):-
More previous year practical questions for PR-2
Try this HTML, CSS and JavaScript live — free
Type any tag or style from these notes into our free editor, press Run and see the page change. The explained examples show the code and the result side by side.
Prepare for O Level with expert guidance
Classroom training, practical labs and exam registration at Zed-King Institute, Kaithal.
