University of the Punjab
BA/BSc. Part I Computer Science Practical
Group 2 – Annual-2019 Solution
Download Original Papers From:
https://educationhub.pk/pu-ba-bsc-practical-papers-third-year/
Question No 01:
MS Excel
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 Excel. MS Excel Program opened.
3. I click on Office Button and take new Sheet.
4. Entered data into sheet as given in the question.
5. I Selected Header Row and apply shade from home ribbon.
6. I wrote a formula to calculate Monthly Salary
Formula: = B2*C2
I dragged this formula from row 2 to row 6 to apply formula on all rows.
7. I selected Cell A7 , B7 ,C7 and clicked on Merge and Center. I wrote “Total” in new cell and make it Right Aligned by pressing “CTRL + R”.
8. I wrote a formula to calculate total in Cell D7
Formula: =SUM(D2:D6)
9. I pressed Ctrl + S to save the sheet and give the file name “Monthly Salary Sheet”.
Question No 02:
Program:
Private Sub Command1_click()
Dim no As Integer, Largest As Integer, Smallest As Integer , Sum As Integer
no = InputBox(“Enter a number”,”Input” , 0)
Largest = no;
Smallest = no;
Sum = 0
While no < > 0
Sum = Sum + no
If no > Largest Then
Largest = no
End If
If no < Smallest Then
Smallest = no
End If
no = InputBox(“Enter a number”,”Input” , 0)
Wend
Print “Sum of All Values = ”& Sum
Print “Largest Value = “&Largest
Print “Smallest Value = “ &Smallest
End Sub
Please Visit: www.risingeducation.com for more educational stuff.
CHM-422 Basic Physical Chemistry BS Botany GCUF Past Papers
Past Papers Other Subjects BS Botany GCUF Semester 04 CHM-421
CHM-421 Basic Analytical Chemistry BS Botany GCUF Past Papers
Past Papers Other Subjects BS Botany GCUF Semester 03 CHM-421

Urdu 10th Class Lahore Board Past Paper Annual 2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This

Urdu 10th Class Lahore Board Past Paper Annual 2023 Group-2
Objective Type Paper Subjective Type Paper More Papers of This

Lahore Board Urdu 9th Class Past Paper Annual-2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This

Lahore Board Urdu 9th Class Past Paper Annual-2023 Group-2
Objective Type Paper Subjective Type Paper More Papers of This

Physics 10th Class Lahore Board Past Paper Annual 2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This

Physics 10th Class Lahore Board Past Paper Annual 2023 Group-2
Objective Type Paper Subjective Type Paper More Papers of This

Physics 9th Class Lahore Board Past Paper Annual-2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This

Physics 9th Class Lahore Board Past Paper Annual-2023 Group-2
Objective Type Paper Subjective Type Paper More Papers of This

Pakistan Studies 10th Class Lahore Board Past Paper Annual 2023 Group -1
Objective Type Paper Subjective Type Paper More Papers of This

Lahore Board 9th Class Pakistan Studies Past Paper Annual-2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This

Lahore Board 9th Class Pakistan Studies Past Paper Annual-2023 Group-2
Objective Type Paper Subjective Type Paper More Papers of This

Mathematics (Science) 10th Class Lahore Board Past Paper Annual 2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This

Mathematics (Science) 10th Class Lahore Board Past Paper Annual 2023 Group-2
Objective Type Paper Subjective Type Paper More Papers of This

Lahore Board 9th Class Mathematics Past Paper Annual 2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This

Lahore Board 9th Class Mathematics Past Paper Annual 2023 Group-2
Objective Type Paper Subjective Type Paper More Papers of This

Islamic Studies 10th Class Lahore Board Past Paper Annual 2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This

Islamic Studies 10th Class Lahore Board Past Paper Annual 2023 Group-2
Objective Type Paper Subjective Type Paper More Papers of This

Lahore Board 9th Class Islamiat Past Paper Annual-2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This

Lahore Board 9th Class Islamiat Past Paper Annual-2023 Group-2
Objective Type Paper Subjective Type Paper More Papers of This

Pakistan Studies 10th Class Lahore Board Past Paper Annual 2023 Group -2
Objective Type Paper Subjective Type Paper More Papers of This

English 10th Class Lahore Board Past Paper Annual 2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This

English 10th Class Lahore Board Past Paper Annual 2023 Group-2
Objective Type Paper Subjective Type Paper More Papers of This

Lahore Board English 9th Class Past Paper Annual 2023 Group-1
Objective Type Paper Subjective Type Paper More Papers of This