{"id":22692,"date":"2018-12-01T17:55:05","date_gmt":"2018-12-01T12:25:05","guid":{"rendered":"http:\/\/mycbseguide.com\/blog\/?p=22692"},"modified":"2018-12-19T14:11:39","modified_gmt":"2018-12-19T08:41:39","slug":"cbse-question-paper-2010-class-12-computer-science","status":"publish","type":"post","link":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/","title":{"rendered":"CBSE Question Paper 2010 class 12 Computer Science"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#Class_12_Computer_Science_list_of_chapters\" >Class 12 Computer Science list of chapters<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#CBSE_Question_Paper_2010_class_12_Computer_Science\" >CBSE Question Paper 2010 class 12 Computer Science<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#General_Instructions\" >General Instructions:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#Last_Year_Question_Paper_Class_12_Computer_Science_2010\" >Last Year Question Paper Class 12 Computer Science 2010<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#Previous_Year_Question_Paper_for_class_12_in_PDF\" >Previous Year Question Paper for class 12 in PDF<\/a><\/li><\/ul><\/nav><\/div>\n<p><strong>CBSE Question Paper 2010 class 12 Computer Science<\/strong>\u00a0conducted by Central Board of Secondary Education, New Delhi in the month of March 2010. CBSE previous year question papers with solution are available in myCBSEguide mobile app and cbse guide website. The Best CBSE App for students and teachers is myCBSEguide which provides complete study material and practice papers to cbse schools in India and abroad.<\/p>\n<p style=\"text-align: center;\"><strong>CBSE Question Paper 2010 class 12 Computer Science<\/strong><\/p>\n<p style=\"text-align: center;\"><strong><a class=\"button\" href=\"https:\/\/mycbseguide.com\/downloads\/cbse-class-12-computer-science\/1851\/cbse-last-year-papers\/3\/\">Download as PDF<\/a><\/strong><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Class_12_Computer_Science_list_of_chapters\"><\/span>Class 12 Computer Science list of chapters<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>Review of Python<\/li>\n<li>Concept of Object Oriented Programming<\/li>\n<li>Classes in Python<\/li>\n<li>Inheritance<\/li>\n<li>Linear List Manipulation<\/li>\n<li>Stacks &amp; Queues in list<\/li>\n<li>Data File Handling<\/li>\n<li>Exception Handling &amp; Green Functions<\/li>\n<li>Databases Concepts and SQL<\/li>\n<li>Structure\u00a0 Query Language<\/li>\n<li>Boolean Algebra<\/li>\n<li>Boolean Functions &amp; Reduce Forms<\/li>\n<li>Application of Boolean Logic<\/li>\n<li>Networking Concepts\u00a0 (Part 1)<\/li>\n<li>Networking Concepts\u00a0 (Part 2)<\/li>\n<li>Networking Protocols<\/li>\n<li>Mobile Telecommunication Technologies, Network Security and Internet Services<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"CBSE_Question_Paper_2010_class_12_Computer_Science\"><\/span>CBSE Question Paper 2010 class 12 Computer Science<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div>\n<h3><span class=\"ez-toc-section\" id=\"General_Instructions\"><\/span><strong>General Instructions:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>All questions are compulsory.<\/li>\n<li>Programming Language: C++<\/li>\n<\/ul>\n<p><strong>1. (a) What is the difference between automatic type conversion and type casting? Also, give a suitable C++ code to illustrate both. (2)<\/strong><\/p>\n<p><strong>Ans.<\/strong> Automatic Type Conversion: it is an implicit process of conversion of a data<\/p>\n<p>from one type to another. For example<\/p>\n<p>int N = 65;<\/p>\n<p>char C = N; \/\/ Automatic type conversion<\/p>\n<p>cout&lt;&lt;C;<\/p>\n<p><u>OUTPUT:<\/u><\/p>\n<p>A<\/p>\n<p>Type Casting: It is an explicit process of conversion of a data from one type<\/p>\n<p>to another. For example<\/p>\n<p>int A=1, B=2;<\/p>\n<p>float C = (float)A\/B; \/\/Type Casting<\/p>\n<p>cout&lt;&lt;C;<\/p>\n<p>OUTPUT:<\/p>\n<p>0.5<\/p>\n<p><strong>(b) Which C++ header file(s) will be essentially required to be included to run\/execute the following C++ code? (1)<\/strong><\/p>\n<p><strong>void main( )<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>int Eno=123, char Ename[ ]=\u201dRehan Swamp\u201d;<\/strong><\/p>\n<p><strong>\u00a0 \u00a0cout&lt;&lt;setw(5)&lt;&lt;Eno&lt;&lt;setw(25)&lt;&lt;EName&lt;&lt;endl;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>Ans.<\/strong> (i) iostream.h (ii) iomanip.h<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>iomanip.h &#8211; (As iostream.h is included in iomanip.h)<\/p>\n<p><strong>(c) Rewrite the following c++ program code after removing the syntax error(s) (if any). Underline each correction. (2)<\/strong><\/p>\n<p><strong>include &lt;iostream.h&gt;<\/strong><\/p>\n<p><strong>class TRAIN<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>long TrainNo;<\/strong><\/p>\n<p><strong>char Description[25];<\/strong><\/p>\n<p><strong>public<\/strong><\/p>\n<p><strong>void Entry ( )<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>\u00a0 cin &gt;&gt;TrainNo; gets(Description);<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>Void Display ( )<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>\u00a0 cout&lt;&lt;TrainNo&lt;&lt;\u201c:\u201d&lt;&lt;Description&lt;&lt;endl;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>};<\/strong><\/p>\n<p><strong>void main( )<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>TRAIN T;<\/strong><\/p>\n<p><strong>Entry. T( ); Display. T( );<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>Ans.<\/strong> #include&lt;iostream.h&gt;<\/p>\n<p><u>#include&lt;stdio.h&gt;<\/u><\/p>\n<p>class TRAIN<\/p>\n<p>{<\/p>\n<p>long TrainNo;<\/p>\n<p>char Description [25];<\/p>\n<p>public<u>:<\/u><\/p>\n<p>void Entry ()<\/p>\n<p>{<\/p>\n<p>cin&gt;&gt;TrainNo; gets (Description);<\/p>\n<p>}<\/p>\n<p>void Display ()<\/p>\n<p>{<\/p>\n<p>cout&lt;&lt;TrainNo&lt;&lt;\u201c:\u201d&lt;&lt;Description&lt;&lt;end1;<\/p>\n<p>}<\/p>\n<p>};<\/p>\n<p>void main ()<\/p>\n<p>{<\/p>\n<p>TRAIN T;<\/p>\n<p>T.Entry(); T.Display();<\/p>\n<p>}<\/p>\n<p><strong>(d) Find the output of the following program: (3)<\/strong><\/p>\n<p><strong>#inc1ude &lt;iostream.h&gt;<\/strong><\/p>\n<p><strong>struct POINT<\/strong><\/p>\n<p><strong>{int X, Y, Z;};<\/strong><\/p>\n<p><strong>void StepIn(POINT &amp; P, int Step=1)<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>P.X+=Step;<\/strong><\/p>\n<p><strong>P.Y-=Step;<\/strong><\/p>\n<p><strong>P.Z+=Step;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>void StepOut(POINT &amp; P, int Step=1)<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>P.X-=Step;<\/strong><\/p>\n<p><strong>P.Y+=Step;<\/strong><\/p>\n<p><strong>P.Z\u2013=Step;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>void main ( )<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>POINT P1={15, 25, 5}, P2={10, 30, 20};<\/strong><\/p>\n<p><strong>StepIn(P1);<\/strong><\/p>\n<p><strong>StepOut(P2,4);<\/strong><\/p>\n<p><strong>cout&lt;&lt;P1.X&lt;&lt;\u201c,\u201d&lt;&lt;P1.Y&lt;&lt;\u201c,\u201d&lt;&lt;P1.Z&lt;&lt;endl;<\/strong><\/p>\n<p><strong>cout&lt;&lt;P2.X&lt;&lt;\u201c,\u201d&lt;&lt;P2.Y&lt;&lt;\u201c,\u201d&lt;&lt;P2.Z&lt;&lt;endl;<\/strong><\/p>\n<p><strong>StepIn(P2,12);<\/strong><\/p>\n<p><strong>cout&lt;&lt;P2.X&lt;&lt;\u201c,\u201d&lt;&lt;P2.Y&lt;&lt;\u201c,\u201d&lt;&lt;P2.Z&lt;&lt;endl;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>Ans.<\/strong> 16, 24, 6<\/p>\n<p>6, 34, 16<\/p>\n<p>18, 22, 28<\/p>\n<p><strong>(e) Find the output of the following program: (2)<\/strong><\/p>\n<p><strong>#include &lt;iostream.h&gt;<\/strong><\/p>\n<p><strong>#include &lt;ctype.h&gt;<\/strong><\/p>\n<p><strong>void ChangeIt(char Text[ ], char C)<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>\u00a0 for (int K=0;Text[K]!=&#8217;\\0&#8242;;K++)<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>if (Text[K]&gt;=\u2019F\u2019 &amp;&amp; Text[K]&lt;=\u2019L\u2019)<\/strong><\/p>\n<p><strong>Text[K]=tolower (Text[K]);<\/strong><\/p>\n<p><strong>else<\/strong><\/p>\n<p><strong>if (Text[K]=\u2019E\u2019 || Text[K]==\u2019e\u2019)<\/strong><\/p>\n<p><strong>Text[K]==C;<\/strong><\/p>\n<p><strong>else<\/strong><\/p>\n<p><strong>if (K%2==O)<\/strong><\/p>\n<p><strong>Text[K]=toupper(Text[K]);<\/strong><\/p>\n<p><strong>else<\/strong><\/p>\n<p><strong>Text[K]=Text[K-l];<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>void main ( )<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>char OldText[ ]=\u201dpOwERALone\u201d;<\/strong><\/p>\n<p><strong>ChangeIt(OldText,\u2019%\u2019);<\/strong><\/p>\n<p><strong>cout&lt;&lt;\u201cNew TEXT:\u201d&lt;&lt;OldText&lt;&lt;endl;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>Ans.<\/strong> New TEXT: PPW % RR11N%<\/p>\n<p><strong>(f) The following code is from a game, which generates a set of 4 random numbers. Yallav is playing this game, help him to identify the correct option(s) out of the four choices given below as the possible set of such numbers generated from the program code so that he wins the game. Justify your answer. (2)<\/strong><\/p>\n<p><strong>#include &lt;iostream.h&gt;<\/strong><\/p>\n<p><strong>#include &lt;stdlib.h&gt;<\/strong><\/p>\n<p><strong>const int LOW=15;<\/strong><\/p>\n<p><strong>void main ( )<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>randomize( ) ;<\/strong><\/p>\n<p><strong>int POINT=5, Number;<\/strong><\/p>\n<p><strong>for (int 1=1;I&lt;=4;I++)<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>Number=LOW+random(POINT) ;<\/strong><\/p>\n<p><strong>cout&lt;&lt;Number&lt;&lt;\u201c:\u201d ;<\/strong><\/p>\n<p><strong>POINT&#8211;;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>(i) 19:16:15:18:<\/strong><\/p>\n<p><strong>(ii) 14:18:15:16:<\/strong><\/p>\n<p><strong>(iii) 19:16:14:18:<\/strong><\/p>\n<p><strong>(iv) 19:16:15:16:338<\/strong><\/p>\n<p><strong>Ans.<\/strong> (iv) 19:16:15:16:<\/p>\n<p>Justification is as follows:<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td>I<\/td>\n<td>POINT<\/td>\n<td colspan=\"2\">\u00a0 Number<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td>Minimum<\/td>\n<td>Maximum<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>5<\/td>\n<td>15<\/td>\n<td>19<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>4<\/td>\n<td>15<\/td>\n<td>18<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>3<\/td>\n<td>15<\/td>\n<td>17<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>2<\/td>\n<td>15<\/td>\n<td>16<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The only option that satisfies these values is option (iv).<\/p>\n<p><strong>2. (a) What do you understand by Polymorphism? Also, give an example in C++ to illustrate the same. (2)<\/strong><\/p>\n<p><strong>Ans.<\/strong> The process of using an -operator or a function in different ways for different set of inputs given is known- as polymorphism. Function overloading is- an example of polymorphism, where the functions having same name with different set of parameters perform different operations.<\/p>\n<p>Example:<\/p>\n<p>void Disp ( ) \/\/Function 1<\/p>\n<p>{<\/p>\n<p>cout&lt;&lt;\u201cHello\u201d&lt;&lt;endl;<\/p>\n<p>}<\/p>\n<p>void Disp(int N) \/\/Function 2<\/p>\n<p>{<\/p>\n<p>for(int I=1;I&lt;=N;I++)<\/p>\n<p>cout&lt;&lt;I&lt;&lt;endl;<\/p>\n<p>}<\/p>\n<p>void Disp (int N,int M) \/\/Function 3<\/p>\n<p>{<\/p>\n<p>for (int I=N;I&lt;=M; I++)<\/p>\n<p>cout&lt;&lt;N&lt;&lt;\u201cx\u201d&lt;&lt;I&lt;&lt;\u201c=\u201d&lt;&lt;N*I&lt;&lt;endl;<\/p>\n<p>}<\/p>\n<p>void main ( )<\/p>\n<p>{<\/p>\n<p>int x=5, y=10;<\/p>\n<p>Disp(x); \/\/Function 2 called-Prints numbers from 1 to 5<\/p>\n<p>Disp(x,y) ; \/\/Function 3 called- Prints from multiples of 5<\/p>\n<p>\/\/ranging from 5 to 10<\/p>\n<p>Disp () ; \/\/Function 1 called- Prints Hello<\/p>\n<p>}<\/p>\n<p><strong>(b) Answer the questions (i) and (ii) after going through the following class: (2)<\/strong><\/p>\n<p><strong>class TEST<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>int Regno, Max, Min, Score;<\/strong><\/p>\n<p><strong>public:<\/strong><\/p>\n<p><strong>TEST() \/\/Function 1<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>\u00a0 Regno= 101;Max=100;Min=40;Score=75;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>TEST(int Pregno,int Pscore) \u00a0 \/\/Function 2<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>Regno=Pregno;Max=100;Min=40;Score=Pscore;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>~TEST() \/\/Function 3<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>cout&lt;&lt;\u201cTEST Over\u201d&lt;&lt;endl;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>void Display() \u00a0 \/\/Function 4<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>cout&lt;&lt;Regno&lt;&lt;\u201c:\u201d&lt;&lt;Max&lt;&lt;\u201c:\u201d&lt;&lt;Min&lt;&lt;endl;<\/strong><\/p>\n<p><strong>cout&lt;&lt;\u201c[Score]\u201d&lt;&lt;Score&lt;&lt;endl;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>};<\/strong><\/p>\n<p><strong>(i) As per Object Oriented Programming, which. concept is illustrated by Function 1 and Function 2 together?<\/strong><\/p>\n<p><strong>Ans.<\/strong> Polymorphism<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>Function Overloading<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>Constructor Overloading<\/p>\n<p><strong>(ii) What is Function 3 specifically referred as? When do you think, Function 3 will be invoked\/called?<\/strong><\/p>\n<p><strong>Ans.<\/strong> Destructor, invoked or called when scope of an Object gets over.<\/p>\n<p><strong>(c) Define a class ITEM in C++ with following description: (4)<\/strong><\/p>\n<p><strong>Private Members<\/strong><\/p>\n<ul>\n<li><strong>Code of type integer (Item Code)<\/strong><\/li>\n<li><strong>Iname of type string (Item Name)<\/strong><\/li>\n<li><strong>Price of type float (Price of each item)<\/strong><\/li>\n<li><strong>Qty of type integer (Quantity of item in stock)<\/strong><\/li>\n<li><strong>Offer of type float (Offer percentage on the item)<\/strong><\/li>\n<li><strong>A member function GetOffer() to calculate Offer percentage as per the following rule:<\/strong><\/li>\n<\/ul>\n<p><strong>If Qty&lt;=50 \u00a0 Offer is 0<\/strong><\/p>\n<p><strong>If 50&lt;Qty&lt;=100 \u00a0 Offer is 5<\/strong><\/p>\n<p><strong>If Qty&gt;100 Offer is 10<\/strong><\/p>\n<p><strong>Public Members<\/strong><\/p>\n<ul>\n<li><strong>A function GetStock() to allow user to enter values for Code, Iname, Price, Qty and call function GetOffer() to calculate the offer<\/strong><\/li>\n<li><strong>A function ShowItem() to allow user to view the content of all the data members<\/strong><\/li>\n<\/ul>\n<p><strong>Ans.<\/strong> class ITEM<\/p>\n<p>{<\/p>\n<p>int Code;<\/p>\n<p>char Iname [20];<\/p>\n<p>float Price;<\/p>\n<p>int Qty;<\/p>\n<p>float Offer;<\/p>\n<p>void GetOffer() ;<\/p>\n<p>public:<\/p>\n<p>void GetStock ()<\/p>\n<p>{<\/p>\n<p>cin&gt;&gt;Code;<\/p>\n<p>gets (Iname) ; \/\/ OR cin.getline (Iname, 80) ; OR cin&gt;&gt;Iname;<\/p>\n<p>cin&gt;&gt;Price&gt;&gt;Qty;<\/p>\n<p>GetOffer() ;342<\/p>\n<p>}<\/p>\n<p>void ShowItern ( )<\/p>\n<p>{<\/p>\n<p>cout&lt;&lt;Code&lt;&lt;Iname&lt;&lt;Price&lt;&lt;Qty&lt;&lt;Offer;<\/p>\n<p>};<\/p>\n<p>void ITEM: : GetOffer ()<\/p>\n<p>{<\/p>\n<p>if (Qty&lt;=50)<\/p>\n<p>Offer = 0;<\/p>\n<p>else if (Qty &lt;=100)<\/p>\n<p>Offer = 5; \/ \/OR Offer = 0.05;<\/p>\n<p>else<\/p>\n<p>Offer = 10; \/ \/OR Offer = 0.1;<\/p>\n<p>}<\/p>\n<p><strong>(d) Answer the questions (i) to (iv) based on the following: (4)<\/strong><\/p>\n<p><strong>class Chairperson<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>long CID; \u00a0 \/\/Chairperson Identification Number<\/strong><\/p>\n<p><strong>char CName[20];<\/strong><\/p>\n<p><strong>protected:<\/strong><\/p>\n<p><strong>char Description [40];343<\/strong><\/p>\n<p><strong>void Allocate();<\/strong><\/p>\n<p><strong>public:<\/strong><\/p>\n<p><strong>Chairperson();<\/strong><\/p>\n<p><strong>void Assign();<\/strong><\/p>\n<p><strong>void Show();<\/strong><\/p>\n<p><strong>};<\/strong><\/p>\n<p><strong>class Director<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>int DID; \u00a0 \/\/Director ID<\/strong><\/p>\n<p><strong>char Dname[20];<\/strong><\/p>\n<p><strong>protected:<\/strong><\/p>\n<p><strong>char Profile[30];<\/strong><\/p>\n<p><strong>public:<\/strong><\/p>\n<p><strong>Director();<\/strong><\/p>\n<p><strong>void Input();<\/strong><\/p>\n<p><strong>void output();<\/strong><\/p>\n<p><strong>};<\/strong><\/p>\n<p><strong>class Company: private Chairperson, public Director<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>int CID; \u00a0 \/\/Company ID<\/strong><\/p>\n<p><strong>char City[20], Country[20];<\/strong><\/p>\n<p><strong>public:<\/strong><\/p>\n<p><strong>Company();<\/strong><\/p>\n<p><strong>void Enter();<\/strong><\/p>\n<p><strong>void Display();<\/strong><\/p>\n<p><strong>};<\/strong><\/p>\n<p><strong>(i) Which type of inheritance out of the following is specifically is illustrated in the above C++ code?<\/strong><\/p>\n<p><strong>(a) Single Level Inheritance<\/strong><\/p>\n<p><strong>(b) Multi Level Inheritance<\/strong><\/p>\n<p><strong>(c) Multiple Inheritance<\/strong><\/p>\n<p><strong>Ans.<\/strong> (c) Multiple Inheritance<\/p>\n<p><strong>(ii) Write the names of data members, which are accessible by objects of class type Company.<\/strong><\/p>\n<p><strong>Ans.<\/strong> None<\/p>\n<p><strong>(iii) Write the names of all member functions, which are accessible by objects of class type Company.<\/strong><\/p>\n<p><strong>Ans.<\/strong> Enter(), Display(), Input(), output()<\/p>\n<ul>\n<li>Both output() or Output() are acceptable as correct answer since differentiation between small and capital O is very difficult.<\/li>\n<li>No marks to be awarded for any other alternative answer Ignore mention of Constructor(s)<\/li>\n<\/ul>\n<p><strong>(iv) Write the names of all members, which are accessible from member functions of class Director.<\/strong><\/p>\n<p><strong>Ans.<\/strong> Input(), output(), Profile, D name, DID<\/p>\n<p><strong>3. (a) Write a function CHANGEO in C++, which accepts an array of integer and its size as parameters and divide all those array elements by 7 which are divisible by 7 and multiply other-array elements by 3. (3)<\/strong><\/p>\n<p><strong>Sample Input Data of the array<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><strong>A[0]<\/strong><\/td>\n<td><strong>A[1]<\/strong><\/td>\n<td><strong>A[2]<\/strong><\/td>\n<td><strong>A[3]<\/strong><\/td>\n<td><strong>A[4]<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>21<\/strong><\/td>\n<td><strong>12<\/strong><\/td>\n<td><strong>35<\/strong><\/td>\n<td><strong>42<\/strong><\/td>\n<td><strong>18<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Content of the array after Calling CHANGE() function<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><strong>A[0]<\/strong><\/td>\n<td><strong>A[1]<\/strong><\/td>\n<td><strong>A[2]<\/strong><\/td>\n<td><strong>A[3]<\/strong><\/td>\n<td><strong>A[4]<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>3<\/strong><\/td>\n<td><strong>36<\/strong><\/td>\n<td><strong>5<\/strong><\/td>\n<td><strong>6<\/strong><\/td>\n<td><strong>54<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Ans.<\/strong> void CHANGE (int A[ ], int N)<\/p>\n<p>{<\/p>\n<p>for(int I = 0; I&lt;N; I++)<\/p>\n<p>{<\/p>\n<p>if (A[I]%7 = = 0)<\/p>\n<p>A [I] = A [I] \/7;<\/p>\n<p>else<\/p>\n<p>A[I] = A[I] * 3;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>Any other correct equivalent function definition<\/p>\n<p>(b) An array P[50] [60] is stored in the memory along the column with each of the element occupying 2 bytes, find out the memory location for the element P[10]\n[20], if the Base Address of the array is 6800. (3)<\/p>\n<p>Ans. Loc(P[I] [J]) = Base(P)+W(I+J*M)<\/p>\n<p>i Loc(P[10][20])\u00a0 = Base(P)+ 2(10+20*50)<\/p>\n<p>Loc(P[10] [20]) = 68OO + 2(10+20*50)<\/p>\n<p>= 6800 + 2 (10+1000)<\/p>\n<p>= 6800 + 2*1010<\/p>\n<p>= 6800 + 2020<\/p>\n<p>= 8820<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>Address of P[i] [j] = BaseAddress + W((i\u2013L1)+(j\u2013L2)*M)<\/p>\n<p>Address of P[10] [20]= 6800 + 2((10-0)+(20-0)x50)<\/p>\n<p>= 6800 + 2 x 1010<\/p>\n<p>= 6800 + 2020<\/p>\n<p>= 8820<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>Address of P[I] [J] along the column<\/p>\n<p>= BaseAddress + W((I\u2013LBR)+(J\u2013LBC)*M)<\/p>\n<p>(where N is the number of rows, LBR = LBC = 1)<\/p>\n<p>Address of P[10][20]=6800+2((10-1)+(20-l)x50)<\/p>\n<p>= 6800 + 2 (9 + 19 x 50 )<\/p>\n<p>= 6800 + 2 x 959<\/p>\n<p>= 6800 + 1918<\/p>\n<p>= 8718<\/p>\n<p><strong>(c) Write a complete program in c++ to implement a dynamically allocated Stack containing names of Countries. (4)<\/strong><\/p>\n<p><strong>Ans.<\/strong> #include&lt;iostream.h&gt;<\/p>\n<p>#include&lt;stdio.h&gt;<\/p>\n<p>struct Node<\/p>\n<p>{<\/p>\n<p>char Country [20] ;<\/p>\n<p>Node *Link;<\/p>\n<p>};<\/p>\n<p>class Stack<\/p>\n<p>{<\/p>\n<p>Node *Top;<\/p>\n<p>public:<\/p>\n<p>Stack() {Top = NULL;}<\/p>\n<p>void Push() ;<\/p>\n<p>void Pop() ;<\/p>\n<p>void Display() ;<\/p>\n<p>~Stack () ;<\/p>\n<p>};<\/p>\n<p>void Stack::Push()<\/p>\n<p>{<\/p>\n<p>Node *Temp = new Node;<\/p>\n<p>gets(Temp -&gt; Country);<\/p>\n<p>Temp -&gt; Link = Top;<\/p>\n<p>Top = Temp;<\/p>\n<p>}<\/p>\n<p>void Stack::Pop()<\/p>\n<p>{<\/p>\n<p>if (Top !=NULL)348<\/p>\n<p>{<\/p>\n<p>Node *Temp = Top;<\/p>\n<p>Top = Top -&gt; Link;<\/p>\n<p>delete Temp;<\/p>\n<p>}<\/p>\n<p>else<\/p>\n<p>cout&lt;&lt;\u201cstack Empty\u201d;<\/p>\n<p>}<\/p>\n<p>void Stack::Display()<\/p>\n<p>{<\/p>\n<p>Node *Temp = Top;<\/p>\n<p>while (Temp! = NULL)<\/p>\n<p>{<\/p>\n<p>cout&lt;&lt;Temp -&gt; Country &lt;&lt;endl;<\/p>\n<p>Temp = Temp -&gt; Link;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>Stack::~Stack ()<\/p>\n<p>{<\/p>\n<p>while (Top!=NULL)<\/p>\n<p>{<\/p>\n<p>NODE *Temp=Top;<\/p>\n<p>Top=Top-&gt;Link;<\/p>\n<p>delete Temp;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>void main ( )<\/p>\n<p>{<\/p>\n<p>Stack ST; char Ch;<\/p>\n<p>do<\/p>\n<p>{<\/p>\n<p>cout&lt;&lt;\u201cp\/O\/D\/Q\u201d ;<\/p>\n<p>cin&gt;&gt;Ch;<\/p>\n<p>switch (Ch)<\/p>\n<p>{<\/p>\n<p>case \u2018P\u2019 : ST.Push(); break;<\/p>\n<p>case \u2018O\u2019 :ST.Pop(); break;<\/p>\n<p>case \u2018D\u2019 :ST.Disp();<\/p>\n<p>}<\/p>\n<p>} while (Ch!=\u2019Q\u2019);<\/p>\n<p>}<\/p>\n<p><strong>(d) Write a function int SKIPSUM(int A[ ] [3], int N,int M) in C++ to find and return the sum of elements from all alternate elements of a two-dimensional array starting from A[0][0]. (2)<\/strong><\/p>\n<p><strong>Hint:<\/strong><\/p>\n<p><strong>If the following is the content of the array<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><strong>A[0][0]<\/strong><\/td>\n<td><strong>A[0][1]<\/strong><\/td>\n<td><strong>A[0][2]<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>4<\/strong><\/td>\n<td><strong>5<\/strong><\/td>\n<td><strong>1<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>A[1][0]<\/strong><\/td>\n<td><strong>A[1][1]<\/strong><\/td>\n<td><strong>A[1][2]<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>2<\/strong><\/td>\n<td><strong>8<\/strong><\/td>\n<td><strong>7<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>A[2][0]<\/strong><\/td>\n<td><strong>A[2][1]<\/strong><\/td>\n<td><strong>A[2][2]<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>9<\/strong><\/td>\n<td><strong>6<\/strong><\/td>\n<td><strong>3<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>The function SKIPSUM() should add elements A[0][0], A[0][2],A[1][l],<\/strong><\/p>\n<p><strong>A[2][0] and A[2][2].<\/strong><\/p>\n<p><strong>Ans. <\/strong>int SKIPSUM(int A[ ][ 3 ], int N,int M)<\/p>\n<p>{<\/p>\n<p>int S=0:<\/p>\n<p>for(int I = 0; 1&lt; N; 1++)<\/p>\n<p>for (int J = (I%2)?1:0; J&lt;M; J = J+2)<\/p>\n<p>S = S + A [I][J];<\/p>\n<p>return S;<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>int SKIPSlJM(int A[ ][3], int N, int M)<\/p>\n<p>{<\/p>\n<p>int S=0;<\/p>\n<p>for (int I = 0; 1&lt; N; I++)<\/p>\n<p>for (int J = (I%2==0)? 0:1 ; J&lt;M; J = J+2)<\/p>\n<p>S = S + A [I][J];<\/p>\n<p>return S;<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>int SKIPSUM(int A[][3], int N, int M)<\/p>\n<p>{<\/p>\n<p>int I,J, S=O;<\/p>\n<p>for (I = 0; 1 &lt; N; 1++)<\/p>\n<p>{<\/p>\n<p>if (I%2) \/\/OR (1%2 !=0 ) OR (I%2 == 1)<\/p>\n<p>J = l;<\/p>\n<p>else<\/p>\n<p>J = 0;<\/p>\n<p>for ( ; J&lt;M; J = J+2)<\/p>\n<p>S = S + A[I][J];<\/p>\n<p>}<\/p>\n<p>return S;<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>int SKIPSUM(int A[][3], int N, int M)<\/p>\n<p>{<\/p>\n<p>int S=0, C=0;<\/p>\n<p>for(int I = 0; 1&lt; N; 1++)<\/p>\n<p>for (int J = 0; J&lt;M; J++ )<\/p>\n<p>{<\/p>\n<p>if (C%2 == 0)<\/p>\n<p>S = S + A[I][J];<\/p>\n<p>C++;<\/p>\n<p>}<\/p>\n<p>return S;<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>int SKIPSUM(int A[][3], int N, int M)<\/p>\n<p>{<\/p>\n<p>int S=0, C=l;<\/p>\n<p>for(int I = 0; I&lt;N; I++)<\/p>\n<p>for (int J = 0; J&lt;M; J++ )352<\/p>\n<p>{<\/p>\n<p>if (C%2 != 0)<\/p>\n<p>S = S + A[I][J];<\/p>\n<p>C++<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>return S;<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>int SKIPSUM (int A[][3], int N, int M)<\/p>\n<p>{<\/p>\n<p>int S=0;<\/p>\n<p>for(int I = 0; l&lt; N; l++)<\/p>\n<p>for (int J = 0; J&lt;M; J++ )<\/p>\n<p>{<\/p>\n<p>if ((I+J)%2 == 0)<\/p>\n<p>S = S + A[I][J];<\/p>\n<p>}<\/p>\n<p>return S;<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>Any other correct equivalent function definition<\/p>\n<p><strong>(e) Evaluate the following postfix notation of expression: (2)<\/strong><\/p>\n<p><strong>(Show status of Stack after each operation)<\/strong><\/p>\n<p><strong>False, True, NOT, OR, True, False, AND, OR<\/strong><\/p>\n<p><strong>Ans.<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td>Element Scanned<\/td>\n<td>Stack<\/td>\n<\/tr>\n<tr>\n<td>False<\/td>\n<td>False<\/td>\n<\/tr>\n<tr>\n<td>True<\/td>\n<td>False, True<\/td>\n<\/tr>\n<tr>\n<td>Not<\/td>\n<td>False, False<\/td>\n<\/tr>\n<tr>\n<td>OR<\/td>\n<td>False<\/td>\n<\/tr>\n<tr>\n<td>True<\/td>\n<td>False, True<\/td>\n<\/tr>\n<tr>\n<td>False<\/td>\n<td>False, True, False<\/td>\n<\/tr>\n<tr>\n<td>And<\/td>\n<td>False, False<\/td>\n<\/tr>\n<tr>\n<td>OR<\/td>\n<td>False<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Step 1: Push<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td>False<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Step 2: Push<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td>True<\/td>\n<\/tr>\n<tr>\n<td>False<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Step 3: <img decoding=\"async\" id=\"Picture 1\" style=\"height: 88px; width: 293px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg\" \/><br \/>\n<img decoding=\"async\" id=\"Picture 2\" style=\"height: 95px; width: 375px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image002.jpg\" \/><\/p>\n<p>Step 5: Push<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td>True<\/td>\n<\/tr>\n<tr>\n<td>False<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Step 6: Push<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td>False<\/td>\n<\/tr>\n<tr>\n<td>True<\/td>\n<\/tr>\n<tr>\n<td>False<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img decoding=\"async\" id=\"Picture 3\" style=\"height: 124px; width: 375px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image003.jpg\" \/><\/p>\n<p>Step 8: OR<br \/>\n<img decoding=\"async\" id=\"Picture 4\" style=\"height: 70px; width: 376px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image004.jpg\" \/><\/p>\n<p>Step 9: Pop<br \/>\n<img decoding=\"async\" id=\"Picture 6\" style=\"height: 85px; width: 149px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image005.jpg\" \/><\/p>\n<p><strong>OR<\/strong><\/p>\n<p>Any other method for evaluating the given postfix expression showing the Stack Status.<\/p>\n<p><strong>4. (a) Observe the program segment given below carefully and fill the blanks marked as Statement 1 and Statement 2 using tellg() and seekp() functions for performing the required task. (1)<\/strong><\/p>\n<p><strong>#include &lt;fstream.h&gt;<\/strong><\/p>\n<p><strong>class Client<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>long Cno; char Name[20], Email[30] ;<\/strong><\/p>\n<p><strong>public:<\/strong><\/p>\n<p><strong>\/\/Function to allow user to enter the Cno, Name,<\/strong><\/p>\n<p><strong>Email void Enter() ;<\/strong><\/p>\n<p><strong>\/\/Function to allow user to enter (modify) Email<\/strong><\/p>\n<p><strong>void Modify() ;<\/strong><\/p>\n<p><strong>long ReturnCno() {return Cno;}<\/strong><\/p>\n<p><strong>};<\/strong><\/p>\n<p><strong>void ChangeEmail()<\/strong><\/p>\n<p><strong>{ Client C;<\/strong><\/p>\n<p><strong>fstream F;<\/strong><\/p>\n<p><strong>F.open (\u201cINFO.DAT\u201d,ios::binary|ios::in|ios::out);<\/strong><\/p>\n<p><strong>long Cnoc;\/\/Client\u2019s no. whose Email needs to be<\/strong><\/p>\n<p><strong>changed cin&gt;&gt;Cnoc;<\/strong><\/p>\n<p><strong>while (F.read((char*)&amp;C, sizeof(C)))<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>if (Cnoc==C.ReturnCno())<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>C.Modify();<\/strong><\/p>\n<p><strong>\/\/Statement 1<\/strong><\/p>\n<p><strong>int Pos = __________\/\/To find the current<\/strong><\/p>\n<p><strong>position of file pointer<\/strong><\/p>\n<p><strong>\/\/ Statement 2<\/strong><\/p>\n<p><strong>_______________\/\/To move the file<\/strong><\/p>\n<p><strong>pointer to write the<\/strong><\/p>\n<p><strong>\/\/modified record<\/strong><\/p>\n<p><strong>back onto the file<\/strong><\/p>\n<p><strong>\/\/for the desired Cnoc<\/strong><\/p>\n<p><strong>F.write((char*)&amp;C, sizeof(C));<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>F.close();<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p><strong>Ans.<\/strong> Statement 1:<\/p>\n<p>F. tellg ();<\/p>\n<p>Statement 2:<\/p>\n<p>F. seekp(Pos-sizeof(C)) ;<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>F.seekp(-sizeof(C), ios::cur);<\/p>\n<p><strong>OR<\/strong><\/p>\n<p><strong>(b) Write a function in C++ to count the words \u201cthis\u201d and \u201cthese\u201d present in a text file \u201cARTICLE.TXT\u201d. (2)<\/strong><\/p>\n<p><strong>[Note that the words \u201cthis\u201d and \u201cthese\u201d are complete words]<\/strong><\/p>\n<p><strong>Ans.<\/strong> void COUNT ( )<\/p>\n<p>{<\/p>\n<p>ifstream Fil;<\/p>\n<p>Fil.open(\u201cARTICLE.TXT\u201d); <img decoding=\"async\" id=\"Picture 7\" style=\"height: 49px; width: 394px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image006.jpg\" \/><\/p>\n<p>char Word [80]\n<p>int C1 = 0, C2 = 0<\/p>\n<p>while (!Fil.eop())<\/p>\n<p>{<\/p>\n<p>Fil&gt;&gt;Word;<\/p>\n<p>if (strcmp(Word,\u201cthis\u201d) ==0)<\/p>\n<p>Cl++;<\/p>\n<p>else if (strcmp(Word,\u201cthese\u201d) ==0)<\/p>\n<p>C2++;<\/p>\n<p>}<\/p>\n<p>cout&lt;&lt;\u201cCount of -this- in file:\u201d&lt;&lt;Cl;<\/p>\n<p>cout&lt;&lt;\u201cCount of -these- in file:\u201d&lt;&lt;C2;<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td>OR cout&lt;&lt;\u201cCount of -this- and \u2014these- -in file:&#8221;&lt;&lt;Cl+C2;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Fil.close(); \/\/gnore<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>void COUNT( )<br \/>\n<img decoding=\"async\" id=\"Picture 11\" style=\"height: 86px; width: 503px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image007.jpg\" \/><\/p>\n<p>int C = 0;<\/p>\n<p>while(!Fil.eof())<\/p>\n<p>{ \u00a0Fil&gt;&gt;Word;<\/p>\n<p>if (strcmp(Word,\u201cthis\u201d)==0||strcmp(Word,\u201cthese\u201d) ==0)<\/p>\n<p>C++;<\/p>\n<p>}<\/p>\n<p>cout&lt;&lt;\u201cCount of -this- and -these- in file:&#8221;&lt;&lt;C;<\/p>\n<p>Fil.close(); \/\/Ignore<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>void COUNT( )<\/p>\n<p>{<\/p>\n<p>ifstream Fil(\u201cARTICLE.TXT\u201d);<\/p>\n<p>\/\/OR fstream Fil;<\/p>\n<p>\/\/ Fil. open(\u201cARTICLE. TXT\u201d, ios: : in);<\/p>\n<p>char STR[l0];<\/p>\n<p>int Cl=0, C2=0;<\/p>\n<p>while (Fil.getline (STR,l0, &#8221;))<\/p>\n<p>{<\/p>\n<p>if (strcmp(STR,\u201cthis\u201d)==0)<\/p>\n<p>Cl++;<\/p>\n<p>else if (strcmp(STR,\u201cthese\u201d)==0)<\/p>\n<p>C2++;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p><img decoding=\"async\" id=\"Picture 12\" style=\"height: 107px; width: 567px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image008.jpg\" \/><\/p>\n<p><strong>OR<\/strong><\/p>\n<p>void COUNT ( )<\/p>\n<p>{<\/p>\n<p><img decoding=\"async\" id=\"Picture 13\" style=\"height: 51px; width: 558px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image009.jpg\" \/><\/p>\n<p>Char Word [80], Ch;<br \/>\nint Cl =0, C2 = 0, I=O;<\/p>\n<p>while(Fil.get(Ch))<\/p>\n<p>{<\/p>\n<p>if (Ch! = &#8216; &#8216;)<\/p>\n<p>Word[I++] = Ch;<\/p>\n<p>else<\/p>\n<p>{<\/p>\n<p>Word[I] = \u2018\\0\u2019;<\/p>\n<p>if (strcmp (Word,\u201cthis\u201d)==0)<\/p>\n<p>Cl++;<\/p>\n<p>else if (strcmp(Word,\u201cthese\u201d)==0)<\/p>\n<p>C2++;<\/p>\n<p>I=0,<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p><img decoding=\"async\" id=\"Picture 14\" style=\"height: 101px; width: 551px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image010.jpg\" \/><\/p>\n<p>Fil.close(); \/\/Ignore<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>Any other correct function definition<\/p>\n<p><strong>(c) Write a function in C++ to search and display details of all flights, whose destination is \u201cMumbai\u201d from a binary file \u201cFLIGHT. DAT\u201d. Assuming the binary file is containing the objects of the following class. (3)<\/strong><\/p>\n<p><strong>class FLIGHT<\/strong><\/p>\n<p><strong>{<\/strong><\/p>\n<p><strong>int Fno; \u00a0 \/\/Flight Number<\/strong><\/p>\n<p><strong>char From[20]; \/\/Flight Starting Point<\/strong><\/p>\n<p><strong>char To[20]; \u00a0 \/\/Flight Destination<\/strong><\/p>\n<p><strong>public:<\/strong><\/p>\n<p><strong>char* GetFrom() {return From;}<\/strong><\/p>\n<p><strong>char* GetTo() {return To;}<\/strong><\/p>\n<p><strong>void Enter() {cin&gt;&gt;Fno;gets(From);gets(To);}<\/strong><\/p>\n<p><strong>void Display(){cout&lt;&lt;Fno&lt;&lt;\u201c:\u201d&lt;&lt;From&lt;&lt;\u201c:\u201d&lt;&lt;To&lt;&lt;endl;}<\/strong><\/p>\n<p><strong>};<\/strong><\/p>\n<p><strong>Ans.<\/strong> void Read ()<\/p>\n<p>{<\/p>\n<p>FLIGHT F;<\/p>\n<p>ifstream fin;<\/p>\n<p><img decoding=\"async\" id=\"Picture 15\" style=\"height: 57px; width: 445px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image011.jpg\" \/><\/p>\n<p>while(fin.read((char*)&amp;F, sizeof(F)))<\/p>\n<p>{<\/p>\n<p>if (strcmp(F. GetTo(),\u201cMumbai\u201d))<\/p>\n<p>F.Display() ;<\/p>\n<p>}<\/p>\n<p>fin.close(); \/\/Ignore<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>void Read ()<\/p>\n<p>{<\/p>\n<p>FLIGHT F;<\/p>\n<p>ifstream fin;<\/p>\n<p><img decoding=\"async\" id=\"Picture 16\" style=\"height: 59px; width: 561px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image012.jpg\" \/><\/p>\n<p>if (fin)<\/p>\n<p>{<\/p>\n<p>fin.read((char*)&amp;F, sizeof (F));<\/p>\n<p>while(!fin.eof())<\/p>\n<p>{<\/p>\n<p>if (strcmp(F. GetTo(),\u201cMumbai\u201d))<\/p>\n<p>F.Display();<\/p>\n<p>Fin.read((char*)&amp;F,sizeof(F))<\/p>\n<p>}<\/p>\n<p>Fin.close(); \/\/Ignore<\/p>\n<p>}<\/p>\n<p><strong>OR<\/strong><\/p>\n<p>Any other correct function definition<\/p>\n<p><strong>5. (a) What do you understand by Candidate Keys in a table? Give a suitable example of Candidate Keys from a table containing some meaningful data. (2)<\/strong><\/p>\n<p><strong>Ans.<\/strong> A table may have more than one such attribute\/group of attribute that identifies a tuple uniquely, all such attribute(s) are known as Candidate Keys.<\/p>\n<p>Table: Item<\/p>\n<p><img decoding=\"async\" id=\"Picture 19\" style=\"height: 315px; width: 242px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image013.jpg\" \/><br \/>\n<strong>(b) Consider the following tables STORE and SUPPLIERS and answer (b1) and (b2) parts of this question:<\/strong><\/p>\n<p><strong>Table: STORE<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><strong>Item No.<\/strong><\/td>\n<td><strong>Item<\/strong><\/td>\n<td><strong>Scode<\/strong><\/td>\n<td><strong>Qty<\/strong><\/td>\n<td><strong>Rate<\/strong><\/td>\n<td><strong>LastBuy<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>2005<\/strong><\/td>\n<td><strong>Sharpener Classic<\/strong><\/td>\n<td><strong>23<\/strong><\/td>\n<td><strong>60<\/strong><\/td>\n<td><strong>8<\/strong><\/td>\n<td><strong>31-June-09<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>2003<\/strong><\/td>\n<td><strong>Ball Pen 0.25<\/strong><\/td>\n<td><strong>22<\/strong><\/td>\n<td><strong>50<\/strong><\/td>\n<td><strong>25<\/strong><\/td>\n<td><strong>01-Feb-10<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>2002<\/strong><\/td>\n<td><strong>Gel Pen Premium<\/strong><\/td>\n<td><strong>21<\/strong><\/td>\n<td><strong>150<\/strong><\/td>\n<td><strong>12<\/strong><\/td>\n<td><strong>24-Feb-10<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>2006<\/strong><\/td>\n<td><strong>Gel Pen Classic<\/strong><\/td>\n<td><strong>21<\/strong><\/td>\n<td><strong>150<\/strong><\/td>\n<td><strong>20<\/strong><\/td>\n<td><strong>11-Mar-09<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>2001<\/strong><\/td>\n<td><strong>Eraser Small<\/strong><\/td>\n<td><strong>22<\/strong><\/td>\n<td><strong>220<\/strong><\/td>\n<td><strong>6<\/strong><\/td>\n<td><strong>19-Jan-09<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>2004<\/strong><\/td>\n<td><strong>Eraser Big<\/strong><\/td>\n<td><strong>22<\/strong><\/td>\n<td><strong>110<\/strong><\/td>\n<td><strong>8<\/strong><\/td>\n<td><strong>02-Dec-09<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>2009<\/strong><\/td>\n<td><strong>Ball Pen 0.5<\/strong><\/td>\n<td><strong>21<\/strong><\/td>\n<td><strong>180<\/strong><\/td>\n<td><strong>18<\/strong><\/td>\n<td><strong>03-Nov-09<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Table: SUPPLIERS<\/strong><\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><strong>Scode<\/strong><\/td>\n<td><strong>Sname<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>21<\/strong><\/td>\n<td><strong>Premium Stationers<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>23<\/strong><\/td>\n<td><strong>Soft Plastics<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>22<\/strong><\/td>\n<td><strong>Terta Supply<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>(b1) Write SQL commands for the following statements: (4)<\/strong><\/p>\n<p><strong>(i) To display details of all the items in the Store table in ascending order of LastBuy.<\/strong><\/p>\n<p><strong>Ans.<\/strong> SELECT * FROM STORE ORDER BY LastBuy;<\/p>\n<p><strong>(ii) To display ItemNo and Item name of those items from Store table whose Rate is more than 15 Rupees.<\/strong><\/p>\n<p><strong>Ans.<\/strong> SELECT ItemNo, Item..In FROM STORE WHERE Rate &gt;15;<\/p>\n<p><strong>(iii) To display the details of those items whose Supplier code (Scode) is 22 or Quantity in Store (Qty) is more than 110 from the table Store.<\/strong><\/p>\n<p><strong>Ans.<\/strong> SELECT * FROM STORE WHERE Scode = 22 OR Qty &gt;110;<\/p>\n<p><strong>(iv) Todisplay Minimum Rate of items for each Supplier individually as per Scode from the table Store.<\/strong><\/p>\n<p><strong>Ans.<\/strong> SELECT Scode, MIN(Rate) FROM STORE GROUP BY Scode; (b2) Give the output of the following SQL queries: (2)<\/p>\n<p>Note: In all output Questions ignore Column Headings<\/p>\n<p><strong>(i) SELECT COUNT(DISTINCT Scode) FROM Store;<\/strong><\/p>\n<p><strong>Ans.<\/strong> <u>COUNT(DISTINCT Scode)<\/u><\/p>\n<p><strong>(ii) SELECT Rate*Qty FROM Store WHERE ItemNo=2004;<\/strong><\/p>\n<p><strong>Ans.<\/strong> <img decoding=\"async\" style=\"height: 41px; width: 77px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image014.png\" \/><\/p>\n<p><strong>(iii) SELECT Item,Sname FROM Store S, Suppliers P WHERE S.Scode=P.Scode AND ItemNo=2006;<\/strong><\/p>\n<p><strong>Ans.<\/strong> <u>ITEM SNAME<\/u><\/p>\n<p>Gel Pen Classic \u00a0Premium Stationers<\/p>\n<p><strong>(iv) SELECT MAX(LastBuy) FROM Store;<\/strong><\/p>\n<p><strong>Ans.<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"height: 41px; width: 132px;\" src=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image015.png\" alt=\"CBSE Question Paper 2010 class 12 Computer Science\" width=\"132\" height=\"41\" \/><\/p>\n<\/div>\n<div>\n<p style=\"text-align: center;\"><strong>These are First 5 questions only. To view and download complete question paper with solution install myCBSEguide App from google play store or login to our\u00a0<a href=\"https:\/\/mycbseguide.com\/dashboard\/\">student dashboard<\/a>.<\/strong><\/p>\n<p style=\"text-align: center;\"><b><strong><a class=\"button\" href=\"https:\/\/play.google.com\/store\/apps\/details?id=in.techchefs.MyCBSEGuide&amp;referrer=utm_source%3Dmycbse_bottom%26utm_medium%3Dtext%26utm_campaign%3Dmycbseads\">Download myCBSEguide App<\/a><\/strong><\/b><\/p>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"Last_Year_Question_Paper_Class_12_Computer_Science_2010\"><\/span>Last Year Question Paper Class 12 Computer Science 2010<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Download class 12 Computer Science question paper with solution from best CBSE App the myCBSEguide. CBSE class 12 Computer Science question paper 2010 in PDF format with solution will help you to understand the latest question paper pattern and marking scheme of the CBSE board examination. You will get to know the difficulty level of the question paper.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Previous_Year_Question_Paper_for_class_12_in_PDF\"><\/span>Previous Year Question Paper for class 12 in PDF<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>CBSE question papers 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005 and so on for all the subjects are available under this download link. Practicing real question paper certainly helps students to get confidence and improve performance in weak areas.<\/p>\n<ul>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-physics\/1251\/cbse-last-year-papers\/3\/\">Physics<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-chemistry\/1267\/cbse-last-year-papers\/3\/\">Chemistry<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-mathematics\/1284\/cbse-last-year-papers\/3\/\">Mathematics<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-biology\/1298\/cbse-last-year-papers\/3\/\">Biology<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-accountancy\/1315\/cbse-last-year-papers\/3\/\">Accountancy<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-business-studies\/1727\/cbse-last-year-papers\/3\/\">Business Studies<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-economics\/1327\/cbse-last-year-papers\/3\/\">Economics<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-history\/1869\/cbse-last-year-papers\/3\/\">History<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-geography\/1863\/cbse-last-year-papers\/3\/\">Geography<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-political-science\/1879\/cbse-last-year-papers\/3\/\">Political Science<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-physical-education\/1877\/cbse-last-year-papers\/3\/\">Physical Education<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-computer-science\/1851\/cbse-last-year-papers\/3\/\">Computer Science<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-informatics-practices\/1873\/cbse-last-year-papers\/3\/\">Informatics Practices<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-english-core\/1855\/cbse-last-year-papers\/3\/\">English Core<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-hindi-core\/1865\/cbse-last-year-papers\/3\/\">Hindi Core<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-hindi-elective\/1867\/cbse-last-year-papers\/3\/\">Hindi Elective<\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12\/1250\/\">Other Subjects<\/a><\/li>\n<\/ul>\n<p>To download CBSE Question Paper class 12 Accountancy, Chemistry, Physics, History, Political Science, Economics, Geography, Computer Science, Home Science, Accountancy, Business Studies and Home Science; do check myCBSEguide app or website. myCBSEguide provides sample papers with solution, test papers for chapter-wise practice, NCERT solutions, NCERT Exemplar solutions, quick revision notes for ready reference, CBSE guess papers and CBSE important question papers. Sample Paper all are made available through\u00a0<a href=\"https:\/\/play.google.com\/store\/apps\/details?id=in.techchefs.MyCBSEGuide&amp;referrer=utm_source%3Dmycbse_bottom%26utm_medium%3Dtext%26utm_campaign%3Dmycbseads\"><strong>the best app for CBSE students<\/strong><\/a>\u00a0and myCBSEguide website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CBSE Question Paper 2010 class 12 Computer Science\u00a0conducted by Central Board of Secondary Education, New Delhi in the month of March 2010. CBSE previous year question papers with solution are available in myCBSEguide mobile app and cbse guide website. The Best CBSE App for students and teachers is myCBSEguide which provides complete study material and &#8230; <a title=\"CBSE Question Paper 2010 class 12 Computer Science\" class=\"read-more\" href=\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/\" aria-label=\"More on CBSE Question Paper 2010 class 12 Computer Science\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1346,1014,1443],"tags":[1527,1342,326,80,1566,1569],"class_list":["post-22692","post","type-post","status-publish","format-standard","hentry","category-cbse","category-cbse-question-papers","category-computer-science-cbse-class-12","tag-cbse-question-paper","tag-class-12","tag-computer-science","tag-last-year-papers","tag-previous-question-paper","tag-ten-year-questions-paper"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CBSE Question Paper 2010 class 12 Computer Science<\/title>\n<meta name=\"description\" content=\"CBSE Question Paper 2010 class 12 Computer Science\u00a0conducted by Central Board of Secondary Education, New Delhi in the month of March 2010.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CBSE Question Paper 2010 class 12 Computer Science\" \/>\n<meta property=\"og:description\" content=\"CBSE Question Paper 2010 class 12 Computer Science\u00a0conducted by Central Board of Secondary Education, New Delhi in the month of March 2010.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/\" \/>\n<meta property=\"og:site_name\" content=\"myCBSEguide\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/mycbseguide\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-01T12:25:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-19T08:41:39+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg\" \/>\n<meta name=\"author\" content=\"myCBSEguide\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mycbseguide\" \/>\n<meta name=\"twitter:site\" content=\"@mycbseguide\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"myCBSEguide\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/\"},\"author\":{\"name\":\"myCBSEguide\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/#\/schema\/person\/f67796d5f5c5a468e8c680aaaad21519\"},\"headline\":\"CBSE Question Paper 2010 class 12 Computer Science\",\"datePublished\":\"2018-12-01T12:25:05+00:00\",\"dateModified\":\"2018-12-19T08:41:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/\"},\"wordCount\":3243,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg\",\"keywords\":[\"CBSE Question Paper\",\"class 12\",\"Computer Science\",\"Last Year Papers\",\"previous question paper\",\"Ten Year Questions Paper\"],\"articleSection\":[\"CBSE\",\"CBSE Question Papers\",\"Computer Science\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/\",\"url\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/\",\"name\":\"CBSE Question Paper 2010 class 12 Computer Science\",\"isPartOf\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg\",\"datePublished\":\"2018-12-01T12:25:05+00:00\",\"dateModified\":\"2018-12-19T08:41:39+00:00\",\"description\":\"CBSE Question Paper 2010 class 12 Computer Science\u00a0conducted by Central Board of Secondary Education, New Delhi in the month of March 2010.\",\"breadcrumb\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#primaryimage\",\"url\":\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg\",\"contentUrl\":\"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mycbseguide.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CBSE Question Papers\",\"item\":\"https:\/\/mycbseguide.com\/blog\/category\/cbse-question-papers\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"CBSE Question Paper 2010 class 12 Computer Science\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/#website\",\"url\":\"https:\/\/mycbseguide.com\/blog\/\",\"name\":\"myCBSEguide\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mycbseguide.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/#organization\",\"name\":\"myCBSEguide\",\"url\":\"https:\/\/mycbseguide.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2016\/04\/books_square.png\",\"contentUrl\":\"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2016\/04\/books_square.png\",\"width\":180,\"height\":180,\"caption\":\"myCBSEguide\"},\"image\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/mycbseguide\/\",\"https:\/\/x.com\/mycbseguide\",\"https:\/\/www.linkedin.com\/company\/mycbseguide\/\",\"http:\/\/in.pinterest.com\/mycbseguide\/\",\"https:\/\/www.youtube.com\/channel\/UCxuqSnnygFzwJG0pwogCNEQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/#\/schema\/person\/f67796d5f5c5a468e8c680aaaad21519\",\"name\":\"myCBSEguide\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CBSE Question Paper 2010 class 12 Computer Science","description":"CBSE Question Paper 2010 class 12 Computer Science\u00a0conducted by Central Board of Secondary Education, New Delhi in the month of March 2010.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/","og_locale":"en_US","og_type":"article","og_title":"CBSE Question Paper 2010 class 12 Computer Science","og_description":"CBSE Question Paper 2010 class 12 Computer Science\u00a0conducted by Central Board of Secondary Education, New Delhi in the month of March 2010.","og_url":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/","og_site_name":"myCBSEguide","article_publisher":"https:\/\/www.facebook.com\/mycbseguide\/","article_published_time":"2018-12-01T12:25:05+00:00","article_modified_time":"2018-12-19T08:41:39+00:00","og_image":[{"url":"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg","type":"","width":"","height":""}],"author":"myCBSEguide","twitter_card":"summary_large_image","twitter_creator":"@mycbseguide","twitter_site":"@mycbseguide","twitter_misc":{"Written by":"myCBSEguide","Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#article","isPartOf":{"@id":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/"},"author":{"name":"myCBSEguide","@id":"https:\/\/mycbseguide.com\/blog\/#\/schema\/person\/f67796d5f5c5a468e8c680aaaad21519"},"headline":"CBSE Question Paper 2010 class 12 Computer Science","datePublished":"2018-12-01T12:25:05+00:00","dateModified":"2018-12-19T08:41:39+00:00","mainEntityOfPage":{"@id":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/"},"wordCount":3243,"commentCount":1,"publisher":{"@id":"https:\/\/mycbseguide.com\/blog\/#organization"},"image":{"@id":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#primaryimage"},"thumbnailUrl":"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg","keywords":["CBSE Question Paper","class 12","Computer Science","Last Year Papers","previous question paper","Ten Year Questions Paper"],"articleSection":["CBSE","CBSE Question Papers","Computer Science"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/","url":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/","name":"CBSE Question Paper 2010 class 12 Computer Science","isPartOf":{"@id":"https:\/\/mycbseguide.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#primaryimage"},"image":{"@id":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#primaryimage"},"thumbnailUrl":"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg","datePublished":"2018-12-01T12:25:05+00:00","dateModified":"2018-12-19T08:41:39+00:00","description":"CBSE Question Paper 2010 class 12 Computer Science\u00a0conducted by Central Board of Secondary Education, New Delhi in the month of March 2010.","breadcrumb":{"@id":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#primaryimage","url":"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg","contentUrl":"http:\/\/media-mycbseguide.s3.amazonaws.com\/images\/cbse\/12\/computer_science\/2010\/set1\/image001.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/mycbseguide.com\/blog\/cbse-question-paper-2010-class-12-computer-science\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mycbseguide.com\/blog\/"},{"@type":"ListItem","position":2,"name":"CBSE Question Papers","item":"https:\/\/mycbseguide.com\/blog\/category\/cbse-question-papers\/"},{"@type":"ListItem","position":3,"name":"CBSE Question Paper 2010 class 12 Computer Science"}]},{"@type":"WebSite","@id":"https:\/\/mycbseguide.com\/blog\/#website","url":"https:\/\/mycbseguide.com\/blog\/","name":"myCBSEguide","description":"","publisher":{"@id":"https:\/\/mycbseguide.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mycbseguide.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mycbseguide.com\/blog\/#organization","name":"myCBSEguide","url":"https:\/\/mycbseguide.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mycbseguide.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2016\/04\/books_square.png","contentUrl":"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2016\/04\/books_square.png","width":180,"height":180,"caption":"myCBSEguide"},"image":{"@id":"https:\/\/mycbseguide.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/mycbseguide\/","https:\/\/x.com\/mycbseguide","https:\/\/www.linkedin.com\/company\/mycbseguide\/","http:\/\/in.pinterest.com\/mycbseguide\/","https:\/\/www.youtube.com\/channel\/UCxuqSnnygFzwJG0pwogCNEQ"]},{"@type":"Person","@id":"https:\/\/mycbseguide.com\/blog\/#\/schema\/person\/f67796d5f5c5a468e8c680aaaad21519","name":"myCBSEguide"}]}},"_links":{"self":[{"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/posts\/22692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/comments?post=22692"}],"version-history":[{"count":7,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/posts\/22692\/revisions"}],"predecessor-version":[{"id":23722,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/posts\/22692\/revisions\/23722"}],"wp:attachment":[{"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/media?parent=22692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/categories?post=22692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/tags?post=22692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}