You are on page 1of 1

Ikon Computer Education & Training Institute

Sample Practical question paper developed for Computer Science 2022


Section: A Any 2 questions will be attempted. 10*2=20
1. Write a C program and input a number. Check if it is Krishnamurthy number or not. [e.g.
145=!1+!4+!5]
2. Write a C program and create a stack using array which can store the following integer data.
12, 23, 34, 56, 19, 48
Using proper push and pop operation perform it.
For pop operation only delete the top item.
3. Write a C program to create a Queue using array. Insert 4 characters into the Queue. And
delete 2 characters from the queue.
4. Write a C++ program and using scope resolution operator evaluate the area of an isosceles
triangle.
Use member functions:
Void input()
Void calculate()
Void display()

Section: B Any 2 questions will be attempted. 10*2=20


1. Develop the following Table in Html
A. Use a heading of the page as “Product details”
B. Set a background colour.
C. Set the table in the centre of the page.
Product Table
Items Price Quantity
Core i3 laptop 38000 12
2 Ton Split Ac 45000 18
Double Door Freeze 28000 10

2. Write down the syntaxes in Sql of the following table called “Student”.

Roll_no Name Class Fees J_date


1 S biswas VII 1400 3/4/2021
2 K ghosh VIII 1800 11/6/2021
3 D saha VII 1400 23/5/2021
4 A dutta VI 1200 17/3/2021
5 N paul VIII 1800 19/7/2021

1. Display those records that contain Class=VII


2. Insert a new record (M sinha, VI, 1200, 25/5/2021)
3. Add 10% with the Fees of Class VIII students.
4. Change the J_date of the Roll_no=3 by 9/6/2021
5. Delete the record number 5

3. Write down the Html codes of the following Bullets and numbers.
A. Hardware parts
• Keyboard
• Mouse
• Printer
B. Software parts
▪ Ms-office
▪ Tally
▪ CorelDRAW

You might also like