0% found this document useful (1 vote)
8K views

Practical Question Paper For Class 12th

The document provides programming questions and SQL statements to practice for the Class XII Information Technology subject exam. It includes writing a Java program to calculate the area of a square and handle exceptions. It also has SQL questions to add rows, order results, filter data, and add a column to a table called "Menu" with sample data. The tasks require writing code snippets of 3 lines or less each.

Uploaded by

Vinika Ahuja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
8K views

Practical Question Paper For Class 12th

The document provides programming questions and SQL statements to practice for the Class XII Information Technology subject exam. It includes writing a Java program to calculate the area of a square and handle exceptions. It also has SQL questions to add rows, order results, filter data, and add a column to a table called "Menu" with sample data. The tasks require writing code snippets of 3 lines or less each.

Uploaded by

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

CBSE | DEPARTMENT OF SKILL EDUCATION

INFORMATION TECHNOLOGY (SUBJECT CODE-802)

Class XII (Session 2020-2021)

I. Write the following programs:- (2*3=6)


1. Write a program in Java to display Area of a square.
2. How are exceptions handled in Java? Explain with the help of a suitable example.

II. Consider the following table and wrtite SQL statements (4*1=4)

Table Menu

ID Item Description Price


P001 Sambar Vada South Indian 150
P002 Dal Maakhani North Indian 140

i. To add a new row with the following data “P003”, “Lemon Rice”, “South Indian”, 140

ii. Display details of all Menu items in the descending order of Price

iii. Display Item and Description of those Items whose price is between 100 and 150

iv. Add a new column Rating data type as int to the table Menu

You might also like