Answer:
Explanation:
you use print() to output something
so it would be like this:
print("What is up, gamer?")
so the syntax is print() with whatever is in the parentheses being what you want to output
Which validation method would you use for first name on a data form
Create a procedure named STATUS_SHIP_SP that allows an employee in the Brewbeans' Shipping Department to update an order status to add shipping information. The BB_BASKETSTATUS table lists events for each order so that a shopper can see the status, date, and comments as each stage of the order process is finished. The IDSTAGE column of the BB_BASKETSTATUS table identifies each stage; the value 3 in this column indicates that an order has been shipped. The procedure should allow adding a row with an IDSTAGE of 3, date shipped, tracking number and shipper. The BB_STATUS_SEQ sequence is used to provide a value for the primary key column. Test the procedure with the following information: o Basket # = 3 o Date shipped = 20-FEB-12 o Shipper = UPS o Tracking # = ZW2384YXK4957
Answer:
c
Explanation:
A procedure named STATUS_SHIP_SP that allows an employee in the Brewbeans' Shipping Department to update an order status to add shipping information is in the explanation part below.
A representative from Brewbeans' shipping division can change an order's status and add shipment details by using the PL/SQL method STATUS_SHIP_SP, as shown in the following example:
CREATE OR REPLACE PROCEDURE STATUS_SHIP_SP (
p_basket_number IN NUMBER,
p_date_shipped IN DATE,
p_shipper IN VARCHAR2,
p_tracking_number IN VARCHAR2
)
IS
v_status_id NUMBER;
BEGIN
-- Get the next value from the BB_STATUS_SEQ sequence
SELECT BB_STATUS_SEQ.NEXTVAL INTO v_status_id FROM DUAL;
-- Insert a new row into the BB_BASKETSTATUS table
INSERT INTO BB_BASKETSTATUS (STATUSID, BASKETNO, IDSTAGE, STATUSDATE, COMMENTS)
VALUES (v_status_id, p_basket_number, 3, p_date_shipped, 'Shipped: ' || p_shipper || ', Tracking Number: ' || p_tracking_number);
-- Commit the transaction
COMMIT;
-- Display a success message
DBMS_OUTPUT.PUT_LINE('Order status updated. Shipment information added.');
EXCEPTION
WHEN OTHERS THEN
-- Display an error message
DBMS_OUTPUT.PUT_LINE('Error: Unable to update order status.');
-- Rollback the transaction
ROLLBACK;
END;
/
Thus, by doing this, the procedure will be called with the specified parameters, and if successful, a new entry with the proper shipping information for basket number 3 will be added to the BB_BASKETSTATUS database.
For more details regarding SQL, visit:
https://brainly.com/question/34315524
#SPJ6
Big Chungus is god. prove me wrong.
Answer:
who is Big chungus???
Believe in Lord Buddha !
g The reduced ISA consists of four instructions: What are those instructions and what does each instruction do
The ISA is run by some set of instructions. This instructions are;
1. Arithmetic: This Instructions perform various Arithmetic functions
2. Logical: This instruction often carryout Logical operations on one or more operands.
3. Data transfer: This handles the transfer of instructions from memory to the processor registers and then backward process again.
4. Flow control: These instructions helps in breaking the sequential flow of instructions and jumping to instructions at different locations.
Instruction set is simply known to be a full combination /number of instructions that are understood by a CPU.
It is know as a machine code that is often written in binary, and shown by assembly language.
Learn more from
https://brainly.com/question/22740965
HELP ME ILL GIVE BRAINLY Input 50 numbers and then output the average of the negative numbers only. Write in pseudocode!
Answer:
The explanation is for 10 inputs though. You'd have to follow these steps to find input 50 numbers.
Explanation:
This is how I wrote it in the Plain English programming language which looks like pseudo-code but compiles and runs (to save you all the rest of the steps):
To run:
Start up.
Write "Enter 10 numbers separated by spaces: " on the console.
Read a reply from the console.
Loop.
If the reply is blank, break.
Get a number from the reply.
Add 1 to a count.
Add the number to a total.
Repeat.
Write "The total is: " then the total on the console.
Put the total divided by the count into an average.
Write "The average is: " then the average on the console.
Refresh the screen.
Wait for the escape key.
Shut down.
Identify the false statement. a. When you use inheritance to create a class, you save time because you can copy and paste fields, properties, and methods that have already been created for the original class. b. When you use inheritance to create a class, you reduce the chance of errors because the original class's properties and methods have already been used and tested. c. When you use inheritance to create a class, you make it easier for anyone who has used the original class to understand the new class because such users can concentrate on the new features.
Uploading this answer for points please do not accept this answer thank you.
The capability of moving a completed programming solution easily from one type of computer to another is known as ________. Group of answer choices
Answer: Portability
Explanation: I hope it helps you!
Write a function remove_duplicates that removes duplicates from an array. For example, if remove_duplicates is called with an array containing 1, 4, 9, 16, 9, 7, 4, 9, 11 … then the array is changed to 1, 16, 7, 4, 9. 11. Your function should have a reference parameter for the array size that is updated when removing the duplicates
The function is an illustration of loops
Loops are used to perform repetitive operations
The function in Java where comments are used to explain each line is as follows:
//This defines the remove_duplicates function
public static int remove_duplicates(int arr[], int n){
//If the length of the array is 0 or 1, then return the original array
if (n == 0 || n == 1) {
return n;
}
//This creates a new array
int[] newArr = new int[n];
//This initializes the index of the array to 0
int ind = 0;
//This iterates through the original array
for (int i = 0; i < n - 1; i++) {
//The following loop populates the new array with the unique elements of the original array
if (arr[i] != arr[i + 1]) {
newArr[ind++] = arr[i];
}
}
newArr[ind++] = arr[n - 1];
// The following loop changes the original array
for (int i = 0; i < ind; i++) {
arr[i] = newArr[i];
}
return ind;
}
At the end of the function, the duplicate elements of the array are removed
Read more about similar programs at:
https://brainly.com/question/22552591
How does tracking changes relate to sharing a workbook in Excel?
Answer:When you highlight changes as you work, Excel outlines any revisions (such as changes, insertions, and deletions) with a highlighting color. On the Review tab, click Track Changes, and then click Highlight Changes. Select the Track changes while editing. This also shares your workbook check box.
Explanation:
A workbook in excel is a file that contains one or more worksheets to assist you with data organization.
What is a workbook?A workbook in excel is a file that contains one or more worksheets to assist you with data organization. A blank workbook or a template can be used to build a new workbook.
The Advanced tab of the Share Workbook dialogue box gives further choices for changing how Excel records change. For example, you may choose the "Automatically Every" radio option and enter a value in the "Minutes" text box. If you enter 10, Excel will store changes made by users every 10 minutes.
When you highlight changes while you work, Excel highlights any modifications (such as updates, insertions, and deletions) with a highlighting colour. Track Changes and Highlight Changes may be found on the Review tab. Select the Track changes while editing.
Learn more about Workbook:
https://brainly.com/question/10321509
#SPJ2
What is the full form of MPEG? The full form of MPEG is blank.
Answer:
Moving Picture Experts Group
Explanation:
Answer:
The full form of MPEG is Moving Picture Experts Group.
Explanation:
MPEG is a group of working experts to determine video or audio encoding and transmitting specifications/standards.
Discuss some of the reasons you feel that people have for either liking or disliking Excel
Choose one piece of information your class can know, but you don’t want to share on your website. Why is it okay for your classmates and teacher to know it, but not to post it publicly?
Answer:
because other people you dont know can see it and it can sometimes not be good
Explanation:
Viewing digital content
Digital Content Creation Platforms offer content subscription or pay-as-you-go services for organizations. ... By offering access to this media, Digital Content Creation platforms make it so that organizations can share media of social interest while still complying with copyright laws.
What is primary difference between the header section of a document and the body
Answer:
A HTML file has headers and a "body" (payload) — just like a HTTP request. The <body> encapsulates the contents of the document, while the <head> part contains meta elements, i.e., information about the contents. This is (typically) title, encoding, author, styling etc.
Explanation:
CAN I GET BRAINLIEST
Keisha needs to connect to the Internet, but no wireless networks or Wi-Fi hotspots are available. What can she use instead to make the connection
There are several ways of connecting to the internet aside the use of WiFi Hotspot. Hence, Keisha could make use of Bluetooth or a modem.
Bluetooth tethering allows users to establish internet connection between smart devices such as a smartphone and a computer by using the Bluetooth functionality of the devices. Similarly, modems can be used to establish a connection by inserting a data Sim into the USB modem and Inputting it into the port of the computer.Learn more : https://brainly.com/question/25698028
a leading global vendor Of computer software hardware for computer mobile and gaming systems and cloud services it's corporate headquarters is located in Redmond Washington and it has offices in more then 60 countries
Which One Is It
A) Apple
B) Microsoft
C) IBM
D) Global Impact
Answer:
B
Explanation:
They have offices in Redmond Washington
Creating an application for an ice cream shop. Create an interface named Flavor. Create three subclasses Lemon, Mint, and Chocolate. Create a class named Cone that has a single member variable named scoops of type List with a generic argument of Flavor. Initialize the scoops member variable to an object of one of the two list classes discussed during the lecture. Add a method named add with a single parameter of type Flavor named scoop. This will add the scoop object to the scoops list.
Create a class named IceCreamShop. The class has a single member variable of type Map named orders. Initialize this map to an instance of type HashMap. This map is used to track customer orders. It maps a customer name of type String to an instance of Cone. The map is modified by the following methods:
Add a method orderScoop(String customer, Flavor flavor). This method first checks if thereâs already an order for the given customer in the map. If the map does not have an entry with the customer name, a new entry is put into the map with a new Cone object. If the map already contains an entry, it gets the cone value from the map. Then it adds a new flavor to the cone. Note: Thereâs no need to put the cone back into the map because the map uses a reference to the cone object.
Add a method completeOrder(String customer). This method will return the cone for the given customer and remove the entry from the map.
Answer:
I don't know for sure what the answer is but I hope you can find someone that can give you the answer sorry!
Explanation:
Think up and write down a small number of queries for a web search engine.
Make sure that the queries vary in length (i.e., they are not all one word). Try
to specify exactly what information you are looking for in some of the queries.
Run these queries on two commercial web search engines and compare the top
10 results for each query by doing relevance judgments. Write a report that answers at least the following questions: What is the precision of the results? What
is the overlap between the results for the two search engines? Is one search engine
clearly better than the other? If so, by how much? How do short queries perform
compared to long queries?
Given a variable that contains mixed collection types, update the provided function to display the first inital and last name of the instructor:
Update the function to accept a list and the name of the instructor you wish to find.
Update the function to reformat the name of the instructor and return it back to the calling program.
If the instructors name is entered as John Smith then the function should return back J. Smith
If the instructors name is entered as Tracy Anne Rios then the function should return back T. Rios
If the instructors name is entered as Jackson then the function should return back Jackson
Add in any exception handling for the following scenarios:
Exceptions related to accessing the list or dictionary should output the message: Instructor not found.
All other exceptions should output the message: An error has occurred.
Test to ensure the program passes the provided test cases found in the TESTS.md file
Hints
You may only use a try/except block, no if statements
Figure out how to use only one return in the method
Tests.md:
Input
Amy Williams
Output
A. Williams
Case 2
Input
Sarah Jane Smith
Output
S. Smith
Case 3
Input
Thomas Tom
Output
Instructor not found.
What i have so far
#!/usr/bin/env python3
# Discussion 10.2: Collection Type Exceptions
# Task 1. Modify Functions for Names
def get_initial_name(initials, name):
list = instructor_name.split(' ') # this function returns a list
try:
initial = list[0][0]
name = list[-1]
f_name = initial + '. ' + name
except:
return 'Instructor not found'
# DO NOT MODIFY BELOW
if __name__ == "__main__":
courses = [
{ "name": "Amy Andrews", "courseName": "Math I", "units": 3 },
{ "name": "Bryan Bravo", "courseName": "English I", "units": 3},
{ "name": "Charles Chavez", "courseName": "Physics I", "units": 3 },
{ "name": "Daniel Diaz", "courseName": "Chemistry I", "units": 3 },
{ "name": "Edgar Allen Elam", "courseName": "Math II", "units": 3 },
{ "name": "Felicia Farr", "courseName": "Music I", "units": 3 },
{ "name": "GarthGarcia", "courseName": "Physical Education I", "units": 3 }
]
# Take Input
instructor_name = input("> ")
# Output the Result
print(get_initial_name(courses, instructor_name))
discuss with illustrations how to implement a simple home network
Answer:
How to Set Up a Home Network- Beginners Guide
Today almost every home and small office has a local network, and an Internet connection.
The home network or small area network enables multiple devices e.g. PCs,tablets etc to connect to each other, and also to connect to the internet.
In this tutorial you will learn how you to build and setup a home or small area network and connect it to the Internet.
Explanation:
Choosing a Wired or Wireless Network
Do You Build a wired or Wireless Network? which is best?
Early (pre 2008) home networks were predominately wired networks.
Wired networks use Ethernet over UTP cable and tend to be faster than wireless networks, which is an important consideration if you are a gamer. The simple wired home network diagram below shows a minimum setup with a switch and broadband router.

Wired Network Advantages
Fast typically 100 Mbps to 10 Gbps
Secure and reliable.
Wired Network Dis-Advantages
Doesn’t work with devices that don’t have an Ethernet port e.g. tablets and smart phones.
Not so easy and fast to setup as it requires running cables. However Homeplug or powerline adapters can be used instead.
Not so easy for visitors and mobile devices (laptops) to connect to.
Main Uses
It Is best used for network backbone i.e. connecting between router,network switches and wireless access points on different levels (floors).
list ten beeping sounds in a computer system according to the hard ware
Answer:
CMOS Shutdown Register Failure
Explanation:
Five jobs arrive nearly simultaneously for processing and their estimated CPU cycles are, respectively: Job A = 2 ms, Job B = 12 ms, Job C = 15 ms, Job D = 7 ms, and Job E = 3 ms.
Using FCFS, in what order would they be processed? What is the total time required to process all five jobs? What is the average turnaround time for each of these five jobs?
This is an example with solution:
Five jobs arrive nearly simultaneously for processing and their estimated CPU cycles are, respectively: Job A = 12, Job B = 2, Job C = 15, Job D = 7, and Job E = 3 ms.
a. Using FCFS, and assuming the difference in arrival time is negligible, in what order would they be processed? What is the total time required to process all five jobs? What is the average turnaround time for all five jobs?
Answer: The order of processing for the given jobs = A->B->C->D->E.
Total time needed to process all the jobs = 12+2+15+7+3 = 39 ms.
Turn around time for job A = 12 ms.
Turn around time for job B = 15 ms.
Turn around time for job C = 30 ms.
Turn around time for job D = 37 ms.
Turn around time for job E = 40 ms.
Answer : Therefore, the average turnaround time = (12+15+30+37+40)/5 = 26.8 ms.
Order of processing is A, B, C, D, E and Total time to process and Average turnaround time is 39 ms and 24 ms
Turnover time and order of processing:Order of processing = A, B, C, D, E
Total time to process all five jobs = Job A + Job B + Job C + Job D + Job E
Total time to process all five jobs = 2 + 12 + 15 + 7 + 3
Total time to process all five jobs = 39 ms
Average turnaround time = [(2-0) + (2+12-0) + (2+12+15-0) + (2+12+15+7-0) + (2+12+15+7+3-0)] / 5
Average turnaround time = (2+14+29+36+39) / 5
Average turnaround time = 24 ms
Find out more information about 'Turnaround time'.
https://brainly.com/question/5768680?referrer=searchResults
Write SQL queries to answer the following questions: (15 points) a. Which students have an ID number that is less than 50000
Answer:
SELECT * FROM STUDENTS WHERE ID < 50000
Explanation:
If we assume the table is called STUDENTS, then we want to select everything (represented by *), where (like an if statement) the ID (assuming the name of the column) is less than 50000.
Turtle graphics windows do not automatically expand in size. What do you suppose happens when a Turtle object attempts to move beyond a window boundary
When a turtle object attempts to move beyond a window boundary, the turtle object stops because it cannot move outside the window boundary.
The turtle graphics window is simply a graphics window that is used as a playground when drawing turtles.
A turtle object is always in the turtle graphics window.
This in other words mean that, the turtle object cannot exceed the boundaries of the turtle graphics window
An attempt to move the turtle object outside its window will stop the turtle object;
This is so because the turtle object is always in the turtle graphic window, and it cannot move beyond it.
Read more about turtle graphics window at:
https://brainly.com/question/3070883
Should people who are able to break a hashing algorithm be allowed to post their findings on the Internet?
Answer:
Cyber security is a very important aspect of digital world. Without cyber security our sensitive data is at risk. Its very important that companies keep our system safe by spotting any security vunerabilities. SO ACORDING TO ME I DO NOT THINK THEY SHOULD BE ABLE TO POST THEIR FINDINGS ON THE INTERNET As it may contain viruses
Design a chip that can complete four bit binary addition, subtraction, and, or operation. Complete the Verilog program and show simulation on Modelsim software , write the program list and screenshot of simulation results.
Answer:
How am I supposed to design a chip here?
Explanation:
Where is RAM installed?
Answer: RAM is located in the central processing unit or CPU which is also called a processor. This is located inside the computer case on the motherboard.
Would appreciate brainly <3
Create a program that asks the user for the number of male and female students registered in a class/section. The program should display the total number of students and the percentage of male and female in the class.
Sample output
Enter the number of male: 36
Enter the number of female: 17
Number of students = 53
Male = 67.92%
Female = 32.08%
Two categories of estimation mode
Answer:
The Standard Parametric Mode (SPM) and the Robust Parametric Mode (RPM) are two categories of estimation mode. These approaches turn the data distribution into an approximation normal distribution and then estimate the mode by using the probability density function of the estimated distribution as a guide.
Explanation:
Hope it helps:)
30th Nov 2020. Difference between Data and Information
Answer:
Data is a collection of unstructured or unorganized facts and figures.
Information is a collection of processed data.
Hope it helps...............