You are on page 1of 8

T

(427) java collections - YouTube


OBhttps:/7ti.neocoderiotest?id- ad969262-9036-43bd-be2a-d5921b5439ecf52122e-101d-4d85-a366-a0fa8322e089
Designing Instagram in Linkedln
GetingStated EamedBodges-Credly CourseU2018SXL.CC. MInbox(16,095)-netric WhotsApp TsOcCACodingQues CareerBoost:GetLa.
Oracle Procedures
Submit Teat 59:32

Test will be auto submitted in 120 minutes from the test start time

Hands on E..

Add File
Q-1 Report Error oracle.sq
DECLARE
VAR INTEGER = 6
Muti File Programming Question
TEMP INTEGER= 6;
RESULT INTEGER 1;
Factorial of a Number BEGIN
WHILE VAR>
LOOP
Create a function to find the factorial of 6 using PLSQL commands *
RESULT: = RESULT VAR;
VAR := VAR-1;
Sample testcases 10 END LOOP
11 DBMS OUTPUT.PUT_LINE('Factorial |I TEMP || is '|| RESULT);
Input 1 Output 1 12 END

Factorial 6 is 720
13

PL/SQL procedure successfully compl

Next
Note
The program will not be evaluated if "ubmit Code" is not done atleast once 22:51
31°CClear a@a 4 ) ENG 29-04-2022
Type here to search O
(4) ava collex tions Youlute*

O8 https:/ti.neocoder.io/testtid ad969262-9036-43bd-bc2a-d51921b5439edts2122e-f01d-4d85-a366-a0faß322e089
Getting Stated amet Badges CredlyCourse JU2018,SKL.CC.. M Inbox (16,093) netric. WhatsApp T csDCACoding Ques.. G CareerBoost: Great Le. DesigningInstagram in Linkedin

Dracle Procedures submitTet 59:10


Test will be auto submitted in 120 minutes from the test start time

Hands on E 5

Default PWD: rootuser


IJQ-2 RRRort Eror

Muti File Programming Question Fill your code here Oracledb Standalone

Temprature Conversion oracle.sq Add File


CREATE OR REPLACE FUNCTION C_to_F(num IN NUMBER)
Write a query to convert centigrade temperatures to Fahrenheit. RETURN NUMBER
IS
4 BEGIN
Sample testcases RETURN num*1.8 +
5 32
6 END
Input 1 Output 1
8 SELECT C_TO_F(45) FROM DUAL
Function (TO_F Compiled

TO_F(45)

113
Back Next

1 row selected.

22:51
lype here to seaich O 31°C Clear d ) ENG 29-04-2022
(427)javacollections- YouTubeX
O 8 https://ti.neocoder.io/test?id=ad969262-9036-43bd-bc2a-d51921b5439ecf52122e-f01d-4d85-a366-a0fa8322e089
Earned Badges Credly Course JU2018SKLCC.. MInbox (16,093)- netric.. WhatsApp T TCS DCACoding Ques... G CareerBoost: Great Le.. Designing Instagram in Linkedln
Getting Started
Oracle Procedures Submit Test S

Test will be auto submitted in 120 minutes from the test start time

Hands on E
Default PWD: rootuser
-3 Report Error
Oracledb Standalone
Multi File Programming Question Fill yourcode here

Square ofa Number oracle.sql Add


1 DECLARE
Create a PROCEDURE to find the square of a number (23) using PLsQL 2 NUM INTEGER= 23;
RESULT INTEGER = ®;
commands BEGIN
RESULT := NUM#NUM;

DBMSOUTPUT.PUT_LINE('Square of
"

Sample testcases (23): I| RESULT);


END
input 1 Output 1

Square of (23): 529

PL/SQL procedure successfully compl

Back Next

Note
22:51
Type here to search O 31°C Clear 9 ) ENG 29-04-202
(2)javacollections YouTubeX LTI

O B https://ti.neocoder.io/test?id=ad969262-9036-43bd-bc2a-d5f921b5439ecf52122e-f01d-4d85-a366-a0fa8322e089
Getting StartedEamedBadges-CredlyCourse JU2018 SKLC. M Inbox (16,093)- netric.. WhatsApp T TCS DCA Coding Ques.. G CareerBoost: Great Le...Designing Instagram in Linkedin

Oracle Procedures ubenit Te

Test will be auto submitted in 120 minutes from the test start time

Hands on E..

Write a PLSsQL query to print the 3 multiplication table in the reverse oracle.sql
order
CREATE OR REPLACE FUNCTION MUL (num IN
Refer Sample Output 2 RETURN NUMBER NUMBER)
3 IS
Sample testcases 4 i NUMBER(10) ;
5 BEGIN
Input 1 6 FOR i IN
Output 1 REVERSE 1..num
LOOP

Function MUL compiled 9


DBMSOUTPUT. PUT_LINE (i||'
END LOOP;
x 3
= ||i*3);
10 RETURN 1
11 END
12
MUL(10)
13 SELECT MUL(10) FROM
DUAL
1 row selected.

10 x 3 30
9 x 3 27
8 x 3 24
Back
Type here to search Next
O
31°C Clear
4 ) ENG
ds on E

oracle.sql

TABLE TUTOR
TUTOR(CODE INTEGER, SUBJECT VARCHAR(B8),TEACHER VARCHAR(8),REVTEWS VARCHAR(B6));
CREATE

INSERT INTO
VALUES (1, 'Automation',
'Mukul', 'fivestars');
INSERT INTO TUTOR VALUES
(4, 'PLSQL', 'Anand",
'four stars
');
4 INSERT INTO TUTOR VALUES(2, 'Performance', 'Arvind', 'four stars ' ) ;

DECLARE
num NUMBER;
8 BEGIN
UPDATE TUTOR
10 SET TEACHER = 'Zen' WHERE CODE=1;
11 num:=sq1%rowcount;
12
DBMSOUTPUT.PUT_LINE(num || teàcher name updated );
13 END;
14
15 SELECT * FROM TUTOR;

Back
Test will be auto s u

ads o

Report Error
-5
Multi File Programming Question

Add and Update Teacher Name -Procedure

Create a table called Tutor with the below-mentioned column names andralso insert the
following values to the tutor table.

CODE SUBJECT TEACHER REVIEWS


1 Automation Mukul five stars
A PLSQL Anand four stars
2
Performance Arvind fourstars
isELMelaririhigt

Type here to search


Oracle Procedures WhatsApP

Test will be auto


submitted in 120

Hands on
2 Performance Arvind four stars
Then use the implicit cursor and change the teacher
name of code 1 to Zen.
Finally, display the output using select
query
Sample testcaseS ,
Outputw
Input 1 wwwwa www A
1 Wwww ww.w wWw A
7

WAWwwI wwMAwwww wwwWMMM


Ww .

wwwww
w. WW W

Table TUTOR Created. A


A

rT"Lt2
, 11

1 now inserted.

rowinserted

Type here to search


burse JU2018 SKLCC..
MInbox (16,093)- netric..
Oracle Procedures WhatsApp

Test will be auto submitted in 120

ands on

1 row inserted.

1 row inserted.

1 teacher name
updated

PL/SOL procedure successfully completed.

CODE SUBJECTTEACHER REVIE

1 Automation Zen five stars


4 PLSQL Anand four stars

2 Performance Arvind four stars

3 rowS Selected.

Note
Type here to search o

You might also like