0% found this document useful (0 votes)
27 views3 pages

MS BBSR T2

This document contains the marking scheme for a Computer Science exam with 13 multiple choice and written response questions. Section A contains 7 questions assessing students' knowledge of data structures like stacks and their properties. Section B contains 2 questions involving writing Python code to demonstrate stack operations. Section C contains 4 questions involving SQL queries to retrieve information from multiple tables. The marking scheme provides the answers and point values for each part of each question to guide examiners on fairly and consistently evaluating students' responses.

Uploaded by

anithasancs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views3 pages

MS BBSR T2

This document contains the marking scheme for a Computer Science exam with 13 multiple choice and written response questions. Section A contains 7 questions assessing students' knowledge of data structures like stacks and their properties. Section B contains 2 questions involving writing Python code to demonstrate stack operations. Section C contains 4 questions involving SQL queries to retrieve information from multiple tables. The marking scheme provides the answers and point values for each part of each question to guide examiners on fairly and consistently evaluating students' responses.

Uploaded by

anithasancs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

KENDRIYA VIDYALAYA SANGATHAN : BHUBANESWAR REGION

TERM – 2 Pre Board Examination


COMPUTER SCIENCE – XII
MARKING SCHEME [ SET-1 ]

Section A
Q No. Answers Marks to
No be
allotted
1. A stack is a linear data structure that follows the principle of Last In First Out (LIFO). 2
This means the last element inserted inside the stack is removed first.
Stack is a linear data structure in which the elements can be added or removed only
from one end known as “Top” of the stack. The discipline of Stack is LIFO (Last In
First Out) i.e. element inserted last will be removed first.
(1 marks for correct definition and 1 marks for correct reasons)
2 (i) FTP 1
(ii) Code Division Multiple Access 1
Uniform Resource Locator
(1/2 marks for each correct full forms)
3 Domain of an attribute is the set of values from which a value may come in a column. 2
E.g. Domain of section field may be (A,B,C,D).
(1 marks for correct definition and 1 marks for example)
4 statement 1-mydb.cursor() 2
statement 2-"DROP TABLE STUDENT"
(1 marks for each correct statement)
5 a) 20-11-2017, 21-08-2010 2
b) Sony
c) 12-02-2013
17-10-2016
d) 15300
(1/2 marks for each correct output)
6 (i) Correct difference 01 Mark 1
(ii) discount 1
1500
1250
550
2500
1850
7 a.Degree-5 2
Cardinality-6
b. Primary Key is TID, It is used to ensure data in the specific column is unique. It is
a column cannot have NULL values.

OR
Candidate key: Attribute / Attribute combinations in a relation that can serve as a
primary key. Example: In EMP table: Empno, Ename
Alternate Key: A candidate key that is not the primary key is called an alternate key.
Example: in EMP table Empno Primary key then Ename will be the alternate key.
Section B
8 Product={"TV":10000, "MOBILE":4500, "PC":12500, "FURNITURE":5500} 3
stack=[]
def PRODPUSH(stack, P): # [ 1 Mark ]
for k in Product: # [1/2 Mark ]
if P[k]<6000: # [1/2 Mark ]
stack.append(k) # [1/2 Mark ]
PRODPUSH(stack, Product) # [1/2 Mark ]
print(stack)

OR
M=[2, 10,13,17,25,32,38,44, 56, 60,21, 74, 35,15]

stack=[]
def NUMPUSH(stack, P): # [ 1 Mark ]
for k in M: # [1/2 Mark ]
if k%5==0: # [1/2 Mark ]
stack.append(k) # [1/2 Mark ]
NUMPUSH(stack, M) # [1/2 Mark ]
print(stack)
9 (i) Field Data Type Actual Datatype with 2
length
PID Numeric length 11 int(11)
ProdName Variable Character length 10 varchar(10)
DateofManufacture Data type date
Price Floating 7 digits including 2 float(7,2)
decimal

ii) ALTER TABLE Customer 1


MODIFY Address(30);

10 a. CREATE DATABASE Zenith; 3


CREATE TABLE Workshop(Workshopid integer Primary Key,Title Varchar(50),
DateWorkshop date, NumSpeakers integer);
b. INSERT INTO Workshop(101,”CCT WORKSHOP”,’12-03-2019’,3);
1 mark for create database 1 mark for create table and 1 mark for insert command)
Section C
11 SELECT CNO, CNAME, TRAVELDATE FROM TRAVEL ORDER BY CNO DESC; 4
SELECT CNAME,VEHICLETYPE FROM TRAVEL T, VEHICLE V WHERE
T.VCODE=V.VCODE AND VCODE IN(’V03’,’V05’);
SELECT CNO, CNAME, TRAVELDATE FROM TRAVEL WHERE TRAVELDATE
BETWEEN ’13-12-2015‘ AND ’21-03-2016‘;
SELECT T.VCODE,CNAME,VEHICLETYPE FROM TRAVEL T, VEHICLE V
WHERE T.VCODE=V.VCODE AND KM> 100 ;
(1 marks for each correct command)
12 (i) Hub forwards the message to every node connected and create a huge traffic in the 2
network hence reduces efficiency whereas a Switch is also called intelligent hub
since it redirects the received information/ packet to the intended node(s). In a large
network a switch is preferred to reduce the unwanted traffic in the network which
may also reduce the bandwidth and cause network congestion.
(ii) Advantages of using an optical Fiber : 2
i. Faster speed than ethernet.
ii. Lower attenuation (Any Two Advantages )
OR
Web Page is a document or a page where there is information. We can see those
pages in the browser. Web Page is a single page with information. It can be in any
form like texts, images or videos. Whereas the Website is a collection of webpages.
The website has its own domain name which is unique throughout the world.
Anything can be stored on a website like photos, videos, texts etc . Popular example
of online shopping : Amazon,Flipkart etc
13 i) Admin Block 4
(1 mark for correct answer)
(ii)

(1 mark for correct answer)


(iii) Modem or Switch or Router
(1 mark for correct answer)
(iv)Ethernet Cable
(1 mark for correct answer)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy