HSLC Computer Science Practical Question Paper

HSLC Computer Science Practical Question Paper 2024

Practical Paper 1

1. Type HTML5 code for any one of the following:

a) Create two linked web pages. The first web page should have an image of an object of your choice that must be linked to another page. The second document should have information on the project ‘object by your choice’.

b) Using the concept of tables, create a web page displaying your class timetable.

2. Type C program code for any one of the following:

a) A C program to extract the individual digits from a given integer.

Ans: 

b) A C program to find the summation of digits of a given integer.

Ans:

3. Type MySQL query for the following:

a) Create a table ‘sales’ in a database with your first name with the following fields:

Column NameData typeSizeConstraints
SalesmanNoCHAR4Primary key
SalesmanNameVAR CHAR15Not null
Date of JoiningDATE
SalesZoneCHAR5
SalesAmountINTNot null

Ans: 

b) Insert data into the table as follows:

Salesman NoSalesmanNameDate of JoiningSalesZoneSalesAmount
S001Rahul Sharma2011-01-01EAST4,00,000
S002Aryan Barua2016-05-02NORTH2,80,000
S003Pallab Goswami2014-03-01SOUTH3,50,000
S004Jatin Deka2018-02-28NORTH2,00,000
S005Soumya Nath2017-06-05EAST2,50,000
S006Sourav Sharma2015-07-04WEST3,00,000

Ans: 

c) Type a query for the following (any three):

(i) Display SalesmanNo and SalesmanName of each record.

Ans:

(ii) Display SalesmanNo and SalesmanName of East Zone.

Ans:

(iii) Display the records having SalesAmount in the range 2,00,000 to 3,50,000.

Ans:

(iv) Display the maximum and minimum SalesAmount

Ans:

4. Viva voce.

1 thought on “HSLC Computer Science Practical Question Paper”

Leave a Comment