0% found this document useful (0 votes)
127 views25 pages

Practicals (2nd Year Computer Science)

The document outlines a series of practical assignments for Class 12 Computer Science students, detailing various tasks such as preparing formatted documents, flow charts, and worksheets. Each day includes specific practicals focusing on different aspects of computer science, including programming, data types, and document formatting. The assignments emphasize the application of software tools and programming concepts in a structured manner.

Uploaded by

dogarleopard
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
127 views25 pages

Practicals (2nd Year Computer Science)

The document outlines a series of practical assignments for Class 12 Computer Science students, detailing various tasks such as preparing formatted documents, flow charts, and worksheets. Each day includes specific practicals focusing on different aspects of computer science, including programming, data types, and document formatting. The assignments emphasize the application of software tools and programming concepts in a structured manner.

Uploaded by

dogarleopard
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Computer

Science
Practicals
ICS- Class 12

Prof. Arshad Mehmood Shah


HOD Computer Science (UGI)
Day 1

Practical 2: Prepare the following document in the same format:


Final Term Date Sheet
Day Class Subject Time

F.A.
1-June-24
Friday/

F.Sc.

B.A.
F.A.
2-July-24
Saturday/

F.Sc.

B.A.

F.A.
4-July-24
Monday/

F.Sc.

B.A.
Practical 3: Prepare the following document in the same format and save it against your
Roll NO.

“A program flow chart is a detailed graph that represents steps to be performed with in the
computer to produce the needed output”.
Some of flow chart symbols and their descriptions are as given below:
Symbols Description
Used to indicate some types of decision.
Used to indicate start and stop.
Used to indicate Input / Output.
Used to indicate processing
Day 2
Practical 1: Prepare the following document in the same format:
ARE YOU LOOKING FOR IT COURSES
We Offer
 Java certification Golden
 Computer application Opportunity
 Diploma in office management
 Diploma in computer science
Admission Open for Executive Program for the session 2025
Features

 Foreign Qualified Faculty


 Flexible Payment Option
 Consistent Academic Support

Practical 2: Prepare the following document in the same format:


An operating system is a collection of system programs that control and co-
ordinate the overall operation of a computer system. These programs also provide
interface between the user and the computer system. An operating system can be
thought of as the “core software” for a computer.
The on-screen work area on which application windows, icons, menus, and
dialog boxes appear is called desktop. It is called desktop because the surface of
screen looks like a desk with objects you might have on your own personal desk.
Perform the following operations with the text:
 Use spell check to correct the misspelled words.
 Use 'out-line' utility with 2nd paragraph.
 The second paragraph should have font 'Times New Roman'.
Practical 3: Prepare the following document in the same format.
FLOW CHART:
“A program flow chart is a detailed graph that represents steps to be performed with in the
computer to produce the needed output”
Benefits of a Flow Chart: Types of Flow Chart:
1. Quicker Grasp of Relationships
2. Effective Synthesis
3. Effective Synthesis 1. Micro Flow Chart
4. Communication
5. Proper Program Documentation 2. Macro Flow Chart
6. Efficient Coding
7. Orderly Debugging & Testing
Day 3
Practical 1: Prepare the following document in the same format:
Result Card
Mr./ Miss_____________________________________ Roll No:_____
Subject List

Chemistry
Pak.Study

Computer

Obtained

Position
English

Physics

Marks
Grade
Math
Urdu

Isl.
Picture

Total Marks (in words): _______________________ Sign__________

Practical 2: Prepare the following document in the same format:

Admission Open
We Facilitate
 A Career Path Golden
 Job Placement
GOLDEN OPPORTUNITY

Opportunit
 Qualified Faculty y
 Free Network Access
 Equipped Lab
 Free Books

Contact:
Department of Information Technology
Prof. Areeda Shah
 0300-1234567
Practical 3: Prepare the following document in the same format.
ENTRY TEST FORM
Name in (Capitalized)
Department:
Roll No: Class:
Student Card No:
Phone No: E-Mail
Postal Address

CERTIFICATIONS Salient Features:


 Word Processing (1) Experience Faculty
 Spreadsheets (2) Fully equipped Labs
 Databases (3) International Certification
 Power-Point (4) Individual attention
 E-Commerce (5) Free demo-tests
Day 4
Practical 1: Prepare the following document in the same format:
Details of College Fees
Roll No Description Amount Refund Non Refund
156 Tuition Fee 1000.00 √
578 Hostel Fee 2500.00 √
12 Tuition Fee 1000.00 √
Practical 2: Prepare the following document in the same format and save it against your
Roll No.
CALL FOR PAPERS
IEEE International Networking and Communications Conference (INCC) 2024
provides a form for academic and industry researchers working in the areas of
communications and networking to further the state of knowledge by sharing recent
research. It also provides an excellent opportunity to acquire skills in newer
technology areas through tutorials delivered by well-known researchers and experts
in that area. The technical program committee invites papers with original research
results in the following areas.
 Antenna Theory
 Communication Theory
 Mobile Computing
 Networking Systems and protocols
 Optical Communications and Networks
Practical 3: Prepare the following document in the same format.
DATA TYPES USED IN C-PROGRAMMING
Data Type Size in bytes Storage Range Remarks
16 bit
Integer -32768 to 32767 C reserved word
(2 bytes)
32 bits 1.1 × 10-38 to 3.4 The key float is in
Float
(4 bytes) ×10-38 lowercase.
64 bits 1 byte to 65535
Double C reserved word
(8 bytes) bytes
8 bit 1 bytes to 65535
Character C reserved word
(1 bytes) bytes
16 bit
Unsigned int 0 to 65535 C reserved word
(2 bytes)
Day 5
Practical 1: Prepare the following document in the same format.

Symbols & their description in MS Word

S.NO Symbol Description Shortcut Font-Name


Key
1. Right-Padd Marlette

2. ¾ Three/forth Alt+0190 Arial


fraction
3. ¥ Japanese yen Alt+0165 Arial
4. Allah (Normal text) Arabic
Presentation
Practical 2: Prepare the following document in the same format.
ANNUAL PERFORMANCE REPORT
Area Outstanding Above Satisfactory Below Average
Average
 Intellectual Ability
 Critical Thinking Ability
 Problem Solving Ability
 Ability or Promise as a
leader
 Quality of Oral Communication URDU ENGLISH PUNJABI
1. Excellent ×  ×
2. Good  × 
3. Average × × 
 Quality of Written
Communication
Practical 3: Prepare the following document in the same format.
Name of Scholar

Father’s Name
Name of University/ Institution

Name of HEC/PCST approved


Supervisor (Along with e-mail and
Phone No with area code)
Field of study (Engineering, IT,
Mathematics, Statistics, Biological
Science, Chemical Sciences, Vet.
Sciences, Physics, Agriculture, Earth
Sciences)
Day 6

Practical 1: Prepare a worksheet provided according to the following instructions:


Government Girls College
Salary Sheet of the Employee for the Month of July 2011
Sr Medical House Net
Name Designation Basic Pay
No. Allowance Rent Pay
1. Marian Iqbal Professor 30,000.00
2. Inam ul Haq A. Professor 15,000.00
3. Arshad Shah Professor 30,000.00
4. Nasir Qureshi Lecturer 7,500.00
5. Hafsa Nano Lecturer 7,500.00
6. Malik Ehsan Clerk 3750.00
Total
 Apply Formula to calculate
o Medical Allowance 37% of Basic Pay
o House Rent 9% of Basic Pay
 Add a column of income tax=5% of Basic Pay
 Net Pay = Basic Pay + House Rent + Medical Allowance – Income Tax

Practical 2: Create and save a worksheet on the following instructions:


 There will be SEVEN columns: “S.No”. NAME OF THE ITEM”,
“QUANTITY”, UNIT PREICE”, “TOTAL SALES PRICE”, “DISCOUNT”
and “PAYABLE”.
 Enter the sample data in columns 1,2,3 & 4 for at least five items.
 Use the formula to calculate “Total Sales Price” and “discount”, 27% of the
Total Sales Price for column 5 & 6.
 Apply formula to calculate “Payables” of the each item against the 7th column
by using the formula:
Payable = Total Sales Price – Discount
Practical 3: Create the worksheet provided according to the following instructions:
 Create the worksheet of same format into your new worksheet as shown
below.
 Enter Sample data and apply formula to calculate
Volume = Length * Height * Width
Surface area =2(Length * Height + Height* Width +Width*Length)
 Find Maximum Volume, Minimum Volume, Maximum Area and Minimum
Area.
Volume & Surface Area of a Cuboids
Sr No. Cuboids Length Height Width Volume Surface Area
1. A
2. B
3. C
Maximum Volume=
Minimum Volume=
Maximum Area=
Minimum Area
Day 7
Practical 1: Create a new workbook and prepare a worksheet of the same format as shown
below:
 Enter sample data in column 1, 2 and 3 for at least five consumers. Calculate the
Units consumed by the formula: Present Reading- Previous Reading.
001-100 Units @ Rs 2.00/- (per unit)
100-200 Units @ Rs 3.50/- (per unit)
200-and above Units @ Rs 4.50/- (per unit)
 Apply formula to calculate Electricity Charges according to the following
Electricity Rates.
 Use formula to compute “Surcharge” as 10% of Electricity Charges and Gen.Sales
Tax as 7% of Electricity Charges.
 Compute the “Due Amount” as:
Due amount=Electricity Charges + Surcharges + Gen.Sales Tax
Electricity Bill Statement of the Consumers
Consumer Previous Present Units Electricity Surcharges Gen.Sales Due
Number Reading Reading Consumed Charges @10 Tax @7% Amount
Practical 2: Create a new workbook and prepare a worksheet of the same format as shown
below:

Marks of Subjects Total Avg


Sr. No Name Grade
Marks Marks
Math Comp Stat

Perform the following operations on the worksheet:


 Enter sample data of three students.
 Apply formula to compute “Total Marks” in column 6.
 Apply formula to compute “Avg Marks” in column 7.
 Apply formula to find “Grade” in column 8 on the basis of Avg Marks.
o If average marks are greater than or equal to 80 then grade is A+
o If average marks are greater than or equal to 70 then grade is A
o If average marks are greater than or equal to 60 grade is B
o If average marks are greater than or equal to 50 grade is C
o If average marks are greater than or equal to 40 is D
o If average marks are greater than or equal to 33 is E
o If average marks are less than 33 then grade is F
Practical 3: Prepare and save the worksheet provided according to the following instructions.
 Enter sample data for at least ‘two’ students.
 Apply formula to compute Percentage of Total Marks.
 Value of “Eligibility” Column is = “Eligible” if Percentage >=60% else “Not
Eligible”
Matric Total
Roll Test
Name Marks Marks Percentage Eligibility
No Marks 50
850 900
1
2
Day 8
Practical 1: Create a new workbook and prepare a worksheet of the same format as shown
below:
Marks of Subjects
Roll No Name Total Marks
Math Comp Stat

Perform the following operations on the worksheet:


 Enter sample data of three students
 Apply formula to compute Total Marks in column 6

Practical 2: Create a new workbook and prepare a worksheet of the same format as shown
below:
Weather Report
Temperature

Rain (mm)
Name of

Max Min
City
Practical 3: Create a new workbook and prepare a worksheet of the same format as shown
below:
 Create a new worksheet based on the format given below.
 Apply the formula to calculate the class-wise vacancy status on the following
instructions.
o If total number of students in all THREE sections is greater or equal to 90,
show the message in 5th column as “No vacancy available”.
o If total numbers of students in all THREE sections are less than 90, show the
message in 5th column, as “Vacancies are available”.
o Calculate the available vacancies for the 6th column (if total numbers of
vacancies are 90).
 Apply CONDITIONAL FORMATTING utility to highlight more than 30
students in each class in yellow color.
Number of Students Class-wise Available
Section/Class
A B C Vacancy Status Vacancies

VI 30 30 30

VII 34 14 30

VIII 40 25 34

IX 18 23 20

X 30 29 30
Day 9
Practical 1: Enter rainfall data of different cities of the given months into cells of worksheet
as given below:
Cities June July August September
Karachi 40 25.0 42 65
Lahore 50 45.0 65 75
Murree 10 123.0 12 25
Islamabad 15 121.0 135 24
Perform the following operations:
 Draw a Column chart
 Show data of table
Practical 2: Create a new workbook and prepare a worksheet of the same format as shown
below:
HOURLY PRODUCTION PERFORMANCE OF NEXTCOLA DRINK
FACTORY
Plant/Capacity 1st 2nd 3rd 4th
Plant Status Difference
Per/hour Hour Hour Hour Hour
Plant 1 100 100 100 100 Plant is full 0
Plant 2 100 150 100 100 Plant is unable to fill -50
more bottles
Perform the following operations:
 Apply formula to check the production capability of each plant in different
hours on the following instructions. Each plant can fill 100 bottles per hour.
 If bottles are < target, “Plant Status” column show the message s “Bottles can
fill more”.
 If bottles are = to target, “Plant Status” column show the message as “Plant is
full”.
 If bottles are > target, “Plant Status” column show the message as “Plant is
unable to fill more bottles”.
Practical 3: Create a new workbook and prepare a worksheet of the same format as shown
below:
Query Performance Sheet of Computer Department
Roll Total
Dated ICS BCS MCS Performance
No Queries
587 7/7/11 15 10 12 37 Excellent

Perform the following operations:


 Enter sample data of three students.
 Apply formula to calculate the performance of computer department on the
basis of total queries asked for different courses by the students on the
following instructions:
o Greater than 30 % Queries Per Day = Excellent
o Greater than 20 % Queries Per Day= Very Good
o Greater than 10% Queries Per Day = Good
o Greater than 5% Queries Per Day = Satisfactory
o Less than 5% Queries Per Day = Unsatisfactory
Day 10
Practical 1: Create a new workbook and prepare a worksheet of the same format as shown
below:
Result Sheet of Examination
Roll No Student Name Eng Urdu Comp Total Remarks
587 Ali 55 65 70

Perform the following operations:


 Enter sample data of the three students.
 Assign marks to each candidate according to your criteria on the following
instructions:
o Each paper carries Maximum marks = 100
o Pass Marks = 50% of Total Marks
o Apply formula to indicate Pass or Fail in remarks column.

Practical 2: Create a new workbook and prepare a worksheet of the same format as shown
below:
Pakwatan Pvt Limited
Name Designation Salary Bonus Sale Commission Pay
Ali Supervisor 15,000 3000 1,50,000

Perform the following operations:


 Enter sample data of the three salesman.
 Apply formula to calculate Commission of each salesman of the following
Total Sale of each salesman.
o 50,000-1,00,000 = 5% commission of Total Sale
o 1,00,000-2,00,000 = 7% commission of Total Sale
o 2,00,000 and above = 10% commission of Total Sale
 Compute Net Pay by using the formula:
 Net Pay=Basic Salary + Bonus + Commission
Practical 3: Prepare the following worksheet and save it against your Roll No. perform as
directed:
Distance / Speed Chart
Total
Sr. Starting Ending Distance Speed
Distance time
No. time (T1) time (T2) Covered S=D/T
T=T2-T1
1. D1
2. D2
3. D3
4. D4
5. D5
Average Speed
 Enter sample data for at least five records.
 Sort the records according to column speed.
 Apply Conditional Formatting
a. Distance Covered < 100 is Blue
b. Distance Covered > 100 & < 200 is Green
c. Distance Covered above is Red
Day 11

1) Write a program to convert 20.5 centigrade temperature into Fahrenheit using the formula
F=9/5C+32 and print the temperature in Fahrenheit.
2) Write a program to get temperature in Fahrenheit and find temperature in Centigrade by
using the formula C=5/9(F-32).
3) Write a program to get the radius of a circle and calculate area & circumference of the
circle.
Formula for Area of circle = πR2
Formula for Circumference of circle = 2πR
Value of π is = 3.1417
4) Write a program to find the distance covered by a body in 20.5 seconds. The initial
velocity of body is 15.8 meter per second and acceleration is 10.2 m/sec2. The formula to
calculate distance is: S=vit + ½ at2.
Day 12
1) Write a program to get the values of three sides of a triangle and calculate its area using
the formula:
area = s(s–a)(s–b)(s–c) where s = (a+b+c)/2
2) Write a program to interchange values of two variables using assignment statement and
print the exchanged values on the screen.
3) Write a program to test whether a given integer is odd or even using simple ‘if’ structure.
4) A year is a leap year if it is divisible four, except that any year divisible by 100 is a leap
year only if it is divisible by 400. Write a program that inputs a year such as 1800, 1996
and 2010, and display “Leap year” if it is leap year, otherwise displays “Not a leap year”.
Day 13
1) Write a program to get three numbers and find out the largest number of three numbers
using nested if else statement.
2) Write a program to find whether a number is positive, negative or zero using ‘if-else-if’
structure.
3) Write a program that inputs temperature and displays a message according to the following
data:
Temperature Message
Greater than 35 Hot day
Between 25 and 35 (inclusive) Pleasant day
Less than 25 Cool day
4) Write a program to input average marks of a student and find out the grade based on the
average marks. Use the nested ‘if-else’ structure.
Day 14
1) Write a program to get a single digit and print the input value in words using switch
statement. For example, if digit 3 is entered then print “Three” and so on.
2) Write a program to perform simple arithmetic calculations by using switch statement.
3) Write a program to get three numbers and find out the smallest number of three numbers
using nested if else statement.
4) Write a program to input an integer value and print the digits of the value in reverse order.
For example, if input value is 1235, it should be printed as 5321.
5) Write a program to print odd numbers from 1 to 10 by using while loop structure.
Day 15
1) Write a program to print the multiplication table of a given number by using while loop
statement.
2) Write a program to calculate the factorial of an integer by using while loop statement.
(Hint: For example, the formula to find the factorial of number 4 is (4*3*2*1)
3) Write a program to generate following series by using do-while loop statement:
1,5,25,125,625
4) Write a program to print the even numbers in first 15 numbers in descending order by using
for loop statement.
5) Write a program to find the sum of the following series:
1+1/2+1/3+….+1/50
Day 16
1) Write a program to print the output as shown below by using while nested loop.
*
**
***
****
*****
2) Write a program to print the output as shown below by using for nested loop.
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
3) Write a program that inputs a number and displays the message “Prime number” if it is a
prime number, otherwise displays “Not a prime number”.
4) Write a program that displays the following pattern using nested loop.
* * * * *
* * * *
* * *
* *
*

You might also like