PBA Pre-Board
PBA Pre-Board
COLLEGE MUSHAF
ModelQuestionsPaperComputerScienceSSC-II Practical
Based Assessment (PBA) (2025)
TotalMarks:20 Time:45 minutes
Instructionsforstudents:
1. Fillalltheentriesincludingrollnumber.
2. Carefullyreadallthequestionsandthenanswerthemattheirspecified
spaces.
3. Useblackorblueball point.
4. Noadditionalmaterialorcalculatorisrequired.
5. Marksarementionedagainstallquestionsinthebrackets[].
6. Studentsmayusethelastpageforroughwork(ifrequired).
SectionA(12 marks)
QuestionNo. 1 [Marks:06]
i. Rearrange the lines in the correct order, such that the program should displaythe sum of even
numbersupto certain limit entered by a user. [2marks]
i. Input: [2 marks]
The program should prompt the user to enter marks (floating-point or integer values).
The program should determine the grade based on the given conditions:
o Marks between 80-100 → Grade A
o Marks between 70-80 → Grade B
o Marks between 60-70 → Grade C
o Marks between 40-60 → Grade D
o Marks less than 40 → Grade F
o Otherwise → Incorrect Percentage
ii. Writedown thetagtoaddthe image link in the page after the table. [1mark]