HSC IT March - 2023 EXAM (Expected Questions) - 10 marks
- 5 marks (Science section)
- 10 marks (Commerce & Arts section)
1. Write a html program to accept Name of the College, Total number of students in the college, Total number of halls (range till 100). The data should be sent to the server. Watch Video
<!doctype html> <html> <head> <title> College Data </title> </head> <body> <h1> College Information Form</h1> <form name="Clgform" method="post" action="process.php"> Name of the College : <input type="text" name="clg_name"> <br> <br> Total No. of Students : <input type="number" name="stud_no" min=1> <br> <br> Total No. of Halls : <input type="range" name="hall_no" min=1 max=100> <br> <br> <input type="submit" value="SUBMIT"> <input type="reset" value="RESET"> </form> </body> </html> |
2. Write a html program to accept Name of the Employee (cannot be blank), Email Id of the Employee, Salary (maximum 50000). The data should be sent to the server. Watch Video
<!doctype html> <html> <head> <title> Employee Data </title> </head> <body> <h1> Employee Information Form</h1> <form name="empform" method="post" action="process.php"> Name of the Employee : <input type="text" name="emp_name" REQUIRED> <br> <br> Email ID : <input type="email" name="emp_email" min=1> <br> <br> Salary : <input type="number" name="emp_sal" min=1 max=50000> <br> <br> <input type="submit" value="SUBMIT"> <input type="reset" value="RESET"> </form> </body> </html> |
3. Write a html program to create a form to accept Doctor's name, number of patients (maximum 20), Date of examining patients. Watch Video
<!doctype html> <html> <head> <title> Hospital Data </title> </head> <body> <h1> Doctor Information Form</h1> <form name="docform" method="post" action="process.php"> Name of the Doctor : <input type="text" name="doc_name" REQUIRED> <br> <br> No. of Patients : <input type="number" name="patient_no" min=1 max=20> <br> <br> Date of Examination : <input type="date" name="ex_date"> <br> <br> <input type="submit" value="SUBMIT"> <input type="reset" value="RESET"> </form> </body> </html> |
4. Write a html program to create a form to accept Patient's name, his mobile number and date of birth. Keep all fields compulsory. Watch Video
<!doctype html> <html> <head> <title> Hospital Data </title> </head> <body> <h1> Patient Information Form</h1> <form name="docform" method="post" action="process.php"> Name of the Patient : <input type="text" name="pat_name" REQUIRED> <br> <br> Mobile No. : <input type="number" name="pat_mobile" REQUIRED> <br> <br> Date of Birth : <input type="date" name="pat_date" REQUIRED> <br> <br> <input type="submit" value="SUBMIT"> <input type="reset" value="RESET"> </form> </body> </html> |
5. Write a html program to create a form to accept student's name, number of practicals he has completed and provide facility to upload his completion certificate. Watch Video
<!doctype html> <html> <head> <title> Student Data </title> </head> <body> <h1> Student Practical Information Form</h1> <form name="studform" method="post" action="process.php"> Name of the Student : <input type="text" name="stud_name" REQUIRED> <br> <br> No. of Practicals Completed : <input type="number" name="practical_no" min=1> <br> <br> Upload Completion Certificate : <input type="file" name="certificate"> <br> <br> <input type="submit" value="SUBMIT"> <input type="reset" value="RESET"> </form> </body> </html> |
6. Write a html program to create a form to accept students roll no (in number format), Unit test marks (maximum 25 marks), Terminal exam marks (maximum 50 marks). Include the name of the Subject teacher and send the data to the server.
<!doctype html> <html> <head> <title> Student Data </title> </head> <body> <h1> Student Exam Marks Form</h1> <form name="studform" method="post" action="process.php"> Student Roll No : <input type="number" name="stud_roll" min=1> <br> <br> Unit Test Marks : <input type="number" name="unit_test" min=0 max=25> <br> <br> Terminal Exam Marks : <input type="number" name="unit_test" min=0 max=50> <br> <br> Name of the Subject Teacher : <input type="text" name="sub_teacher"> <br> <br> <input type="submit" value="SUBMIT"> <input type="reset" value="RESET"> </form> </body> </html> |
7. Write a html program to create registration form to accept name, mobile no., date of birth. The form should have register caption in the button to submit the data.
<!doctype html> <html> <head> <title> User Data </title> </head> <body> <h1> User Registration Form</h1> <form name="userform" method="post" action="process.php"> Name of the User : <input type="text" name="user_name"> <br> <br> Mobile No. : <input type="number" name="user_mobile"> <br> <br> Date of Birth : <input type="date" name="user_dob"> <br> <br> <input type="submit" value="REGISTER"> <input type="reset" value="RESET"> </form> </body> </html> |
8. Write html program to accept Name of the hospital, Email Id of the hospital, Number of beds in the hospital. The data should be sent to the server.
<!doctype html> <html> <head> <title> Hospital Data </title> </head> <body> <h1> Hospital Information Form</h1> <form name="hospitalform" method="post" action="process.php"> Name of the Hospital : <input type="text" name="hosp_name"> <br> <br> Email Id. : <input type="email" name="hosp_email"> <br> <br> Number of beds in Hospital : <input type="number" name="hosp_beds"> <br> <br> <input type="submit" value="SUBMIT"> <input type="reset" value="RESET"> </form> </body> </html> |
9.A. Write html program to create a form to accept students roll no (in number format), Unit test marks(maximum 25 marks), Terminal exam marks (maximum 50 marks). Include the name of the Subject teacher and send the data to the server.
<!doctype html> <html> <head> <title> Student Data </title> </head> <body> <h1> Student Exam Marks Form</h1> <form name="studform" method="post" action="process.php"> Student Roll No : <input type="number" name="stud_roll" min=1> <br> <br> Unit Test Marks : <input type="number" name="unit_test" min=0 max=25> <br> <br> Terminal Exam Marks : <input type="number" name="unit_test" min=0 max=50> <br> <br> Name of the Subject Teacher : <input type="text" name="sub_teacher"> <br> <br> <input type="submit" value="SUBMIT"> <input type="reset" value="RESET"> </form> </body> </html> |
9.B. Write html program to accept student name, Date of birth and attendance percentage in number format. Send the data to the server.
<!doctype html> <html> <head> <title> Student Data </title> </head> <body> <h1> Student Attendance Percentage </h1> <form name="studform" method="post" action="process.php"> Student Name : <input type="text" name="stud_name"> <br> <br> Date of Birth: <input type="date" name="stud_dob"> <br> <br> Attendance Percentage : <input type="number" name="stud_attd" min=0 max=100> <br> <br> <input type="submit" value="SUBMIT"> <input type="reset" value="RESET"> </form> </body> </html> |
10. Write a html program to display "Digital India" in Verdana font using internal CSS. Add any two sentences about Digital India below in orange color. Watch Video
<!doctype html> <html> <head> <title> Digital India </title> <style> h1 { font-family : "Verdana"; } p { color : orange; } </style> </head> <body> <h1> Digital India</h1> <p> Digital India is a campaign launched by the Government of India to ensure that the Government's services are made available to citizens electronically through improved online infrastructure and by increasing Internet connectivity. </p> <p> It making the country digitally empowered in the field of technology. </p> </body> </html> |
11. Write a html program to display "Maharashtra State Board" in blue color and font size 30 pixels using internal CSS. Give background colour yellow for the web page.
<!doctype html> <html> <head> <title> MS Board </title> <style> body { background-color : yellow; } p { color : blue; font-size ; 30px; } </style> </head> <body> <p> Maharashtra State Board</p> </body> </html> |
12. Write a html program to display "Maharashtra State Board" in font size 40 pixels using internal CSS. Give background colour yellow for the same text.
<!doctype html> <html> <head> <title> MS Board </title> <style> body { background-color : yellow; } p { font-size ; 40px; } </style> </head> <body> <p> Maharashtra State Board</p> </body> </html> |
13. Write a html program to display "Web designing" in italic format and having underline using internal CSS. Add any two sentences about web designing in green color.
<!doctype html> <html> <head> <title> Web Designing </title> <style> h1 { font-style : italic; text-decoraton : underline; } p { color : green; } </style> </head> <body> <h1> Web Designing</h1> <p> Web designing is the art of planning and arranging content on a website so that it can be shared and accessed online with the world. </p> <p> Web design encompasses many different skills and disciplines in the production and maintenance of websites. </p> </body> </html> |
14. Write a html program to insert inline frame on web page. Use xyz html file as a source for inline frame. Size of inline frame should be 100x100 pixels.
<!doctype html> <html> <head> <title> Inline Frame example </title> </head> <body> <h1> Inline Frame</h1> <iframe src="xyz.html" height=100 width=100> </body> </html> |
15. Write html program to insert inline frame on web page. Use xyz html file as a source for inline frame. Size of inline frame should be 300 x 300 pixels.
<!doctype html> <html> <head> <title> Inline Frame example </title> </head> <body> <h1> Inline Frame</h1> <iframe src="xyz.html" height=300 width=300> </body> </html> |
16. Write html program to create an ordered list of 3 languages used for speaking and unordered list having 2 computer languages. Watch Video
<!doctype html> <html> <head> <title> Languages </title> </head> <body> <h2> Languages used for Speaking</h2> <OL> <LI> English </LI> <LI> Hindi </LI> <LI> Marathi </LI> </OL> <h2> Computer Languages</h2> <UL> <LI> Java </LI> <LI> Python </LI> </UL> </body> </html> |
17. Write html program to display names of two friends in ordered list and also display their hobbies under their name in unordered list. Watch Video
<!doctype html> <html> <head> <title> Friends and their Hobbies </title> </head> <body> <h2> Friends and their Hobbies</h2> <OL> <LI> Vedika </LI> <UL> <LI> Singing </LI> <LI> Dance </LI> </UL> <LI> Riya </LI> <UL> <LI> Reading Books </LI> <LI> Travelling to Historical Places </LI> </UL> </OL> </body> </html> |
18. Write html program to create an unordered list having names of two students. Add ordered list of subjects they selected:
<!doctype html> <html> <head> <title> Students subjects</title> </head> <body> <h2> Student List with subjects</h2> <UL> <LI> Sanika</LI> <OL> <LI> IT</LI> <LI> Maths</LI> </OL> <LI> Sachin</LI> <OL> <LI> English </LI> <LI> PT </LI> </OL> </UL> </body> </html> |