0% found this document useful (0 votes)
57 views

Pratibha International School and Junior College

This document contains a certificate for a student's IT practical work project along with summaries of various Java programs and MySQL queries written by the student as part of the project. The student's name is Nishant Sanjay Pote from Class XII-A of Pratibha International School & Jr. College. The certificate rates the student's initiative, cooperation, presentation style, and accuracy on the project.

Uploaded by

Alpha Gaming
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 (0 votes)
57 views

Pratibha International School and Junior College

This document contains a certificate for a student's IT practical work project along with summaries of various Java programs and MySQL queries written by the student as part of the project. The student's name is Nishant Sanjay Pote from Class XII-A of Pratibha International School & Jr. College. The certificate rates the student's initiative, cooperation, presentation style, and accuracy on the project.

Uploaded by

Alpha Gaming
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/ 22

Pratibha International School and Junior College

Title of the Project- IT Practical Work

Name of the Student- Nishant Sanjay Pote

Class- XII-A
Certificate
Certified that this is the bonafide work
of___________________________________________ (Student’s Name)
of XII - of Pratibha International School & Jr.
College.
He/She has performed this project during the academic year 2021-22.
● The student’s initiative, cooperation and participation during the
practical classes were Excellent/ Good/Average/ Below Average.
● His/Her aesthetic presentation, visual appeal, expression and
neatness is Excellent/ Good/Average/ Below Average.
● His/Her content accuracy, creativity, originality and analysis of
different perceptions is Excellent/ Good/Average/ Below
Average.

_________________ __________________ ________________


Examiner’s Signature Principal’s Signature Teacher’s
Signature
Java Programs

Get the output Hello World using Java program


Create a Java Program to calculate percentage
Create a Java Program to check whether a number is positive or not
Using the if-else statement, this simple program asks the user to input a number and it will
display either Pass or Fail.
The passing score is 50 and above. If you input any number below 50, it displays Fail.
Using the weekday number, calculate the weekday name in Java
Calculate the square of a number using Java
Display numbers from 1 to 5 using DO While statement
Display a text five times
Calculate area of a triangle
Write a Java program to display a set of numbers using arrays
Write a Java program code that shows the use of an array to print the class report card for the
five students
Write a Java program to print the elements of an array in reverse order
Write a Java program to decide whether the given year is a leap year or not

Write a Java program for counting consonants and vowels in a string


MySQL Programs
1. Create the following table Countries.

Field Type Null Key Default


Country_ID Varchar(2) No Null
Country_Name Varchar(40) Yes Null
Region_ID Decimal(10,0 Yes Null
)

2. Create a SQL statement to insert a record value into the table countries.

Country_ID Country_Name Region_ID


C1 India 1001
C2 Italy 1002
C3 China 1003
C4 Brazil 1004
C5 Canada 1005
3. Execute the following MySQL statements

a) Write a SQL statement to insert a record with your own value into the table
countries against each column

b) Write a SQL statement to insert one row into the table countries against the column
country_id and country_name.

c) Write a SQL statement to insert NULL values against region_id column for a row
of countries table.

d) Write a SQL statement to insert 3 rows by a single insert statement.


4. Write a SQL statement to create a table named job_histry including columns employee_id,
start_date, end_date, job_id and department_id.

5. Create a SQL statement to insert a record value into the table countries.
Job_ID Job_Title Min_Salary Max_Salary
1001 Officer 20000 30000
1002 Manager 50000 70000
1003 Lead 30000 50000
1004 Manager 50000 70000
1005 Employee 15000 20000

6. Display the Job_Title and Max_Salary of the employee whose Job_Title is Manager.

7. Display the max salary between 30000 and 50000.


8. Write the SQL statement to change the Job Title of the employee to LEAD whose ID is 1005.

You might also like