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

Similar documents
KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE. CLASS- XII Time Allowed: 3 hours Max.

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

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

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE

CSE202-Lec#4. CSE202 C++ Programming

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

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

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

Computer Science 2006 (Delhi)

Chapter-13 USER DEFINED FUNCTIONS

Downloaded from

C++ 8. Constructors and Destructors

BRAIN INTERNATIONAL SCHOOL. Term-I Class XI Sub: Computer Science Revision Worksheet

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

Question Bank Class XII Subject : Computer Science

Sample Paper Class XI Subject Computer Sience UNIT TEST II

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION MARKING SCHEME. Code No. 083

Darshan Institute of Engineering & Technology for Diploma Studies

Downloaded from

cout<< \n Enter values for a and b... ; cin>>a>>b;

COMPUTER SCIENCE

Chapter-11 POINTERS. Important 3 Marks. Introduction: Memory Utilization of Pointer: Pointer:

DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION

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

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

Object Oriented Pragramming (22316)

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.

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:

Kapil Sehgal PGT Computer. Science Ankleshwar Gujarat

CHAPTER 4 FUNCTIONS. 4.1 Introduction

CAMBRIDGE SCHOOL, NOIDA ASSIGNMENT 1, TOPIC: C++ PROGRAMMING CLASS VIII, COMPUTER SCIENCE

COMPUTER SCIENCE 2002 (Delhi Board)

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)

I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK a) What is the difference between Hardware and Software? Give one example for each.

COMPUTER SCIENCE (Theory) - Class XII Marking Scheme

Subject: Fundamental of Computer Programming 2068

Kapi ap l S e S hgal P T C p t u er. r S. c S ienc n e A n A k n leshw h ar ar Guj u arat C C h - 8

SAMPLE QUESTION PAPER CLASS-XII, SESSION: SUBJECT: COMPUTER SCIENCE

ASSIGNMENT CLASS-11 COMPUTER SCIENCE [C++]

NAMESPACES IN C++ You can refer the Programming with ANSI C++ by Bhushan Trivedi for Understanding Namespaces Better(Chapter 14)

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

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

MAHALAKSHMI ENGINEERING COLLEGE B TIRUCHIRAPALLI

COMPUTER SCIENCE (083)


Sample Paper - II Subject Computer Science

VOLUME II CHAPTER 9 INTRODUCTION TO C++ HANDS ON PRACTICE PROGRAMS

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION. REVISION Examination 2013 COMPUTER SCIENCE (083) CLASS XII. Time Allowed: 3 Hours Maximum Marks: 70

Chapter-14 STRUCTURES

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

2016 COMPUTER SCIENCE

PROGRAMMING IN C++ COURSE CONTENT

Downloaded S. from Kiran, PGT (CS) KV, Malleswaram STRUCTURES. Downloaded from

The syntax of structure declaration is. struct structure_name { type element 1; type element 2; type element n;

Abstraction in C++ Abstraction is the concept of exposing only the required essential characteristics and behavior

Padasalai.Net s Model Question Paper

KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION

BLUE PRINT SUBJECT: - COMPUTER SCIENCE(083) CLASS-XI. Unit Wise Marks

STRUCTURING OF PROGRAM

Kapil Sehgal PGT Computer. Science Ankleshwar Gujarat Ch - 7. Data File Handling

OBJECTS. An object is an entity around us, perceivable through our senses. Types of Object: Objects that operate independently.

JB Academy, Faizabad Half Yearly Examination Subject: Computer Science (083) Class XII

Introduction to Programming Using Java (98-388)

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

BLUE PRIENT SUBJECT:- Computer Science

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

Bangalore South Campus

C++_ MARKS 40 MIN

Somany Vidyapeeth, Masani, Rewari

KENDRIYA VIDYALAYA PANGODE MONTHLY TEST I JUNE 2015 CLASS XII COMPUTER SCIENCE Time allowed: 1 1/2 Hours Max. Marks: 50

SRI SARASWATHI MATRIC HR SEC SCHOOL PANAPAKKAM +2 IMPORTANT 2 MARK AND 5 MARK QUESTIONS COMPUTER SCIENCE VOLUME I 2 MARKS

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

Object Oriented Programming. Solved MCQs - Part 2

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

Technical Questions. Q 1) What are the key features in C programming language?

Kapil Sehgal PGT Computer. Science Ankleshwar Gujarat Chapter 6 Inheritance Extending a Class

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

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

include<iostream.h> #define PI=3.14 void main( ) { float r;a; cout<< enter any radius ; cin>>r; a=pi*pow(r,2); cout<< Area= <<a }

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

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

COMPUTER SCIENCE 1998 (Delhi Board)

COMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE

Creating a C++ Program

(d) Observe the following C++ code very carefully and rewrite it after removing any/all syntactical errors: [2] Include < iostream.

SCIENCE ENTRANCE ACADEMY III PREPARATORY EXAMINATION SCHEME OF VALUATION

Scheme G. Sample Test Paper-I. Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Second Subject Tile : Programming in C

16. What is the significance of the break statement in a switch block?

BRAIN INTERNATIONAL SCHOOL Term-II Class-XI Sub:- Computer Science Revision Sheet

m) sin() n) endl o) getch() p) cout

OBJECT ORIENTED PROGRAMMING AND DATA STRUCTURES

Sample Paper, 2015 Subject: Computer Science Class 12 th

COMPUTER SCIENCE (083)

STUDY NOTES UNIT 1 - INTRODUCTION TO OBJECT ORIENTED PROGRAMMING

CHAPTER 9 FLOW OF CONTROL

CBSE Sample Paper 2015 Computer Science C++ Class XII Time 3hrs M.M 70

Lecture 4. 1 Statements: 2 Getting Started with C++: LESSON FOUR

CS313D: ADVANCED PROGRAMMING LANGUAGE. Lecture 3: C# language basics II

Downloaded from

Transcription:

KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO 2008-09 COMPUTER SCIE CE- CLASS- XII Marking scheme 1(a) On program execution, the compiler starts execution from the function main().this function calls the other functions of the program. The main() is special function used in c++ to tell the computer where the program starts.(1 mark for the main definition and 1 mark for the reason) (b)string.h, ctype.h(½marks each) (c ) (i)#include<iostream.h> void main() const MAX=0; int a,b; cin<<a>>b; if(a>b) MAX=a; for(x=0,x<max;x++) cout<<x; (1/2 mark each ) d..#include<iostream.h> Main() int ch=9,sch=90; char S[2,2]; if ch<=9 cout<<ch; for(int x=0;x<2;x++) for(int y=0;y<2;y++) if(y==0) S[x][y]= A ; cout>>s[x][y]; getch(); (1/4 mark for each error) (e).output is 2(2 marks for correct output) (f) 100#21#5 60#11#31 (1½mark each for the correct output) 2(a)Data hiding term is used so that only relevant information is exposed to the user and rest of the information remains hidden from the user.the class groups its members into 3 Page 1 of 7

like private,public and protected.where private and protected members remains hidden to the out side world. Example class Student private:int rollno[7]; protected: char subject public: void calmark(); ; (one mark for definition and one mark for example) (b)constructor overloading concept is illustrated by function1 and function2 together Gulfair G1; Gulfair G11( F0001,20) (ii) The scope of data members of class Gulf air is private.these members can be accessed only by the member functions of the class. The scope of data member depends on access specifier. (1 marks each for correct answer) (c)class COMPETITION private: int event_no; char details[30]; int score; char qualified; public: void input(); void Award(int); void show(); ; void COMPETITION::input() cout<< Enter the event number ; cin>>event_no; cout<< Enter the details ; gets(details); cout<< enter the score ; cin>>score; void COMPETITION::Award(int cut_off_score) if(score>cut_off_score) qualified= Y ; qualified= N ; void COMPETITION::show() cout<< Event number <<event_no; cout<< Details <<details; Page 2 of 7

cout<< Score <<score; cout<< qualified <<qualified (½ mark for correct syntax of class header) (½ for correct declaration of data members) (1 mark for checking the cut_off_marks) (1marks each for writing Show() and Input() functions) (d)(i) Multiple Inheritance(1 mark for correct answer) (ii)none or All the above functions can be called (1 mark for correct answer) (iii)data members scode,schname,attendance,totmarks,salary Member functions:- schdisplay(),schentry(),sentry(),sdisplay(),tentry(),tdisplay(),assignsal() (1 Mark for all correct members) IV.schentry(),schdisplay() (1 Mark for all correct member functions) (No marks to be awarded for partially correct answers. 3(a) void swaparray(int arr[],int size) int mid,oddval,midval,temp; Mid=size/2; If(size%2==0) oddval=0; oddval=1; midval=arr[mid]; for(int i=0;i<mid;i++) Temp=arr[i]; arr[i]=arr[mid+i+oddval]; arr[mid+i]=temp; If(oddval==1) arr(size-1)=midval (1 mark for correct function header with proper arguments) (1 mark for correct loop) (1 mark for checking even /odd position) (1 mark for replacing array elements) (b)address of Array[i][j] along the coloumn Base Address+W[(i-l1)+j-L2)*M] Address of [6][5]=Base Address+8[(6-1)+(5-1)*20]=B.A+8*5+4*20 2000 =B.A+8*85 B.A = 2000-680 =1320 Address of [3][2] =1320+8[(3-1)+(2-1)*20] =1320+8*22 Page 3 of 7

=1496. (1 mark for writing correct formula),1 mark for calculating Base address,1 mark for writing correct formula to calculate address of [3][2] 1 mark for calculating address of Array[3][2] ( c)#include<iostream.h> #include<conio.h> struct node float data; node *link; ; Node*push(node *top,float val) node *temp; temp=new node; temp data=val; temp->link=null; if(top==null) top=temp; temp->link=top; top=temp; return(top); (1 mark should be given for correct header file declaration and 3 marks for programming) (d).1 mark for the correct header file and 1 for correct logic of the program. (e) Scanned elements Operation Stack 100 push 100 100 40 push40 100,40 + pop 40 Pop 100 Calculate 100+40=140 20 push140 140 14 push20 140,14 - push 14 140,20,14 Pop 14 Pop 20 Calculate 20-14=6 Push 6 140,6 8 push 8 140,6,8 * pop6 Pop 8 140,48 + pop 140 Pop 48 188 (2 Mark given if both output and step is correct, otherwise 1 mark) 4(a)(i)fil.seekg(2*sizeof(pupil),ios::beg; (fil.seekg(-1*sizeof(pupil),ios::end); Page 4 of 7

(1/2 mark each) (b)#include<fstream.h> int avgwordsize() char ch; int avg=0; int wordcount=0; int charcount=0; ifstream fin; fin.open( Report.txt,ios::in ios::binary); if(!fin) cout<< cannot open file ; return 1; While(fin) fin.get(ch); if(ch== ch==. ) wordcount++; charcount++; if(wordcount>0) avg=charcount/wordcount; return avg; (1 mark for correct header file and 2 marks for logic of the program) ( c) #include<iostream.h> #include<conio.h> #include<stdio.h> class Consumer int consumeno,char name[21]; public: void Enterdata()cin>>consumeno;cin.getline(name,21): void dispdata()cout<<consumeno<<name; ; void main() clrscr(); char ans= y ;while(ans= y ) cout<< want to add more object ; cin>>ans; if(ans== y ) consumer c1; c1.enterdata(); (2 marks) Page 5 of 7

(Questions 1-6,1 mark each) 5(a) 2 marks for correct definition (b) (i)select NAME FROM DOCTOR WHERE DEPT= MEDICINE and EXPERIENCE>10; (ii)select AVG(BASIC+ALLOWANCE) FROM SALARY WHERE SALARY.ID IN(SELECT ID FROM DOCTOR WHERE DEPT= ENT ); (1/2 mark for using select clause and ½ Mark for using avg clause) (iii)select MIN(ALLOWANCE) FROM SALARY WHERE SALARY.ID IN (SELECT ID FROM DOCTOR WHERE SEX= F ) (1/2 mark should be given for MIN keyword) (iv)select MAX(CONSULTATION) Highest Consultation fee FROM SALARY WHERE SALARY.ID IN(SELECT ID FROM DOCTOR WHERE SEX= M ); (1/2 mark for MAX clause and ½ mark for WHERE clause) (v) 4(1 mark) (vi) Name Dept Basic John ENT 12000 (1 mark should be given if out put is correct) 6.The absorption laws are (i) x+x.y=x (ii)x.(x+y)=x X+x.y=x.1+x.y =x.(1+y) =x.1 =x 6.(a)From the Principle of Duality x.(x+y)=x (2 marks for the correct law ) (b)one mark for correct diagram. (c )SOP form of Bolean Expression is F=A B C +A B C+A BC+AB C+ABC The Product of Sum(POS) form of Bolean Expression is F=(A+B +C).(A +B+C).(A +B +C ) (1 mark for SOP expression and 1 mark for POS expression) (d)mapping the given function F in a KMap (½ mark each for drawing correct K-Map and plotting 1 s correctly ) (1 mark for correct grouping) (1 mark for correct answer) The simplified Boolean Expression is F(a,b,c,d)=b d +a c +ab +a bd+acd 7(a).A router is a special device that directs communicating messages when several computers are connected Page 6 of 7

(b)one mark for correct answer (c)message switching:- 1 mark Packet switching - 1 mark (d) iall the wings should adopt co-axial cabling system and the best suitable topology among the wings can be mesh topology.(1 mark) ii.server can be placed in Rose building as it is having maximum number of computers.(1 mark for the correct answer) (iii)modem should be placed in Rose building. Switch should be placed between Dalia and Jasmin iv.to connect various parts of the city MAN connection can be used.(1 mark) Page 7 of 7