Download Kerala Board Solutions for Class 12 Computer Application Chapter 06 Client-Side Scripting Using JavaScript
Access comprehensive textbook solutions for Chapter 06 Client-Side Scripting Using JavaScript using the official curriculum guides for Class 12 Computer Application. Designed to align with the 2026-27 Kerala Board standards, these detailed answers help students reinforce core academic concepts.
Access Kerala Board Solutions and Answers
Access the complete solution PDF for Class 12 Computer Application below. Regular practice with these targeted textbook answers builds familiarity with standard question patterns and helps secure higher marks in final school evaluations.
Three Mark Questions and Answers
Question 1: (MARCH-2016) Develop a webpage to display a login screen with a text box for "Application No.", a password box for "password" and a "show" button, all centred on a cyan page.
Write JavaScript to do the following validation:
a) The application number should be in the range 10000 to 99999.
b) The password should contain at least 8 characters.
Answer:
<html>
<head>
<title>Javascript - login</title>
<script language="Javascript">
function showValid()
{
var appno, pas;
appno = document.frmlogin.txtappno.value;
pas = document.frmlogin.txtpass.value;
if (appno < 10000 || appno > 99999)
{
alert("The number should be in the range 10000 to 99999. Try again");
return;
}
if (pas.length < 8)
{
alert("The password must contain at least 8 characters. Try again");
return;
}
}
</script>
</head>
<body bgcolor="Cyan">
<form name="frmlogin">
<center>
Application No.
<input type="text" name="txtappno">
<br><br>
password
<input type="password" name="txtpass">
<br><br>
<input type="button" value="show" onClick="showValid()">
</center>
</form>
</body>
</html>
Exam Tips:
a) The form name and text box names in the HTML (frmlogin, txtappno, txtpass) must match exactly the names used in the JavaScript.
b) Use the OR operator (||) to check both ends of the range in one condition, and length to check the password size.
c) Call the function from the button with the onClick event.
Question 2: (MAY-2016) Design a web page to enter the mark of a student, with a text box labelled "Mark" and a "Check" button on a red page.
a) Write the HTML code for the web page.
b) Provide validations for the text box using JavaScript. The mark should be in the range of 0 to 100 and should be a number. The text box should not be empty.
Answer:
<html>
<head>
<title>student details</title>
<script language="JavaScript">
function showValid()
{
var mark;
mark = document.frmcheck.txtmark.value;
if (mark < 0 || mark > 100)
{
alert("The mark should be in the range 0 to 100");
return;
}
if (isNaN(mark))
{
alert("The mark should be a number");
return;
}
if (mark == "")
{
alert("Please enter a valid mark");
return;
}
}
</script>
</head>
<body bgcolor="Red">
<form name="frmcheck">
<center>
Mark
<input type="text" name="txtmark">
<br><br>
<input type="button" value="Check" onClick="showValid()">
</center>
</form>
</body>
</html>
Exam Tips:
a) isNaN() checks whether the entered value is not a number; remember its exact spelling and capital N.
b) Check each condition separately and show a different alert message for each, as the question asks for three validations.
Question 3: (MARCH-2017) Develop a web page with a text box labelled "Enter Name" and a "show" button. The user can enter a name in the text box. On clicking the "show" button the name entered in the text box should be changed into uppercase. Include JavaScript code in the HTML for doing this.
Answer:
<html>
<head>
<title>check</title>
<script language="JavaScript">
function convert()
{
var str1;
str1 = document.frmconvert.txtname.value;
document.frmconvert.txtname.value = str1.toUpperCase();
}
</script>
</head>
<body>
<form name="frmconvert">
Enter Name
<input type="text" name="txtname">
<br><br>
<input type="button" value="show" onClick="convert()">
</form>
</body>
</html>
Exam Tips:
a) toUpperCase() is a built-in string method; remember the capital U and C.
b) Read the text box value, convert it, and assign it back to the same text box.
c) Use the same form name in the HTML and in the JavaScript.
Question 4: (MAY-2017) Write a JavaScript which inputs the name, roll number and date of birth of a student. The date of birth contains month, day and year. The month should be selected from a drop-down list.
Answer:
<html>
<head>
<script language="JavaScript">
function get()
{
}
</script>
</head>
<body bgcolor="cyan">
<form name="frm">
Enter your name
<input type="text" name="txtname">
<br>
Enter your roll no
<input type="text" name="txtroll">
<br>
Enter your Date of Birth
<br>
Day
<input type="text" name="txtday">
Month
<select size="1" name="cbomth">
<option>January</option>
<option>February</option>
<option>March</option>
<option>April</option>
<option>May</option>
<option>June</option>
<option>July</option>
<option>August</option>
<option>September</option>
<option>October</option>
<option>November</option>
<option>December</option>
</select>
Year
<input type="text" name="txtyr">
<br>
<input type="button" value="submit" onClick="get()">
</form>
</body>
</html>
Exam Tips:
a) Give every control a different name; two controls with the same name cause errors when reading values.
b) Use a <select> list with <option> tags for the month, and text boxes for the other fields.
c) The function can stay empty here because the question only asks for the input form.
Free study material for Computer Application
Free Kerala Board Textbook Explanations: Class 12 Computer Application Chapter 06 Client-Side Scripting Using JavaScript
Chapter Exercise Answers for Class 12 Computer Application
Access structured Kerala Board textbook solutions for Chapter 06 Client-Side Scripting Using JavaScript. Designed in alignment with the latest academic curriculum for Class 12 Computer Application, these answers cover all end-of-chapter exercises to support daily learning and homework completion.
Detailed Answer Guides for Chapter 06 Client-Side Scripting Using JavaScript
Clear, methodical explanations accompany every challenging problem within the Class 12 Computer Application text. Engaging with these detailed answers lays a solid foundation for advanced learning and improves foundational clarity for upcoming assessments.
Complete Preparation Kit for Class 12 Exams
Frequent review of these structured answers builds strong analytical capabilities and response efficiency. Maximize your academic readiness by combining these textbook solutions with our curated study materials and mock evaluations for Class 12 Computer Application.
FAQs
The complete and updated Kerala Plus Two Computer Application Previous Questions Chapter 6 Client-Side Scripting Using JavaScript is available for free on StudiesToday.com. These solutions for Class 12 Computer Application are as per latest Kerala Board curriculum.
Yes, our experts have revised the Kerala Plus Two Computer Application Previous Questions Chapter 6 Client-Side Scripting Using JavaScript as per 2026 exam pattern. All textbook exercises have been solved and have added explanation about how the Computer Application concepts are applied in case-study and assertion-reasoning questions.
Toppers recommend using Kerala Board language because Kerala Board marking schemes are strictly based on textbook definitions. Our Kerala Plus Two Computer Application Previous Questions Chapter 6 Client-Side Scripting Using JavaScript will help students to get full marks in the theory paper.
Yes, we provide bilingual support for Class 12 Computer Application. You can access Kerala Plus Two Computer Application Previous Questions Chapter 6 Client-Side Scripting Using JavaScript in both English and Hindi medium.
Yes, you can download the entire Kerala Plus Two Computer Application Previous Questions Chapter 6 Client-Side Scripting Using JavaScript in printable PDF format for offline study on any device.