SSC-II Final Model Paper Computer Science
SSC-II Final Model Paper Computer Science
(2) Which one of the following symbols is used in flow chart for the
statement “Marks<33”?
A. B.
C. D.
(3) Which one of the following functions is used to read string “Computer
Science”?
A. scanf( ) B. gets( )
C. getchar( ) D. getch( )
(5) Which escape sequence can be used to insert a Tab in “C” Language?
A. \a B. \b
C. \t D. \n
(6) Which one of the following is the most suitable for making two ways decision?
A. if statement B. if-else statement
C. switch statement D. Nested-if statement
(7) How many times “FBISE” will be displayed by the following code? for
(int i=1; i<10; i=+2) printf (“FBISE”);
A. 1 B. 5
C. Infinite D. The loop will not run.
(10) When the input to an inverter is LOW(0) the output will be:
A. HIGH or 0 B. LOW or 0
C. HIGH or 1 D. LOW or 1
(12) Which one of the following is correct HTML statements to divide browser
window into 3 columns?
A. <fram col = 30%, 30%, 40%>
B. <framset col = 30%, 30%, 40%>
C. <framset col 30%, 30%, 40%>
D. <fram row = 30%, 30%, 40%>
iii. Write down the ONE important purpose each of Conditional Statements and Repetition
Statements.
OR
State two differences between while and do-while loops.
v. Evaluate each of the following expression assuming, a=2, z=1.3, c=1 and d=3:
a. b = d/a + d % a; b. x = (a + c)/(z + 0.3);
OR
Use appropriate text formatting tags for the followings with one example.
a. font size b. font face
vi. Rewrite the code using Conditional Operator.
if (marks > 40)
printf(“PASS”);
else
printf(“FAIL”);
OR
Write a C program to print sum of odd numbers from 1 to 100.
Note: Attempt all questions. Marks of each question are given within brackets. (4x5=20)
Q.5. Rewrite the following code after removing the errors: (5)
# include < std.h>
# include < conio.h>
void main ( );
{ int p, s;
printf(“\n Enter a number:);
scanf(“%d”, p);
s=p%2;
if(s=0) printf(“even number%d”, p)
else printf(“odd number%d”, p);
getch( ); }
COMPUTER SCIENCE SSC-II
(Curriculum 2009)
Student Learning Outcomes
**Cognitive Level
K: Knowledge
U: Understanding
A: Application
COMPUTER SCIENCE SSC-II
Table of Specifications
Unit 1: Unit 2: Unit 3: Unit 4: Unit 5: Unit 6: Unit Total
7:
Programmi Loop Structure World
ng Program Input / Control 15% Computer Wide Web and marks
Technique s ming in Marks (55 %
Assessment Objectives Output Structure Logic HTML(Major
10% C partcover in Covered
Handling and Gates Theory
Practical) + 25
10%
15% 15% 15% 20% Practical) 100%
Section - A 1(5)(01) 1(6)(01) 1(10)(01) 03
Knowledge (K) Section - B 2(i)(02) (iii)(02) (iii)(02) 2(vii)(02) OR
16 34 35%
based OR 2(i) 2(vii)(02)
(02)
2(iv)(02)
OR 2(iv)
(02)
Section - C 6-(05) OR 5-(05) 15
6-(05)
Section - A 1(2)(01) 1(1)(01) 1(8)(01) 1(9)(01) 1(11)(01)
Understanding (U) 1(3)(01) 1(12)(01) 09
based 1(4)(01) 1(13)(01)
2(ii)(02) 2(viii)(02) 2(v)(02) 2(vi)(02) 2(viii)(02)
Section - B OR 2(xi)(02) 2(x)(02) 2(xi)(02) 2(v)(02) 20 45%
2(ii)(02) 44
Section - C 3-(05) 4-(05) 4-(05) 15
Section - A 1(7)(01) 01
Application (A) Section - B 2(vi)(02) 2(vi)(02)
based 2(ix)(02) 08 19 20%
OR 2(ix)(02)
Section - C 5-(05) 3-(05) 10
Total marks 14 14 10 15 19 11 14 97 100 %
* Unit 7: Major content will examine in Practical paper. 10% covered in Theory paper and remaining will cover in Practical paper.
Hence weightage distributed to other units.
KEY: 1(1)(01)
Question No (Part No.) (Allocated Marks)