KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION MARKING SCHEME. Code No. 083
|
|
- Tabitha Lee
- 6 years ago
- Views:
Transcription
1 KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION MARKING SCHEME CLASS:XII SUB:COMPUTER SCIENCE Code No. 083 TIME:3 Hrs MaxMarks:70 (a) Call by value : In this method, actual arguments of a calling function gets duplicated as formal arguments & are made available to the called function. As a result whatever change is made by called function in these arguments, are not reflected back in actual arguments. ½ mark Ex. void SWAP(float a, float b) { a=a+b; b=a-b; a=a-b; cout<<"\n << a="<<a<<" and b="<<b; ½ mark Call by reference : In this function call, the reference of actual arguments are provided to the called function i.e. memory location of actual arguments. As a result, any change made in these arguments by called function is reflected back to the actual arguments. ½ mark Ex. void SWAP(float &a, float &b) { a=a+b; b=a-b; a=a-b; In the function s argument we simply specify & operator along with the argument(s) which are being called by reference. ½ mark (b) i) conio.h ii) stdio.h ½ mark each (c) #include<iostream.h> #include<string.h> typedef char string[40]; void main( ) { string S= Australia ; int/long L=strlen(S); cout<< String <<S<< has <<L<< Characters <<endl; (½ Mark for each correction) OR ( Mark for identifying at least three errors, without suggesting correction) d) Ans: 7#9#5# 30#50#70#40# 200#200# ( mark for each line) e) Ans: sbojerets (2 marks for the correct answer) f) Ans: Option ii) is the possible output- The variable max will have the values from 0 to 3 only so Mynum can have values 20 to 23. ( mark for correct answer mark for justification) 2 a) CONSTRUCTOR OVERLOADING : When more than one constructor appears inside a single class, it is said to be constructor overloading i.e. if we have two or more constructors
2 inside a class, it is said to be an overloaded constructor. For ex. class ABC { private: int x; float y; public: ABC( ) //default constructor { x=5; y=0.0; ABC(int p, float q) //parameterized constructor { x=p; y=q; ABC(ABC &t) //Copy constructor { x=t.p; y=t.q; void INABC( ); void OUTABC( ); ; Here in the above written example, we see three constructors one after another. Since all of them share the same class name and are different in their type and number of arguments, therefore supports overloading mechanism of OOP. ( Mark for the correct explanation) ( Mark for the suitable example) b) i) Answer : In object oriented programming function 2 is referred as a parameterized constructor. When we create a object of class and pass required parameter during creating then this is invoked/called. Example of calling : ROOM r(30); // calling of parameterized constructor. (½ Marks for each correct answer and ½ marks for calling statement) ii) Answer : In Object Oriented Programming function 4 is referred as a destructor. It is invoked/called automatically when ever the scope of the object is end. Example : We doesn t called it explicitly it is called when the scope of object it end like this : void main () { ROOM r; { ROOM r2(30); // call destructor function for object r2 ( Mark for each correct answer through explanation OR example) c) Ans. class TAXPAYER {private: char Name[30],PanNo[30]; float Taxabincm; double TotTax; void CompTax() 2
3 { if(taxabincm >500000) TotTax= Taxabincm*0.5; else if(taxabincm>300000) TotTax= Taxabincm*0.; Else if(taxabincm>60000) TotTax= Taxabincm*0.05; else TotTax=0.0; public: TAXPAYER(char nm[], char pan[], float tax, double ttax) //parameterized constructor { strcpy(name,nm); strcpy(panno,pan); Taxabincm=tax; TotTax=ttax; void INTAX() { gets(name); cin>>panno>>taxabincm; CompTax(); void OUTAX() { cout<<name<< \n <<PanNo<< \n <<Taxabincm<< \n <<TotTax<<endl; ; (½ Mark for correct syntax of class header) (½ Mark for correct declaration of data members and member function) ( Mark for checking all conditions and calculating total tax in CompTax( )) (½ Mark for correct default constructor( ) with proper invocation ) (½ Mark for correct parameterized constructor) (½ Mark for correct OUTTAX ()for displaying the data on screen ) (½ Mark for correct INTAX() for getting data from user) d) i) PGENROL( ), PGSHOW( ) ii) None iii) Mname[25], year, age & marks iv) 3 bytes ( Mark for correct answer) 3 a) Solution: void accept(int a[ ],int size) { for (int i=0;i<size;i++) { if (a[i]%2= =0) a[i]=a[i]/2; else a[i]=a[i]*2; cout<<a[i]<<, ; ( Mark for correct Function Header with proper Arguments) ( Mark for correct loop) ( Mark for replacing array elements with proper values) b) Solution: Given Data: Arr[5][20] W=4 B=? R=5 C=20 L r = 0 L c = 0 Address of Arr[3][2] =? 3
4 Address of Arr[5][2] = 500. Address of an element (I,J) in row major = B+W(C(I-L r )+(J-L c )) Therefore, 500 = B+4(20(5-0)+(2-0)) 500 = B+4(20*5+2) 500 = B+4* = B+408 B = B=092 Address of Arr[3][2] =092+4(20*3+2) =092+4(62) = =340. ( Mark for calculating correct Base Address) ( Mark for writing correct formula/correct substituted values, for row major properly, for calculating Address of Arr[3][2]) ( Mark for calculating correct Address of Arr[3][2]) c) Solution: NODE *top=null; //declaring global pointer & initializing it with NULL void PUSH( ) { NODE *p=new NODE; //creating new dynamic list to go on to stack cout<< \nenter Name : ; gets(p->name); cout<< \nenter Fees : ; cin>>p->fees; p->next=null: if(top= = NULL) top=p; else { p->next=top; top=p cout<< \nlist inserted on the top of stack successfully ; getch( ); void POP( ) { if(top= = NULL) cout<< \nstack Empty ; else { NODE *temp=top; top=top->next; delete temp; cout<< \nlist deleted from top of stack successfully ; getch( ); ( Mark for correct function header) (½ Marks for creating new node and assigning value to it) (½ Mark for linking new node at last of link list) d) Solution: void accept(int a[ ][ ],int size) { cout<<"middle Row:"; 4
5 for (int i=0;i<size;i++) for(int j=0;j<size;j++) if (i= = size/2) cout<<a[i][j]<< \t ; cout<<"\n Middle Column:"; for (i=0;i<size;i++) for(j=0;j<size;j++) if(j= =size/2) cout<<a[i][j]<< \t ; (½ Mark for correct function header) (½ Mark for correct loop) (½ Mark for space printings) (½ Mark for printing rows elements& column elements) e) SOLUTION. (by tabular method): Steps INPUT ACTION STACK 30 Push # Push #30,6 3 4 Push #30,6,4 4 + Pop 4,6 & Push 6+4=0 #30,0 5 / Pop 0,30 & Push 30/0=3 #3 6 4 Push #3,4 7 + Pop 4,3 & Push 3+4=7 #7 8 4 Push # 7,4 9 * Pop 4,7 & Push 7*4=68 #68 Ans. 68 (For correct logic give ½ marks. 4 a) Ans. : For correct stack drawing give ½ marks. For correct answer give marks. ) INOUT.seekp(-*sizeof(school),ios::cur); OR INOUT.seekg(-*sizeof(school),ios::cur); ( Mark for correct answer) b) Ans.: void countvowel( ) { int c=0; char ch; ifstream fin( STRINGS.TXT ); while(!fin.eof( )) { fin.get(ch); OR fin>>ch; if(!fin) 5
6 c) Ans.: break; switch(ch) { case A : case a : case E : case e : case I : case i : case O : case o : case U : case u :c++; cout<< \ntotal vowels in the data file is <<c; fin.close( ); (½ Mark for opening file in the correct mode) (½ Mark for reading the content from the file and the loop) (½ Mark for correct comparison) (½ Mark for initialization and increment of the counter(variable)) void DELREC(long m) { TV ob; ifstream fin("tv.dat",ios::binary); ofstream fout("temp.dat",ios::app ios::binary); int flag=0; while(!fin.eof()) //for searching record { fin.read((char*)&ob,sizeof(tv)); if(!fin) break; if(ob.retmodel( )= =m) { flag=; break; if(!flag) { cout<<"\nrecord does not exist"; getch(); else //for deleting record { fin.seekg(0); while(!fin.eof()) { fin.read((char*)&ob,sizeof(tv)); if(!fin) break; if(ob.retmodel( )= =m) fout.write((char*)&ob,sizeof(ob)); remove("tv.dat"); rename("temp.dat","tv.dat"); cout<<"\nrecord DELETED SUCCESSFULLY..."; getch(); 6
7 fin.close(); fout.close(); (½ Mark for opening file in the correct mode) (½ Mark for the reading content from file) ( Mark for the correct loop) (½ Mark for writing content to the file) (½ Mark for deleting the record ) 5 a) Answer : DOMAIN : A domain is a pool of values from which the actual values appearing in a given column are drawn. A domain is said to be atomic if element of the domain are considered to be indivisible units. In other word we can say that a legal value range of a field is called its domain. Mean all the value which are allowed in a attribute is create its domain. Tuple : A row in a relation is called tuple. ( Markfor correct definition for Domain) ( Markfor correct definition for Tuple) b) i) Ans: SELECT * FROM Client WHERE City = Delhi ; ( ½ Mark for correct SELECT) ( ½ Mark for correct WHERE clause) ii) SELECT * FROM Product WHERE Price >=50 AND Price <=00; OR SELECT * FROM Product WHERE Price BETWEEN 50 AND 00; ( ½ Mark for correct SELECT) ( ½ Mark for correct WHERE clause) iii) SELECT ClientName, City, ProductName, Price, Client.P_ID FROM Client, Product WHERE Client.P_ID = Product.P_ID; ( ½ Mark for correct SELECT) ( ½ Mark for correct WHERE clause) iv) UPDATE Product SET Price = Price +0; ( ½ Mark for correct SELECT) ( ½ Mark for correct WHERE clause) v) DISTINCT City Bangalore Delhi Mumbai (½ Mark for correct output) OR ( ½ Mark for mentioning Address is not a Column in the Table Client OR mentioning ERROR) vi) Manufacturer MAX(Price) MIN(Price) Count(*) ABC LAK XYZ (½ Mark for correct output) 7
8 vii) ClientName Manufacturer Cosmetic Shop ABC Total Health ABC Live Life XYZ Pretty Woman XYZ Dreams LAK (½ Mark for correct output) OR ( ½ Mark for mentioning ManufactureName and Prod_Id are not valid Column in the respective Tables) viii) ProductName Price * 4 Talcom Powder 60 Face Wash 80 Bath Soap 220 Shampoo 480 Face Wash 380 (½ Mark for correct output) 6 a) Ans.: Absorption law states that : a) x+xy=x b) x(x+y)=x Verification: x+xy=x LHS=x+xy by distributive law =x(+y) since +y= =x. since.x=x =x = RHS, hence verified OR (using truth table) x y xy x+xy Here column x and x+xy are identical, hence proved. ( Mark for correct verification) b) Ans. Add extra column for min term and write min terms for the rows which have output (G) as :- A B C G Min Term A B C 0 0 A B C AB C ABC Now sum all the min terms to get the SOP as: Therefore SOP of F(A,B,C)= A B C +A B C+AB C +ABC ( Marks for correct Table) ( Mark for correct SOP form) 8
9 c) Ans: X Y Z (2 Marks for correct logic circuit ½ Marks if some part is correct) d) K-MAP Ans: A B A B AB AB C D C D CD CD F= C.D + A.C + B.D (½ Mark for drawing correct K-Map ) (½ Mark for plotting s correctly) ( Mark for correct grouping) ( Mark for correct Answer) 7 a) Packet Switching: It refers to protocols in which messages are broken up into small packets before they are sent. Each packet is transmitted individually across the net. Each packet has header information which enables to route the packet to its destination. At the destination the packets are reassembled into the original message. Message Switching: In this technique, first the source computer transfers data to the buffer of switching office computer. Further it looks for a free link to another switching office, and then the data are transferred to this link. (½ Mark for correct definition of message switching and packet switching ) (½ Marks for difference ) b) i) PHP Hypertext Preprocessor ii) SMSC Short Message Service Center (½ Mark for each correct expansion) c) INFRARED : Infrared technology allows computing devices to communicate via short-range wireless signals. The infrared transmission technology used in computers is similar to that used in consumer product remote control units. This ray transmits digital data bi-directionally through the air and can propagate throughout a room, but will not penetrate walls. d) SPAM :- It refers to electronic junk mail or junk newsgroup postings. Some people define it as any unsolicited . e) Proprietary software: It refers to any computer software that has restrictions on any combination of the usage, modification, copying or distributing modified versions of the software. Proprietary software usually can be distributed at no cost or for a fee. Proprietary software may also be called closed-source software. In other words it is neither open nor freely available. f) Web hosting: It is a way of hosting web-server application on a computer system through which electronic content on the internet is readily available to any web-browser client. 9
10 g) Answer : (i) Suitable cable layout is II 2 II 4 20m 25m 30m II II 3 ( Mark for correct diagram) (ii) As the rule, th server should be placed in the building with maximum number of computers. Thus, we suggest that the server should be placed in Wing II 3. (½ Mark for mention of rule and ½Marks for mention of correct answer Wing II 3) (iii) II 2 II 4 20m Hub/switc 25m 30m Hub/switc II II 3 Hub/switc Hub/switc ( Mark for the correct device) (iv) Dial up Network Broad Band Cable(Twisted paid or Fiber optical or Coaxial cable) ISDN Radio Wave (½ Mark for each correct device or cable) (½ Mark for the any equivalent correct technology) 0
11
KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION
KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION CLASS:XII SUB:COMPUTER SCIENCE Code No. 083 Instructions: (i) All questions are compulsory. (ii) Programming language: C++
More informationKENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION. REVISION Examination 2013 COMPUTER SCIENCE (083) CLASS XII
KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION REVISION Examination 01 COMPUTER SCIENCE (08) CLASS XII Time Allowed: Hours Maximum Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming
More informationCOMPUTER SCIENCE
Final 2012-13 COMPUTER SCIENCE - 083 (Theory) CLASS XII Time allowed : 3 hours Maximum marks: 70 Instructions : i) All the questions are compulsory. ii) Programming Language : C++. 1. a) What is the difference
More informationKENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION SUBJECT COMPUTER SCIENCE
CLASS- XII MAX MARKS-70 KENDRIYA VIDYALAYA SANGATHAN TINSUKIA REGION PRE BOARD EXAMINATION 01-15 SUBJECT COMPUTER SCIENCE TIME- HOURS Q1 a) What is the Difference between Global Variable and Local Variable?
More informationDownloaded from
FIRST TERMINAL EXAMINATION, 2013 INFORMATICS PRACTICES Time : 3 hrs. 221214 M.M. : 70 Instructions: i. This question paper contains 7 Questions. ii. All the questions are compulsory. iii. Answer the questions
More informationKENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION. REVISION Examination 2013 COMPUTER SCIENCE (083) CLASS XII. Time Allowed: 3 Hours Maximum Marks: 70
KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION REVISION Examination 013 COMPUTER SCIENCE (083) CLASS XII Time Allowed: 3 Hours Maximum Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming
More informationKENDRIYA VIDYALAYA SANGATHAN GUWAHATI REGION क य व लय स गठन, ग व ह ट स भ ग I-PRE BOARD EXAMINATION ( -ब ड पर )
KENDRIYA VIDYALAYA SANGATHAN GUWAHATI REGION क य व लय स गठन, ग व ह ट स भ ग I-PRE BOARD EXAMINATION 203-4( -ब ड पर 203-4) Class: XII Time: 3 Hrs. Computer Science Max. Marks: 70 Answer Key Q a) Typedef
More informationKENDRIYA VIDYALAYA SANGATHAN (KOLKATA REGION) Second Pre Board Examination ( ) COMPUTER SCIENCE (Theory) Class-XII Marking Scheme
KENDRIYA VIDYALAYA SANGATHAN (KOLKATA REGION) Second Pre Board Examination (2014-15) COMPUTER SCIENCE (Theory) Class-XII Marking Scheme Ques. 1 a) [1] Automatic Type Conversion Type casting It is also
More informationCLASS XII GUESS PAPER COMPUTER SCENCE (083)
CLASS XII GUESS PAPER COMPUTER SCENCE (083) TIME: 3 hours MARKS: 70 Q1. Please check that this question paper contains 11 printed pages. Code-snippets in questions may be printed wrong rectify the errors
More informationDELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION
DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION 2017 2018 Class: XII Subject : Computer Science Assignment No. 3 1. a) What is this pointer? Explain with example. b) Name the header file
More informationINTRODUCTION (SQL & Classification of SQL statements)
INTRODUCTION (SQL & Classification of SQL statements) SQL The Structured Query Language (SQL) is a language that enables you to create and operate on relational databases, which are sets of related information
More informationKE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE- CLASS- XII. Marking scheme
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
More informationKENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SECOND PREBOARD EXAMINATION FOR CLASS XII SUBJECT: COMPUTER SCIENCE
KENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SECOND PREBOARD EXAMINATION 2014-15 FOR CLASS XII SUBJECT: COMPUTER SCIENCE SET-I F.M. 70 General Instructions: Programming Language C++ All Questions are
More informationKENDRIYA VIDYALAYA SANGATHAN DEHRADUN REGION 1 st Pre-Board Examination, Class XII Computer Science(083) Time: 3 Hours Max.
KENDRIYA VIDYALAYA SANGATHAN DEHRADUN REGION st Pre-Board Examination, 05-6 Class XII Computer Science(08) Time: Hours Max. Marks: 70 (Marking Scheme) Q.No Answer Marks ) a. Post increment operator is
More informationTHE EMIRATES NATIONAL SCHOOL SHARJAH THIRD MODEL EXAMINATION COMPUTER SCIENCE ( Code : 083) ANSWER KEY
THE EMIRATES NATIONAL SCHOOL SHARJAH THIRD MODEL EXAMINATION 05 ---- COMPUTER SCIENCE ( Code : 08) ANSWER KEY. MARK a) Function overloading is implemented in C++ programs when multiple functions are defined
More informationPOINTERS - Pointer is a variable that holds a memory address of another variable of same type. - It supports dynamic allocation routines. - It can improve the efficiency of certain routines. C++ Memory
More informationvoid Add() { cin >> trainnumber; gets(trainname); } void display() { cout<<trainnumber <<":"<<TrainName<<end;
. T SHREE MAHAPRABHU PUBLIC SCHOOL & COLLEGE QUESTION BANK FOR BOARD EXAMINATION 016-17 SUBJECT COMPUTER SCIENCE (Code: 083) Q1. Answer the following questions: a) Name the header file(s) that shall be
More informationCOMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII
COMPUTER SCIENCE(083) SAMPLE QUESTION PAPER CLASS XII TIME: 3 HOURS MAX.MARK: 70 General Instructions- (i) All questions are compulsory (ii) Programming Language: C++ 1 (a) When a function is overloaded,
More informationCOMPUTER SCIENCE 2002 (Delhi Board)
COMPUTER SCIENCE 2002 (Delhi Board) Time allowed: 3 hours Max. Marks: 70 Instructions: (i) All the questions are compulsory. (ii) Programming Language: C++ QUESTION l. (a) What the purpose of a header
More informationINFOTECH Computer Education, Kishangarh (Raj) Visit : Page 1
Q 1. (a) Which protocol is used for the transfer of hypertext document on the Internet. (1) (b) Which transmission medium should be used to transfer data across two continents at very high speed? (1) (c)
More informationShort Notes of CS201
#includes: Short Notes of CS201 The #include directive instructs the preprocessor to read and include a file into a source code file. The file name is typically enclosed with < and > if the file is a system
More informationCS201 - Introduction to Programming Glossary By
CS201 - Introduction to Programming Glossary By #include : The #include directive instructs the preprocessor to read and include a file into a source code file. The file name is typically enclosed with
More informationKENDRIYA VIDYALAYA SANGATHAN (CHANDIGARH REGION) MARKING SCHEME (Ist Pre Board )
KENDRIYA VIDYALAYA SANGATHAN (CHANDIGARH REGION) MARKING SCHEME (Ist Pre Board 018-19) 1 Ans: (i) Relational (ii) Relational (iii)logical (iv) Arithmetic (a) ½ Marks for each correct (b) Ans:Following
More informationKENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION CLASS:XII - (COMPUTER SCIENCE )
KENDRIYA VIDYALAYA SANGATHAN ERNAKULAM REGION FIRST COMMON PRE BOARD EXAMINATION 2014-15 CLASS:XII - (COMPUTER SCIENCE ) MaxMarks:70 Time Allowed :3 Hours Instructions: (i) All questions are compulsory.
More informationKE DRIYA VIDYALAYA SA GATHA, CHE AI REGIO. COMMO PRE-BOARD EXAMI ATIO COMPUTER SCIE CE (CLASS-XII) MARKI G SCHEME
KE DRIYA VIDYALAYA SA GATHA, CHE AI REGIO. COMMO PRE-BOARD EXAMI ATIO 2008-09. COMPUTER SCIE CE (CLASS-XII) MARKI G SCHEME 1 1. (a) (i) Arrays bring together a group of items of the same data type whereas
More informationvoid display(){ cout << trainno.<< :>>Description<<endl; }; void main() {TRAIN T; Entry.(); Display.(); d) 410 e) i) south:east:south f) temttoe
Marking Scheme SUBJECT COMPUTER SCIENCE Class XII Ist Preboard 2016 Q. No. 1 a) 1 Marks for definition and 1 marks for explain relation with classes objects. the wrapping of data and operation / function
More informationCS201 Latest Solved MCQs
Quiz Start Time: 09:34 PM Time Left 82 sec(s) Question # 1 of 10 ( Start time: 09:34:54 PM ) Total Marks: 1 While developing a program; should we think about the user interface? //handouts main reusability
More informationPRINCE PUBLIC SCHOOL PRE-BOARD EXAMINATION ( ) SAMPLE PAPER-1 COMPUTER SCIENCE XII TIME ALLOWED: 3 HOURS
PRINCE PUBLIC SCHOOL PRE-BOARD EXAMINATION (2018-19) SAMPLE PAPER-1 COMPUTER SCIENCE XII TIME ALLOWED: 3 HOURS MAXIMUM MARKS: 70 General Instructions 1. This question paper contains 7 questions. 2. SECTION
More informationSample Paper 2015 Class XII Subject COMPUTER SCIENCE. Some Important Questions Networking
Sample Paper 2015 Class XII Subject COMPUTER SCIENCE Some Important Questions Networking 1. What is circuit switching? What is packet switching? Message switching? (Hint Point Wise) Circuit Switching:
More informationDELHI PUBLIC SCHOOL BOKARO STEEL CITY
DELHI PUBLIC SCHOOL BOKARO STEEL CITY ASSIGNMENT FOR THE SESSION 2015-2016 Class: XII Subject : Computer Science Assignment No. 3 Question 1: (a) What is the difference between Call by Value and Call by
More informationI SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK a) What is the difference between Hardware and Software? Give one example for each.
I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK 70. a) What is the difference between Hardware and Software? Give one example for each. b) Give two differences between primary and secondary memory.
More informationTHE 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.
Constructor and Destructor Member Functions Constructor: - Constructor function gets invoked automatically when an object of a class is constructed (declared). Destructor:- A destructor is a automatically
More informationPadasalai.Net s Model Question Paper
Padasalai.Net s Model Question Paper STD: XII VOLUME - 2 MARKS: 150 SUB: COMPUTER SCIENCE TIME: 3 HRS PART I Choose the correct answer: 75 X 1 = 75 1. Which of the following is an object oriented programming
More informationBLUE PRIENT SUBJECT:- Computer Science
Marking Scheme Ques. 1 BLUE PRIENT SUBJECT:- Computer Science UNIT/TOPIC 1Mks 2Mks 3Mks 4Mks TOTAL 1) Programming in C++ 1(4) 2(6) 3(2) 4(2) 30 2) Data Structure ----- 2(2) 3(2) 4(1) 14 3) Database and
More informationKENDRIYA VIDYALAYA SANGATHAN, COMPUTER SCIENCE (THEORY) I PRE-BOARD TIME 3 HRS CLASS XII M. Marks 70
KENDRIYA VIDYALAYA SANGATHAN, COMPUTER SCIENCE (THEORY) I PRE-BOARD TIME 3 HRS CLASS XII M. Marks 70 GENERAL INSTRUCTIONS : 1. ALL QUESTIONS ARE COMPULSORY. 2. PROGRAMMING LANGUAGE : C++ Q1. (a) Out of
More informationSAMPLE PAPER. Class: XII SUBJECT COMPUTER SCIENCE. Time: 3 Hours MM: 70
SAMPLE PAPER Class - XII SUBJECT COMPUTER SCIENCE Subject: Computer Sc. Class: XII Time: 3 Hours MM: 70 1. (a) Differentiate between a global variable and a local variable. (b) Name the Header file(s)
More informationAnswer key SUBJECT : COMPUTER SCIENCE Time : 3 hour 15 min Max. marks : 70
Answer key SUBJECT : COMPUTER SCIENCE Time : 3 hour 5 min Max. marks : 7 I. Answer ALL the questions x =. Expand the term DDRRAM. Double Data Rate Random Access Memory 2. Write the standard symbol for
More informationCOMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE
COMMON PRE-BOARD EXAMINATION 2017-2018 Subject Code: 083 CLASS: XII COMPUTER SCIENCE Time Allowed: 3 hours Maximum Marks: 70 Instructions- (i) Please check that this question paper contains 11 printed
More informationC++_ MARKS 40 MIN
C++_16.9.2018 40 MARKS 40 MIN https://tinyurl.com/ya62ayzs 1) Declaration of a pointer more than once may cause A. Error B. Abort C. Trap D. Null 2Whice is not a correct variable type in C++? A. float
More informationQ2) Define a class candidate in C++ with following Description: Private Members 4 Number) of type long
KVITBP DEHRADUN SUMMER BREAK HOMEWORK, XII COMP SC, LEVEL A Q1) Define a class TEST in C++ with following description: Private Members: TestCode of type integer Description of type string NoCandidate of
More informationQuiz Start Time: 09:34 PM Time Left 82 sec(s)
Quiz Start Time: 09:34 PM Time Left 82 sec(s) Question # 1 of 10 ( Start time: 09:34:54 PM ) Total Marks: 1 While developing a program; should we think about the user interface? //handouts main reusability
More informationCOMPUTER SCIENCE (Theory) - Class XII Marking Scheme
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
More informationObject Oriented Programming Using C++ UNIT-3 I/O Streams
File - The information / data stored under a specific name on a storage device, is called a file. Stream - It refers to a sequence of bytes. Text file - It is a file that stores information in ASCII characters.
More information(i) case (ii) _delete (iii) WHILE (iv) 21stName
KENDRIYA VIDAYALAYA SANGATHAN ERNAKULAM REGION PREBOARD EXAMINATION 208-9 CLASS :XII MAX. MARKS : 70 SUBJECT : COMPUTER SCIENCE Instructions: TIME :3 HRS (i) Please check that this question paper contains
More informationCome and join us at WebLyceum
Come and join us at WebLyceum For Past Papers, Quiz, Assignments, GDBs, Video Lectures etc Go to http://www.weblyceum.com and click Register In Case of any Problem Contact Administrators Rana Muhammad
More informationQuestion Bank Class XII Subject : Computer Science
Question Bank Class XII Subject : Computer Science Q1. What is the difference between call by reference & call by value method in a user defined function in C++? Explain it with suitable example. Q.2.Write
More information(d) Rewrite the following program after removing all the syntax error(s), if any. [2] include <iostream.h> void main ( )
Sample Paper 2012 Class XII Subject Computer Science Time: 3 Hrs. M.M. 70 General instructions: 1) All questions are compulsory. 2) Read all the questions carefully. 3) Programming language C++. Q.1(a)
More informationKENDRIYA VIDYALAYA SANGATHAN. Regional Office Delhi Split-up Syllabus Session Subject:-Computer Science Subject Code:-083
KENDRIYA VIDYALAYA SANGATHAN Regional Office Delhi Split-up Syllabus Session-2017-18 Subject:-Computer Science Subject Code:-083 COMPUTER SCIENCE (083)-Theory CLASS XII Unit wise Weightage of Marks Duration:3
More informationCOMMON PRE-BOARD EXAMINATION COMPUTER SCIENCE
COMMON PRE-BOARD EXAMINATION 2017-2018 COMPUTER SCIENCE SET 1 Subject Code: 083 CLASS XII MARKING SCHEME Time Allowed: 3 hours Maximum Marks: 70 Q.No. Answer Marks 1. a Macro User defined function 2 Macros
More informationBLUE PRINT SUBJECT: - COMPUTER SCIENCE(083) CLASS-XI. Unit Wise Marks
BLUE PRINT SUBJECT: - COMPUTER SCIENCE(083) CLASS-XI Unit Wise Marks Unit No. Unit Name Marks 1. COMPUTER FUNDAMENTAL 10 2. PROGRAMMING METHODOLOGY 12 3. INTRODUCTION TO C++ 1. INTRODUCTION TO C++ 3 TOTAL
More informationSPLIT-UP SYLLABUS ----CHENNAI REGION COMPUTER SCIENCE (Code: 083) Class-XII Academic Session
SPLIT-UP SYLLABUS ----CHENNAI REGION COMPUTER SCIENCE (Code: 083) Class-XII Academic Session 2008-09 Sr.No. Duration Number of Working Days From To Topic to be Covered Nos. of Periods required CAL/TAL
More informationCHAPTER 4 FUNCTIONS. 4.1 Introduction
CHAPTER 4 FUNCTIONS 4.1 Introduction Functions are the building blocks of C++ programs. Functions are also the executable segments in a program. The starting point for the execution of a program is main
More informationKENDRIYA VIDYALAYA SANGATHAN
KENDRIYA VIDYALAYA SANGATHAN JAMMU REGION Winter Stations CLASS: XII SESSION: 2016-17 SPLIT-UP SYLLABUS Computer Science MONTH PORTION TO BE COVERED THEORY PRACTICAL April May-June 2016 UNIT-1 REVIEW:
More informationHOLIDAYS HOMEWORK CLASS : XII. Subject : Computer Science
HOLIDAYS HOMEWORK 2017-18 CLASS : XII Subject : Computer Science Note : Attempt the following questions in a separate register and make yourself prepared to conquer the world. Chapter- 1 : C++ Revision
More informationpublic : int min, hour ; T( ) //here constructor is defined inside the class definition, as line function. { sec = min = hour = 0 ; }
. CONSTRUCTOR If the name of the member function of a class and the name of class are same, then the member function is called constructor. Constructors are used to initialize the object of that class
More informationDynamic Data Structures
Dynamic Data Structures We have seen that the STL containers vector, deque, list, set and map can grow and shrink dynamically. We now examine how some of these containers can be implemented in C++. To
More informationC++ 8. Constructors and Destructors
8. Constructors and Destructors C++ 1. When an instance of a class comes into scope, the function that executed is. a) Destructors b) Constructors c) Inline d) Friend 2. When a class object goes out of
More informationCS201- Introduction to Programming Current Quizzes
CS201- Introduction to Programming Current Quizzes Q.1 char name [] = Hello World ; In the above statement, a memory of characters will be allocated 13 11 12 (Ans) Q.2 A function is a block of statements
More informationCLASS XII SECOND TERM EXAMINATION SUBJECT : COMPUTER SCIENCE SET A2 (SOLUTIONS)
CLASS XII SECOND TERM EXAMINATION 2017-2018 SUBJECT : COMPUTER SCIENCE SET A2 (SOLUTIONS) TIME ALLOWED : 3 HRS. MAX. MARKS:70 General Instructions : This paper consists of 6 questions. There are 7 printed
More informationFunctions. Introduction :
Functions Introduction : To develop a large program effectively, it is divided into smaller pieces or modules called as functions. A function is defined by one or more statements to perform a task. In
More informationI Mid Semester May 2012 : Class XII : Computer Science Max Mark 50 : Time 2 Hrs. 1. a) What is macro in C++? Give example 2
I Mid Semester May 01 : Class XII : Computer Science Max Mark 50 : Time Hrs 1. a) What is macro in C++? Give example b) Give the Header file for the following functions:- i) gets ( ) ii) tolower( ) 1 c)
More informationGuru Harkrishan Public School, Karol Bagh Pre Mock Class XII Sub: COMPUTER SCIENCE Allowed :3 hrs
Guru Harkrishan Public School, Karol Bagh Pre Mock 2014-15 Class XII Sub: COMPUTER SCIENCE Time Allowed :3 hrs M.M. 70 Please check that this question paper contains 9 printed pages. Please check that
More information2 SEMESTER EXAM CLASS : 12 DECEMBER 2016 TIME : 3 Hrs MAX MARKS : 70
SEMESTER EXAM CLASS : DECEMBER 06 TIME : Hrs MAX MARKS : 70. a) A D array MAT[40][0] is stored in memory as row wise. If the address of MAT[4][8] is 9 and width (W) is bytes find the address of MAT[0][9].
More information3.Constructors and Destructors. Develop cpp program to implement constructor and destructor.
3.Constructors and Destructors Develop cpp program to implement constructor and destructor. Constructors A constructor is a special member function whose task is to initialize the objects of its class.
More informationSAMPLE QUESTION PAPER CLASS-XII, SESSION: SUBJECT: COMPUTER SCIENCE
SAMPLE QUESTION PAPER CLASS-XII, SESSION: 07-8 SUBJECT: COMPUTER SCIENCE Time: hrs Max. Marks: 70 General Instructions: i. All questions are compulsory. ii. Programming language: C++ iii. Database query
More informationDHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING REWRAP TEST I CS6301 PROGRAMMING DATA STRUCTURES II
DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING REWRAP TEST I CS6301 PROGRAMMING DATA STRUCTURES II Year / Semester: III / V Date: 08.7.17 Duration: 45 Mins
More informationCOMPUTER SCIENCE (083)
Roll No. Code : 112012-083 Please check that this question paper contains 7 questions and 8 printed pages. CLASS-XI COMPUTER SCIENCE (083) Time Allowed : 3 Hrs. Maximum Marks : 70 General Instructions
More informationKapi 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
Chapter 8 Introduction C++ Memory Map Free Stores Declaration and Initialization of pointers Dynamic allocation operators Pointers and Arrays Pointers and Const Pointers and Function Pointer and Structures
More informationCOMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION
COMPUTER SCIENCE SAM PLE PAPER 2-HALF YEARLY EXAMINATION Q.1. (i) Name the header file to which the following belong: (a) gets( ) (b) open( ) (ii) (iv) (v) What is copy constructor? What do you understand
More informationCS470: Computer Architecture. AMD Quad Core
CS470: Computer Architecture Yashwant K. Malaiya, Professor malaiya@cs.colostate.edu AMD Quad Core 1 Architecture Layers Building blocks Gates, flip-flops Functional bocks: Combinational, Sequential Instruction
More informationGuide for The C Programming Language Chapter 5
1. Differentiate between primitive data type and non-primitive data type. Primitive data types are the basic data types. These data types are used to represent single values. For example: Character, Integer,
More informationKENDRIYA VIDYALAYA SANGATHAN
KENDRIYA VIDYALAYA SANGATHAN JAMMU REGION CLASS: XII SESSION: - 17 SPLIT-UP SYLLABUS COMPUTER SCIENCE MONTH PORTION TO BE COVERED THEORY PRACTICAL April-May UNIT-1 REVIEW: C++ covered In Class - XI, Object
More informationISC 2006 COMPUTER SCIENCE PAPER 1 THEORY PART I Answer all questions in this part
ISC 2006 COMPUTER SCIENCE PAPER 1 THEORY PART I Answer all questions in this part Question 1. a) State the two Absorption Laws of Boolean Algebra. Verify any one of them using the truth table. b) Find
More informationCOMPUTER APPLICATION
Total No. of Printed Pages 16 HS/XII/A.Sc.Com/CAP/14 2 0 1 4 COMPUTER APPLICATION ( Science / Arts / Commerce ) ( Theory ) Full Marks : 70 Time : 3 hours The figures in the margin indicate full marks for
More informationSample Paper 2012 Class XII Subject Computer Science
Sample Paper 2012 Class XII Subject Computer Science General Instruction CODE (083) 1. Please check this question paper contains 7 printed pages. 2. Code number given on the right side of question paper
More informationKENDRIYA VIDYALAYA NO.1 SAGAR XII-COMPUTER SCIENCE ( ) HOMEWORK SUMMER VACATION
KENDRIYA VIDYALAYA NO.1 SAGAR XII-COMPUTER SCIENCE (2018-19) HOMEWORK SUMMER VACATION 1.(a) Differentiate between Actual and Formal parameters. Also give suitable C++ code to illustrate both. (b) What
More informationI BSc(IT) [ Batch] Semester II Core: Object Oriented Programming With C plus plus - 212A Multiple Choice Questions.
Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Reaccredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated 'A'
More informationObject Oriented Pragramming (22316)
Chapter 1 Principles of Object Oriented Programming (14 Marks) Q1. Give Characteristics of object oriented programming? Or Give features of object oriented programming? Ans: 1. Emphasis (focus) is on data
More informationKE DRIYA VIDYALAYA SA GATHA,CHE AI REGIO. COMMO PRE-BOARD EXAMI ATIO COMPUTER SCIE CE CLASS- XII Time allowed : 3 hours Maximum Marks : 70
KE DRIYA VIDYALAYA SA GATHA,CHE AI REGIO. COMMO PRE-BOARD EXAMI ATIO 2008-09. COMPUTER SCIE CE CLASS- XII Time allowed : 3 hours Maximum Marks : 70 1. (a) Explain the difference between an actual parameter
More informationKUWAIT SAHODAYA EXAMINATION FIRST TERM SUBJECT : COMPUTER SCIENCE (083) : CLASS - XII SET - 3 Time : 3 Hours
KUWAIT SAHODAYA EXAMINATION FIRST TERM 08-09 SUBJECT : COMPUTER SCIENCE (08) : CLASS - XII SET - Time : Hours MM=70 Instructions- (Based on the model of CBSE Exams). a) Find and write the output of the
More informationCOMPUTER SCIENCE 1998 (Delhi Board)
COMPUTER SCIENCE 1998 (Delhi Board) Time allowed: 3 hours Max. Marks: 70 Instructions: (i) All the questions are compulsory. (ii) Programming Language: C++ QUESTION l. (a) Define the following terms: (i)
More informationOOP THROUGH C++(R16) int *x; float *f; char *c;
What is pointer and how to declare it? Write the features of pointers? A pointer is a memory variable that stores the address of another variable. Pointer can have any name that is legal for other variables,
More informationComputer Science 2006 (Outside Delhi)
Computer Science 6 (Outside Delhi) General Instructions: Q... All questions are compulsory.. Programming Language: C++ a. Name the header file to which the following belong: () i. pow( ) ii. random( )
More informationQuestion Bank (SPA SEM II)
Question Bank (SPA SEM II) 1. Storage classes in C (Refer notes Page No 52) 2. Difference between function declaration and function definition (This question is solved in the note book). But solution is
More informationCAMBRIDGE SCHOOL, NOIDA ASSIGNMENT 1, TOPIC: C++ PROGRAMMING CLASS VIII, COMPUTER SCIENCE
CAMBRIDGE SCHOOL, NOIDA ASSIGNMENT 1, TOPIC: C++ PROGRAMMING CLASS VIII, COMPUTER SCIENCE a) Mention any 4 characteristic of the object car. Ans name, colour, model number, engine state, power b) What
More informationC++ ARRAYS POINTERS POINTER ARITHMETIC. Problem Solving with Computers-I
C++ ARRAYS POINTERS POINTER ARITHMETIC Problem Solving with Computers-I General model of memory Sequence of adjacent cells Each cell has 1-byte stored in it Each cell has an address (memory location) Memory
More information:: Computer Science C++ Important Questions ::
:: Computer Science C++ Important Questions :: 1 Write a function in C++, which accepts an integer array and its size as parameters and rearranges the array in descending order. Example: If an array of
More informationINDIAN SCHOOL MUSCAT FIRST TERM EXAMINATION
Roll Number SET 1 INDIAN SCHOOL MUSCAT FIRST TERM EXAMINATION COMPUTER SCIENCE CLASS: XII Sub. Code: 08 Time Allotted: Hr 09.05.018 Max. Marks: 70 GENERAL INSTRUCTIONS: 1. All questions are compulsory..
More informationData 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:
Unit IV Pointers and Polymorphism in C++ Concepts of Pointer: A pointer is a variable that holds a memory address of another variable where a value lives. A pointer is declared using the * operator before
More informationJB Academy, Faizabad Half Yearly Examination Subject: Computer Science (083) Class XII
JB Academy, Faizabad Half Yearly Examination - 2017-18 Subject: Computer Science (083) Class XII Time: 3 Hours Max. Marks: 70 Instructions: i) All questions are compulsory and so attempt all. ii) Programming
More informationFor Teacher's Use Only Q No Total Q No Q No
Student Info Student ID: Center: Exam Date: FINALTERM EXAMINATION Spring 2010 CS201- Introduction to Programming Time: 90 min Marks: 58 For Teacher's Use Only Q No. 1 2 3 4 5 6 7 8 Total Marks Q No. 9
More informationUNIT- 3 Introduction to C++
UNIT- 3 Introduction to C++ C++ Character Sets: Letters A-Z, a-z Digits 0-9 Special Symbols Space + - * / ^ \ ( ) [ ] =!= . $, ; : %! &? _ # = @ White Spaces Blank spaces, horizontal tab, carriage
More informationSAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE. Sample paper-i. Time allowed: 3 hours Maximum Marks: 70 Name : Roll No.:
SAMPLE PAPER-2015 CLASS-XII COMPUTER SCIENCE Sample paper-i Time allowed: 3 hours Maximum Marks: 70 Name : Roll No.: General Instruction 1. Please check that this question paper contains 7 questions. 2.
More informationKENDRIYA VIDYALAYA SANGATHAN, KOLKATA REGION SPLIT-UP SYLLABUS ( ) CLASS XII : COMPUTER SCIENCE (THEORY)
KENDRIYA VIDYALAYA SANGATHAN, KOLKATA REGION SPLIT-UP SYLLABUS (2017-) CLASS XII : COMPUTER SCIENCE (THEORY) MONTH PORTION TO BE COVERED THEORY PRACTICAL APRIL- MAY Unit 1 Object Oriented Programming in
More informationDarshan Institute of Engineering & Technology for Diploma Studies
1. Explain Call by Value vs. Call by Reference Or Write a program to interchange (swap) value of two variables. Call By Value In call by value pass value, when we call the function. And copy this value
More informationKENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION COMPUTER SCIENCE (083)
KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION CLASS XII COMMON PREBOARD EXAMINATION 05-06 COMPUTER SCIENCE (08) Time: hours Max. Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming
More informationKE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO COMPUTER SCIE CE
KE DRIYA VIDYALAYA SA GATHA CHE AI REGIO COMMO PREBOARD EXAMI ATIO 2008-09 COMPUTER SCIE CE CLASS: XII Time : 3 Hrs. Max. Marks : 70 Instructions : (i) All questions are compulsory. (ii) Programming Language
More informationIf the function modify( ) is supposed to change the mark of a student having student_no y in the file student.dat, write the missing statements to modify the student record. 10. Observe the program segment
More informationKE 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 PREBOARD EXAMI ATIO 2008-09 COMPUTER SCIE CE CLASS- XII Time Allowed: 3 hours Max.Marks : 70 1. (a)why main() so special in C++. Give at least two reasons.
More informationSuppose we find the following function in a file: int Abc::xyz(int z) { return 2 * z + 1; }
Multiple choice questions, 2 point each: 1. What output is produced by the following program? #include int f (int a, int &b) a = b + 1; b = 2 * b; return a + b; int main( ) int x=1, y=2, z=3;
More information