{"id":8748,"date":"2017-12-21T11:46:42","date_gmt":"2017-12-21T06:16:42","guid":{"rendered":"http:\/\/mycbseguide.com\/blog\/?p=8748"},"modified":"2023-03-28T21:12:44","modified_gmt":"2023-03-28T15:42:44","slug":"sample-paper-for-class-12-computer-science","status":"publish","type":"post","link":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/","title":{"rendered":"Sample paper for 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' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#Download_Complete_set_of_sample_paper_for_class_12_Computer_Science\" >Download Complete set of sample paper for class 12 Computer Science<\/a><\/li><\/ul><\/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\/sample-paper-for-class-12-computer-science\/#Computer_Science_Sample_papers\" >Computer Science Sample papers<\/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\/sample-paper-for-class-12-computer-science\/#Sample_Paper_for_class_12_Computer_Science_Session_2017-2018\" >Sample Paper for class 12 Computer Science \nSession 2017-2018<\/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\/sample-paper-for-class-12-computer-science\/#Sample_Paper_for_class_12\" >Sample Paper for class 12<\/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\/sample-paper-for-class-12-computer-science\/#Marking_Scheme_for_Class_12_Board_exam\" >Marking Scheme for Class 12 Board exam<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#Download_CBSE_Sample_Papers\" >Download CBSE Sample Papers<\/a><\/li><\/ul><\/nav><\/div>\n<p>Download CBSE sample paper for class 12 Computer Science from myCBSEguide. Class 12 Computer Science sample papers for board exams are available for download in myCBSEguide app, the best app for CBSE students. Sample Paper for class 12 Computer Science includes questions from Python and C++ . CBSE conducts board exam for CBSE students which will cover the whole book.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Download_Complete_set_of_sample_paper_for_class_12_Computer_Science\"><\/span>Download Complete set of <strong>sample paper for class 12 <a href=\"https:\/\/mycbseguide.com\/downloads\/cbse-class-12-computer-science\/1851\/cbse-sample-papers\/2\/\">Computer Science<\/a><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For study on the go download <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>myCBSEguide app<\/strong><\/a> for android phones. Sample paper for class 12 Computer Science and other subjects are available for download as PDF in app too.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Computer_Science_Sample_papers\"><\/span><strong>Computer Science Sample papers<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Here is CBSE class 12 Sample paper for Computer Science. To get the answers and more sample papers, visit myCBSEguide App or website stated above. Sample paper for class 12 Computer Science is given below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-8749 size-full\" src=\"http:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/12\/CBSE-12th-Computer-Science-Sample-Paper-2018.jpg\" alt=\"Sample paper for class 12 Computer Science\" width=\"640\" height=\"315\" \/><\/p>\n<h3 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Sample_Paper_for_class_12_Computer_Science_Session_2017-2018\"><\/span><strong>Sample Paper for class 12 Computer Science<br \/>\nSession 2017-2018<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<hr \/>\n<p><strong>General <\/strong> <strong>Instructions:<\/strong><\/p>\n<ul>\n<li>All questions are compulsory,<\/li>\n<li>Answer either Section A or Section B:<\/li>\n<li>Section A &#8211; Programming Language with C++<\/li>\n<li>Section B &#8211; Programming Language with Python<\/li>\n<li>Section C is compulsory.<\/li>\n<\/ul>\n<hr \/>\n<p style=\"text-align: center;\"><strong>SECTION \u2013 A (C++)<\/strong><\/p>\n<p>Q. No. Part Question Description Marks<\/p>\n<p>Q1. (a) What is the role of a parameter\/argument passed in a function? Can a default value be assigned to a parameter(Yes\/No)? If yes, justify your answer with the help of a suitable example otherwise give reason. (2)<\/p>\n<p>(b) Raman suggests Kishan the following header files which are required to be included in the given C++ program. Identify the header files which are wrongly suggested by Raman. (1)<\/p>\n<p>Program:<\/p>\n<p>Void main ( )<\/p>\n<p>{<\/p>\n<p>Char Grade;<\/p>\n<p>if(isalpha (Grade);<\/p>\n<p>court.put (Grade));<\/p>\n<p>}<\/p>\n<p>Suggested header files:-<\/p>\n<p>1. iostream.h<\/p>\n<p>2. stdio.h<\/p>\n<p>3. conio.h<\/p>\n<p>4. ctype.h<\/p>\n<p>(c) Rewrite the following program after removing the syntactical errors (is any). Underline each correction. (2)<\/p>\n<p>Typdef int Num;<\/p>\n<p>Num full-100;<\/p>\n<p>Num Calc(int X)<\/p>\n<p>{<\/p>\n<p>Full-(X&gt;2)? 1:2;<\/p>\n<p>Return\u00a0 (full%2)<\/p>\n<p>}<\/p>\n<p>Void main<\/p>\n<p>{<\/p>\n<p>Int full=1000;<\/p>\n<p>Full-calc(:: full);<\/p>\n<p>Count&lt;&lt;:: full&lt;&lt;\u201d::&gt;&gt;full&gt;&gt;end1;<\/p>\n<p>}<\/p>\n<p>(d) Write the output of the following C++ program code(assume all necessary header files are included in program): (2)<\/p>\n<p>Void Encrypt (char*S, int key)<\/p>\n<p>{<\/p>\n<p>Char *Temp=S;<\/p>\n<p>If (key%2\u2014\u03b8)<\/p>\n<p>{ key&#8211;; }<\/p>\n<p>While (*Temp!=\/ \u03b8\u2019)<\/p>\n<p>{<\/p>\n<p>*Temp+-key;<\/p>\n<p>Temp+-key;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>(e) Write the output of the following C++ program code(assume all necessary header files are included in program): (3)<\/p>\n<p>Struct Ticket<\/p>\n<p>{<\/p>\n<p>Char Level:<\/p>\n<p>Int Price;<\/p>\n<p>};<\/p>\n<p>Void computer (Ticket &amp;T)<\/p>\n<p>{<\/p>\n<p>If (T. Level==\u2019A\u2019)<\/p>\n<p>T.Price +50;<\/p>\n<p>Else if (T.Level==\u2019A\u2019)<\/p>\n<p>T.Price+=50;<\/p>\n<p>Else if (T. Level==\u2019B\u2019)<\/p>\n<p>T. Price+30;<\/p>\n<p>Else if (T.Level==\u2019C\u2019)<\/p>\n<p>T.Price+=25;<\/p>\n<p>Count&lt;&lt;T. Level&lt;&lt;\u201d::\u201d&lt;&lt;T.Price&lt;&lt;endl;<\/p>\n<p>}<\/p>\n<p>Void main( )<\/p>\n<p>{<\/p>\n<p>Ticket Mon_show[ ]={ {\u2018C\u2019, 250}, {\u2018A\u2019,300}, {\u2018B\u2019,300},<\/p>\n<p>For (int count=2; count&gt;=0;)<\/p>\n<p>{<\/p>\n<p>Computer (Mon_show [count&#8211;});<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>(f) Consider the following C++ program code and choose the option(s) which are not possible as output. Also, print the minimum &amp; maximum value of variable Pick during complete execution of the program. (assume all necessary header files are included in program): (2)<\/p>\n<p>Const int NUM=5:<\/p>\n<p>Void main ()<\/p>\n<p>{<\/p>\n<p>Randomize ( ) ;<\/p>\n<p>Int V1=1, V2-5, Pick;<\/p>\n<p>While(V1&lt;V2)<\/p>\n<p>{<\/p>\n<p>Pick=random(NUM)+ (V2-V1);<\/p>\n<p>Count&lt;&lt;Pick&lt;&lt;\u201d:\u201d;<\/p>\n<p>V1++;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>(a) 5:6:6:6:<\/p>\n<p>(b) 4:7:5:3:<\/p>\n<p>(c) 8:6:1:2:<\/p>\n<p>(d) 7:5:3:1<\/p>\n<p>Q2. (a) What do you mean by Data Abstraction in OOPs? Explain its significance in programming with a suitable example. (2)<\/p>\n<p>(b) Answer the question (i) &amp; (ii) after going through the following code. (assume all necessary header files are included in program):- (2)<\/p>\n<p>Class Game<\/p>\n<p>{<\/p>\n<p>Char Name [21];<\/p>\n<p>Int No_ of_ Players;<\/p>\n<p>Public:<\/p>\n<p>Game ( ) \/\/Function 1<\/p>\n<p>{<\/p>\n<p>Strcpy(Name,\u201dCricket\u201d);<\/p>\n<p>No_of_Players-11;<\/p>\n<p>Count&lt;&lt;\u201dNew Game Starts\/n\u201d;<\/p>\n<p>}<\/p>\n<p>Game (char N {}, int No) \/\/Function 2<\/p>\n<p>{<\/p>\n<p>Strcpy (Name, N);<\/p>\n<p>No_of_players=No;<\/p>\n<p>Count &lt;&lt;Name &lt;&lt;\u201dcomprises\u201d&lt;&lt;No_of_players&lt;&lt;\u201dnumber of players\/n\u201d;<\/p>\n<p>}<\/p>\n<p>Game( ) \/\/Function 3<\/p>\n<p>{<\/p>\n<p>Count&lt;&lt;\u201dGame Ends\/n\u201d;<\/p>\n<p>}<\/p>\n<p>};<\/p>\n<p>(i) Give the name of the feature of OOP which is implemented by Function 1 &amp; 2 together in the above class Game.<\/p>\n<p>(ii) Anuj made make changes to the above class Game and made Function 3 private. Will he be able to execute the Line 1 successfully given below?<\/p>\n<p>Justify.<\/p>\n<p>void main()<\/p>\n<p>{<\/p>\n<p>Game ABC; \/\/Line 1<\/p>\n<p>}<\/p>\n<p>(c) Define a class Bill in OOP with the following specification:- (4)<\/p>\n<p><strong><u>\u00a0<\/u><\/strong><\/p>\n<p><strong><u>Private members:<\/u><\/strong><\/p>\n<p>1. Bill_no &#8211; type long(bill number)<\/p>\n<p>2. Bill_period &#8211; type integer(number of months)<\/p>\n<p>3. No_of_calls &#8211; type integer(number of mobile calls)<\/p>\n<p>4. Payment_mode &#8211; type string(\u201conline\u201d or \u201coffline\u201d)<\/p>\n<p>5. Amount &#8211; type float(amount of bill)<\/p>\n<p>6. Calculate_Bill() function to calculate the amount of bill given as per the following conditions:<\/p>\n<table style=\"width: 100%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td>\u00a0\u00a0 No_of_calls<\/td>\n<td>Calculation Rate\/call<\/p>\n<p>(in rupees)<\/td>\n<\/tr>\n<tr>\n<td>&lt;=500<\/td>\n<td>1.0<\/td>\n<\/tr>\n<tr>\n<td>501-1200<\/td>\n<td>2.0<\/td>\n<\/tr>\n<tr>\n<td>&gt;1200<\/td>\n<td>4.0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Also, the value of Amount should be reduced by 5% if Payment_mode is \u201conline\u201d.<\/p>\n<p><strong><u>Public members:<\/u><\/strong><\/p>\n<p>1. A member function New_Bill() that will accept the values for Bill_no, Bill_period, No_of_calls, Payment_mode from the user and invoke Caluclate_Bill() to assign the value of Amount.<\/p>\n<p>2. A member function Print_Bill() that will display all details of a Bill.<\/p>\n<p>(d) Answer the question from (i) to (iv) based on the given below code(assume all necessary header files are included in program):- (4)<\/p>\n<p>Class City<\/p>\n<p>{<\/p>\n<p>Int City_Id;<\/p>\n<p>Char City_Name [30];<\/p>\n<p>protected:<\/p>\n<p>int City Population;<\/p>\n<p>void Get_Population ( )<\/p>\n<p>void New_City( );<\/p>\n<p>void New_City ( );<\/p>\n<p>void show_City ( );<\/p>\n<p>};<\/p>\n<p>Class State:Public City<\/p>\n<p>{<\/p>\n<p>Int State_Id;<\/p>\n<p>Char State_Name[25];<\/p>\n<p>Protected;<\/p>\n<p>Int State_Population;<\/p>\n<p>Public;<\/p>\n<p>State ();<\/p>\n<p>void New_State ( ):<\/p>\n<p>void Print_State ( );<\/p>\n<p>};<\/p>\n<p>Class Country: private State<\/p>\n<p>{<\/p>\n<p>Int Country_Id;<\/p>\n<p>Char country_Name[25];<\/p>\n<p>Public:<\/p>\n<p>Country ( );<\/p>\n<p>void new_Country( );<\/p>\n<p>void Display_Country ( );<\/p>\n<p>};<\/p>\n<p>(i) Write name of the class whose constructor is invoked first on the creation of a new object of class Country.<\/p>\n<p>(ii) Write name of the data members which are accessible through the object of class Country.<\/p>\n<p>(iii) List name of the members which are accessible through the member function \u201cvoid New_Country()\u201d.<\/p>\n<p>(iv) What will be the size(in bytes) of an object of class Country &amp; State respectively.<\/p>\n<p>Q3 (a) Write the definition of function named Array_Swap() that will accept an integer array &amp; its size as arguments and the function will interchange\/swap elements in such a way that the first element is swapped with the last element, second element is swapped with the second last element and son on, only if anyone or both the elements are odd. (3)<\/p>\n<p>E.g. if initially array of seven elements is:<\/p>\n<p><strong>5, 16, 4, 7, 19, 8, 2<\/strong><\/p>\n<p>After execution of the above function, the contents of the array will be:<\/p>\n<p><strong>2,16, 19, 7, 4, 8, 5<\/strong><\/p>\n<p>(b) An array A[50][30] is stored along the row in the memory with each element requiring 4 bytes of storage. If the element A[10][15] is stored at 21500, then find out the base address of the array and the memory address of element stored at location A[30][25]? (3)<\/p>\n<p>(c) Write the definition of a member function Q_Insert() for a class Exam_Queue in C++ to inserta new Application information in a dynamically allocated queue whose code is already given below as a part of the program(assume all necessary header files are included in program): (4)<\/p>\n<p>Struct Application<\/p>\n<p>{<\/p>\n<p>Int\u00a0 App_Id;<\/p>\n<p>Char App_Name [21];<\/p>\n<p>Application * Link;<\/p>\n<p>};<\/p>\n<p>Class Exam_Queue<\/p>\n<p>{<\/p>\n<p>Applicacation *Front,*Rear;<\/p>\n<p>Public:<\/p>\n<p>Exam_Queue( )\/\/Constructor<\/p>\n<p>{<\/p>\n<p>Front-Rear=NULL;<\/p>\n<p>}<\/p>\n<p>Void Q_Insert ( );<\/p>\n<p>Void Q_Delete ( ) ;<\/p>\n<p>};<\/p>\n<p>(d) Write the definition of a user-defined function REPEAT_ROW(int A[][3],int R, int C) in C++ that will store the elements in the following manner\u00a0 (2)<\/p>\n<p>1. All row elements except the 1<sup>st<\/sup> element replaced by the 1<sup>st<\/sup> element,<\/p>\n<p>2. All row elements except the 1<sup>st<\/sup> &amp; 2nd element replaced by the 2<sup>nd<\/sup> element,<\/p>\n<p>3. All row elements except the 1st, 2<sup>nd<\/sup> &amp; 3<sup>rd<\/sup> element replaced by the 3rd element and so on.<\/p>\n<p>For example: if initially the array was:-<\/p>\n<table style=\"width: 100%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td>5<\/td>\n<td>6<\/td>\n<td>10<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>6<\/td>\n<td>9<\/td>\n<td>12<\/td>\n<\/tr>\n<tr>\n<td>18<\/td>\n<td>14<\/td>\n<td>5<\/td>\n<td>6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Then, the contents of the array after execution of the above function will be:-<\/p>\n<table style=\"width: 100%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td>5<\/td>\n<td>5<\/td>\n<td>5<\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>6<\/td>\n<td>6<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>18<\/td>\n<td>14<\/td>\n<td>14<\/td>\n<td>14<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>(e) Evaluate the following POSTFIX expression. Show the status of Stack after execution of each operation separately: (2)<\/p>\n<p><strong>TRUE, FALSE, OR, NOT, TRUE, FALSE, AND, OR<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong>SECTION \u2013 B (Python)<\/strong><\/p>\n<p>Q1 (a) Differentiate between break and continue statement with the help of an example. (2)<\/p>\n<p>(b) Identify and write the name of the module to which the following functions belong:<\/p>\n<p>i. ceil( ) ii. findall() (1)<\/p>\n<p>(c) Observe the following Python code very carefully and rewrite it after removing all syntactical errors with each correction underlined. (2)<\/p>\n<p>DEF execmain ( ) :<\/p>\n<p>X=input (<br \/>\nEnter a number:\u201d)<\/p>\n<p>If (abs(x)=x):<\/p>\n<p>Print \u201c You entered a positive number\u201d<\/p>\n<p>Else:<\/p>\n<p>X=*-1<\/p>\n<p>Print\u201dnumber made positive:\u201d*<\/p>\n<p>Execmain ( )<\/p>\n<p>(d) Write the output of the following Python code: (2)<\/p>\n<p>1=5<\/p>\n<p>J=7<\/p>\n<p>X=0<\/p>\n<p>I=i+(j-i)<\/p>\n<p>X=j+i<\/p>\n<p>Print x,\u201d;\u201d,i<\/p>\n<p>J=j**2<\/p>\n<p>X=j+i<\/p>\n<p>i=i+1<\/p>\n<p>print I,\u201d:\u201d,j<\/p>\n<p>(e) Write the output of the following Python program code: (3)<\/p>\n<p>Data = [\u2018D\u2019,\u2019o \u2018 , \u2018\u2019 ,\u2018 \u2018I\u2019, \u2018t\u2019, \u2018 \u2018,\u2019 @\u2019.\u2019\u2019.\u20191\u2019.\u20192\u2019.\u20193\u2019.\u2019\u2019.\u2019!\u2019 ]\n<p>For I in range (len (Data)-1):<\/p>\n<p>If (Data [i]. isipper ()):<\/p>\n<p>Data [i] -Data [i].lower ( )<\/p>\n<p>Elif (Data [i]. isspace ( ) ) :<\/p>\n<p>Data [1]=Data[1+1]\n<p>Print Data<\/p>\n<p>(f) Study the following program and select the possible output(s) from the options (i) to (iv) following it. Also, write the maximum and the minimum values that can be assigned to the variable Y. (2)<\/p>\n<p>Import random<\/p>\n<p>X=random.random( )<\/p>\n<p>Y= random.randint (0,4)<\/p>\n<p>Print int (X),\u201d;\u201d, Y+int (X)<\/p>\n<p>i) 0: 0<\/p>\n<p>ii) 1: 0<\/p>\n<p>iii) 2: 4<\/p>\n<p>iv) 0: 3<\/p>\n<p>Q2 (a) Explain operator overloading with the help of an example. (2)<\/p>\n<p>(b) Observe the following Python code and answer the questions (i) and (ii):<\/p>\n<p>Class BOOK:<\/p>\n<p>Count=0<\/p>\n<p>Def_init_(self): # Function 1<\/p>\n<p>Self.Author=\u201dNot assigned\u201d<\/p>\n<p>Self.Publisher=\u201dNot assignes\u201d<\/p>\n<p>Def display (Self):<\/p>\n<p>Print self.Author,self.Publisher, self.ISBN<\/p>\n<p>@staticmethod<\/p>\n<p>Def bookcount ( ) : # Function 2<\/p>\n<p>BOOK. Count=BOOK. Count+1<\/p>\n<p>Return BOOK.count<\/p>\n<p>(i) How is data member \u2018count\u2019 different from data member \u2018Author\u2019? (1)<\/p>\n<p>(ii) Fill in the blanks: (1)<\/p>\n<p>B= BOOK()<\/p>\n<p>1Page No. 10<\/p>\n<p>______________________________ #Write statement to invoke Function 2<\/p>\n<p>______________________________ #Write statement to invoke Function 3<\/p>\n<p>(c) Define a class COURSE in Python with the following description: (4)<\/p>\n<p><strong>Instance Attributes:<\/strong><\/p>\n<p>REGNO Integer<\/p>\n<p>CNAME String<\/p>\n<p>Score Float<\/p>\n<p>Fees Float<\/p>\n<p><strong>Methods:<\/strong><\/p>\n<ul>\n<li>A constructor to assign REGNO as 0, Score and Fees as 0.0<\/li>\n<li>SetCourse() to assign Course and Fees on the basis of the Score input as per the following criteria:<\/li>\n<\/ul>\n<table style=\"width: 100%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><strong>Score<\/strong><\/td>\n<td><strong>CNAME<\/strong><\/td>\n<td><strong>Fees<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&gt;=9.0 -&lt;=10.0<\/td>\n<td>Clinical Psychology<\/td>\n<td>10000.0<\/td>\n<\/tr>\n<tr>\n<td>&gt;=8.0 &#8211; &lt;9.0<\/td>\n<td>Corporate Counselling<\/td>\n<td>8000.0<\/td>\n<\/tr>\n<tr>\n<td>&gt;=5.0 &#8211; &lt;8.0<\/td>\n<td>Guidance and<\/p>\n<p>Counselling<\/td>\n<td>6000.0<\/p>\n<p>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>less than 5.0<\/td>\n<td>Not Eligible<\/td>\n<td>0.0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>GETDATA() to input REGNO and Score and invoke SetCourse()<\/li>\n<li>DISPLAY() to display all the details.<\/li>\n<\/ul>\n<p>(d) Answer the questions (i) and (ii) based on the following: (4)<\/p>\n<p>Class Vehicle (object):<\/p>\n<p>Def_init_(self,I=0, w=0):<\/p>\n<p>Self. length =1<\/p>\n<p>Self.widh=w<\/p>\n<p>Def define (self):<\/p>\n<p>Print \u201cVehicle with length\u201d, self.lenght,\u201din &amp; width\u201d, self.width,\u201din\u201d<\/p>\n<p>Class Car (Vehicle);<\/p>\n<p>Def _init_(self,clr,seats, l,w):<\/p>\n<p>Vehicle init_(self,l,w)<\/p>\n<p>Self.colour=clr<\/p>\n<p>Self.seatingCapacity=seats<\/p>\n<p>Def change Gears (self,gr):<\/p>\n<p>def turn (self, direction):<\/p>\n<p>print \u201cturned\u201d to\u201d, direction, \u201cdirection\u201d<\/p>\n<p>class RacingCar (Car):<\/p>\n<p>def _init_(self,clr,seats,l,w,tr,spd): # Line 1<\/p>\n<p>Car ._init_(self,clr,seats,l,w) # Line 2<\/p>\n<p>Self.turnRadius=tr<\/p>\n<p>Self.speed=spd<\/p>\n<p>Def start (self):<\/p>\n<p>Self.changeGears (2)<\/p>\n<p>Print\u201dRacing car starts=ready to vroom!\u201d<\/p>\n<p>(i) Explain the relationship between Line 1 , Line 2 and Line 3.<\/p>\n<p>(ii) Predict the output that will be produced on the execution of the following statements:<\/p>\n<p>rcar=RacingCar (\u2018Blue\u2019,2,206,78.5,6,200)<\/p>\n<p>rcar.start ( )<\/p>\n<p>rcar.turn (\u201cleft\u201d)<\/p>\n<p>Q3 (a) Write the definition of a function Reverse(X) in Python, to display the elements in reverse order such that each displayed element is the twice of the original element (element * 2) of the List X in the following manner: (2)<\/p>\n<p>Example:<\/p>\n<p>If List X contains 7 integers is as follows:<\/p>\n<table style=\"width: 100%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td>X[0]<\/td>\n<td>X[1]<\/td>\n<td>X[2]<\/td>\n<td>X[3]<\/td>\n<td>X[4]<\/td>\n<td>X[5]<\/td>\n<td>X[6]<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>8<\/td>\n<td>7<\/td>\n<td>5<\/td>\n<td>6<\/td>\n<td>2<\/td>\n<td>10<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>After executing the function, the array content should be displayed as follows:<\/p>\n<table style=\"width: 100%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td><strong>20<\/strong><\/td>\n<td><strong>4<\/strong><\/td>\n<td><strong>12<\/strong><\/td>\n<td><strong>10<\/strong><\/td>\n<td><strong>14<\/strong><\/td>\n<td><strong>16<\/strong><\/td>\n<td><strong>8<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>(b) Consider the following unsorted list:<\/p>\n[22, 54, 12, 90, 55, 78]\n<p>Write the passes of selection sort for sorting the list in ascending order till the 3<sup>rd<\/sup> iteration.(3)<\/p>\n<p>(c) Consider the following class Order and do as directed: (4)<\/p>\n<p>Class ORDER:<\/p>\n<p>L= [ ]\n<p>Def_init_(self):<\/p>\n<p>Self.OID=0<\/p>\n<p>Def insertorder=(self):<\/p>\n<p>Self.OID=input (\u201cEnter Order Id\u201d)<\/p>\n<p>________________ Blank\u00a0 1<\/p>\n<p>Def delorder (self ):<\/p>\n<p>i. Fill in the blank 1 with a statement to insert OID in the Queue maintained using List<\/p>\n<p>L.<\/p>\n<p>ii. Complete the definition of delorder() to delete OID from the Queue maintained using<\/p>\n<p>List L, the function should return the OID being deleted or -1 in case the Queue is empty.<\/p>\n<p>d) Write a generator function to generate odd numbers between a and b(including (3)<\/p>\n<p>b). -+Note: a and b are received as an argument by the function.<\/p>\n<p>(e) Evaluate the following postfix expression using a stack. Show the contents of stack after execution of each operation: (2)<\/p>\n<p>10,40,25,-,*,15,4,*,+2<\/p>\n<p>Q4. (a) Nancy intends to position the file pointer to the beginning of a text file. Write Python<\/p>\n<p>statement for the same assuming F is the File object. (1)<\/p>\n<p>(b) Write a function countmy( )in Python to read the text file \u201cDATA.TXT\u201d and count the number of times \u201cmy\u201d occurs in the file. (2)<\/p>\n<p>For example if the file \u201cDATA.TXT\u201d contains:<\/p>\n<p>\u201cThis is my website. I have displayed my preferences in the CHOICE section.\u201d<\/p>\n<p>The countmy( ) function should display the output as:<\/p>\n<p>\u201cmy occurs 2 times\u201d.<\/p>\n<p>(c) Write a function in python to search and display details of all those students, whose stream is \u201cHUMANITIES\u201d from pickled file \u201cStudent.dat\u201d. Assuming the pickled file is containing the objects of the following class: (3)<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>This is only initial part of the whole sample paper. Download Complete set of <strong>sample paper for class 12 <a href=\"https:\/\/mycbseguide.com\/downloads\/cbse-class-12-computer-science\/1851\/cbse-sample-papers\/2\/\">Computer Science<\/a><\/strong><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Sample_Paper_for_class_12\"><\/span><strong>Sample Paper for class 12<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>It is sample paper for class 12 Computer Science. However, myCBSEguide provides the best sample papers for all the subjects. There are number of sample papers which you can download from myCBSEguide website. <strong>Sample paper for class 12 all subjects<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-physics\/1251\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Physics<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-chemistry\/1267\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Chemistry<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-mathematics\/1284\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Mathematics<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-biology\/1298\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Biology<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-english-core\/1855\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 English Core<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-business-studies\/1727\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Business Studies<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-economics\/1327\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Economics<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-accountancy\/1315\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Accountancy<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-computer-science\/1851\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Computer Science<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-informatics-practices\/1873\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Informatics Practices<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-hindi-core\/1865\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Hindi Core<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-hindi-elective\/1867\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Hindi Elective<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-history\/1869\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 History<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-political-science\/1879\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Political Science<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-geography\/1863\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Geography<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-home-science\/1871\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Home Science<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12-physical-education\/1877\/cbse-sample-papers\/2\/\"><strong>CBSE Sample Papers for Class 12 Physical Education<\/strong><\/a><\/li>\n<li><a href=\"http:\/\/mycbseguide.com\/downloads\/cbse-class-12\/1250\/\"><strong>CBSE Sample Papers for Class 12 Other Subjects<\/strong><\/a><\/li>\n<\/ul>\n<p>These are also Sample Paper for class 12 Computer Science available for download through myCBSEguide app. These are the latest Sample Paper for class 12 Computer Science as per the new board exam pattern. Download the app today to get the latest and up-to-date study material.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Marking_Scheme_for_Class_12_Board_exam\"><\/span><strong>Marking Scheme for Class 12 Board exam<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<table style=\"width: 100%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td>Subject<\/td>\n<td>Board Marks<\/td>\n<td>Practical or internal Marks<\/td>\n<\/tr>\n<tr>\n<td>English<\/td>\n<td>100 Marks<\/td>\n<td>ZERO Marks<\/td>\n<\/tr>\n<tr>\n<td>Hindi<\/td>\n<td>100 Marks<\/td>\n<td>ZERO Marks<\/td>\n<\/tr>\n<tr>\n<td>Mathematics<\/td>\n<td>100 Marks<\/td>\n<td>ZERO Marks<\/td>\n<\/tr>\n<tr>\n<td>Chemistry<\/td>\n<td>70 Marks<\/td>\n<td>30 Marks<\/td>\n<\/tr>\n<tr>\n<td>Physics<\/td>\n<td>70 Marks<\/td>\n<td>30 Marks<\/td>\n<\/tr>\n<tr>\n<td>Biology<\/td>\n<td>70 Marks<\/td>\n<td>30 Marks<\/td>\n<\/tr>\n<tr>\n<td>Computer Science<\/td>\n<td>70 Marks<\/td>\n<td>30 Marks<\/td>\n<\/tr>\n<tr>\n<td>Informatics Practices<\/td>\n<td>70 Marks<\/td>\n<td>30 Marks<\/td>\n<\/tr>\n<tr>\n<td>Accountancy<\/td>\n<td>80 Marks<\/td>\n<td>20 Marks<\/td>\n<\/tr>\n<tr>\n<td>Business Studies<\/td>\n<td>80 Marks<\/td>\n<td>30 Marks<\/td>\n<\/tr>\n<tr>\n<td>Economics<\/td>\n<td>80 Marks<\/td>\n<td>20 Marks<\/td>\n<\/tr>\n<tr>\n<td>History<\/td>\n<td>80 Marks<\/td>\n<td>20 Marks<\/td>\n<\/tr>\n<tr>\n<td>Political Science<\/td>\n<td>100 Marks<\/td>\n<td>ZERO Marks<\/td>\n<\/tr>\n<tr>\n<td>Geography<\/td>\n<td>70 Marks<\/td>\n<td>30 Marks<\/td>\n<\/tr>\n<tr>\n<td>Sociology<\/td>\n<td>80 Marks<\/td>\n<td>20 Marks<\/td>\n<\/tr>\n<tr>\n<td>Physical Education<\/td>\n<td>70 Marks<\/td>\n<td>30 Marks<\/td>\n<\/tr>\n<tr>\n<td>Home Science<\/td>\n<td>70 Marks<\/td>\n<td>30 Marks<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span class=\"ez-toc-section\" id=\"Download_CBSE_Sample_Papers\"><\/span><strong>Download CBSE Sample Papers<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To download complete sample paper for class 12 Computer Science, Physics, Economics, Mathematics, Biology, English Core, Business Studies, Accountancy, Chemistry and Political 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 <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> and myCBSEguide website.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download CBSE sample paper for class 12 Computer Science from myCBSEguide. Class 12 Computer Science sample papers for board exams are available for download in myCBSEguide app, the best app for CBSE students. Sample Paper for class 12 Computer Science includes questions from Python and C++ . CBSE conducts board exam for CBSE students which &#8230; <a title=\"Sample paper for class 12 Computer Science\" class=\"read-more\" href=\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/\" aria-label=\"More on Sample paper for class 12 Computer Science\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":8519,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48,7,6],"tags":[147,12,439,440,312],"class_list":["post-8748","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cbse-class-12","category-site-updates","category-tips-and-tricks","tag-cbse-class-12","tag-cbse-sample-papers","tag-cbse-sample-papers-2017-18","tag-cbse-sample-papers-2018","tag-cbse-solved-sample-papers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sample paper for class 12 Computer Science | myCBSEguide<\/title>\n<meta name=\"description\" content=\"Sample paper for class 12 Computer Science for board exam 2017-2018 as per the new CBSE board exam format. Download Now from myCBSEguide app.\" \/>\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\/sample-paper-for-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=\"Sample paper for class 12 Computer Science | myCBSEguide\" \/>\n<meta property=\"og:description\" content=\"Sample paper for class 12 Computer Science for board exam 2017-2018 as per the new CBSE board exam format. Download Now from myCBSEguide app.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-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=\"2017-12-21T06:16:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-28T15:42:44+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/02\/cbse_sample_papers.png\" \/>\n\t<meta property=\"og:image:width\" content=\"628\" \/>\n\t<meta property=\"og:image:height\" content=\"250\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/\"},\"author\":{\"name\":\"myCBSEguide\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/#\/schema\/person\/f67796d5f5c5a468e8c680aaaad21519\"},\"headline\":\"Sample paper for class 12 Computer Science\",\"datePublished\":\"2017-12-21T06:16:42+00:00\",\"dateModified\":\"2023-03-28T15:42:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/\"},\"wordCount\":2556,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/02\/cbse_sample_papers.png\",\"keywords\":[\"CBSE Class 12\",\"CBSE Sample Papers\",\"CBSE sample papers 2017-18\",\"CBSE sample papers 2018\",\"CBSE Solved Sample Papers\"],\"articleSection\":[\"Class 12\",\"Site Updates\",\"Tips &amp; Tricks\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/\",\"url\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/\",\"name\":\"Sample paper for class 12 Computer Science | myCBSEguide\",\"isPartOf\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/02\/cbse_sample_papers.png\",\"datePublished\":\"2017-12-21T06:16:42+00:00\",\"dateModified\":\"2023-03-28T15:42:44+00:00\",\"description\":\"Sample paper for class 12 Computer Science for board exam 2017-2018 as per the new CBSE board exam format. Download Now from myCBSEguide app.\",\"breadcrumb\":{\"@id\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#primaryimage\",\"url\":\"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/02\/cbse_sample_papers.png\",\"contentUrl\":\"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/02\/cbse_sample_papers.png\",\"width\":628,\"height\":250,\"caption\":\"CBSE Sample papers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mycbseguide.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CBSE\",\"item\":\"https:\/\/mycbseguide.com\/blog\/category\/cbse\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Class 12\",\"item\":\"https:\/\/mycbseguide.com\/blog\/category\/cbse\/cbse-class-12\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Sample paper for 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":"Sample paper for class 12 Computer Science | myCBSEguide","description":"Sample paper for class 12 Computer Science for board exam 2017-2018 as per the new CBSE board exam format. Download Now from myCBSEguide app.","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\/sample-paper-for-class-12-computer-science\/","og_locale":"en_US","og_type":"article","og_title":"Sample paper for class 12 Computer Science | myCBSEguide","og_description":"Sample paper for class 12 Computer Science for board exam 2017-2018 as per the new CBSE board exam format. Download Now from myCBSEguide app.","og_url":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/","og_site_name":"myCBSEguide","article_publisher":"https:\/\/www.facebook.com\/mycbseguide\/","article_published_time":"2017-12-21T06:16:42+00:00","article_modified_time":"2023-03-28T15:42:44+00:00","og_image":[{"width":628,"height":250,"url":"http:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/02\/cbse_sample_papers.png","type":"image\/png"}],"author":"myCBSEguide","twitter_card":"summary_large_image","twitter_creator":"@mycbseguide","twitter_site":"@mycbseguide","twitter_misc":{"Written by":"myCBSEguide","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#article","isPartOf":{"@id":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/"},"author":{"name":"myCBSEguide","@id":"https:\/\/mycbseguide.com\/blog\/#\/schema\/person\/f67796d5f5c5a468e8c680aaaad21519"},"headline":"Sample paper for class 12 Computer Science","datePublished":"2017-12-21T06:16:42+00:00","dateModified":"2023-03-28T15:42:44+00:00","mainEntityOfPage":{"@id":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/"},"wordCount":2556,"commentCount":1,"publisher":{"@id":"https:\/\/mycbseguide.com\/blog\/#organization"},"image":{"@id":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#primaryimage"},"thumbnailUrl":"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/02\/cbse_sample_papers.png","keywords":["CBSE Class 12","CBSE Sample Papers","CBSE sample papers 2017-18","CBSE sample papers 2018","CBSE Solved Sample Papers"],"articleSection":["Class 12","Site Updates","Tips &amp; Tricks"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/","url":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/","name":"Sample paper for class 12 Computer Science | myCBSEguide","isPartOf":{"@id":"https:\/\/mycbseguide.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#primaryimage"},"image":{"@id":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#primaryimage"},"thumbnailUrl":"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/02\/cbse_sample_papers.png","datePublished":"2017-12-21T06:16:42+00:00","dateModified":"2023-03-28T15:42:44+00:00","description":"Sample paper for class 12 Computer Science for board exam 2017-2018 as per the new CBSE board exam format. Download Now from myCBSEguide app.","breadcrumb":{"@id":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#primaryimage","url":"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/02\/cbse_sample_papers.png","contentUrl":"https:\/\/mycbseguide.com\/blog\/wp-content\/uploads\/2017\/02\/cbse_sample_papers.png","width":628,"height":250,"caption":"CBSE Sample papers"},{"@type":"BreadcrumbList","@id":"https:\/\/mycbseguide.com\/blog\/sample-paper-for-class-12-computer-science\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mycbseguide.com\/blog\/"},{"@type":"ListItem","position":2,"name":"CBSE","item":"https:\/\/mycbseguide.com\/blog\/category\/cbse\/"},{"@type":"ListItem","position":3,"name":"Class 12","item":"https:\/\/mycbseguide.com\/blog\/category\/cbse\/cbse-class-12\/"},{"@type":"ListItem","position":4,"name":"Sample paper for 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\/8748","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=8748"}],"version-history":[{"count":6,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/posts\/8748\/revisions"}],"predecessor-version":[{"id":30177,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/posts\/8748\/revisions\/30177"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/media\/8519"}],"wp:attachment":[{"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/media?parent=8748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/categories?post=8748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mycbseguide.com\/blog\/wp-json\/wp\/v2\/tags?post=8748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}