Kerala Plus Two Computer Science Question Paper March 2020 with Answers

Reviewing Kerala Syllabus Plus Two Computer Science Previous Year Question Papers and Answers Pdf March 2020 helps in understanding answer patterns.

Kerala Plus Two Computer Science Previous Year Question Paper March 2020

Time: 2 Hours
Total Score: 60 Marks

Answer any 5 questions from 1 to 6. Each carries 1 Score. (5 × 1 = 5)

Question 1.
In inheritance the existing Class is called ____________
Answer:
Base / Parent class

Question 2.
The ____________operator is used to allocate memory location during run time (execution).
Answer:
new

Question 3.
Write an empty tag used in HTML.
Answer:
<br> or <hr> or <img>

Question 4.
Which attribute of <input> tag is used to make different kinds of controls like Text box, Radio button, Submit button etc.?
Answer:
type

Question 5.
The IP address of a Webserver connected to a do-main name is stored in ____________ .
Answer:
A record

Kerala Plus Two Computer Science Question Paper March 2020 with Answers

Question 6.
Expand. ICT.
Answer:
Information and Communication Technology

Answer any 9 questions from 7 to 18. Each carries 2 Score. (9 × 2 = 18)

Question 7.
What is a pointer variable in C++? Write the syntax or example to declare a pointer variable.
Answer:
Pointer is a special variable which points to memory location of some other variable.
data_type *variable_name;
int *ptr;

Question 8.
Write any two differences in static and dynamic memory allocation.
Answer:
Refer Chapter 2. 3 Mark Qn.9.

Question 9.
Write any two advantages of using object oriented programming language. (OOP)
Answer:
Advantages of using OOP are
a) OOP allows modularity(divide the large programs into smaller ones)
b) It is good for defining abstract data types.
c) It allows data abstraction. That is it hides or protects data.
d) It allows code reusability
e) Real life entities can be easily created
f) It supports to create new data types.

Question 10.
Write the algorithm to add an item in to a queue which is not empty?
Answer:
If(REAR < N)then
REAR=REAR+1;
Q[REAR]=ITEM;
Else
Print “Over Flow”;

Question 11.
Briefly explain about Webserver.
Answer:
A computer with high storage capacity, high speed and processing capabilities is called a web server.
It is connected to the internet 24 × 7.

Question 12.
Write JavaScript statements to create a number and string variables.
Answer:
var n,str;
n=12;
str=”Plus Two”;

Kerala Plus Two Computer Science Question Paper March 2020 with Answers

Question 13.
Breifly explain about any two built-in functions available in JavaScript.
Answer:
BUILT IN FUNCTIONS (methods)

  1. alert() : This is used to display a message (dialogue box) on the screen.
    eg: alert(“Welcome to JS”);
  2. isNaN(): To check whether the given value is a number or not. It returns a Boolean value. If the value is not a numberfNaNl then this function returns a true value otherwise it returns a false value.

Question 14.
List any four advantages of DBMS.
Answer:
Advantages of DBMS

  1. Data Redundancy – It means duplication of data. DBMS eliminates redundancy. DBMS does not store more than one copy of the same data.
  2. Inconsistency can be avoided – If redundancy odcurs there is a chance to inconsistency. If redundancy is removed then inconsistency cannot occur.
  3. Data can be shared – The data stored in the database can be shared by the users or programs.
  4. Standards can be enforced – The.data in the database follows some standards. Eg : a field ‘Name’ should have 40 characters long. Some standards are ANSI, ISO, etc.

Question 15.
Distinguish between the terms degree and cardinality used in RDBMS.
Answer:
Degree(to be remembered CD) – Number of Columns in a relation is called Degree.
Cardinality(to be remembered RC) – Number of rows in a relation is called Cardinality.

Question 16.
Differentiate echo and print used inPHP.
Answer:
The difference between echo and print

echo print
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 17.
Write short note about any two applications of computational intelligence.
Answer:
Application of Computational Intelligence
A) Biometrics : Biometrics refers to the unique characteristics of a human being to recognize an individual such as finger prints, face recognition, iris, retina etc. Biometrics are used to record attendance Eg. In banks employee login is restricted by using finger print reader.

B) Robotics : It is a branch of scientific study associated with the design, manufacturing and control the movements of the robots. Roboticss are used in all the areas. Some of them are discussed below.

Question 18.
Name the types of interactions in e-Government
Answer:
Types of interactions in e-Governance e-Governance facilitates interaction between different stakeholders in governance
Government to Government(G2G)
Government to Citizens(G2C)
Government to Business(G2B)
Government to Employees(G2E)

Answer any 9 questions from 19 to 30. Each carries 3 Score. (9 × 3 = 27)

Question 19.
Describe about any three e-Learning tools.
Answer:
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 files 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)

B) Advantages of E Learning :

  • It can offer variety courses to large number of students from distant location.
  • It saves journey time and money, instructor fees, etc.
  • People can enjoy e Learning with lower cost
  • It enables people to do courses conducted by national or Inter national institutions.

C) Challenges to e Learning

  • Face to face contact between student and teachers is not possible
  • Proper interaction is limited lack of infrastructure facilities
  • Its implementation requires computer and high speed Internet
  • Pupil may not get proper motivation
  • It does not provide a real lab facility

Kerala Plus Two Computer Science Question Paper March 2020 with Answers

Question 20.
What is cloud computing? Write any two service? offered by cloud.
Answer:
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)

  1. 1. Software as a Service(SaaS)
  2. Platform as a Service(PaaS)
  3. Infrastructure as a Service (laaS)

Question 21.
Differentiate indexed and associated arrays in PHP.
Answer:
Arrays in PHP
In PHP array is a collection of key and value pairs. Unlike C++, in PHP we can use either non negative integers or strings as keys.
Different types of arrays in PHP

  • Indexed arrays
  • Associate arrays
  • Multi dimensional arrays.

Indexed arrays-: The elements in an array can be distinguished as first or second or third etc. by the indices and the index of the first element is zero. In PHP the function array() is used to create an array. Syntax: $array_name=array(value1 ,value2, ……………….);

Question 22.
Write short not about numeric and string data types of SQL.
Answer:
Data Types

  1. Char – It is used to store fixed number of characters,. It is declared as char(size).
  2. Varchar – It is used to store characters but it uses only enough memory.
  3. 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.
  4. Int or Integer – It is used to store numbers without decimal point. It is declared as int. It has no argument. Eg: age int.
  5. Smallint – Used to store small integers.
  6. Date – It is used to store date. The format is yyyy- mm-dd. Eg: ‘1977-05-28’.
  7. Time – It is used to store time. The format is Numeric data types are int(integer), dec(decimal), small int.
    String data types are char and varchar.

Question 23.
What are the different control structures used in JavaScript? Explain any one with an example.
Answer:
CONTROL STRUCTURES IN JavaScript
In general the execution of the program is sequential, we can change the normal execution by using the control structures.
1) Simple if

Syntax:
ifftest expression)
{
statements;
}

First the test expression is evaluated, if it is true, then the statement block will be executed other wise not.

* if-else
Syntax:
if(test expression)
{
statement block1;
}
else
{
statement block2;
}

First the test expression is evaluated, if it is true then the statement block 1 will be executed otherwise statement block2 will be evaluated.

Question 24.
Consider the following relations:
Arts relation:

Adm no. Name Batch
3001 Mpnju A1
3009 Cristy C1
4010 Fazil B1
3090 Arun K2

Sports relation:

Adm no. Name Batch
4015 Arjun B1
4010 Fazil B1
3005 Fathima C2

Find the result of following relational algebra operation.
a) Arts ∩ Sports
b) Arts ∪ Sports
c) Sports – Arts
Answer:
a)

Adm No. Name Batch
4010 Fazil B1

b)

Adm No. Name Batch
3001 Manju A1
3009 Cristy C1
4010 Fazil B1
3090 Arun K2
4015 Arjun B1
3005 Fathima C2

c)

Adm No. Name Batch
4015 Arjun B1
3005 Fathima C2

Kerala Plus Two Computer Science Question Paper March 2020 with Answers

Question 25.
Explain about various types of web hosting.
Answer:
Types of web hosting
Various types of web hosting services are available. We can choose the yveb 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
  2. Dedicated Hosting
  3. Virtual Private Server (VPS)

Question 26.
Write HTML code to create a web page which in-cludes, the following table.

Answer:

<html>
<head>
<title>table</title>
</head>
<body>
<table border=”1''>
<tr align=”c6nter”>
<th colspan=”3">No. of Student</th>
</tr>
<tr align=”center”>
<th rowspan=”2">Boys</th>
<td> XI</td>
<td> 140</td>
</tr>
<tr align=”center”>
<td> XII</td>
<td> 60</td>
</tr>
<tr align=”center”>
<th rowspan=”2">Girls</th>
<td> XI</td>
<td> 75</td>
</tr>
<tr align=”center”>
<td>XII</td>
<td> 125</td>
</tr>
</table>
</body>
</html>

Question 27.
Differentiate static and dynamic web pages.
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 c|ient(browser)
Easy to develop Not at all easy

Question 28.
Explain about the operations performed on stack data structure.
Answer:
Operations on stack
a) Push operation: It is the process of inserting (adding) a new data item into the stack. If the stack is full and we try to add a new item into the stack makes the stack over flow.

b) Pop operation: It is the process of deleting (removing) a data item from the stack. If the stack is empty and we try to delete an item from the stack makes the stack underflow.

Question 29.
What is polymorphism? Write short notes about the types of polymorphism?
Answer:
Polymorphism, is the ability for a message or data to be processed in more than one form. This is achieved by function overloading, operator overloading and dynamic binding.
There are two types of polymorphism

a) Compile time(early binding / static)
polymorphism: It is the ability of the compiler’ to relate or bind a function call with the function definition during compilation time itself.
Examples are Function overloading and operator overloading

Function overloading : Functions with same name and different signatures(the jiumber of parameters or data types are different).

Operator overloading -: It gives new meaning to an existing C++operator.
Eg: we know that + is used to add two numbers, Operator overloading assigns + to a new job such as it concatenates two strings into one string.

b) Run time (late binding/dynamic) poly morphism: It is the ability of the compiler to relate or bind a function call with the function definition during run time, it uses the concept of pointers and inheritance.

Kerala Plus Two Computer Science Question Paper March 2020 with Answers

Question 30.
Define structure. Write any two differences between structure and array.
Answer:
Structure is a group Of different types of logically related data referenced a single name.

Structures Array
1. It is a user defined data type 1. Predefined data type
2. It is a collection of different types of logically related data under one name. 2. Collection of data elements of same data type having a common name
3. Elements referenced using dot operator (.) 3. Elements references using its subscripts (position value)
4. When an element of a structure becomes another structure nested structure and complex structures are formed 4. When an element’of another becomes another array, multidimensional arrays are formed.
5. Structures contains array as its elements 5. Array of structure can be formed

Answer any 2 questions from 31 to 33. Each carries 5 Score. (2 × 5 = 10)

Question 31.
a) The ____________ tag identifies the document as an HTML document.
b) Breifly explain about any two attributes of <BODY> tag.
c) Write the use of any four tags given below.
<B>, <U>, <SUB>, <PRE>, <IMG>, <BR>,
Answer:
a) <HTML>

b) We can use the attributes of <Body>tag
1) Bgcolor-specifies background color for the docu¬ment Body
Eg. <BODY BGCOLOR= “RED”>
2) Background – Sets the image as background for the document body
Eg. <BODY BACKGROUND= “C:/page1 ,jpg”>

c) a)<B> To make the content Bold.
b) <U> To underline the content.
c) <SUB> create a subscript.
d) <PRE> It is used to display the content as we entered in the text editor.
e) <IMG> Used to insert an image.
f) <BR> Break a line.

Question 32.
a) What are the different kinds of lists available in HTML? Briefly explain about the tags used for each kind.
b) Differentiate the following HTML code fragment:
<A Href = “http ://www.dbsc kerala.gov.in”>Higher secondary</A>
<A Href = Mailto : “scertkerala.gov.in”> SCERT </A>
c) Write any one attribute of <FRAMESET> tag.
Answer:
a) 3 types of Lists in HTML.
1) Unordered List (<UL>) – Items are displayed with square, circle or disc in front.

2) Ordered List (<OL>) – Items are displayed with the following type values.
Type = 1 for 1, 2, 3, …………….
Type = i for i, ii, iii, …………….
Type = I for I, II, III, ………….
Type = a for a, b, c, …………….
Type = A for A, B, C, ……………

3) Definition List (<DL>) – It is formed by definitions.

  • <LI> – it is used to specify List items.
  • <DT> – It is used to specify Definition Term.
  • <DD> – Used to specify the description
  • <A> is used to provide hyperlinks. Two types of linking. Its attribute is HREF.

1) External link – Used to connect 2 different web pages.
2) Internal link – Used to connect different locations of same page.

b) First one used to link a website and other is used to link an e-mail

c) Attributes are cols, rows, border or bordercolor.

Kerala Plus Two Computer Science Question Paper March 2020 with Answers

Question 33.
a) Briefly explain about any two column constraints used in SQL.
b) Describe about any two DML commands of SQL.
Answer:
a) a) NOT NULL: it specifies that a column can never have null values, i.e., not empty
b) UNIQUE: it ensures that no two rows have same value in the specified column.
c) PRIMARY KEY: it declares a column or a set of columns as the primary key of the table. This constraint makes a column NOT NULL and UNIQUE.
d) DEFAULT: it sets a default value for a column when the user does not enter a value for that column.
e) Autojncrement: This constraint is used to perform autojncrement the values in a column. That is automatically generate se¬rial numbers. Only one autojncrement column per table is allowed.

b) DML commands

  1. Select – Used to select rows from a table. The keyword From is used with this. Where clause is used to secify the conition.
  2. Insert – Used to insert new records into a table. So the keyword used is INTO.
  3. Delete – Used to delete records in a table.
  4. Update – Used to modify the records in a table the keyword used is set.

Leave a Comment