KEMBAR78
HSSC Computer Science List of Practical and Questions | PDF | Matrix (Mathematics) | Computer Program
0% found this document useful (0 votes)
158 views2 pages

HSSC Computer Science List of Practical and Questions

The document outlines the practical examination requirements for Computer Science HSSC under the Federal Board of Intermediate and Secondary Education for 2024. It includes a list of practical tasks related to database creation, C++ programming, and a set of questions for viva voce. The document also provides contact information for an educational channel for further assistance.

Uploaded by

muhammadshabi463
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)
158 views2 pages

HSSC Computer Science List of Practical and Questions

The document outlines the practical examination requirements for Computer Science HSSC under the Federal Board of Intermediate and Secondary Education for 2024. It includes a list of practical tasks related to database creation, C++ programming, and a set of questions for viva voce. The document also provides contact information for an educational channel for further assistance.

Uploaded by

muhammadshabi463
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/ 2

Share By GBEduCareer.

it's Free Educational Resource Platform

FEDERAL BOARD OF INTERMEDIATE AND SECONDARY EDUCATION


H-8/4, ISLAMABAD
COMPUTER SCIENCE HSSC
(National Curriculum 2009)
PRACTICAL EXAMINATION 2024

S# List of Practicals
Recognition Recognize Internal or external components of system unit.
and Steps Steps of task related to computer system.
Database Create two tables with at least five fields having different data types, also specify
appropriate primary keys.
Create relationship between them Enter at least five records using forms
Design a query or report depending on specific criteria
C++ Program using: cin, cout, escape sequences, setw
Solving arithmetic problems to calculate interest, percentage, average, ratio, grades
etc.
Calculate area / volume / perimeter of some basic geometrical shapes
Comparing numbers
Solving quadratic equation
Finding out the GCD and LCM
Reading a number and find out whether it is prime or composite
Generating and summing simple series
Sorting a list of items (numeric / string)
Searching an item out of a list of items (numeric /string)
Finding addition and multiplication of matrices (Maximum 3 x 3)
Finding the transpose of a matrix (Maximum 3 x 3)
Reversing a given number / string
Generating random numbers for a dice using function
Finding out a specific day of a week for a given data using function
Sum two and/or three numbers of different data types
Display the address and the value of a variable using pointer
Create and display student object with data members as name, age, and class etc.
Create and read a data file

Questions to be asked in place of Practical notebook and viva voce. (Total Marks 10)
Write answers of any five (05) of the following questions on your answer sheet.

Q.NO Questions Marks


1. Convert the following while loop to a for loop such that the output (2)
remains same.
int i = 20;
while (i > 0)
{
cout << i << “\t”;
i = i - 2;
}

GBEduCareer Educational Channel Page 1 of 2


2. Rewrite the following using if-else statement: (2)
cout << ( ( marks >= 50 ) ? “Pass” : “Fail” ) ;
3. What does the following program segment display? (2)
int values [ ] = {3, 16, 22, 7, 36};
cout << values [2] << "\n";
cout << values [1]++ <<"\n";
4. What will be the output of following program segment? (2)
{
float x = 46, y;
float *Px;
Px = &x;
y = *Px
cout << "*Px = "<< *Px << endl;
cout << "y = "<< y << endl;
}
5. What will be the value of ‘y’ after executing the following code? (2)
int x = 5, y = 5;
(x > y) ? y++ : y - -;
cout<<"y = "<< y;
6. What is wrong with the following switch statement? (2)
switch (temp)
{
case temp < 0 : cout << "Temp is negative.\n";
break;
case temp = = 0: cout << "Temp is zero.\n";
break;
case temp > 0 : cout << "Temp is positive.\n";
break;
}
7. Correct the following code segment: (2)
void area (int length = 30, int width)
{
return length * width;
}

Note: The above questions will be asked from students as replacement of the marks of
Practical Notebook and Viva Voce. The rest of the conduct/format of practical
examination will continue as per practice in vogue.

To join our Educational Channel contact us on WhatsApp : 0342-2728783

Page 2 of 2

You might also like