University of the Punjab
BA/BSc. Part I Computer Science Practical
Group 1 – Annual-2020 Solution
Download Original Papers From:
https://educationhub.pk/pu-ba-bsc-practical-papers-third-year/
Question No 01:
MS Word
Procedure:
1. I clicked on Start Button and point to the All Programs. All installed programs list appeared.
2. I pointed to the MS Office Folder and click on MS Word. MS Word Program opened.
3. I click on Office Button and take new Document.
4. I typed data on the document as given in question paper.
5. I selected first line “Weekly Performance Report” and Press CTRL + B to make it bold and CTRL+E to make it Center Align.
6. Iapplied Font size 16 from home ribbon.
7. I selected line “Start Date_____/____/___” and pressed CTRL+E to make it center align.
8. I inserted a table of 7 columns and 5 rows form insert ribbon.
9. I selected last line supervisor signature and press CTRL +B to make it bold and CTRL + R to make it right align.
10. I pressed Ctrl + S to save the sheet and give the file name “weekly performance Report”.
Question No 02:
Program:
Private Sub Command1_click()
Dim no As Integer=0 , count As Integer =0, sum As Integer=0
no =0
count =0
sum =0
While no <> -1
no = InputBox(“Enter a Number”)
If no < >-1 Then
sum =sum+1
count=count+1
End If
Wend
Print “Count = “& count
Print “Sum =“& sum
End Sub
Please Visit: www.risingeducation.com for more educational stuff.