COMPUTER SCIENCE (Theory) - Class XII Marking Scheme

Similar documents
COMPUTER SCIENCE (Theory) - Class XII Marking Scheme Sample Question Paper I Subject Code - 083

Computer Science (Code 083) Sample Paper with Solution Set II

Computer Science (Code 083) Sample Paper with Solution Set II

COMPUTER SCIENCE Sample Paper I

COMPUTER SCIENCE (Theory) - Class XII Sample Question Paper II Subject Code - 083

Kendriya Vidyalaya Sangathan MODEL QUESTION PAPER - 2 Class-XII Subject: Computer Science (083) Time 3 hrs MM 70

KENDRIYA VIDYALAYA SANGATHAN, VARANASI REGION

void display(){ cout << trainno.<< :>>Description<<endl; }; void main() {TRAIN T; Entry.(); Display.(); d) 410 e) i) south:east:south f) temttoe

KENDRIYA VIDYALAYA SANGATHAN DEHRADUN REGION 1 st Pre-Board Examination, Class XII Computer Science(083) Time: 3 Hours Max.

CLASS XII GUESS PAPER COMPUTER SCENCE (083)

COMPUTER SCIENCE (Theory) Class XII - Code : 083 Blue Print

DELHI PUBLIC SCHOOL BOKARO STEEL CITY

KENDRIYA VIDYALAYA SANGATHAN MODEL QUESTION PAPER 8 CLASS XII COMPUTER SCIENCE (083)

Downloaded from

1. a) Find the correct identifiers out of the following, which can be 2 used for naming Variable, Constants or Functions in a C++ program:

KENDRIYA VIDYALAYA SANGATHAN (CHANDIGARH REGION) MARKING SCHEME (Ist Pre Board )

KENDRIYA VIDYALAYA SANGATHAN GUWAHATI REGION क य व लय स गठन, ग व ह ट स भ ग I-PRE BOARD EXAMINATION ( -ब ड पर )

KENDRIYA VIDYALAYA SANGATHAN, COMPUTER SCIENCE (THEORY) I PRE-BOARD TIME 3 HRS CLASS XII M. Marks 70

ITL Public School Pre-Board( ) Computer Science (083) Time:3 hrs M. M: 70

SAMPLE PAPER. Class: XII SUBJECT COMPUTER SCIENCE. Time: 3 Hours MM: 70

KENDRIYA VIDYALAYA SANGATHAN (KOLKATA REGION) Second Pre Board Examination ( ) COMPUTER SCIENCE (Theory) Class-XII Marking Scheme

THE NAME OF THE CONSTRUCTOR AND DESTRUCTOR(HAVING (~) BEFORE ITS NAME) FUNCTION MUST BE SAME AS THE NAME OF THE CLASS IN WHICH THEY ARE DECLARED.

KE DRIYA VIDYALAYA SA GATHA, CHE AI REGIO. COMMO PRE-BOARD EXAMI ATIO COMPUTER SCIE CE (CLASS-XII) MARKI G SCHEME

COMPUTER SCIENCE Time allowed : 3hours] [Maximum Marks :70

COMPUTER SCIENCE 1998 (Delhi Board)

SAMPLE PAPER 2015 SUB - COMPUTER SCIENCE - (Theory) CLASS XII Time allowed: 3 hours Maximum marks: 70

Answer key SUBJECT : COMPUTER SCIENCE Time : 3 hour 15 min Max. marks : 70

PRINCE PUBLIC SCHOOL PRE-BOARD EXAMINATION ( ) SAMPLE PAPER-1 COMPUTER SCIENCE XII TIME ALLOWED: 3 HOURS

SAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE. Sample paper-i. Time allowed: 3 hours Maximum Marks: 70 Name : Roll No.:

C++ 8. Constructors and Destructors

(d) Rewrite the following program after removing all the syntax error(s), if any. [2] include <iostream.h> void main ( )

Mock Test Paper-2. CBSE XII : Computer Science. Duration : 3hrs Max Marks : 70

KE DRIYA VIDYALAYA SA GATHA,CHE AI REGIO. COMMO PRE-BOARD EXAMI ATIO COMPUTER SCIE CE CLASS- XII Time allowed : 3 hours Maximum Marks : 70

CHAPTER 4 FUNCTIONS. 4.1 Introduction


INDIAN SCHOOL MUSCAT FIRST TERM EXAMINATION

Sample Paper 2012 Class XII Subject COMPUTER SCIENCE (Theory)

(i) case (ii) _delete (iii) WHILE (iv) 21stName

KUWAIT SAHODAYA EXAMINATION FIRST TERM SUBJECT : COMPUTER SCIENCE (083) : CLASS - XII SET - 3 Time : 3 Hours

CPE Summer 2015 Exam I (150 pts) June 18, 2015

Sample Paper 2015 Class XII Subject Computer Science

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL


SPLIT-UP SYLLABUS ----CHENNAI REGION COMPUTER SCIENCE (Code: 083) Class-XII Academic Session

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION. REVISION Examination 2013 COMPUTER SCIENCE (083) CLASS XII

Computer Science 2006 (Outside Delhi)

ASSIGNMENT CLASS : XII ( ) COMPUTER SCIENCE

CPE 112 Spring 2015 Exam II (100 pts) March 4, Definition Matching (8 Points)

COMPUTER SCIENCE (CODE 083) CLASS XII Time allowed : 3Hours Maximum. Marks 70

2 SEMESTER EXAM CLASS : 12 DECEMBER 2016 TIME : 3 Hrs MAX MARKS : 70

THE EMIRATES NATIONAL SCHOOL SHARJAH THIRD MODEL EXAMINATION COMPUTER SCIENCE ( Code : 083) ANSWER KEY

A506 / C201 Computer Programming II Placement Exam Sample Questions. For each of the following, choose the most appropriate answer (2pts each).

Sample Paper 2013 SUB: COMPUTER SCIENCE GRADE XII TIME: 3 Hrs Marks: 70

CLASS XII COMPUTER SCIENCE(083) TimeAllowed : 3 HrsMax Marks : 70

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE- CLASS- XII. Marking scheme

Multiple Choice (Questions 1 13) 26 Points Select all correct answers (multiple correct answers are possible)

Answer key SUBJECT : COMPUTER SCIENCE Time : 3 hour 15 min Max. marks : 70

Sample Paper Class XII SUBJECT : COMPUTER SCIENCE

COMPUTER SCIENCE

Downloaded from

CSE202-Lec#4. CSE202 C++ Programming

STUDY NOTES UNIT 1 - INTRODUCTION TO OBJECT ORIENTED PROGRAMMING

Computer Science 2006 (Delhi)

Downloaded from

Sample Paper COMPUTER SCIENCE (Theory) Class-XII Time Allowed: 3hours Maximum Marks: 70

Functions. Introduction :

I Mid Semester May 2012 : Class XII : Computer Science Max Mark 50 : Time 2 Hrs. 1. a) What is macro in C++? Give example 2

Sample Paper 2012 Class XII Subject Computer Science

CS201 - Introduction to Programming Glossary By

BLUE PRIENT SUBJECT:- Computer Science

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE

Pointers, Dynamic Data, and Reference Types

Question Bank Class XII Subject : Computer Science

COMPUTER SCIENCE 2002 (Delhi Board)

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

Guru Harkrishan Public School, Karol Bagh Pre Mock Class XII Sub: COMPUTER SCIENCE Allowed :3 hrs

void Add() { cin >> trainnumber; gets(trainname); } void display() { cout<<trainnumber <<":"<<TrainName<<end;

OBJECT ORIENTED PROGRAMMING. Ms. Ajeta Nandal C.R.Polytechnic,Rohtak

Model Sample Paper 2015

Introduction to C++ Systems Programming

Q2) Define a class candidate in C++ with following Description: Private Members 4 Number) of type long

MOCK PRE-BOARD EXAMINATION 2017_18 Class : XII Computer Science ( Answer Key)

Come and join us at WebLyceum

Autumn Break 2017 Exam Oriented Assignment Class-XII B, Computer Science

COMPUTER SCIENCE (083)

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION

KENDRIYA VIDYALAYA ALIGANJ SHIFT-II HOLIDAY HOME WORK XII COMPUTER SCIENCE ARRAY AND STRUCTURES

Constructor & Classes Questions

BHARATIYA VIDYA BHAVAN S V.M.PUBLIC SCHOOL, VADODARA. Class : XII SAMPLE PAPER Max Marks : 70

Data type of a pointer must be same as the data type of the variable to which the pointer variable is pointing. Here are a few examples:

Page. No. 1/15 CS201 Introduction to Programmming Solved Subjective Questions From spring 2010 Final Term Papers By vuzs Team

Short Notes of CS201

CS111: PROGRAMMING LANGUAGE II

COMPUTER SCIENCE (083)

OOP THROUGH C++(R16) int *x; float *f; char *c;

(4) Find the syntax error(s), if any, in the following program: #include main() int x[5],*y,z[5]; for(i=0;i<5;i++) x[i]=i; z[i]=i+3; y=z; x=y; (5) Rew

STRUCTURING OF PROGRAM

KENDRIYA VIDYALAYA SANGATHAN. Regional Office Delhi Split-up Syllabus Session Subject:-Computer Science Subject Code:-083

Transcription:

COMPUTER SCIENCE (Theory) - Class XII Marking Scheme 1 a) Call by value l It is a used to create a temporary copy of data coming from actual parameter.the changes done in the function in the formal parameter are not reflected back in the calling environment.. It does not use & sign Call by reference l It is a used to share memory location actual parameter and formal parameters. So changes done in the function in the formal parameter are reflected back in the calling environment.. It does not use & sign (1/2 Mark for two differences) (1 mark for appropriate example) 1 (b) (i)i o m a n i p.h (ii) c o n i o.h iii) iostream.h 1 ( ½ Mark for mentioning any two correct header filename) 1(c ) 2 #include<iostream.h> #include<stdio.h> class MyStudent int StudentId ; char Name[20]; public: MyStudent () void Register()cin>> StudentId; gets (name); void Display() cout << StudentId<<, <<name<<endl; ; void main() MyStudent MS ; MS.Register(); MS.display(); ( ½ Mark each correction) 1(d) 3#2#3# 50#40#40#50# 200#200# (1 Mark for each correct line of output)

1 e)cbse######agdac (2 Marks for correct line of output) 1 f) iii) @@@@@@788,$$ 45 iv)@@@@788,$$$$ 45 (2 Marks for mentioning correct option) 2(a) Polymorphism: It is a method of using the same operator or function (method) to work using different sets of input. Function overloading is one of the example of polymorphism, where more than one function carrying same name behave differently with different set of parameters passed to them. ( 1 Mark each for definition) (1 Mark for appropriate example ) 2 (b) i) Following is the statement to invoke function1. Birds Non_flying( Ostrich ); (1 mark for correct statement.) ii) Copy constructor ( ½ Mark for mentioning the correct type of constructor) ( ½ Mark for defination) 2 (c ) class FLIGHT int Fno; char Destination[20]; float Distance, Fuel; void CALFUEL(); public: void FEEDINFO(); void SHOWINFO(); ; void FLIGHT::CALFUEL() if (Distance<1000) Fuel=500; else if (Distance<2000) Fuel=1100; else Fuel=2200; void FLIGHT::FEEDINFO() cout<< Flight No : ;cin>>fno;

cout<< Destination : ;gets(destination); cout<< Distance : ;cin>>distance; CALFUEL(); void FLIGHT::SHOWINFO() cout<< Flight No : <<Fno<<endl; cout<< Destination : <<Destination<<endl; cout<< Distance : <<Distance<<endl;; cout<< Fuel : <<Fuel<<endl;; (1 Mark for correctly declaring Data Members) (1 Mark for correctly defining CALFUEL()) ( ½ Mark for correctly defining FEEDINFO()) ( ½ Mark for calling CALFUEL() from EEDINFO()) ( ½ Mark for correctly defining SHOWINFO()) ( ½ Mark for correct syntax of class) 2(d) (i) None of data members are accessible from objects belonging to class CUSTOMER. (ii) Enter(), Show() (iii) Data members: Voucher_No, Sales_Date, Salary Member function: Sales_Entry(), Sales_Details(), Enter(), Show(), Register(), Status() (iv) 66 ( 1 Mark for each correct answer) Note: No marks to be given for partial answers 3(a) void AddNSave(int A[],int B[],int C[],int N) for (int i=0;i<n;i++) C[i]=2*A[i]+3*B[i]; (1 Mark for function header with desired arameters) (1/2 Mark for correct formation of loop)

(1/2 Mark for the formula) (1 Mark for transferring elements in the resultant array) 3(b) 3 Given, W=2 N=40 M=30 Base(S)=5000 Row Major Formula: Loc(S[I][J]) =Base(S)+W*(M*I+J) Loc(S[20][10]) =5000+2*(30*20+10) =5000+2*(600+10) =5000+1220 =6220 (1 Mark for writing correct formula (for column major) OR substituting formula with correct values) (1 Mark for writing calculation step - at least one step) (1 Mark for correct address) 3 (c ) struct NODE 4 char Name[20]; NODE *Link; ; class QUEUE NODE *R,*F; public: QUEUE(); void Insert(); void Delete();

; void QUEUE::Insert() NODE *Temp; Temp=new NODE; gets(temp->name); Temp->Link=NULL; if (Rear==NULL) Rear=Temp; Front=Temp; else Rear->Link=Temp; Rear=Temp; (1 Mark for creating a new node and assigning/entering appropriate values in it) (1 Mark for checking if Queue is Empty) (1 Mark for assigning Rear and Front as Temp - if Queue is Empty) (1 Mark for eassigning Rear->Link as Front and Rear as Temp) 3(d) void DiagSum(int A[100][100],int N) int SumD1=0,SumD2=0; for (int I=0;I<N;I++) SumD1+=A[I][I];SumD2+=A[N-I-1][I]; cout<< Sum of Diagonal 1: <<SumD1<<endl; cout<< Sum of Diagonal 2: <<SumD2<<endl; ( ½ Mark for initialization of desired variables) ( ½ Mark for correct formation of loop) ( ½ Mark for statement to add left diagonal elements)

( ½ Mark for statement to add right diagonal elements) 3(e) Result 500 (½ Mark for correctly evaluating each operator) (½ Mark for the correct result) 4(a) File.seekg(0,ios::end); //Statement 1 File.tellg(); //Statement 2 ( ½ Mark for each correct statement) 4(b) void CountLine() ifstream FIL("STORY.TXT"); int count=0; char ch; while (FIL) FIL>>ch; if(isupper(ch)) count++; cout<<"no. of Upper case A:lphabets"<<count<<endl; f.close(); (½ Mark for opening STORY.TXT correctly) (½ Mark for initializing a counter variable as 0) (½ Mark for correctly checking condition) (½ Mark for correctly incrementing the counter) 4(c )

( ½ mark for correct syntax of function header and body) ( ½ mark for opening the file in in mode) ( ½ mark for reading content from file into the object ) (1 mark for comparing the function checkcode() passing value 123 with 0) ( ½ mark for writing the object to TELEBACK.DAT) 5(a) (1-1 mark for each definition) b) 1 mark for correct SQL Command;(1/2 mark for partial correct answer) c) ½ mark for each correct output 6a) X+X.Y = X L.H.S = X+X.Y = X.1+X.Y = X.(1+Y) = X.1 = X = R.H.S X+X.Y = X+Y L.H.S. = X+X.Y = (X+X ).(X+Y) = 1.(X+Y) = X+Y = R.H.S (1 mark for stating the correct law) (1 mark for the appropriate verification using algebraic method) 6(b) 2 mark for correct digital logic diagram. 6 (c ) G(x,y,z) = x.y.z +x.y.z +x.y.z +x.y.z (1 mark for correct answer) 6(d)F(U,V,W,Z)= (0,1,2,4,5,6,8,10) Answer: W Z W Z WZ 1 WZ U V U V 0 4 1 5 1 3 7 2 6 F(U,V,W,Z)=UV+WZ+UZ UV UV 1 12 8 1 1 13 9 1 1 15 11 1 14 10 (1 mark for correctly drawing K-Map with 1s represented on right places) (1 mark for minimizing each Quad) (1 mark for writing the complete Boolean Expression)

7(a) Define the term Bandwidth. Give unit of Bandwidth. 1 Answer: Bandwidth is the capability of a medium to transmit an amount of information over a distance. Bandwidth of a medium is generally measured in bits per second (bps) or more commonly in kilobits per second (kbps) ( ½ Mark for correct definition and ½ Mark for correct unit) 7b) Expand the following terminologies: 1 (i) S I M (ii) XML Answer: (i) S u b s c r i b e r I d e n t i f i c a t i o n M o d u l e (ii) Extended Markup Language ( ½ Mark for each correct expansion) 7 c ) Define the term firewall. 1 Answer: Firewall is a feature used for Network Security. In a Network there is always danger of information leaking out or leaking in. Firewall is a feature which forces all information entering or leaving the network to pass through a check to make sure that there is no unauthorized usage of the network. (1 Mark for correct definition) 7d) 1 An Internet Protocol (IP) address is a numerical identification and logical address that is assigned to devices connected in a computer network. An IP Address is used to uniquely identify devices on the Internet and so one can quickly know the location of the system in the network. ( ½ Mark for meaning of IP Address) ( ½ Mark for mentioning the usefulness in network security) 7e)Suggest a cable layout of connections between the buildings. 4 Layout : Since the distance between Fazz Building and Jazz Building is quite short

(1 Mark for any one of the two suggested layouts) e2)the most suitable place / block to house the server of this organisation would be Raj Building, as this block contains the maximum number of computers, thus decreasing the cabling cost for most of the computers as well as increasing the efficiency of the maximum computers in the network. e3)( 1 Mark for correct answer with suitable reason) e4) (i) Raj Building (ii) In both the layouts, a hub/switch each would be needed in all the buildings, to interconnect the group of cables from the different computers in each block ( ½ Mark for each correct answer) The type of network that shall be formed to link the sale counters situated in various parts of the same city would be a MAN, because MAN (Metropolitan Area Networks) are the networks that link computer facilities within a city. (1 Mark for correct answer with suitable justification) 7(f) Spam mails, also known as junk e-mail, is a subset of spam that involves nearly identical messages sent to numerous recipients by e-mail. We can protect our mailbox from spams by creating appropriate filters. ( ½ Mark for the definition of Spam Mails) ( ½ Mark for the appropriate suggestion for protecting mailbox from it) 7(g) (1/2 mark for definition & ½ for example)