Home | About Us | Contact Us| New Offers| Press Release| Y2 Join YSA?| Model Papers | Admissions| Results| Discussion Forum| Bio Dictionary

YSA Model Paper 

Subject: Computer Sciences                                                                        Class: X

Answer Key

Section – C
(Marks: 2 x 8 = 16)
Q. 3.    a.  Draw flow chart
            b.  10    INPUT A,B,C,
                  20    SUM= A+B+C
                  30    AVG=SUM/3
                  40    PRINT A,B,C,AVG
                  50    GOTO 10
                  60    END
Q.4.           10    INPUT T
                  20    IF T>=-30 AND T<=55 THEN GOTO 50
                  30    PRINT “INVALID”
                  40    GOTO 90
                  50    IF T<0 AND T>-30 THEN PRINT “VERY COOL”
                  60    IF T>0 AND T<10 THEN PRINT “COOL”
                  70    IF T>10 AND T<30 THEN PRINT “PLEASANT”
                  80    IF T>30 AND T<55 THEN PRINT “HOT”
                  90    END
Q. 5.   a.    There is no need of loop because problem doesn’t involve any repetition instruction.
           b.    10    CLS
                  20    DIM P$(15)
                  30    FOR T=1 TO 15
                  40    INPUT P$(T)
                  50    NEXT T
                  60    FOR I=1 TO 15
                  70    FOR J=2 TO 15
                  80    IF P$(I) > P$(J) THEN SWAP P$(I),P$(J)
                  90    NET J
                  100 NEXT I
                  110 FOR M=1 TO 15
                  120 PRINT P$(M)
                  130 NEXT M
                  140 END
            c.   Draw a flow chart.
 

Class 9th
 Model Papers
Class 9th
 Answer Keys
Class 10th 
Model Papers
Class 10th 
Answer  
Keys
Chemistry 
Section A 
Section B 
Section C
Chemistry 
Section A 
Section B 
Section C
Chemistry 
Section A 
Section B 
Section C
Chemistry 
Section A 
Section B 
Section C
Biology 
Section A 
Section B 
Section C
Biology 
Section A 
Section B 
Section C
Biology 
Section A 
Section B 
Section C
Biology 
Section A 
Section B 
Section C
Physics 
Section A 
Section B 
Section C
Physics 
Section A 
Section B 
Section C
Physics 
Section A 
Section B 
Section C
Physics 
Section A 
Section B 
Section C
Computer 
Section A 
Section B 
Section C
Computer 
Section A 
Section B 
Section C
Computer 
Section A 
Section B 
Section C
Computer 
Section A 
Section B 
Section C
Math 
Section A 
Section B 
Section C
Math 
Section A 
Section B 
Section C
Math 
Section A 
Section B 
Section C
Math 
Section A 
Section B 
Section C
 
Pak 
Studies
Section A 
Section B 
Section C