To pull the dollar amount that is being discounted for each of the products that are currently on markdown and add a new column named "discount_amount" to the SQL query results, you can use the following SQL query:
SELECT *, (price - markdown_price) AS discount_amount
FROM products
WHERE markdown = 'True';
What is the explanation for the above response?In this query, the "products" table is queried for all products where "markdown" is set to "True".
The "*" selects all columns from the table, and the expression "(price - markdown_price)" calculates the discount amount by subtracting the markdown price from the original price. The result of this calculation is displayed in a new column named "discount_amount".
Learn more about SQL at:
https://brainly.com/question/20264930
#SPJ1
Full Question:
Although part of your question is missing, you might be referring to this full question:
SQL Labs Challenge
How will you pull the dollar amount that is being discounted for each of the products that are currently on markdown. Add this new column onto the end
of your results and call it discount _ amount.
Want a hint? • Tho discount amount is equivalent to tho original
price minus the current price.
widow in respect to word processing
Answer:
To use the word widow.
Explanation:
She became a widow at the age of 95, due to the passing of her husband by natural causes.
Edhesive 6.8 Code Practice
You should see the following code in your programming environment:
import simplegui
def draw_handler(canvas):
frame = simplegui.create_frame('Testing', 600, 600)
frame.set_canvas_background("Black")
frame.set_draw_handler(draw_handler)
frame.start()
Using the code above, create your own animation. At a minimum, your animation should have three circles and two lines in it.
An example of the way that you can make an animation with three circles and two lines using the above code is given below.
What is the code about?In the above code, three circles of distinctive colors and sizes are drawn utilizing the canvas.draw_circle() work, and two lines of diverse colors and thicknesses are drawn utilizing the canvas.draw_line() work.
The (x, y) arranges indicate the center of the circles and the begin and conclusion focuses of the lines, and the parameters for span, width, and color control the appearance of the circles and lines. The draw_handler() work is set as the draw handler for the outline utilizing frame.set_draw_handler().
Learn more about code from
https://brainly.com/question/30408850
#SPJ1
Which tab should you use to change the text font color in your presentation?
Answer:
The Home Tab
Explanation:
is a language composed of commands within a file that can be executed without being compiled.
Answer:
A Scripting Language
Explanation:
Edge 2021
An interpreted language is a type of programming language for which several of its iterations explicitly and voluntarily implement instructions, without translating code into machine-language directives before.
What is the work of interpreter?An interpreter converts orders of a high-level into an intermediary type which instead performs. Interpreters are also used in learning as they provide immersive content for pupils.Simply stated, an editor is a program where you construct and tweak programs. The program is encoded, or compiled, using the compiler.
IDEs are a formidable collection of tools designed to make programming as simple as it can be. A code editor is essentially a text editor with strong built-in functionality and dedicated features that are geared to simplify and expedite the editing of code.
Therefore, An interpreted language is a type of programming language for which several of its iterations explicitly and voluntarily implement instructions, without translating code into machine-language directives before.
Learn more about interpreted language on:
https://brainly.com/question/23838084
#SPJ3
Modify the selectionSort function presented in this chapter so it sorts an array of strings instead of an array of ints. Test the function with a driver program. Use program 8-8 as a skeleton to complete.
Program 8-8
#include
#include
using namespace std;
int main()
{
const int NUM_NAMES = 20
string names [NUM_NAMES] = {"Collins, Bill", "Smith, Bart", "Allen, Jim", "Griffin, Jim", "Stamey, Marty", "Rose,Geri", "Taylor, Terri", "Johnson, Jill", "Allison, Jeff", "Looney, Joe", "Wolfe, Bill", "James, Jean", "Weaver, Jim", "Pore, Bob", "Rutherford, Greg", "Javens, Renee", "Harrison, Rose", "Setzer, Cathy", "Pike, Gordon", "Holland, Beth" };
//Insert your code to complete this program
return 0;
}
Answer:
Following are the method to this question:
void selectionSort(string strArr[], int s) //defining selectionSort method
{
int i,ind; //defining integer variables
string val; //defining string variable
for (i= 0; i< (s-1);i++) //defining loop to count value
{
ind = i; //assign loop value in ind variable
val = strArr[i]; // strore array value in string val variable
for (int j = i+1;j< s;j++) // defining loop to compare value
{
if (strArr[j].compare(val) < 0) //using if block to check value
{
val = strArr[j]; //store value in val variable
ind= j; //change index value
}
}
strArr[ind] = strArr[i]; //assign string value in strArray
strArr[i] = val; // assign array index value
}
}
void print(string strArr[], int s) //defining print method
{
for (int i=0;i<s;i++) //using loop to print array values
{
cout << strArr[i] << endl; //print values
}
cout << endl;
}
Explanation:
In the above-given code, two methods "selectionsort and print" is declared, in which, both method stores two variable in its parameter, which can be described as follows:
Insides the selectionSort method, two integer variable "i and ind" and a string variable "val" is defined, inside the method a loop is declared, that uses the if block condition to sort the array. In the next line, another method print is declared that declared the loop to prints its value. Please find the attachment for full code.___________ is a global issue and there is a requirement to find out the interdependencies among the customers and suppliers.
Answer:
Supply chain disruption is a global issue and there is a requirement to find out the interdependencies among the customers and suppliers.
Explanation:
The context suggests we are discussing some type of challenge involving the relationships between customers, suppliers and a larger supply chain. A "global issue" involving "interdependencies among the customers and suppliers" points to potential supply chain disruption or issues in a supply network.
Since there is a "requirement to find out the interdependencies" between customers and suppliers, this suggests we need to identify and analyze how they are connected and dependent upon each other in order to resolve the broader "global issue." This information could then be used to make changes, build resilience or manage risks in the supply chain.
Hope this helps!
Answer:
Internet is global issues
const x = 0;
while(x < 5) {
alert(x);
x = x + 1;
}
In the above while loop, which line is responsible for checking the condition for whether or not the code within the while loop should execute?
const x = 0;
while(x < 5) {
alert(x);
x = x + 1;
The line responsible for checking the condition for whether or not the code within the while loop should execute is while(x < 5) {
What is a repeat structure in python?
The repetition structure is a feature of programming languages responsible for executing a block of code repeatedly while a certain condition is met.
In Python, there are two types of looping structures: for and while.
The while command causes a set of commands to be executed while a condition is met. When the result of this condition becomes false, the loop execution stops.
With that being said:
Given
const x = 0;
while(x < 5) {
alert(x);
x = x + 1;
}
See more about python at: brainly.com/question/13437928
#SPJ1
How would you explain a number system to someone who had never seen numbers before
Answer:
Use a number of items (likes apples) to show the amount each number correlates to.
Explanation:
Use the drop-down menus to complete statements about how to use the database documenter
options for 2: Home crate external data database tools
options for 3: reports analyze relationships documentation
options for 5: end finish ok run
To use the database documenter, follow these steps -
2: Select "Database Tools" from the dropdown menu.3: Choose "Analyze" from the dropdown menu.5: Click on "OK" to run the documenter and generate the desired reports and documentation.How is this so?This is the suggested sequence of steps to use the database documenter based on the given options.
By selecting "Database Tools" (2), choosing "Analyze" (3), and clicking on "OK" (5), you can initiate the documenter and generate the desired reports and documentation. Following these steps will help you utilize the database documenter effectively and efficiently.
Learn more about database documenter at:
https://brainly.com/question/31450253
#SPJ1
Which of these terms describe a facility that stores hundreds, if not thousands, of servers?
a) KVM
b) switchWeb server
c) Data center
d) SSH server
Answer:
(c) Data center
Explanation:
A data center is a centralized location that stores several computing and networking devices such as servers, routers, switches, e.t.c. The main purpose of the data center is to ensure the smooth collection, storage, processing, distribution and access of very large amount of data.
They (data centers) can also store and provide web application, email application and instant messaging services and lots of other things.
Because of the massive number of servers they store, they are sometimes regarded to as server farms.
Some data centers in Africa include:
i. Main One.
ii. DigiServ.
iii. Rack Center.
Which of the following is not a characteristic of Web 2.0?
a. blogs
O b. interactive comments being available on many websites
O c. mentorship programs taking place via the internet
d. social networking
Answer:
c. mentorship programs taking place via the internet
Explanation:
The World Wide Web (WWW) was created by Tim Berners-Lee in 1990, which eventually gave rise to the development of Web 2.0 in 1999.
Web 2.0 can be defined as a collection of internet software programs or applications which avails the end users the ability or opportunity to share files and resources, as well as enhance collaboration over the internet.
Basically, it's an evolution from a static worldwide web to a dynamic web that enhanced social media. Some of the examples of social media platforms (web 2.0) are You-Tube, Flickr, Go-ogle maps, Go-ogle docs, Face-book, Twit-ter, Insta-gram etc.
Some of the main characteristics of Web 2.0 are;
I. Social networking.
II. Blogging.
III. Interactive comments being available on many websites.
Also, most software applications developed for Web 2.0 avails its users the ability to synchronize with handheld or mobile devices such as smartphones.
However, mentorship programs taking place via the internet is not a characteristic of Web 2.0 but that of Web 3.0 (e-mentoring).
The option that is not a characteristic of Web 2.0 from the following is mentorship programs taking place via the internet.
What is Web 2.0?Web 2.0 speaks volumes about the Internet applications of the twenty-first millennium that have revolutionized the digital era. It is the second level of internet development.
It distinguishes the shift from static web 1.0 pages to engaging user-generated content. Web 2.0 websites have altered the way data is communicated and distributed. Web 2.0 emphasizes the following:
User-generated content, The convenience of use, andEnd-user inter-operability.Examples of Web 2.0 social media include:
Face book, Twi tter, Insta gram etcWith these social media and web 2.0 websites;
It is possible to create a personal blog,Interact with other users via comments, and Create a social network.Therefore, we can conclude that the one that is not part of the characteristics of Web 2.0 is mentorship programs taking place via the internet.
Learn more about web 2.0 here:
https://brainly.com/question/2780939
What type of program is Microsoft® Excel®?
•desktop-publishing
•spreadsheet
•word-processing
•database
Answer:
the answer is spreadsheet application. I hope it helps
Answer:
Spreadsheet
Explanation:
It's a spreadsheet.
Which statements are true about mobile apps? Select 3 options.
The statements are true about mobile app development are;
Software development kits can provide a simulated mobile environment for development and testingMobile app revenues are expected to growWhether a mobile app is native, hybrid, or web, depends on how the app will be used and what hardware needs to be accessed by the appHow is this so?According to the question, we are to discuss what is mobile app and how it works.
As a result of this mobile app serves as application that works on our mobile phone it could be;
nativehybridwebTherefore, Software development kits can provide a simulated mobile environment.
Learn more about mobile apps at:
https://brainly.com/question/26264955
#SPJ1
Full Question:
Although part of your question is missing, you might be referring to this full question:
Which of the following statements are true about mobile app development? Select 3 options.
• Software development kits can provide a simulated mobile environment for development and testing
• Testing is not as important in mobile app development, since the apps are such low-priced products
• Mobile apps can either take advantage of hardware features or can be cross-platform, but not both
• Mobile app revenues are expected to grow
• Whether a mobile app is native, hybrid, or web, depends on how the app will be used and what hardware needs to be accessed by the app
Examine trends in emergence of computer from 1936-1985 and its relevance to education industry in Nigeria
Answer:
The emergence of computers from 1936-1985 witnessed several remarkable trends that had considerable relevance to the education industry in Nigeria. Below are some of the significant trends and their relevance to the education sector in Nigeria:
1) The First Generation Computers (1936-1950s): The first computers were large, bulky, and crude devices that used vacuum tubes, magnetic drums, and punched cards for data processing. The early computers were mainly used for government and military purposes, such as code-breaking, ballistic calculations, and scientific research. The relevance of first-generation computers to the education industry in Nigeria was limited, as they were too expensive and complex for widespread adoption in schools.
2) The Second Generation Computers (1950s-1960s): In the 1950s, computers became smaller, faster, and more reliable, thanks to the invention of transistors. Second-generation computers used magnetic core memory and high-level programming languages such as COBOL and FORTRAN. These advancements made computers more accessible to businesses and government agencies, enabling them to streamline their operations and increase efficiency. However, the education industry in Nigeria still had limited access to computers due to cost and technological barriers.
3) The Third Generation Computers (1960s-1970s): The Third Generation Computers witnessed several improvements in technology, such as the development of the integrated circuit, which led to the creation of miniaturized and affordable computers. These computers were faster, more reliable, and had increased data storage capacity. They were also equipped with graphical user interfaces and interactive software, making them more user-friendly. This generation of computers became more relevant to the education industry in Nigeria, as they were affordable enough to be used in schools for teaching and learning.
4) The Fourth Generation Computers (1970s-1980s): Fourth-generation computers were faster, cheaper, and more efficient than their predecessors. The introduction of microprocessors made it possible to design computers that were small enough to fit on a desktop. This development led to the development of personal computers, which revolutionized the way people worked and communicated. Personal computers had enormous relevance to the education industry in Nigeria, as they enabled students and teachers to access information and learn new skills more easily.
In conclusion, the trends in the emergence of computers from 1936-1985 had considerable relevance to the education industry in Nigeria. Despite the technological and cost barriers that limited access to computers in the early years, the advancement of computer technology over time made it possible for computers to become an integral part of teaching and learning in Nigeria.
Software Security Integration involves which attributes? Select the correct option(s) and click submit. Estimation of Software Security Efforts & Software Security Budget Requirements Estimation of Software Security Efforts & Sign Off Criteria Definition Software Security Budget Requirements & Sign Off Criteria Definition Software Security Effort Estimation and Budget Requirements, Identification of teams to perform reviews & Defining Sign Off Criteria Submit
Software Security Integration concerns which attributes to Estimation of Software Security Efforts & Software Security Budget Requirements
What is software security requirements?
A security requirement is a statement of needed security functionality that provides one of many different security properties of software is being satisfied. Security requirements are emanated from industry standards, applicable laws, and a history of past exposures.
What is software safety courses?The types of security software for business websites contain computer antivirus, network security, SaaS security, content control system, e-commerce software, payment gateway software, content delivery network, bot comfort, and monitoring tool.
To learn more about security requirement, refer
https://brainly.com/question/2818423
#SPJ9
true or false. Two of the main differences between storage and memory is that storage is usually very expensive, but very fast to access.
Answer:
False. in fact, the two main differences would have to be that memory is violate, meaning that data is lost when the power is turned off and also memory is faster to access than storage.
QUESTION 5 OF 30
Burnout can happen quickly when
working with multiple sysadmins
working overtime
working as the sole sysadmin
Answer:
Burnout can happen quickly when working with multiple sysadmins, working overtime, or working as the sole sysadmin.
Explanation:
Which two keys are commonly used to move or insert data?
Select an answer.
Alt and Shift
Ctrl and Shift
Tab and Ctrl
Esc and Shift
Ctrl and Shift are the two keys that are commonly used to move or insert data. Hence option B is correct.
What is computer system?A computer system is defined as a digital electrical device that can be configured to carry out specific tasks as directed by computer programs. This blog post will focus on four basic computer hardware elements: input devices, processing devices, output devices, and memory devices.
Choose a cell or a range of cells. or mash Ctrl + X. Wherever you wish to relocate the data, choose a cell. or click Ctrl + V. In Excel, Ctrl Shift-Enter facilitates the conversion of the data into an array format with numerous data values.
Thus, Ctrl and Shift are the two keys that are commonly used to move or insert data. Hence option B is correct.
To learn more about computer system, refer to the link below:
https://brainly.com/question/17206337
#SPJ1
Explain why you do not need expensive equipment to take pictures or record video?
Explanation:
Expensive equipment is not necessary because from a technical perspective as long as the device has a lens and a mic it should be able to take photos and videos.
Answer: No, you don't not need an expensive camera . It may have better quality or worst quality . A phone car record and take pictures. Using a Light Stand Can give you a better lighting and better angle so you don't have to hold it or put it on your table, lap, or desk.
Explanation: A lot of people think you need to own a good camera to take a good photograph. A more expensive camera can help, but certainly is not essential. To answer the question though, it is 'no' – the equipment really doesn't make any difference to the end result, but does affect the process of getting there.
Byeeeeeee Remember to stan BTS , Wear Your Mask, And Drink Water
PLEASE HELP!
A primary school teacher wants a computer program to test the basic arithmetic skills of her students.
The program should generate a quiz consisting of a series of random questions, using in each case any two numbers and addition, subtraction and multiplication
The system should ask the student’s name, then ask 10 questions, output if the answer to each question is correct or not and produce a final score out of 10.
The program should save the scores to an external file and offer an option to view the high score table.
Analyse the requirements in detail and design, code, test and evaluate a program to meet these requirements.
The program that will execute as required above is:
import random
def generate_question():
num1 = random.randint(1, 10)
num2 = random.randint(1, 10)
operator = random.choice(['+', '-', '*'])
question = f"What is {num1} {operator} {num2}? "
if operator == '+':
answer = num1 + num2
elif operator == '-':
answer = num1 - num2
else:
answer = num1 * num2
return question, answer
def save_score(name, score):
with open('scores.txt', 'a') as file:
file.write(f"{name}: {score}/10\n")
def view_high_scores():
with open('scores.txt', 'r') as file:
scores = file.readlines()
scores.sort(reverse=True)
print("High Score Table:")
for score in scores:
print(score.strip())
def arithmetic_quiz():
name = input("Enter your name: ")
score = 0
for _ in range(10):
question, answer = generate_question()
user_answer = int(input(question))
if user_answer == answer:
print("Correct!")
score += 1
else:
print("Incorrect!")
print(f"Final score: {score}/10")
save_score(name, score)
option = input("Do you want to view the high score table? (y/n) ")
if option.lower() == 'y':
view_high_scores()
arithmetic_quiz()
What is the objective of the above program?The objective of the above program is to create a computer program that tests the basic arithmetic skills of primary school students.
The program generates a quiz with random arithmetic questions, allows users to answer them, provides feedback on the correctness of their answers, saves scores, and offers a high score table for viewing.
Learn more about program:
https://brainly.com/question/30613605
#SPJ1
Which four of the following are true about fair use?
D,C,B
Should be the correct answers. I'm not the best when it comes to copyright but I believe those are correct.
the computer that process data that are represented in the form of discrete values are called
Answer:
Digital computer
Explanation:
The computer that process data that are represented in the form of discrete values are called digital computer.
what is smarta Art ?
Answer:
A SmartArt graphic is a visual representation of your information and ideas. You create one by choosing a layout that fits your message. Some layouts (such as organization charts and Venn diagrams) portray specific kinds of information, while others simply enhance the appearance of a bulleted list.
short ans(SmartArt is a way to turn ordinary text into something more visually appealing. It helps draw attention to important information or make information easier to interpret and understand.)
I need help with the question below.
import java.util.*;
public class TreeExample2 {
public static void main (String[] argv)
{
// Make instances of a linked-list and a trie.
LinkedList intList = new LinkedList ();
TreeSet intTree = new TreeSet ();
// Number of items in each set.
int collectionSize = 100000;
// How much searching to do.
int searchSize = 1000;
// Generate random data and place same data in each data structure.
int intRange = 1000000;
for (int i=0; i 0)
r_seed = t;
else
r_seed = t + m;
return ( (double) r_seed / (double) m );
}
// U[a,b] generator
public static double uniform (double a, double b)
{
if (b > a)
return ( a + (b-a) * uniform() );
else {
System.out.println ("ERROR in uniform(double,double):a="+a+",b="+b);
return 0;
}
}
// Discrete Uniform random generator - returns an
// integer between a and b
public static long uniform (long a, long b)
{
if (b > a) {
double x = uniform ();
long c = ( a + (long) Math.floor((b-a+1)*x) );
return c;
}
else if (a == b)
return a;
else {
System.out.println ("ERROR: in uniform(long,long):a="+a+",b="+b);
return 0;
}
}
public static int uniform (int a, int b)
{
return (int) uniform ((long) a, (long) b);
}
public static double exponential (double lambda)
{
return (1.0 / lambda) * (-Math.log(1.0 - uniform()));
}
public static double gaussian ()
{
return rand.nextGaussian ();
}
public static double gaussian (double mean, double stdDeviation)
{
double x = gaussian ();
return mean + x * stdDeviation;
}
} // End of class RandTool
The given code is a Java program that includes a class named TreeExample2 with a main method. It demonstrates the usage of a linked list and a tree set data structure to store and search for elements.
The program begins by creating instances of a linked list (LinkedList) and a tree set (TreeSet). Then, it defines two variables: collectionSize and searchSize. collectionSize represents the number of items to be stored in each data structure, while searchSize determines the number of search operations to be performed.
Next, the program generates random data within the range of intRange (which is set to 1000000) and inserts the same data into both the linked list and the tree set.
The program uses a set of utility methods to generate random numbers and perform various operations. These methods include:
uniform(): Generates a random double between 0 and 1 using a linear congruential generator.
uniform(double a, double b): Generates a random double within the range [a, b).
uniform(long a, long b): Generates a random long within the range [a, b].
uniform(int a, int b): Generates a random integer within the range [a, b].
exponential(double lambda): Generates a random number from an exponential distribution with the specified lambda parameter.
gaussian(): Generates a random number from a standard Gaussian (normal) distribution.
gaussian(double mean, double stdDeviation): Generates a random number from a Gaussian distribution with the specified mean and standard deviation.
Overall, the code serves as an example of using a linked list and a tree set in Java, along with utility methods for generating random numbers from various distributions.
Explain TWO examples of IT usages in business (e.g.: application or system) that YOU
have used before. Discuss your experience of using these system or applications. The
discussions have to be from YOUR own experience
Answer:
(DO NOT copy from other sources). Discuss these systems or applications which include of:
Introduction and background of the application or system. Support with a diagram, screenshots or illustration.
Explanation:
which of the following players is on offence
Answer:
A baseball player trying to steal second base.
Explanation:
From a test I took, im hoping the answer choices were the same as yours tho.
Write the steps on how to minimize and maximize documents
Minimizing and maximizing documents can help you manage your workspace and focus on specific tasks.
How to minimize and maximize documentsThe steps to minimize and maximize documents depend on the operating system and the software you are using, but here are some general guidelines:
Minimizing a Document:
Identify the minimize button: Most software applications have a minimize button represented by a "-" symbol in the top right corner of the window.Click the minimize button: Click the minimize button to reduce the size of the document window. This will move the window to the taskbar or dock depending on the operating system.Access the minimized document: To access the minimized document, click on the icon representing the document in the taskbar or dock. The document window will reappear.Maximizing a Document:
Identify the maximize button: Most software applications have a maximize button represented by a "+" symbol in the top right corner of the window.Click the maximize button: Click the maximize button to expand the size of the document window. This will resize the window to fit the entire screen.Restore the document size: To restore the document size to its original size, click the maximize button again or click the restore button represented by a square symbol in the top right corner of the window.Learn more about documents on:
https://brainly.com/question/12401517
#SPJ1
Question 5) What is a feature of podcasts?
A.
They rely on airwaves for broadcasting.
B.
They are inexpensive to produce.
C.
They are accessible only within a specific area.
D.
They require video equipment to create.
E.
They allow easy access to documents.
Answer: B
Explanation: They are inexpensive to produce.
10. Question
What are the drawbacks of purchasing something online? Check all that apply.
Explanation:
1) the quality of purchased good may be low
2) there might me fraud and cheaters
3) it might be risky
4) we may not get our orders on time
There are many drawbacks of purchasing online, some of them are as follows,
Chance of pirated item in place of genuine product.Chances of fraud during digital purchase and transaction.Product not deliver on time as expected.Not getting chance to feel the product before purchase.These are some of the drawbacks of purchasing something online.
Learn more: https://brainly.com/question/24504878
Graphical information can be useful in
Answer: In All Subjects
Hope this helps! Brainlist Plz?