0% found this document useful (0 votes)
6 views1 page

PLSQL Lab1

The document outlines a series of PL/SQL lab assignments that include tasks such as finding the greatest of three numbers, checking if a number is odd or even, determining grades based on marks, and generating a multiplication table. Additional assignments involve calculating factorials, generating Fibonacci series, reversing a number, performing basic arithmetic operations, and displaying a welcome message based on the time of day. Each task emphasizes the use of different programming constructs like loops and conditional statements.

Uploaded by

ssbakshi2050
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)
6 views1 page

PLSQL Lab1

The document outlines a series of PL/SQL lab assignments that include tasks such as finding the greatest of three numbers, checking if a number is odd or even, determining grades based on marks, and generating a multiplication table. Additional assignments involve calculating factorials, generating Fibonacci series, reversing a number, performing basic arithmetic operations, and displaying a welcome message based on the time of day. Each task emphasizes the use of different programming constructs like loops and conditional statements.

Uploaded by

ssbakshi2050
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/ 1

PLSQL (LAB Assignments-1)

1) WAP to find the greatest of three numbers.


2) WAP to check whether number is odd or even.
3) WAP to find the grade. Consider the following:
Marks > 80 A grade
Marks >70 B grade
Marks >50 C grade
Marks > 40 D grade
Marks < 40 E grade
4) WAP to print the table of a given number.(use for loop)
5) WAP to find out the factorial of a given number.(use while loop)
6) WAP to find out the Fibonacci series.
7) WAP to find the reverse of a number
8) Write PL/SQL block that performs addition (+), subtraction (-), multiplication (*) and
division (/) of two numbers as choice by the user.
9) Write PL/SQL block to print 5, 10, 15,20 by using For Loop.
10) Write Pl/SQL block to display welcome message like good morning, good afternoon, good
night depending on system time.

You might also like