Trending ▼   ResFinder  

CBSE Class XII 2011 : COMPUTER SCIENCE

12 pages, 47 questions, 17 questions with responses, 18 total responses,    0    0
cbse12
  
+Fave Message
 Home > cbse12 >

Instantly get Model Answers to questions on this ResPaper. Try now!
NEW ResPaper Exclusive!

Formatting page ...

- . Series 50S Code I I No. . . I I I I I I I I I I I I Candidates must write the Code on the title page of the answer-book. I I I Please check that this question paper contains 12 printed pages. Code number given on the right hand side of the question paper should be written on the title page of the answer-book by the candidate. . Please check that this question paper contains 7 questions. attempting . the down Please . write Serial Number of the question before it. Maximum hours 3 allowed: Time COMPUTER 15 minutes time has been allotted to read this question paper. The question paper will be distributed at 10.15 a.m. From 10.15 a.m. to 10.30 a.m., the students will read the question paper only and will not write any answer on the answer script during this period. SCIENCE Roll 91. No. 70 I Instructions: void is/are 2 both. illustrate Type essentially 1 which code: C++ files, and Automatic to code Casting C++ header following the the of run/execute names to required the Type suitable Write between a (b) is the difference give What Also, (a) C++ are compuls9ry. Language: questions conversion? 1. All Programming (ii) (i) main() { char CH,Text[]="+ve for i.f (int (Text 1=O;Text[1] [I] ==' ') Attitude"; !='\O';1++) cout endl; else { CH=toupper(Text[1]); cout CH; } } - ~ 91 1 , -"" !':,c' Marks: r--- P.T.D. -- SwitchOver(H,6,3)i 91 { main() void } j I 1 1 .1 j .j j 1 1 1 K=OiK<NiK++) SwitchOver(int A[], Oint (K%2=:==O) ?cout A [K] Display(H,6)i } 2 3 program: following the of output characters' endli ' L ' has cout S ' i (S) L=strlen int i S="Peace" String { main() void Stringi char[80] typedef <iostream.h> include after removing N, int the cout A [K]. i +=1<i [K] (K<Split) (int the } program endl , *=K. ] K [ A if #include N) A else for Find following "%": A[.],int Display(int } void the K=OiK<NiK++) (int for void (d) Rewrite H[]={30,40,SO,20,lO,.S}i int :. :::' (c) errors (if any). Underline each correction. syntactical 2 <iostream.h> Split) { { -~~ :..,~-~-"'_.~~" Find the output #include void of the following ~ -- ~ - - ,,--~ (e) program: 2 <iostream.h> main() { int *Queen,Moves[]={11,22,33,44}; Queen=Moves; Moves[2]+=22; cout "Queen @" *Queen endl; *Queen-=11; Queen+=2; cout "Now @" *Queen endl; Queen++; cout "Finally @" *Queen endl; cout "New Origin @" Moves [0] endl; #include 2 be (iv). possible to can the which (i) out find Options and values, maximum Output below, shown suggested MyNum. <iostream.h> #include and the code variable minimum from C++ the outputs the the to write or through Go assigned Also, output (f) } <stdlib.h> void main() { randomize(); int MyNum,Max=5; .MyNum=20+random(Max); t for (int N=MyNum;N<=25iN++) cout N "*"i } (i) -I '" " i (ii) (III ...) '", 91 22 * 2 3 * 2 4 * 2 5 * 23 * 24 * (iv) f 2 0 * 21 * 2 2 * 2 3 * 2 4 * 2 5 21*22*23*24*25 3 p.T.a. 2. (a) and Destructor fun mming. (b) c++ code. Also, write amming used in the functions [I] to [IV] : *include void <iostream.h> Line() //Function { for (int L=1;L<=80;L++) cout "-"; cout endl; [II] //Function N) Line(int void } { for L=l;L<=N;L++) (int cout "*"; cout endl; } void Line(char C,int N) //Function [III] { for (int L=l;L<=N;L++) cout C; cout endl; [IV] //Function N) M,int Line(int L=l;L<=N;L++)cout M*L; (int for { void } '.~,~:;;,,; ) ~;t:~ ., {"I lnt ( . maln vold . } cout endl; ~~j. 'c' A=9, B=4, C=3; , ; Line B) (A, C) ; - - . ~ 4 ~ 91 .. } Line (K, char K='#';-' . - , I - class i --:-J'Rollno; float members. data the the questions all Grade. . ANo, for A >=80 Grade Marks Aggregate follows: as shown are Grades respective the and range Marks Aggregate student. of content the values B >=65 and 80 than less Ii the per as Grade the find to GradeMe() function member A . char type of Grade member data A . 'float type of Marks) (Aggregate Agg member data A . string type of Name member data A . long type of Number) (Admission ANo member data A . Members Private in C++ with following the enter C >=50 and 65 than less a find to D 50 than less by view to user allow to ENTER() function A obtained to user GradeMe() function call & Agg Name, . Marks allow to RESULTO function A . Aggregate Display(); SName[20]; int Answer class (d) Result(); char { Public Enroll();void void protected: I Define a class Applicant P.T.O. f void public: I i ; } I' .. 5 91 ! (c) description: 4 Equivalent Members Student (i) to (iv) based 'on the following: 4 Marksl . Student(); Teacher r { TCode; char TName[20]; I long protected: float Salary; public: Teacher(); void Enter void ':.: Show(); () ; } ; class Course: public Student, private Teacher { long CCode[lO];char CourseName[50]; char StartDate[8],EndDate[8]; public: Course(); void Commence(); void CDetail(); }; functions, which are accessible Course. which is/are class members, of data Commence the function of all member names accessible the of member class of Write from (ii) the names objects Write from (i) Course. (iii) 91 - - the from (iv) Write names objects of all .the members, which are accessible of class Teacher. Which type of Inheritance is illustrated code? 6 in the above C++ Number function postfix in C++ notation I 4 Find to. find of the out sum row the location of a bytes. on along given memory as 8 operation occupying Delete perform to the details Members containing in 2 Name NODE: contain should array Odd[] The contains array ALL[] the If ) of ALL[]. 4200. expression: -I following stored OR DSUM() C++ elements number) of Queue should AND, the (0,2,4, True, //Member is odd //Member G[50][20] a a in its Matrix. allocated function a array True, Evaluate positions is Write definition following array N NODE the Write Even[] NxN Mno; long dynamically the the Mname[20]; char in G[10][15], ifG[O][O] is stored at of values the cont'ain should array Even[] and ALL[] of ) (1,3,5, positions odd from values the contain should array Odd[] I The Even[]. and Odd[] arrays different two to ALL[] AND, (e) *Link; NODE ~truct each even a (d) An that i, ; } And from Elements (b) array NOT, (Assuming from False, True, (c) . one 7 91 i from content the transfer to C++ in function Get2From1() a Write (a) 3. ~ - I 3 Example: 12,34,56,67,89,90 , 34,67,90 contain 12,56,89 with of 3 Diagonal 2 P.T.D. i L':I ;;j ii:};;:' t i } File.close(); } -\ File.write((char*)this, liRe-writing -2 1 cout "Changed //Statement ; ; . . " Price endl; (CIno==Ino) if cin CIno; "; price: modify to No cout "Item CIno; int the } - sizeof(ITEM); recQrd ; out) : ios: I in : ios: I binary : ios: DAT", ("ITEM. open File. File; fstream { Item::ModifyPrice() void ITEM particular a of price modify to is function ModifyPrice();//The void . public: Price; Iname[20];float Ino;char int { <fstream.h> #include 1 task. required the performing for functions tellg() and tellp() seekp(), seekg(), using 2 Statement and 1 Statement as marked blanks the fill and carefully below given segment program the Observe (a) 4. "", w:,c~ 11'1111111 /IStatement ; . { { while Price: cout "Present c""" "c"~~'"" class FilePos= int ;",.1 :! :1 ". 2~"'~"" r- } , 8 ,,'i'j' '!c;i; 91 ":. .,. \ - "- ,.p: -- c:::~; . ITEM ; (File.read((char*)this,sizeof(ITEM ) Prlce:";cln Prlce; P.T.D. 24-Jun-2009 03-Mar-1984 S03 19-Jan-1982 RECEPTIONIST 22-Jul-1987 12-Feb-2010 13-Jan-1980 23-Mar-2003 DOB DOJ and SALGRADE and in operations Projection & {return 11-Aug-2006 S03 EMPLOYEE Selection by GetModelNo() question: tables ; } Details end1;] {cout ModelNo MegaPixel Zoom Display() void gets(Details);} {cin ModelNo MegaPixel Zoom; Enter() void public: ; ,; MegaPixel; float { 3 camera. the of details the display and search should function the and No Model the enter should user The below). defined (as CAMERA class of objects the containing "CAMERA.DAT" file binary a from camera a for search to C++ in function a Write (c) 2 file: in He/She of Count . be should function the of output The her this of parts relational (c) understand you do What long following the Consider char is She ground. the in playing is He 2 follows: as is content TXT" "STORY. file the If "STORY. 29-Dec-2004 Ken and (b) answer int S02 EMPLOYEE Table: (a) 5. long SGRADE DESIG NAME ECODE with S02 EXECUTIVE Ahmad Abdul 101 playing file SOl GM HEAD-IT Chancier Ravi 102 class a text CEO Ameen Nazar 105 John Sen Priyam 108 103 in 9 91 present TXT". dolls. CAMERA ModelNo; Zoom; Details[120]; ModelNo;} algebra? 2 24-Feb-1983 words' "She" or "He" of no. the count to C++ in function a Write (b) ~ c~ ~~ -~ --- ~ R F Q 6. (a) (b) Verify Write x+y.z=(x+Y). the following using Truth AND E, the EMPLOYEE all SALGRADE FROM EMPLOYEEs, EMPLOYEEs whose table, those of following S03. all or 12000 24000 EMPLOYEEs 18000 32000 EMPLOYEE; and DESIG of queries: the content of S.SGRADE FROM S02 details following: the EMPLOYEE FROM the and commands SQL 56000 FROM +HRA NAME, either is NAME display To the SQL '09-Feb-2006' SALGRADE whose for E.SGRADE= 'Harish with between in display SALARY row new is DOJ display following the 109, a add To To of of output the order SGRADE; COUNT(SGRADE),SGRADE SELECT (iii) BY GROUP (iv) (ii) MIN(DOB),MAX(DOJ) SELECT Give To WHERE SELECT (i) Write S SALGRADE (ii) (i) SGRADE,SALARY SELECT (iii) (b) SGRADE='S02'; WHERE (iv) (c) SOl 10 91 HRA SALARY SGRADE SALGRADE Table: . , "" ;c,,' in Circuit: p , . 8000 statements: descending DOJ. '08-Aug-2009'. Roy','HEAD-IT','S02','09-Sep-20b7','21-Apr-1983' E.ECODE<103; Table: (x+Z) the equivalent Boolean Expression for the following Logic -F W V 1 0 1 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 1 the following Reduce 0 0 (d) represented is which F, function Boolean a of form the Write (c) SOP as follows: U table 0 Boolean Expression F (A, B, C, D) =L using K-Map : 3 (c) is Out of WEB2.0 the 1 1 ? LAN from different it is How ? HTML. and WAN is XML what What (d) between networking, In Differentiate (b) 7. (a) (0,1,2,4,5,6,8,10) ? 1 following, identify client side script(s) and server side script(s). 1 JSP at 4 in shown university as The center network. a up schools li=~~~~~ 11 P.T.O. i f Academic r;::::~~~1 ~~~~~~J r(:::::{~~1 f its Technology School Business School - l, set administration 8 91 up to setting one and schools and is below: academic 3 diagram has the ! University Nagar Sudies Sunder Great planning (iv) (e) vbscript (iii) ASP javascript (ii) (i) , r , -- ~ in a truth ~""::~.II Center to center '~~~~-'";III.c_!! distances between various buildings is as Number of in each of the m m m m m m 60 . 25 Center Computers 45 40 115 90 ' School Center Admin to to Admin School Technology Center School School Business Admin Technology to School Business ' to : Technology .' School to to School School School Business' Law Law Law follows: Schools/Center is 25 School Law follows: 50 125 School Center Admin Technology Business School 35 (i) Suggest the most suitable place (i.e. Schools/Center) to install the server of this university with a suitable reason. (ii) Suggest an ideal layout for connecting these schools/center for a wired connectivity. (iii) Which device will you suggest to be placed/installed in each of these schools/center to efficiently connect all the (g) - Compare Source Software and in or the office from MAN km LAN, of 350 admission its answer. out than connect more your network is to of Justify' formed? type which planning these schools/center? city, is (f) 91 Open be will WAN Which big university closest The within university. the (iv) computers Proprietary Software. 1 What are cookies? 1 12 73,000

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Deepak Nair

(11)

Aryan Varshney

(6)

Abhijeet Gorai

(1)

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

Additional Info : CBSE Class XII Board Solved Question Paper 2011 Computer Science
Tags : CBSE Board 2015, Specimen Question Paper 2011 Computer Science, solved sample mock guess question paper, cbse class XII syllabus, cbse class 12 previous years model papers, cbse, cbse papers, cbse sample papers, cbse books, portal for cbse india, cbse question bank, central board of secondary education, cbse question papers with answers, prelims preliminary exams, pre board exam papers, cbse model test papers, solved board question papers of cbse last year, previous years solved question papers, free online cbse solved question paper, cbse syllabus, india cbse board sample questions papers, last 10 years cbse papers, cbse question papers 2017, cbse guess sample questions papers, cbse important questions, specimen / mock papers 2018.  

© 2010 - 2025 ResPaper. Terms of ServiceContact Us Advertise with us

 

cbse12 chat