Reviewing Kerala Syllabus Plus Two Computer Science Previous Year Question Papers and Answers Pdf Board Model Paper 2021 helps in understanding answer patterns.
Kerala Plus Two Computer Science Board Model Paper 2021 with Answers
Time: 2 Hours
Total Score: 60 Marks
Answer any number of questions from 1 to 44. Maximum Score 60.
Question 1.
Answer the following questions from (a) to (e). Each carries 1 score.
a. In C++, _________ operator is used to get the address of a variable.
b. _________ is a prototype/ blue print that defines
the specifications common to all objects of a particular type.
c. Write any one core data type in PHP.
d. Name a SaaS provider.
e. KITE VICTERS is an example for _________ ICT service.
Answer:
(a) &
(b) Class
c) Integer / Float / Double / String / Boolean
d) Microsoft / Facebook/Amazon etc
e) E – learning tool / Educational TV channel
Answer the following questions from 2 to 21. Each carries 2 scores.
Question 2.
Write the use of new and delete operations in C++.
Answer:
The new operator is used to allocate memory during run time, while delete operator used to de-allocate this memory.
Question 3.
What is memory leak?
Answer:
If the memory allocated using new operator is not de allocated using delete, that memory is left unused and not released for further allocation. This situation caused memory leak.
Question 4.
Mention any two advantages of Object Oriented Programming (OOP).
Answer:
Data Abstraction, inheritance , Encapsulation, polymorphism etc
Question 5.
Briefly explain about polymorphism.
Answer:
Polymorphism is an essential feature of object oriented programming. Polymorphism means having many forms. It.is the capability of an object to behave differently in response to a message or action. That is, the same operation is performed differently depending upon the type of data it is working with. Polymorphism is implemented in C++ in two ways, compile time polymorphism and runtime polymorphism.
![]()
Question 6.
What do you mean by queue overflow?
Answer:
6. When we try to insert a new item to a queue which is already full then queue overflow occurs.
Question 7.
Differentiate between static web page and dynamic web page.
Answer:
| Static web pages | Dynamic web pages |
| Content and layout is fixed | Content and layout is changed frequently |
| Never use database | Data base is used |
| Run by browser | It runs on the server and result get back to the client(browser) |
| Easy to develop | Not at all easy |
Question 8.
Write the name of any four scripting languages.
Answer:
Asp, Jsp, VBscript, JavaScript, PHP
Question 9.
Which are the HTML tags used to divide the browser window?
Answer:
<frameset> and <frame>
Question 10.
Differentiate between internal linking and external linking in HTML.
Answer:
- External Linking. External links are hyperlinks given to another page. By clicking on hyper text we can link or go to other webpages.
<A> Anchor tag is used for External Linking. <A href= “c:\main.html”>Main</A> - Internal Linking- Internal Links are given to a sec-tion in the same document.
Question 11.
What are the different ways to include Java Script in HTML?
Answer:
WAYS TO ADD SCRIPTS TO A WEB PAGE.
Inside <BODY> section
Scripts can be placed inside the <BODY> section.
Inside <HEAD> section
Scripts can be placed inside the <HEAD> section. This method is widely accepted method
External (another) JavaScript file
We can write scripts in a file and save it as a separate file with the extension .js . The advantage is that this file can be used across multiple HTML files and can be enhance the speed of page loading.
![]()
Question 12.
Why do we use FTP client software? Write an example for FTP client software.
Answer:
It is used to transfer(upload) files from our computer to web server by using the ‘drag and drop’ method. The popular FTP client softwares are FileZilla, CuteFTP, SmartFTP, etc.
Question 13.
Write a short note on free hosting. ’
Answer:
Free hosting
The name implies it is free of cost service and the expense is meet by the advertisements. Some service providers allow limited facility such as limited storage space, ,do not allow multimedia(audio and video) files.
A paid service website’s address is as follows
eg: www.bvmhsskalparamba.com
Question 14.
Write any four advantages of Data Base Management System (DBMS).
Answer:
Advantages of DBMS
- Data Redundancy
- Inconsistency can be avoided
- Data can be shared
- Standards can be enforced
- Security restrictions can be applied
- Integrity can be maintained
- Efficient data access
- Crash recovery
Question 15.
Differentiate between Degree and Cardinality of a relation.
Answer:
| Degree | Cardinality |
| Number of Columns is Degree(CD) | Number of rows is Cardinality(RC) |
Question 16.
Write the names of any four constraints used in Structured Query Language.
Answer:
Not null, unique, primary key, autojncrement, default.
![]()
Question 17.
Differentiate between static and dynamic memory allocations.
Answer:
| Static memory allocation | Dynamic memory allocation |
| Memory requirement is known in advance | Memory requirement is not known in advance |
| Memory is allocated during compilation time | Memory is allocated during runtime |
| Memory cannot be freed | Memory can be freed When not required |
| Less efficient | More efficient |
Question 18.
Briefly explain the structure of an HTML document.
Answer:
An HTML document contains 2 sections Head and Body
<html>
<head>
<title>Here we give the title</title>
</head>
<body>
Here we give the content </body>
</html>
Question 19.
Write any two tags used for creating definition list in HTML.
Answer:
<DL>, <DT> and <DD>
Question 20.
How to create a variable in Java Script?
Answer:
The keyword var is used to create a variable in JavaScript. Eg. varnum;
Question 21.
Write your opinion about enforcement of cyber laws in our society.
Answer:
It ensures the use of computers and internet by the people safely and legally. It consists of rules and regulations like IPC to stop crimes and for the smooth functions of cyber world. Two Acts are IT Act 2000. and IT Act Amended in 2008.
Answer the following questions from 22 to 41. Each carries 3 scores.
Question 22.
A structure definition for date is given below. Fill in the blanks in it.
___________ date
{
___________ day;
int month;
int___________ ;
};
Answer:
struct date
{
int day;
int month;
int year
}
Question 23.
Write a short note on operations on data structures.
Answer:
Operations on data structures
a) Traversing: Accessing or visiting or reading all elements of a data structure is called Traversal.
b) Searching : Searching is the process of finding elements in a data structure
c) Inserting : It is the process of adding new data at particular location is called insertion.
d) Deleting: It is the process of removing a particular element from the data structure
e) Sorting : Arranging elements in a particular order(ascending or descending) is called sorting. Examples are bubble sort and selection sort.
f) Merging : This is the process of combining two sorted data structure and form a new one.
Question 24.
Fill the empty boxes in the diagram regarding the classification of data structures.

Answer:

![]()
Question 25.
Write the HTML code fragment to print the following:
(a) x2+y2
(b) H2SO4
(c) a > b
Answer:
a) x2+y2
b) H2SO4
c) a >b
Question 26.
Prepare a short note on attributes of <BODY> tag in HTML.
Answer:
Web page contents are given int the body section. Attributes of body tag are:
- BGCOLOR-Specifies background color for the document Body .
Eg. <BODY BGCOLOR= “RED”> - BACKGROUND -Sets the image as background for the document body
Eg. <BODY BACKGROUNG= “C:\result.jpg”> - TEXT-Specifies the color of the text content of the page
Eg. <BODYTEXT= “Red”> - LINK- Specifies colour of the hyperlinks that are not visited by the user
- ALINK-Specifies the colour of hyperlinks
- VLINK-Specifies the color of hyperlinks which are already visited by the viewer.
Eg. < BODY ALINK= “Cyan” LINK=” Magenta” VLINK=“Orange”> - Leftmargin and Right margin-Sets margin from left and top of the document window.
Question 27.
Write a short note on <INPUT> tag in HTML.
Answer:
Input tag is used to create different controls. It has an attribute called type, its value can be text, password, checkbox, radio, submit or button. Eg.<input type=”text”> will create a text box control.
Question 28.
Describe about <TR><TD><TH> tags in HTML.
Answer:
<tr> is used to create a new raw in a table.
<td> for table data and <th> for table heading
Question 29.
Prepare a brief explanation about the operators in Java Script.
Answer:
Operators are the symbols used to perform an operation
1. Arithmetic operators
It is a binary operator. It is used to perform addition(+), subtraction(-), division(/), multiplication(*), modulus (%-gives the remainder) ,increment(++) and decrement-Operations.
Eg. If x= 10 and y=3 then
| x+y | x-y | x*y | x/y | x%y |
| 13 | 7 | 30 | 3.333 | 1 |
If x=10 then
document.write(++x); -> It prints 10+1=11
If x=10then
document.write(x++); -> It prints 10 itself.
If x=10then
document.write(-x); It prints 10-1=9
If x=10then
document.write(x-);-> It prints 10 itself.
2. Assignment operators
If a = 10 and b = 3 then a = b. This statement sets the value of a and b are same, i.e. it sets a to 3.
It is also called short hands
If X = 10 and Y = 3 then
| Arithmetic Assignment Expression | Equivalent Arithmetic Expression | The value of X becomes |
| X+=Y | X=X+Y | 13 |
| X-=Y | X=X-Y | 7 |
| X*=Y | X=X*Y | 30 |
| X/=Y | X=X/Y | 3.333 |
| X%=Y | X=X%Y | 1 |
3. Relational(Comparison) operators
It is used to perform comparison or relational operation between two values and returns either true or false. Eg:
If X=10 and Y=3 then
| X<Y | X<=Y | X>Y | X>=Y | X==Y | X!=Y |
| false | false | true | true | false | true |
4. Logical operators uaope
Here AND(&&),, OR(||) are binary operators and NOT(!) is a unary operator. It is used to combine relational operations and it gives either true or false If X=true and Y=false then
| X&&X | X && Y | Y&&X | Y&& Y |
| true | false | False | false |
Both operands must be true to get a true value in the case of AND(&&) operation If X=true and Y=false then
| X || X | X || Y | Y || X | Y || Y |
| true | true | true | false |
Either one of the operands must be true to get a true value in the case of OR(||) operation
If X= true and Y=false then
| !X | !Y |
| false | true |
5. String addition operator(+)
This is also called concatenation operator. It joins(concatenates) two strings and forms a string.
Eg:
var x,y,z;
x = “BVM HSS
y = “Kalparamba”;
z = x+y;
• Here the variable z becomes “BVM HSS Kalparamba”.
Note: If both the operands are numbers then addition operator(+) produces number as a result otherwise it produces string as a result.
Consider the following
| Operand 1 data type | Operand 2 data type | Operation | Resultant data type |
| number | number | +(addition) | number |
| number | string | string | |
| string | number | string | |
| string | string | string |
Eg:
- 8(number) + 3(number)=11 (Result is a number)
- 8 (number)+ “3”( string) = “83” (Result is a string)
- “8” (string) + 3 (number) = “83”(Result is a string)
- “8” (string) + “3” (string) = “83″ (Result is a string)
![]()
Question 30.
Write the use of the following built in functions in JavaScript.
(a) alert()
(b) is NAN()
(c) char At()
Answer:
(a) alert() – It is used to display a message on the monitor.
(b) isNaN() – It is used to check whether the given values is a number or not. It returns a true value if the given value is not a number.
(c) charAt() – It returns a character specified by the position. The position starts from 0.
Question 31.
Write a brief explanation about three types of web hosting.
Answer:
Types of web hosting : Various types of web hosting services are available. We can choose the web hosting services according to our needs depends upon the storage space needed for hosting, the number-of visitors expected to visit, etc.
1) Shared Hosting : This type of hosting sharing resources, like memory , disk space and CPU hence the name shared. Several websites share the same server. This is suitable for small websites that have less traffic and it is not suitable for large websites that have large bandwidth, large storage space and have large volume of traffic.
Eg: Shared hosting is very similar to living in an Apartment(Villas) complex. All residents are in the same location and must share the available resources(Car parking area, Swimming pool, Gymnasium, play ground, etc) with every one.
2) Dedicated Hosting : A web server and its resources are exclusively for one website that have large volume of traffic means large volume of requests by the visitors. Some Govt, departments or large organizations require uninterrupted services for that round the clock power supply is needed. It is too expensive but it is more reliable and provide good service to the public.
Eg: It is similar to living in an Our own house. All the resources in your house is only for you. No one else’s account resides on the computer and would not be capable of tapping into your resourses.
3) Virtual Private Server (VPS): A VPS is a virtual machine sold as a service by an Internet hosting Service. A VPS runs its own copy of an OS (Operating System) and customers have super level access to that OS instance, so they can install almost any s/w that runs on that OS. This type is suitable for websites that require more features than shared hosting but less features than dedicated hosting.
Eg: It is similar to owning a Condo
Question 32.
What is data independence? What are tHfe different levels of data independence?
Answer:
It is the ability to modify the schema definition at one level without affecting the schema definition at the next higher level. There are two types
- Physical data independence -: It is the ability to modify the schema definition at the physical level without affecting the schema definition at the conceptual level
- Logical data independence -: It is the ability to modify the schema definition at the logical level without affecting the schema definition at the view level
Question 33.
How do you use ORDER BY clause along with SELECT command?
Answer:
Order by command is used to sort rows either in ascending or descending order. Eg. Select * from student order by roll_no;
Question 34.
What are the different data types used in SQL? Explain.
Answer:
Data Types
- Char- It is used to store fixed number of characters. It is declared as char(size).
- Varchar – It is used to store characters but it uses only enough memory.
- Dec or Decimal – It is used to store numbers with decimal point. It is declared as Dec (size, scale). We can store a total of size number of digits.
- Int or Integer – It is used to store numbers with¬out decimal point. It is declared as int. It has no argument. Eg: age int.
- Smallint – Used to store small integers.
- Date – It is used to store date. The format is yyyy- mm-dd. Eg:‘1977-05-28’.
- Time – It is used to store time.
Question 35.
What is cloud computing? What are the services offered by cloud?
Answer:
Cloud computing
It is an emerging computing technology. Here with the use of Internet and central remote servers to maintain data and applications. Example for this is Email service, Office Software(word processor, spread sheets, presentations, data base etc), graphic software etc. The information is placed in a central remote server just like clouds in the sky hence the name cloud computing.
Cloud service models (3 major services)
- Software as a Service(SaaS)
- Platform as a Service(PaaS)
- Infrastructure as a Service (IaaS)
![]()
Question 36.
Prepare a short note on e-learning.
Answer:
e Learning : It is the use of electronic media(lt includes text, audio, video, image, animation, etc), educational technology(lt includes Satellite TV, CD ROM, Computer Based Learning, etc) and information and communication technologies(ICT- ilt uses intranet / extranet and web based learning) in education.
A) e Learning tools
a) Electronic books reader(e Books)
With the help of a tablet or portable computer or any other device we can read digital fifes by using a s/w is called electronic books reader.
b) e text
The electronic format of textual data is called
e-Text.
c) Online chat
Real time exchange of text or audio or video messages between two or more person over the Internet.
d) e Content
The data or information such as text, audio, video, presentations, images, animations etc, are stored in electronic format.
e) Educational TV channels
TV channels dedicated only for the e-Learning purpose : Eg. VICTERS (Virtual Class room Technology on Edusat for Rural Schools OR Versatile ICT Enabled Resources for Students)
Question 37.
Differentiate between echo and print constructs used in PHP.
Answer:
The difference between echo and print
| echo | |
| take more than one parameter | only one parameter |
| Does not return any value | Returns TRUE or 1 on successful print and FALSE otherwise |
| Faster | slower |
Question 38.
Write any three characteristics of client side scripting.
Answer:
- Script is copied to the client browser
- The script is executed in the client browser
- Used for validation of data at the client level
- Users can block
Question 39.
Prepare HTML code to display the following num-bered list of High Tech equipments in your class room.
High Tech Class Room
(1) Projector
(2) Laptop
(3) Multimedia Speaker
Answer:
<html> <head> <title>List of items</title> </head> <body bgcolor=”cyan”> <h1> High Tech Class Room</h1> <ol type=”1"> <li>Projector</li> <li>Laptop</li> <li>Multimedia Speaker </li> </ol> </body> <html>
Question 40.
Write the use of any three DML commands in SQL.
Answer:
DMLcommands(any3-SUDI)
- Select – Used to retrieve records from a table.
- Update – Used to change or modify existing records.
- Delete – Used to delete records from a table.
- Insert – Used to add a new record to a table.
Question 41.
Illustrate any one loop statement used in PHP.
Answer:
while loop
It is an entry controlled loop The syntax is given below Loop variable initialised while(expression)
{
Body of the loop;
Update loop variable;
}
Answer the questions from 42 to 44. Each carries 5 scores.
Question 42.
Write the use of following tags in HTML.
(a) <BODY>
(b) <P>
(c) <MARQUEE>
(d) <IMG>
(e) <H6>
Answer:
a) <body> The content inside in this tag wifi be displayed in the browser window.
b) <p> It is used to start a new paragraph
c) <marquee> It is used to insert a scrolling text.
d) <img> It is used to insert an image.
e) <h6> It is one of the heading tags. It shows the smallest heading.
Question 43.
Prepare a web page using HTML to show the follow-ing details about prevention of COVID-19.
Break the Chain
■ Sanitise your hands.
■ Use soap regularly
■ Wear mask
■ Keep social distancing.
Answer:
<html> <head> <title>Prevention of COVID-19</title> </head> <body bgcolor=”cyan”> <h1> Break the Chain</h1> <ul type=”disc”> <li>Sanities your hands</li> <li>Use soap regularly</li> <li>Wear Mask</li> <li>Kepp social distancing </li> </ul> </body> <html>
![]()
Question 44.
(a) Distinguish betwen primarykeyand alternate key. (2)
(b) Write a short note on any three operations in re-lational algebra. (3)
Answer:
a) Primary key is a set of one or more attributes used to uniquely identify a row. A candidate key other than the primary key is the alternate key.
b) A) SELECT operation
SELECT operation is used to select tuples in a relation that satisfy a selection condition. Greek letter a (sigma) is used to denote the operation.
Syntax,
σcondition(relati0n)
eg. σsalery < 100oo (EMPLOYEE)-selects tuple whose salary is less than 10000 from EMPLOYEE relation.
B) PROJECT operation
PROJECT operation selects certain columns from the table and discards the other columns. Greek letter π(pi) is used to denote PROJECT operation.
Syntax, πcondition(relation)
πname salery (EMPLOYEE) displays only the name and salary of all employees
C) ONION operation
This operation returns a relation consisting of all tuples appearing in either or both of the two specified relations. It is denoted by U. duplicate tuples are eliminated. Union operation can take place between compatible relations only, i.e., the number and type of attributes in both the relations should be the same and also their order. e.g. SCIENCE U COMMERCE gives all the tuples in both COMMERCE and SCIENCE.