You are on page 1of 8
Answer Sheet No. Sig. of Invigilator. COMPUTER SCIENCE SSC-II SECTION —A (Marks 12) Time allowed: 20 Minutes Section-A Is compulsory. All parts of this section are to be answered on the question paper itself. NOTE: it should be completed in the first 20 minutes and handed over to the Centre Superintendent. Deletingioverwriting is not allowed. Do not use lead pencil. Q.1 Circle the correct option i.e. A/B/C D. Each part carries one mark. 0 In‘C’ a variable name CANNOT start with A Anumber B. —_Underscore C. Small alphabet D. Capital alphabet (Which of the following functions all C-programs MUST contain? A main() B. system) c.— scanfi) D. — getchet) (ii) What does @ small circle represent in a flowchart? A Startstop = B.——Ceciston. ©. Processing D. Connector (iv) Which of the following is the symbol for AND operator? A 4 BO 8 co 8h Darel (V)__ Which of the following is required to write a C program? A Compiler 8. Texteditor c. Debugger D. Interpreter (v)__ Which escape sequence is used to move cursor to the beginning of current line? A B oY a Dp (vi) Which of the following HTML tags does nat have a closing tag? A te Bo (vii) The case block ends with: A endselect B endcase «= C.—Sbreak D. case close (08 Which of the following Is also called counter loop? A dowhile B. while ctor D. continue (@) URL stand for: ‘A. United Resource Link B. United Resource Locator C. Uniform Reference Link D. Uniform Resource Locator (x) Kamaugh map is a pictorial form of: A. Logie circuit B. Boolean function ©. Truth table D. Logic gates i) A loop is @ loop with in another loop. A for B. while ©. dowhile D, nested For Examiner's use only: Total Marks: [22] Marks Obtain: eq 288 1811 Roll No. Answer Shest No. Sig, of Candidate Sig. of lnvigiator. Megs onal owl ost pay 12, AP) Je 20 3h wg bie iy tle nod hte y luli Apart LIL eh atgg peel eg Bibi ed we hinzn trie JL prerve k Vere! HI Fs Les be. __ttyprLptLvariblesec Underscore = Anumber 3H Capital alphabet ‘Small alphabet - SebegaAtC-programeltunctiontwittiow i) getche() = scanf) -& system{) =e main() 4h serhtiasrtd tfiowchart (ii) Connector =» Processing «= -~—=(ecision -Stattstop wh te: symbol LAND operatore-t, ww) los a8 a ow i Seb LELSwrtel C-program tiene — W) Texteditor Compiler -h Interpreter = Debugger -& te ple tl»7L current line £eursor CA escape sequence wi%i (wip piu wo Vow a oh stpifuP closing tag tHTML tag ettine — (vi)

} = (vii) Define URL and web hosting. (vil) Draw and name any three logic gates. = {id Write a program which prints a 2-digit number in reverse order. (@ Evaluate the following expressions: eS (@) 7#+4)>=50&&7#G-1) <50 10h 45+596243-7 (x) Describe any three rules for specttying a variable name in C language? es (ki) Create an HTML code that contains a graphical hyperlink. (xii) Determine the output of following C program: int n, Sum=0; 1<=10; n+=2) ‘sum=sum+n; printh*96d Wn) SECTION - ¢ (Marks 16 Note: Attempt any TWO questions. All questions carry equal marks. (2x8=16) 2.3. Simply the following expression by using kamaugh’s map. (6+3) m F = ABC + ABC + ABC + ABC fie also construct logic circuit for the simplified expression. @.4 Write a program to compute and print sum of the following series using for loop statement (62) xtatee tt a also write down its algorithm. (08) @.5 Explain any four types of websites in detail > 25a 1911 EY egeecadlomsl uate Sy GY 43 pr ai» oA £240 Qe bes pre ob wx 0) FL orm LBKeWlrerstoueLewy L pr wi pw om ed ed nC lei Sre el SES rgd Kb(Sheet Be LEU Or AP) pro (9x3=27) seat Bye LL (09) elite tle =f tard precedence of operators cic () wAbwerrorsatCodetioe inta, b= 1.2; for (o=1 :b printfown sea", bj; Jaton: = abs + dbe-+ abe -<-tinth table 2 CBociean expressioniiau” (i) Eairbldorutile siutite (iv) Ae LrZnuseutC-programingztuncitons utiaur —W) getche() & gets) & getchar) (a LAL switch statementigehiee oid mains Ser araie Brinn Ener the grade of «student tom AC if(grade=='A' || grade =='a') a I] rade=='c’) printf(\n Poor performance”); Printf('\n invalid Letter; getchd; -ZaAS Web hostingURL (vil) ~ettLwL utogie gates (vi) AB teutreverses72-digi linus & LH expressionsitine — T2344) >=50887=(3—1)<50 (a 104 «545%2*3-7 net flerenZILL-L AL pL vaio. wo Us HTML code Ute graphical hyperlink ti (xi) LM eieiGiyctine — tll) for (n=1; ne=10; n#=2) sum=sum+n; printf('%d tn) i } 164) ero (2x8=16) Curaaf Louse Edy » 5 La F = ABC + ABC + ABC + ABC-£ simplty/ expressionS ex Z AU karnaugh's map 4Uir (+5) Eki logic € simplified expressionssi= Tonk iP 8 bata” a Mort GLEE Seeger sumE cb ‘Br (2+6) wut Falgonitnm LL evig | (08) hertie GBS wersies ar. 28a 1811 — Answer Sheet Ni , c Sig, of Candidate, Sig. of Invigilator COMPUTER SCIENCE SSC-—II SECTION — A (Marks 12) (Old Syllabus) Time allowed: 20 Minutes NOTE: Section-A is compulsory. All parts of this section are to be answered on the quest itself It should be completed in the first 20 minutes and handed over to the Centre Superintendent. Deleting/overwriting is not allowed. Do not use lead pencil. Q.14 Circle the correct option i.e. A/B/C / D. Each part carries one mark. M ASA.B)= AB BA Cc A+B BD (i) Binary number (10111100101), is equal to, in Octal number system: A (2A5)y B (4725), C2745), D. (5274), (i) instructions are descriptive because programmer can inform computer about things such as types of data, A. Control B. Logical c HO D. Specification (iv) An OR operation has 4 variables. The possible number of combinations in the truth table are: A 32 B16 Cincuel D4 (V) When you press ENTER key the output of PRINT “37 C=" 37°9/5+32 is: A 3705986 «6B. «S7C=3084 C. | B7C=7ES (BE (vl) Te number of elements assigned automatically to a two dimensional array in BASIC are: A 10 B10 c 110 D121 (vi) The output of the following program is: 40 LET X=17 20 IF (X<3) OR (X>18) THEN PRINT "Yes", 30 PRINT *NO" 40 END A Yes B. No Cc. YesNo D. None of these (vil) In which flowchart symbol, the statement “ls AB and B>C" is placed if A, Rectangular B. —Parallelogram ©. Diamond D. Oval (bo) The color of code 2 belonging to Palette 1 is: A Cyan 8 White ©. Magenta D. Red (%) The statement to reserve memory locations for an Array M arranged in 12 columns and 20 rows may be A DIM(12,20) B. — DIMM(12,20) C.DIM(240)_D. DIMM (20, 12) (s) On execution of PRINT FIX (6.83) the output will be: A 6 Bo 6.83 co +4 D, (ail) Name the error type that exists in the formula X=P/Q where the value of A Logical B. Execution «C.—S Syntax D. Syntax and Execution For Examiner's use only: Total Mart Marks Obtained: 284 1811 Rall No. Answer Sheet No. Sig. of Candidate Sig. of Invigilator. Meco al onal petle Aya need ce tote iP Re SLdn et tL nl RLM tard HILL oe tbs pee Toe BNI ee AL 2 LOM SL pinernet Mere! HIF st Lees de AS (A.B), pees MB & A owe B SY ihe (10111100101), 454, (274), OM), ge Caveats (7245), we bfa jetseLusiData Typestizd viz =-o7 s (deserinive instructions) <4 Fm, : Specification - woo & Logics Control at _E-vxCombinsitonse“ £Truth TebleL o!-cpVariables 4 ZT ORL 7a a 6 + 32 wl Set LpoEnten 6 Print "97 C=" 37°9/5432 986 0+ S7CH7EG GY TC=IOSA ye STC=OBE upL-nelements 25:4 uteziTwo Dimensional’ BASIC mo m0 100 10 eit ipthadine 40 LET X=17 20 IF (X«3) OR (X>18) THEN PRINT "Yes", 30 PRINT "NO" 40 END Me twten YesNo | -& ae Up S€LpiSs ADB and B>C" us1L eta Flow Chart oval =» —sCDiamond == Parallelogram x Rectangular, ~## ec Ew 2 tPalette 1 Red a Magenta - White = Cyan oil leew EL LL WAP Axe 120 Rows iA 2tU7MeZ! DIM M (20, 42) fa DIM (240) -@ DIMM (12, 20) DIM(12, 20) -h $62 ot Execution ¥ PRINT FIX (6.83) “7 “ 6 683 6 oh re ORO Ne XEPIQI Maus Eth Ertor Type <-O=0U i; Syntax and Execution = syntex -& Execution aay Logical 3 2A 18 @ i) wi w o w wit) iy 9 “ i), «xi Time allowed: 2:40 Hours COMPUTER SCIENCE SSC-II 4 o (Old Syllabus) Total Marks Sections B and C: 43 NOTE: Answer any nine parts from Section ‘B’ and any two questions from Section ‘G’ on the separately provided answer book. Use supplementary answer sheet ie. Sheet-B if required. Write your answers neatly and legibly. az Note: as SECTION ~ B (Marks 27) ‘Answer any NINE parts, The answer to each part should not exceed 3 to 4 lines. (9x3=27) wo @ Differentiate between Data and Information, ‘Simplify the expression using Boolean Rules: (A+ B+C).(44+B'+C) (4 B+C)(44B'4C) (ii) Briefly explain Fixed and Floating Point Representation. Also show how binary data is stored in Floating Point Representation. (iv) Write down the algorithm to find the Area of a Triangle whose sides are a,b,°. (wy Differentiate between various Modes of Operations in GW-BASIC. (vi) Describe the Screen Modes in GW-BASIC. Explaining Rows and Column division in any two. (vil) Divide (11101010), by (101), (vii) Briefly describe the following commands: a RENUM cis «EDIT (®) Whatis the difference between Controlled and Counter Loop? 9) What is array? Differentiate between 1-Dimensional and 2-Dimensional Array. (x) Your table temp is in not in working order. Develop a flowchart for locating @ trouble in it. The trouble may be either in the Plug, or in the connecting Wire or Bulb itself may be fused. (xi) What is Sub-program? What is the purpose of GOSUB-RETURN statement? (xii) Write @ program that takes @ number from the user and prints its table. SECTION ~ C (Marks 16) ‘Attempt any TWO questions. All questions carry equal marks. (2x8= 16) Write a program for the Square and Cube of any number using INPUT statement. Print the number, its Square and Cube in Zones. (0a) Define, Truth Table. Draw a Truth Table for the Boolean expression: 4'B'C-+ A BC+AB’ (04) Write @ program that takes @ number from user and prints its Factorial (05) What is the purpose and syntax of PSET and DRAW statements? (1,541.5) Translate y=/16+ into DEF ENS statement. (02) Write @ program to Fill an array having five elements. (03) Define Algorithm. Write down the characteristics of a good Algorithm. (03) 284 181 We ox oslo Gaitle Sa (Old Syllabus) 43 pv alow oP Dre SE pro of A271 09 IL pw ao Uebel rerstoyelewy L py wh pw mo ed ~ Ay L Cinta tel SES gd A (sheet Beefy LS TAP) pr - [ere K spree PL (09)ie tolzicbsoue tlle a SAfAinformations\Data ——() ia (At B+ C)(A+ BC) (A+ B+C)(A4B'+C)_ pS inet nZ Ale vBoolean — Gi) £3571 L#Floating Point Representation sl cf Aeolss! 4S FloatingPoint 1»! Fixed Representation i) oe tert Gf (Algorithm) Sik eRe (vy #1 L£Modes of Operations LGWBASIC — () Faotnf Screen ModesutGW-BASIC (vi) 4000), £ @1101010), whe wid) ce wert Af Commandsitiza- — (vii) i EDT -& as ENUM -W3 teGiLECountersiControlled (ix) (9x3=27) -ufesibaa, ted LF E Genres 55 OAR zeldimensionatyi tite Ley! (x) eA he Plug fre, te aE GoSub-Retun ef Sub-Program (xi) as Aull yTable Kid A C642) pra = Flow Chart fle eT (a) fe Userethzs (xi) aa (2x8=16) Cute Ltr REV » A 5D 3 SCubes'SquareL rydne H*Cube siSquarev AAS 2 LL fLnL AN Input ag oth Air f (04) LS Print Zones | ~ (04) uf WTruth Table¥ Boolean ExpressionyfinuryiAzolinS Truth Table we ea A'BIC+A' BC+AB’ | (05) we nezPactorial Wud fe useret fo ah oe = (1.544.5) LAF Syntax DRAWSIPSET oe Hoe (02) Fo QDEF FNSS y=Vi6+x? ah ode j Bee (03) 2S Lveues telementss(Lamaye te fholi ae | (02) LAS (Algorithm) ABIL BE (Aigorithmypali a 288 1911

You might also like