Assignment 3
Assignment 3
1. Calculate 10*10.
2. Display system date.
3. Calculate the absolute value of -20.
4. Calculate 10^10.
5. Calculate square root of 25.
6. Round the value 23.565 to one places of decimal.
7. Display ‘TRIDENT’ in lowercase
8. Display ‘trident’ in uppercase.
9. Display the first letter of your name in uppercase.
10. Calculate the length of your name.
11. Write a query that would return a string like “ORA” , if the string inputted is ‘ORACLE’.
12. Find the character position of ‘C’ in the string ‘ORACLE’.
13. Delete the extra spaces from the strings ‘ ORACLE’ and ‘ORACLE ‘.
14. Write a query that would display **ORACLE, if the string inputted is ORACLE.
15. Same as question 14 but the output is ORACLE**.
16. Retrieve the last month specified in system date.
17. Retrieve number of months between 01-01-07 to 01-05-07.
18. Retrieve the date after 5 months of a specified date
19. Retrieve the next day of a specified date.
20. Round 56.23 using negative numbers(e.g.-1,-2, and-3)
21. Find out the remainder of the division 1600/300..
22. Find the maximum and minimum number from a list of numbers.