Please develop PL/SQL program that asks for a radius of a circle. After user enters a radius number, the program then calculates 1. Circumference and 2. Area of a circle, then prints both as follows: You entered radius as 5 The circumference is 31.4159 The area is 78.5398 If the area is less than 50 then print 'Please enter bigger radius'. Otherwise print 'Your radius is Ok! Declare variables for circumference and area in such a way that the result would be rounded to 4 decimal places after the dot
Q: IP Address is 69.67.214.64/26 Subnet Mask: Maximum usable hosts: Network Address:…
A: IP Address given is 192.168.3.0/25 For creating 7 subnets, we here need to borrow at least 3 bits…
Q: Suppose hosts A and B are connected by a link. Host A continuously transmits the current time from a…
A: Answer:
Q: *Data Structures and Algorithm Professor Holmes came up with the idea of a sorting algorithm that…
A: Trinary Sort has the below features:- Claimed to be asymptotically faster than merge sort. Splits…
Q: According to InTech Magazine, the latest Apple iPod is able to play digital music but it comes with…
A: 1. Governmental or natural resources are used to produce public goods at no expense to the consumer.…
Q: Write a similar program to compare two vectors. we should make 6 test : same length the first is…
A: Here below i am writing c++ program to compare two vectors:…
Q: Convert the following epsilon NFAs to NFAs with complete transition table 1. 2. E 1 b 1 a E 0,1
A: The question is regarding converting the epsilon NFA to NFA. We will use the transition table and…
Q: Take a look at these member, booking, make tables. Table 1: Member Last Name Gender Age Female 25…
A: SQL (Structured Query Language) is a language of database used to retrieve, store, create and update…
Q: A program to converts a binary value between 0 and 9 in R4 into its ASCII representation is to be…
A: Input: str = “0110000101100010”Output: abExplanation:Str is divided into 8 bits as follows: 01100001…
Q: Q1: Use Switch structure in MATLAB to convert the temperature in Celsius to Fahrenheit and vice…
A: Converting Celcius to Fahrenheit and vice versa using Switch val = input('Type 1 for Celcius to…
Q: Which of the following are incorrect statements to create a Lock? O a Lock lock = new…
A: Introduction: The Lock is a Java Interface that is used for represents the concurrent lock which…
Q: A micro instruction format has micro operation field which is divided into 2 subfields F1 and F2,…
A: The answer as follows
Q: Can we combine data with maps? Explain why this is or is not useful.
A: Here is the explanation regarding adding the data to the maps.
Q: When closing a TCP connection, why is the two-segment-lifetime timeout not necessary on the…
A: Introduction: TCP is nothing but connection-oriented, and an association between client and server…
Q: name, street, city) ii. account (account number, customer id, branch id, balance) iii.…
A: Structured Query Language abbreviated as SQL is a query language. It is widely used language in…
Q: Write a program to find the sum of the first n natural numbers, where thevalue of n is provided by…
A: Problem solution 1. Count the natural numbers that need to be added up and store the result in a…
Q: JavaScript statement to accomplish each of the following tasks: a) Declare variables product and y.…
A: JavaScript:- Java Script can be both server side and client side. Client-side javascript is the…
Q: Given the following definitions: public abstract class Manager extends Employee {...} public class…
A: Option D. Compiler error because manager is abstract so an instance cannot be created is the correct…
Q: Write a class called Candidate to store details of a candidate in the election. The class must…
A: #include <stdio.h> #include <stdio.h> #define CANDIDATE_COUNT#define CANDIDATE1…
Q: ORIGINAL SOLUTIONS ONLY PLEASE. I NEED TO EXPLAIN IN WORDS/ EXPLANATION NO ACTUALL CODING TO ANSWER…
A: Greedy algorithm for coin change program: The coin array is sorted in descending order. Initialise…
Q: Provide real world applications of Artificial intelligenc
A: The above question is solved in step 2 :-
Q: Assuming the Employee class has a sayName method that returns the employee's name (which is Fred),…
A: => An object is a blueprint of a class in the object-oriented programming language. =>…
Q: Consult Request for Comments 793 to find out how TCP is supposed to respond if a FIN or an RST…
A:
Q: Let L be a language defined over a unary alphabet Σ = {0}: L = {0k | k = 0 mod 2 or k = 0 mod 3}…
A:
Q: Write a program that accepts two points (see previous problem) and de-termines the distance between…
A: We need to find the distance between two points where we accept the x and y of every point then we…
Q: Consult Request for Comments 793 to find out how TCP is supposed to respond if a FIN or an RST…
A: Introduction TCP addresses Transmission Control Protocol a correspondence standard that engages…
Q: 2)... fragments transposes a matrix A correctly
A: Since you have asked multiple questions we will answer the first one only according to our…
Q: Mobile IP allows a home agent to tell a correspondent node a new care-of address for a mobile node.…
A: Working of a Mobile IP: The IP datagrams are routed to mobile nodes. When these nodes are away from…
Q: Apex Assignment: Create a apex class called addition and then create a method to add the 2 integer…
A: Basically Apex class is a collection of data members and methods.
Q: Use C++
A: The answer to the following question:-
Q: When TCP sends a (SYN, SequenceNum = x) or (FIN, SequenceNum = x), the consequent ACK has…
A: TCP is a network protocol of TCP/IP protocol suite that employ a three-way handshake technique to…
Q: Write a program that determines the distance to a lightning strike based onthe time elapsed between…
A: We need to find the distance to the lightning strike based on their time elapsed between the flash…
Q: Explain why design conflicts might arise when designing an architecture fo which both availability…
A:
Q: ds in an abstract class must be overriden and implemented classes only become useful when we create…
A: Answer is given below.
Q: After your interviews at Google and Microsoft, you started getting comfortable with the in- terview…
A: It is given that, we need a data structure that could store all the words that are to be passed as a…
Q: BERduceReport() No zip = oldZip? output name, zip count count + 1 input name, zip from infile return…
A: We can understand from the given flowchart that, there is a program that is dealing with a file…
Q: Trace the following code by showing the values of the 3 variables in the table on the right, for…
A: Code -----------------> x y z var x = 5; -----------------> 5 N/A N/A var y = 10;…
Q: Suppose a host wants to establish the reliability of a link by sending packets and measuring the…
A: Introduction: TCP connection: Connection-oriented mechanism Helps to establish a two-way…
Q: a) Design an array to perform a palindrome operation. Take necessary input from the user like array…
A: PROGRAM:- #include <stdio.h>int pallindrome(int arr[], int n) { // palindrone functionint i,…
Q: Create a menu system program in c++ that asking an input based on the choices below. If the input is…
A: The quadratic equation formula is given below: ax2+bx+c=0 The discriminant of the equation is…
Q: Recall the topic USING ARRAYS and answer the questions below 1. What is the purpose of the ‘new’…
A: Given Question: What is the function of the C# 'new' operator?
Q: Assume d is a dictionary with string keys, list values, and at least one key:value pair. Which of…
A: Dictionary in Python: It is an unordered collection of items in the form of key-value pair. Syntax…
Q: You are a software engineering manager and your team proposes that model-driven engineering should…
A: Software development and software engineering:- Software development and software engineering…
Q: Write a program that translates a letter grade into a number grade using a dictionary. Letter grades…
A: Introduction: In this question, we are asked to write a Python program to use dictionary to…
Q: problem 2 please Ans to problem 1 is #include using namespace std; vector targetSum(vector…
A: In the given program, it contains a targetSum() function and inside this function two for loops are…
Q: You are a software engineering manager and your team proposes that model-driven engineering should…
A: The factors that you have to consider when making this decision includes: 1. The expertise of the…
Q: For this assignment you are tasked with writing a command-line Java program that evaluates Reverse…
A: Reverse Polish notation is used for the mathematical solution of problem. In reverse polish notation…
Q: Create a webpage to sort three numbers using JavaScript conditional statement. For example, x=0,…
A: HTML code <!DOCTYPE html><html><head><meta charset=utf-8…
Q: private ArrayList< e a method to print out the
A: Answer is given below.
Q: Functional requirements (FR) as those that define what a system is supposed to do, while non…
A: SLA:- SLA is a type of agreement between the service provider and client stating that the service…
Q: • Write a Python code to calculate and plot the square and cube of values between -10 and + 10.…
A: The above question is solved in step 2 :-
Step by step
Solved in 3 steps with 1 images
- Student Name: Student Number: Write a PL/SQL Program to do the following Your Program should request the user to enter the temperature. Then based on the users input your program should display the following messages a. Print "Hot" if the temperature is above 80 degrees, b. Print "Nice Weather" if it's between 50 and 80 degrees, c. Print "cold" if it is less than 50 degrees Test 40, 55 and 85 as inputs; Guideline: Create a unique code Add Comments to the program ● Take clear screen shots of the program source code and the outputs Explain the code block briefly You must submit the code as one .sql file and paste all the screenshots in the Word document and upload it to Moodle before deadline. 99+ DELLwrite SQL code that involve calculation by using if else statementDatabases are used to store different kinds of data such as names, currency, text, graphics, etc. Determining the appropriate data type for each attribute is important for database performance, storage size, and conducting accurate analysis on databases. As with other programming languages, SQL supports many data types. However, you will mostly use two categories while writing SQL queries: Characters, and numbers. Consider the following standard SQL data types: Characters char varchar Numbers integer decimal float Different data types could be used for the same attribute. For example, both char and varchar could be used to store “names” in a database. Examine the attributes for the Characters and Numbers data types. Using specific examples, compare data types for each category. For example, why you should choose char rather than varchar or opposite?
- Create a PL/SQL Program that asks user to enter 2 numbers, then finds an average of two numbers and displays it with a message: Average of X and Y is Z. Where X, Y are numbers that you entered, Z is an average for X and Y, calculated by the program. Your program may start as follow: DECLARE v_x NUMBER :=&first;v_y NUMBER :=&second; v_result NUMBER; BEGIN -- You calculations here END;Assume that you have a product code that has the following format: XXXXNNN Where X is a character and N is a digit. Notice that the length of the character part is not fixed, it may range from 2 to 4 characters, while the length of the second part may range from 2 to 3 digits but the first digit from the left is always 0 (zero). Write a PL/SQL program to separate the code into its two parts as shown in the following example: if the input is ABC031, the output should be: Product Name is: ABC Serial Number is: 031 Hints: Use the following functions if needed: instr( string1, string2 [, start_position [, nth_appearance ] ] ) substr( string, start_position, [ length ] ) length( string ) DBMS_OUTPUT.PUT_LINE( )Assume that you have a product code that has the following format: XXXXNNN Where X is a character and N is a digit. Notice that the length of the character part is not fixed, it may range from 2 to 4 characters, while the length of the second part may range from 2 to 3 digits but the first digit from the left is always 0 (zero). Write a PL/SQL program to separate the code into its two parts as shown in the following example: if the input is ABC031, the output should be: Product Name is: ABC Serial Number is: 031
- Write a PL/SQL code to print 'PASS' if the student has scored above 40. Choose an answer A declare m number:= 80;begin if m>40 dbms.output.put_line('PASS'); end if;end;/ B declare m number:= 80;beginif m>40 dbms_output.put_line('PASS');end;/ C declare m number:= 80;begin if m>40 dbms_output.put_line('PASS'); end if;end;/ D declare m:= 80;beginif m>40 dbms_output.put_line('PASS');end if;end;/Please develop PL/SQL program that asks for a radius of a cirle.After user enters a radius number, the program then calculates 1. Circumference and 2. Area of a circle, then prints both as follows: You entered radius as 5The circumference is 31.4159The area is 78.5398 Declare variables for circumference and area in such a way that the result would be rounded to 4 decimal places after the dot. Read and practice chapter 2.INFO 2303 Database Programming Assignment # : PL/SQL Procedure & Function Practice Note: PL/SQL can be executed in SQL*Plus or SQL Developer or Oracle Live SQL. Write a script to create a PL/SQL procedure called findSal that displays the doctor’s salary and bonus after passing in the doc_id into the procedure. For example, if you pass in doc_id 504, you will get the following output. execute findSal(504) The salary for Dr.Cotner (504) is: 11500 The bonus is: 7500 PL/SQL procedure successfully completed.
- Please develop PL/SQL program that asks for a radius of a circle.After user enters a radius number, the program then calculates 1. Circumference and 2. Area of a circle, then prints both as follows: You entered radius as 5The circumference is 31.4159The area is 78.5398 If the area is less than 50 then print 'Please enter bigger radius'.Otherwise print 'Your radius is Ok'. Declare variables for circumference and area in such a way that the result would be rounded to 4 decimal places after the dotWhat types of relationships between numeric values can you test with relational operators?SQL queries can accept arguments. In an SQL statement, a parameter variable begins with the __ symbol. Question 12 options: # $ @ &