The following objects have been assigned to the students of XII Computer Science
Roll No. Object Roll No. Object Roll No. Object Roll No. Object
of Student
784931
Assigned
1
of Student
784971
Assigned
11
of Student
785011
Assigned
1
of Student
785051
Assigned
11
IMPORTANT NOTE
784932 2 784972 12 785012 2 785052 12 1. Details of Objects is just after
784933
784934
3
4
784973
784974
13
14
785013
785014
3
4
785053
785054
13
14
this page
784935 5 784975 15 785015 5 785055 15 2. These Objects may be different
784936
784937
6
7
784976
784977
1
2
785016
785017
6
7
785056
785057
1
2
from the ones in the practical
784938 8 784978 3 785018 8 785058 3 files
784939
784940
9
10
784979
784980
4
5
785019
785020
9
10
785059
785060
4
5
3. You have to prepare only for the
784941 11 784981 6 785021 11 785061 6 object assigned against your
784942 12 784982 7 785022 12 785062 7 roll number
784943 13 784983 8 785023 13 785063 8
784944 14 784984 9 785024 14 785064 9 4. You have to write these three
784945 15 784985 10 785025 15 785065 10 things in your answer copy of
784946 1 784986 11 785026 1 785066 11
784947 2 784987 12 785027 2 785067 12 practical exam
784948 3 784988 13 785028 3 785068 13 a) Source Code of object
784949 4 784989 14 785029 4 785069 14
784950 5 784990 15 785030 5 785070 15 b) Flowchart of object
784951 6 784991 1 785031 6 785071 1 c) Algorithm of object
784952 7 784992 2 785032 7 785072 2
784953 8 784993 3 785033 8 785073 3 5. Marks Distribution is attached
784954 9 784994 4 785034 9 785074 4 on the last page of this
784955 10 784995 5 785035 10 806434 5
784956 11 784996 6 785036 11 806440 6 document
784957 12 784997 7 785037 12 806441 7 6. If there is any confusion, then
784958 13 784998 8 785038 13 806442 8
784959 14 784999 9 785039 14 806443 9 students may ask the teacher
784960 15 785000 10 785040 15 806444 10 by texting through WhatsApp
784961 1 785001 11 785041 1 806446 11
784962 2 785002 12 785042 2 806448 12 before the date of practical
784963 3 785003 13 785043 3 806451 13 7. All students are directed to
784964 4 785004 14 785044 4 14
forward this to all other
806452
784965 5 785005 15 785045 5
784966 6 785006 1 785046 6 students of this college who
784967 7 785007 2 785047 7
784968 8 785008 3 785048 8 may have left the groups
784969 9 785009 4 785049 9
784970 10 785010 5 785050 10
BOARD OF INTERMEDIATE EDUCATION KARACHI
H.S.C. PART II COMPUTER SCIENCE PRACTICAL
EXAMINATION 2025
Option I (C Language)
1: Write a program that input a year and then check whether it is leap year or not.
2: Write a program that read marks of five subject ,calculate the total marks ,
percentage and state whether candidate is pass or fail.
3: Write a program to generate the table of an inputted number.
4: Find the factorial of an inputted number.
5: Write a program that finds out the greatest number among three input numbers.
6: Write a program which uses arithmetic operators to calculate the area of triangle
and volume of sphere .
7: Write a program to draw a check-board using if-else statement and nested for loops
8: Write a program that generate characters corresponding to ASCII codes from
32 to 127 (using any loop).
9: Write a program that reads your name and prints that name 10 times.
10: Write a program that takes input a number and then check it is prime or not.
11: Write a program which print a text of four lines consisting of characters, integer
and floating point values using printf() statement and escape sequence.
12: Write a program which uses Switch and break statements.
13: Write a program using nested for loop to print the following output .
*
**
***
****
*****
14: Write a program that input any two number and then pass these numbers as
arguments a function sum1 and then print their sum.
15: Write a program to calculate a pay roll of employees. Read the basic pay from key
board. Calculate medical allowance as 15% of basic pay, conveyance allowance
as 20% and house rent 45% of basic pay and deduction of GP fund 7% of pay.
Calculate gross pay and net pay.