Assume that there are two text input elements named val1 and val2. Write the JavaScript code to get the value from these elements and convert them to numeric (integer) values. Then add the two values together and store the result in the innerHTML property of the paragraph having and id of varOut.

Answers

Answer 1

The parseInt() function (or method) in JavaScript is used to transform a parameter or value that is handed in as a string into an integer value.

Which function is applied when a number is converted to an integer?

To turn a number into an integer in Excel, utilize the INT function. When a number is entered, the function truncates any decimal values to the closest integer. The INT function, for instance, can be used to round a number up or down.

How can I convert a string in JavaScript to an integer?

JavaScript uses the parseInt(), Number(), and Unary operator(+) functions to convert strings to integers. When the string lacks a number, the parseInt() function returns Nan (not a number).

To know more about JavaScript visit:-

https://brainly.com/question/28448181

#SPJ4


Related Questions

A junior analyst has two files and needs to verify they are exact duplicates. To do this, the analyst konws to first create hashes from the two files and then compare them. Which of the following tools from the forensic kit is best tool to use?
A. dd
B. sha1sum
C. eventviewer
D. BitLocker

Answers

As a built-in command-line utility, the dd tool does not require installation in order to be used. The primary objective of this command is to move data from one drive to another without changing the data itself.

A file's checksum can be thought of as a "digital fingerprint" because it will completely alter with even the smallest change to the file. Checksums can be generated using a variety of easily accessible and open source tools and are typically created using cryptographic techniques.

EventViewer: What is it?

A monitoring tool called Microsoft Windows Server Event Viewer displays a log of events that can be used to diagnose problems on a Windows-based system.

How does BitLocker work?

By encrypting all user files and system files on the operating system drive, as well as the swap files and hibernation files, BitLocker can be used to reduce unauthorized data access on lost or stolen computers. It also verifies the accuracy of early boot components and boot configuration data.

To know more about digital fingerprint visit:-

brainly.com/question/1083538

#SPJ4

you are designing an application to support an automobile rental agency. which of the following probably should not be represented as an object?

Answers

If one of the following is the payment amount, an object shouldn't be used to represent it.

What kind of connection between the customer and the bank account is demonstrated?

Customers who borrow money from a bank give the bank their own money. The banker is the creditor and the client is the debtor in any loan/advances account. The first time this has happened is when someone deposited money with the bank and then borrowed money from them.

What design method is used for CRC cards?

CRC cards are an example of an object-oriented system design technique that uses index cards. On each card, the name of the class, its responsibilities, and its collaborators are listed (i.e. other classes that the class needs to fulfil its responsibility).

To know more about Application design visit:-

https://brainly.com/question/29849140

#SPJ4

which of the following may result from malware? group of answer choices spam may be sent from your computer. contents on your hard drive may be erased. secure information may be obtained from your computer. backdoors may be created.

Answers

Using a distance Trojan (RAT) is a type of malicious software that users frequently unknowingly install and that opens a backdoor for hackers to utilize later to remotely access the machine.

Malware could have what effects?

Once malware is installed on your device, criminals can use it to steal your private data, send you unwanted or inappropriate advertisements, demand payment to decrypt data that has been encrypted by ransomware, and leave your device open to other infections.

What malware deletes or obliterates data from your computer?

The cybercriminal has access to a variety of functions through the Trojan horse, including data theft, malware installation, file modification, file monitoring, data destruction, data theft of financial data, denial of service (DoS) assaults against certain web addresses, and more.

To know more about Trojan visit :-

https://brainly.com/question/9171237

#SPJ4

Routing
Internet routing protocols are complicated, and one misconfiguration can poison the data of many routers
Excessive demand
Network capacity is finite and can be exhausted; an attacker can generate enough demand to overwhelm a critical part of a network
Component failure
Component failures tend to be sporadic and unpredictable, and will cause loss of service if not planned for

Answers

It  will cause loss of service if not planned for Interruption: Loss of Service

Routing is the process of choosing a path for traffic inside, between, or between networks. In general, routing is carried out over a wide range of network types, including circuit-switched networks like the public switched telephone network (PSTN) and computer networks like the Internet. Routing is the higher-level decision-making process used in packet switching networks to direct network packets from their source to their destination through intermediary network nodes using certain packet forwarding techniques. The movement of network packets from one network interface to another is known as packet forwarding. Switches, routers, gateways, firewalls, and other types of network infrastructure generally serve as intermediate nodes. Despite lacking hardware designed specifically for the job, general-purpose computers may still forward packets and handle routing.

To learn more about Routing click here

brainly.com/question/6991121

#SPJ4

The Summary page for each quiz provides a list of Quiz Details, which includes the following information?
O how much time is allowed
O when the quiz is available
O the grade you earned on the quiz
O how many times you may take the quiz
O how many questions the quiz contains

Answers

The Summary page for each quiz typically provides a list of Quiz Details, which includes the following information:

How much time is allowed: This refers to the amount of time that a student has to complete the quiz. The time limit may be set by the instructor or may be unlimited.When the quiz is available: This refers to the dates and times that the quiz is open for students to take. The quiz may be available for a limited time period (e.g., during a specific week of the semester) or may be always available.The grade you earned on the quiz: This refers to the score or percentage of correct answers that the student received on the quiz. The grade may be calculated based on the number of correct answers, the difficulty of the questions, or some other criteria.How many times you may take the quiz: This refers to the number of times that a student is allowed to take the quiz. Some quizzes may be set up to allow students to take the quiz multiple times, while others may be set up to allow only a single attempt.How many questions the quiz contains: This refers to the total number of questions on the quiz. The number of questions may vary depending on the quiz and the subject matter being tested.

What is Quiz?

In a quiz, you are being tested on your knowledge through the use of questions. At the conclusion of the presentation, we'll take a quiz. A challenge, exam, game show, or panel discussion. More synonyms for test

To know more about Quiz checkout https://brainly.com/question/24244569

#SPJ4

T/F a disk input/output (i/o) operation is a much slower process than accessing information stored in main memory, sometimes by as much as three or four orders of magnitude.

Answers

A disk input/output (i/o) operation is a much slower process than accessing information stored in main memory, sometimes by as much as three or four orders of magnitude. (True)

What is main memory?

Internal physical memory of the computer is referred to as main memory. Main memory, in more precise terms, is the short-term memory of a computer. The main memory's function is to store information that the CPU frequently needs to access, such as instructions and data that is being processed right now. Data stored in secondary storage devices, such as hard drives, can be accessed much more quickly.

An instruction fetch unit reads instructions into the CPU, decodes them, and then the CPU executes them using one or more execution units. Only information that is present in the computer's main memory can be changed. Each program you run and each file you access must therefore be copied from a storage device into the main memory space.

Learn more about  main memory

https://brainly.com/question/27193930

#SPJ4

T/F a weak entity has a primary key that is partially or totally derived from the parent entity in the relationship.

Answers

TRUE

A weak entity often has a primary key that only contains one foreign key. Because it incorporates the main key of the EMPLOYEE entity as a component of its own primary key, the entity DEPENDENT, for instance, is a weak entity.

Is there a connection between the owner and a weak entity type?

An identifying link exists between a weak entity type and its owner. A covariant entity is a sort of entity on which a strong entity depends.

How is the weak entity's main key created?

A weak entity set's primary key is created by adding its discriminator to the primary key of the strong entity set that is necessary for it to exist (see Mapping Constraints). For instance: the transaction

To know more about weak entity visit:-

https://brainly.com/question/27418276

#SPJ1

top 5 below $10 tested spy apps remote monitor using target phone number listen to surrounding of device, access to all social media, view photos,videos and messages no downloads on target, no jailbreak, no rooting

Answers

Even applications that mSpy doesn't specifically support for monitoring can be recorded using the Screen Recorder. In addition to all of this, mSpy recognizes the value of safeguarding private information even.

What app can I get to check on my husband's infidelity?

One of the safest mobile apps for monitoring smartphones and tablets is XNSPY. You can remotely inspect your spouse's call history and contact lists using this program.

Is using mSpy secure?

If the target user is 18 years of age or older, just make sure they are aware of the app that has been installed on their smartphone. You will be shielded from liability by doing this. Now that you are aware of how stress-free your life may be thanks to mSpy, let's take a closer look at some of its key features.

to know more about remote monitors here:

brainly.com/question/4564778

#SPJ4

flow Chart finding Area & Perimeter of square.​

Answers

The flow Chart finding Area & Perimeter of square is given below

What is the flow Chart finding Area & Perimeter of square?

Here is a flow chart for finding the area and perimeter of a square:

StartInput the side length of the squareCalculate the area of the square by multiplying the side length by itselfCalculate the perimeter of the square by multiplying the side length by 4Output the area and perimeter of the squareEnd

Here is a visual representation of the flow chart:

           Start

             |

             v

      +-----------+

      |           |

      | Input     |

      | side      |

      | length    |

      +-----------+

             |

             v

      +-----------+

      |           |

      | Calculate |

      | area      |

      +-----------+

             |

             v

      +-----------+

      |           |

      | Calculate |

      | perimeter |

      +-----------+

             |

             v

      +-----------+

      |           |

      | Output    |

      | area      |

      | and       |

      | perimeter |

      +-----------+

             |

             v

             End

Learn more about flow Chart from

https://brainly.com/question/6532130

#SPJ1

A soccer coach scouting players has to enter the jersey number of players and print a list of those numbers when required. Identify the function that can help with this.

Answers

The push_back() function will help the soccer coach in the given situation.

What is a push_back() function?

A vector can have components pushed into it from behind using the push_back() function.

The container size is increased by 1 and the new value is added at the end of the vector after the current final element.

A byte can be received from an input stream and subsequently returned (i.e., "pushed back") to the stream using pushback.

The PushbackInputStream class puts this concept into practice.

It offers a way to "peek" into an input stream without interfering with it.

So, in the given situation when needed, a soccer coach looking for players must enter each player's jersey number and print out a list of those numbers.

The function which can help the soccer coach is the push_back() function.

Therefore, the push_back() function will help the soccer coach in the given situation.

Know more about a push_back() function here:

https://brainly.com/question/16448316

#SPJ4

Galaxian SpaceBooks come in silver, gold, and copper, and diameters of 13’’, 14’’, and 16’’. The local Space Apple store has posted the follwoing sign:


if color == 'gold' or color == 'silver' and size == 13 or size == 16:

print('We have your model in stock')


The Galaxer would like to know what laptop configurations are currently available:


I don't get how the or and works in this problem

Answers

They said, if the color of galaxian spacebook is gold or silver and size is 13 or 16, for gold 13 is size and 16 for silver.

Which of the following will you select as X in the following series of clicks to format a range as a table: Home tab > Styles group > X > Table Styles?
A. Cell Style
B. Cell Effects
C. Format as Table
D. Conditional Formatting

Answers

Format as Table is select as X in the following series of clicks to format a range as a table: Home tab > Styles group > X > Table Styles.

Which of these keys will you press when choosing several items?Choose the first thing you desire. Consider choosing some text. Hold down the CTRL key. Choose the next thing you desire.Simply click the slicer, select the contextual Options tab, and then alter the default layout and size. You may modify the number of button columns as well as the button height and width in the Buttons group, which is located to the right.Choose a cell or cells. You may also choose the range with Shift + arrow keys. Holding Ctrl when selecting the cells allows you to choose cell ranges and non-adjacent cells.

To learn more about Format as Table refer to:

https://brainly.com/question/17286548

#SPJ4

when creating an if-else-if statement you should always make your first condition the most specific. write a short paragraph responding to the questions below.

Answers

The if-else-if statement's most selective element or the case that will help determine the cases of the others is referred to as the most particular case first.

What is programming?

Making a set of instructions that instruct a computer how to carry out a task is the process of programming. Computer programming languages like JavaScript, Python, and C++ can all be used for programming.

The term "most particular case first" refers to the case that will help determine the cases of the other cases in the if-else-if statement.

It is essential to start with the most specific case since the computer runs code from top to bottom, and if the most selective piece is somewhere other than the top, this would cause serious issues.

Thus, this can be concluded regarding the given scenario.

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ4

which of the following is an attack that injects malicious scripts into web pages to redirect users to fake websites to gather personal information?

Answers

XSS is an attack that injects malicious scripts into web pages to redirect users to fake websites to gather personal information.

What is XSS?

Malicious scripts are injected into websites that are otherwise safe and reputable in Cross-Site Scripting (XSS) attacks. XSS attacks take place when a web application is used by an attacker to send malicious code, typically in the form of a browser side script, to a different end user.

Wherever a web application incorporates user input into the output it produces without validating or encoding it, flaws that enable these attacks to succeed can be found.

An attacker may send a malicious script to an unwary user using XSS. The end user's browser will run the script regardless of whether it should be trusted because it has no way of knowing.

Learn more about XSS attacks

https://brainly.com/question/29490861

#SPJ4

Python PleaseDefine a recursive function named insert, that expects an index, an item, and a Lisp-like list as arguments. The function returns a list in which the item is inserted at the given index position.Here is an example of its use:>>> lyst = buildRange(1, 5)>>> lyst(1 2 3 4 5)>>> insert(2, 66, lyst) # insert 66 at position 2(1 2 66 3 4 5)>>> lyst(1 2 3 4 5)

Answers

Answer:

Explanation:

def insert(index, item, lyst):

if index == 0:

return [item] + lyst

if len(lyst) == 1:

return lyst[:index] + [item] + lyst[index:]

else:

return lyst[:index] + [item] + insert(0, lyst[index])

Any web- or mobile-based technology that is used for interactive communication between groups, communities, companies, and individuals can be referred to as ______.
static media
Web 1.0
social media
Web 1.1

Answers

Answer:

Explanation:

Collaborative technology.

(q005) ayelet is a research assistant in a lab at her university. her lab studies the way sensory information is processed, and their latest results suggest that different neural processes are associated with different types of information, such as recognizing faces, understanding grammatical phrases, and so on. the results support the global workspace model, which posits that

Answers

The answer is: there is no one area of the brain that is responsible for general "awareness" on its own.

What is awareness?

Awareness is a complex process that utilize more that one area of the brain at the same time.

Awareness programs means by the  community-wide or audience- specific to the  programs, campaigns, or to the  initiatives that increase audience knowledge and the  share information and resources to prevent violence, promote safety, and reduce perpetration.

Currently, the scientists believe the general awareness in our brain is handled mostly through the combination of the process in thalamus area and the Hypothalamus Area.

To know more about awareness click-

https://brainly.com/question/24621985

#SPJ4

the expression y divided by 4 is equal to blank for y = 3.8.

Answers

The result of the calculation using equivalent expressions is that y = 3.8 - 3.8 = 0.

What is an Algebraic Expression?An algebraic expression is a mathematical expression made up of variables, coefficients, constants, and operations including addition, subtraction, multiplication, and division. In most cases, something is said to be equivalent if two of them are the same. Similar to this, analogous expressions in mathematics are those that, despite their differences in appearance, have the same meaning. The two expressions, however, produce the identical outcome when the values are inserted into them.

Example

Reading the input

Simplify y = 3.8.

Result:

y - 3.8 = 0.

To Learn more About equivalent expressions refer To:

https://brainly.com/question/24734894

#SPJ1

FILL IN THE BLANK. sip identity protocols____. ensure that traffic is authenticated between two companies holding public/private keys are uncommon on ip telephones both ensure that traffic is authenticated between two companies holding public/private keys and are uncommon on ip telephones neither ensure that traffic is authenticated between two companies holding public/private keys nor are uncommon on ip telephones

Answers

SIP identity protocols are widely used on IP telephones. On IP phones, which ensure that traffic is authenticated between two companies holding public/private keys, are uncommon.

Both ensure that traffic between two companies with public/private keys is authenticated, and they are uncommon on IP phones. Neither ensure that traffic between two companies with public/private keys is authenticated, nor are they common on IP phones.

What are IP telephones?

IP telephony refers to any phone system that sends and receives voice data over an internet connection. Unlike traditional telephones, which use landlines to send analog signals, IP phones connect to the internet using a router and modem.

The first publicly available IP phone appeared on the market in 1995. However, it had poor audio quality and was prohibitively expensive when compared to a standard phone system.

To know more about IP telephones, visit: https://brainly.com/question/14255125

#SPJ4

Jason is attending the CompTIA Partner's Summit convention this year. While at the conference, Jason will need to ensure his smartphone has enough battery power to last the entire day without having to recharge it since it is hard to find an available electrical outlet in the conference rooms. Jason needs to ensure his smartphone is always available for use in order to receive updates from his team back home, as well. Which of the following would you recommend Jason use to ensure he can use the phone all day without his smartphone running out of power?
O Use a wireless charging pad
O Bring a power strip so that more than one person can use an electrical wall outlet
O Set the smartphone to airplane mode
O Use a smartphone case with a built-in battery

Answers

I would recommend Jason to; Use a smartphone case with a built-in battery. This is to ensure that he uses his phone all day without the smartphone running out of power.

Using a smartphone case with a built-in battery will allow Jason to extend the battery life of his smartphone without having to find an available electrical outlet to charge while at the conference.

Alternatively to the above correct choice, Jason could also use a portable charger or power bank to keep his smartphone charged.

Setting the smartphone to airplane mode would help to extend the battery life, but it will not be practical for Jason since he needs to receive updates from his team. Being on airplane mode will make his stay offline and unavailable for his team.  

Using a wireless charging pad or bringing a power strip would not directly help to extend the battery life of Jason's smartphone.

Find more on saving battery power at;

brainly.com/question/28480713

#SPJ4

let k be the product of all factso b, a where a and b are integers satisfying 1

Answers

Approach: Let’s suppose b = n, by taking this assumption a can be found based on the given conditions:

(a % b = 0) => a should be multiple of b.

(a / b < n) => a / b = n – 1 which is < n.

(a * b > n) => a = n.

Below is the implementation of the above approach:

# Python3 implementation of the above approach

# Function to print the required numbers

def find(n):

# Suppose b = n and we want a % b = 0

# and also (a / b) < n so a = b * (n - 1)

b = n

a = b * (n - 1)

# Special case if n = 1

# we get a = 0 so (a * b) < n

if a * b > n and a // b < n:

 print("a = {}, b = {}" . format(a, b))

# If no pair satisfies the conditions

else:

 print(-1)

# Driver Code

if __name__ == "__main__":

n = 10

find(n)

Time Complexity: O(1), since there is no loop or recursion.

Auxiliary Space: O(1), since no extra space has been taken.

To know more about time complexity visit:-

brainly.com/question/28014440

#SPJ4

One of your customers wants to build a personal server that he can use in his home. One of his concerns is making sure he has at least one back up of their data stored on the server in the event of the disk failure. You have decided to back up his data using raid. Since the server is for personal use only, the customer wants to keep cost down. Therefore, he would like to keep the number of drives to a minimum. Which of the following grade systems would best meet the customer specifications?

Answers

Raid 1 is the grade systems would best meet the customer specifications.

Which Windows tool would you use to create and delete partitions on hard drives?One of the most seasoned Windows programs, diskpart manages a variety of disk management tasks, including allocating drive letters and erasing partitions.To offer fault tolerance and improved speed, set up a RAID 5 array. While a RAID 1 array solely offers fault tolerance, a RAID 0 array just improves speed. To establish a RAID 5 array, install three drives. Three disks are the bare minimum needed for a RAID 5 array.RAID (redundant array of independent disks) is a technique for protecting data in the event of a drive failure by storing the same data in several locations on numerous hard disks or solid-state drives (SSDs).Raid 1 is the grade systems would best meet the customer specifications.

To learn more about Raid 1 refer to:

https://brainly.com/question/29834489

#SPJ4

After reviewing your pie chart, you realize that it could be improved by resizing the segments. Resizing the segments in proportion to each segment's relative value enables you to
TRUE OR FALSE

Answers

After reviewing your pie chart, you realize that it could be improved by resizing the segments. Resizing the segments in proportion to each segment's relative value enables you to visually show the different values is option A: TRUE.

What is the Resizing  about?

Resizing the segments of a pie chart in proportion to each segment's relative value can help to make the chart more accurate and easier to read, as it allows you to see the relative sizes of each segment more clearly.

This can be especially helpful if the values of the different segments are very different, as it can make it easier to compare the sizes of the segments.

Therefore, one can say that that It is generally a good idea to try to make the segments of a pie chart as proportional as possible, as this can help to make the chart more accurate and easier to understand.

Learn more about Resizing  from

https://brainly.com/question/29402327
#SPJ1

See full question below

Q:

Once you finish creating data visualizations about the current state of the electric vehicle market, you turn to projections for the future. You want to communicate to stakeholders about the importance of longer vehicle battery range to consumers.

Your team’s data includes feedback from a consumer survey that investigated the importance of longer battery when choosing whether to purchase an electric car. The current average battery range is about 210 miles. By 2025, that range is expected to grow to 450 miles per charge.

You create the following pie chart:

After reviewing your pie chart, you realize that it could be improved by resizing the segments. Resizing the segments in proportion to each segment's relative value enables you to visually show the different values.

A

True

B

False

Answer:

TRUE

.T

.R

.U

.E

_________________

A cloud storage subscriber discovers that in order to increase the amount of storage she has available, she must submit a request and wait for the service provider to reconfigure the capacity rather than expand it on the fly as she expected. This is an example of ________ storagestaticconfiguredblocknon-elastic

Answers

A cloud storage subscriber discovers that in order to increase the amount of storage she has available, she must submit a request and wait for the service provider to reconfigure the capacity rather than expand it on the fly as she expected. This is an example of "static" or "configured" storage static configured block non-elastic.

Static storage refers to a type of storage that is fixed in size and cannot be expanded or contracted on demand. In this case, the cloud storage subscriber must submit a request and wait for the service provider to reconfigure the capacity in order to increase the amount of storage she has available.

On the other hand, "elastic" storage refers to a type of storage that can be automatically expanded or contracted as needed, without the need for manual intervention. Elastic storage is often preferred because it allows users to scale their storage capacity up or down as needed, without experiencing any downtime or disruption.

Learn more about static storage, here https://brainly.com/question/3279822

#SPJ4

what is computer vision syndrome​

Answers

Answer:

it is a common virus in computer we shoula do reset

explain the two basic approches that use the concept of pipeling at data link layer

Answers

The two basic approaches that use the concept of pipeline at data link layer is given below

Asynchronous pipelineSynchronous pipeline

What is the data link layer?

In the data link layer of the OSI model, the concept of pipelining can be used in two basic approaches:

Asynchronous pipeline: In this approach, a pipeline is used to transmit data in an asynchronous manner, meaning that the data is transmitted without a predetermined clock signal.

Synchronous pipeline: In this approach, a pipeline is used to transmit data in a synchronous manner, meaning that the data is transmitted using a predetermined clock signal.

Therefore, Both approaches can be used to improve the efficiency of data transmission by allowing multiple pieces of data to be transmitted at the same time. However, the synchronous pipeline approach may be more complex to implement and requires more accurate timing, as the clock signal must be carefully coordinated with the transmission of data.

Learn more about data link layer from

https://brainly.com/question/13439307

#SPJ1

After the execution of the following statement, the variable sold will reference the numeric literal value as (n) – _data type. sold = 256.752 A. int B. float C. str D. currency

Answers

After the execution of the following statement, the variable sold will reference the numeric literal value as (n) – _data type sold = 256.752 is float. The correct option is b.

What is execution?

Process refers to an operating program. The procedure is a living thing. The process is therefore the right response. Informational Material. A system activity known as a program employs a collection of instructions to carry out a certain task.

The process by which a computer or virtual machine reads and responds to a computer program's instructions is known as execution in computer and software engineering.

Therefore, the correct option is b, float.

To learn more about execution, refer to the link:

https://brainly.com/question/30028511

#SPJ4

TRUE/FALSE. a company is in the middle of an operating system update to windows 10 from windows xp, windows 7, and windows 8.x. the diverse nature of the update has made it imperative that the help desk techs have the ability to run several concurrent vms. a few of the techs are experiencing frequent and extended periods of 100% cpu usage on their computers, and these spikes are limiting their ability to assist users in a timely manner.

Answers

True, as running many virtual computers at once may result in a lack of actual processing cores, which would restrict the ability to quickly assist people.

What are VMs or virtual machines?

To execute applications and run programs, a virtual machine (VM) uses software as opposed to a physical computer. On a physical "host" machine, one or more virtual "guest" machines are active.

It is furnished with a CPU, RAM, drives for file storage, and, if necessary, an internet connection.

Although the parts that make up your computer (referred to as hardware) are real, tangible, and only exist as code, virtual machines (VMs) are commonly referred to as software-defined or virtual computers inside of real servers.

A virtual machine is, to put it simply, an imitation of a real computer.

Teams can use virtual machines (VMs) that simulate many machines with various operating systems on a single computer.

To know more about virtual machines, visit: https://brainly.com/question/19743226

#SPJ4

Consider relational schema with
Vehicle(vid, make, model, color, price)
Salesperson(pid, salary)
Customer(pid, phone)
Person(pid, name)
Truck(vid, weight)
Sales(salesperson_id, customer_id, vid).
A SQL statement to create the table for Salesperson with known salary at most $500K is
A SQL statement to find the names of customers and the average price of the vehicles they bought is
A SQL statement to increase the price of all red trucks by 10%
SQL statement to find all the pairs of customer names that bought trucks with the same color

Answers

The SQL statement can accessed the selected data in database with the relationship table.

For statement to create the table for Salesperson with known salary at most $500K is CREATE TABLE Salespersons AS (SELECT * from Salesperson where salary <= $500,000).

For statement to find the names of customers and average price of the vehicles they brought is SELECT Person.name, AVG(price) FROM Person INNER JOIN Sales INNER JOIN Vehicle ON Person.pid = Sales.customer_id AND Sales.vid = Vehicle.vid GROUP BY Person.names ;

For statement to increase the price of all red trucks by 10% is ISET Vehicle.price = price * 1.1 WHERE Vehicle.color = red;

For statement to find all the pairs of customer names that bought trucks with the same color is SELECT Person.name FROM Person INNER JOIN Truck INNER JOIN Sales INNER JOIN Vehicle ON Person.pid = Sales.customer_id AND Sales.vid = Truck.vid AND Truck.vid = Vehicle.vid GROUP BY Vehicle.color;

Learn more about SQL here:

brainly.com/question/29524249

#SPJ4

Question 8 (2.5 points)
How would you type a capital Y?
Hold down the shift key with the left pinky and type Y with the right thumb
Hold down the shift key with the right pinky and type Y with the right middle
finger
Hold down the shift key with the left pinky and type Y with the right index finge
Hold down the shift key with the right pinky and type Y with the right index
finger
ng mga man

Answers

Answer:

Hold down the shift key with the right pinky and type Y with the right index

finger

Explanation:

The explanation for this Answer is that the letter "Y" is located just in the middle of the numbers "5 and 6" which is very close to your right index finger so you may use your right pinky finger to hold the Shift key and then press the "y" key after pressing like this you will get your expected answer. Thank You!

The letter "Y" is located just in the middle of the numbers "5 and 6" which is very close to your right index finger so you may use your right pinky finger to hold the Shift key. Other part of question is discussed below.

What are the most common layout of keys?

The most common layout of keys on the keyboard is the querty keyboard. A computer keyboard is an input device that is used to key in letters, numbers, and other symbols.

The computer user uses the key board to as a mode of communication between him or her and the commuter in order to produce the expected results as the output.

Qwerty keyboard has been known as the  most common layout of the keys on the keyboard. It has the standard computer keyboard and it refers to the first six letters on the upper row of the keyboard.

The Pinky Finger is the little or the small finger which is below or next to the small finger. On the computer keyboard the pinky finger types P, semicolon (;), colon (:), slash (/), question mark (?), enter, backspace and  shift.

Therefore, The letter "Y" is located just in the middle of the numbers "5 and 6" which is very close to your right index finger so you may use your right pinky finger to hold the Shift key.

Learn more about keyboard on:

https://brainly.com/question/24921064

#SPJ2

Other Questions
List 3 political reasons for the Vietnam War. 2 negative aspects of the Vietnam War. Explain the significance of 1 individual from the Vietnam War. Find the perimeter of a triangle with side lengths of 3x, x + 2, and x 4. what property is used here 3(+2)=3+6 Write the steps for calculating molar mass. Why is the air you breathe more likely to enter the right lung than the left? How can we use science and math to develop a cost-benefitanalysis to help manage natural resources? Which Texan piloted the first manned flight in the Apollo mission?Select one: Michael DeBakey Edward H. White Walter Cunningham Benjy Frances Brooks Given a function f(x)=|x+1|-|x -2|How many solutions has f(x) = a, in respect of a?If a E {-3, 3}, number of solutions isif a E (-3, 3) number of solutions isif a E (-infinity, -3) U (3,infinity) number of solutions is The force of Earths gravity keeps earth in orbit true or false 7. Jerry has 23 coins in nickels, n, and dimes, d. Hehas $1.95 altogether. How many nickels does Jerryhave? Read the excerpt from "The Lottery."The children assembled first, of course. School was recently over for the summer, and the feeling of liberty sat uneasily on most of them; they tended to gather together quietly for a while before they broke into boisterous play, and their talk was still of the classroom and the teacher, of books and reprimands.What information from the excerpt is ironic?The children are still thinking about school now that is summer.The children gathered quietly together.The children arrived first for the lottery.The feeling of freedom from school is an uneasy one. Pls help if you can Thx! lve had a crush on a girl for 4 years now,Do i love her or its still just a crush 18. Paris tends to view personality as fairly stable and therefore her personality is more stable, whereas Lanetends to view personality as fairly changeable and therefore her personality is more changeable. Thesedifferences in attitudes and personality are most consistent with theneed help asap Can someone tell me if this is correct Help! I'll give 30 points!!!!!! PLEASE ANSWER THIS ASAP I WILL MARK YOU THE BRAINLIEST The actual subject is Science but they dont have that as a option in pick a subject Substance abuse is a disease that can be treated.True or False Which selection best indicates the slices that can be made from from the right triangular prism?Question 1 options:triangle, trapezoid, rectangle, quadrilateral, pentagontriangle, trapezoid, quadrilateraltriangle, trapezoid, hexagontriangle, quadrilateral, hexagon Which of these groups did Hitler dislike, according to the text?i. Slavic peoplesii. Aryan Germansiii. Asiansiv. Rich peopleV. Jewsvi. Mentally ill people