The Assignment

For the purpose of this assignment, we will be asking you to do a simplified version of the algorithm using 2D Cartesian points and Euclidean distance measurement to calculate closeness. The Rules

Each point given will have a unique (x,y) coordinate. Each point will be classified as either R for Red or B for Blue. There will never be a tie as to what an object will be classified as. Input

As input you will be given on the first line n and k followed by 1 <= n <= 100 lines each containing a pre-classified point. N is the number of pre-classified points given, 1 <= k <= n is the number of nearest neighbors you will use to classify your unknown point. Each of the pre-classified points will be represented on separate lines in the form x y c where x and y are the Cartesian coordinates of the point -100. 0 <= x,y <= 100. 0 and c is its label, either R or B. Finally on the last line you will receive, in the format x y, the Cartesian coordinates of the point which should be classified. For example:

10 3

3. 57 -3. 18 R

84. 91 27. 69 B

93. 40 4. 62 B

-67. 87 9. 71 B

75. 77 82. 35 B

-74. 31 -69. 48 R

39. 22 31. 71 R

-65. 55 95. 02 B

17. 12 3. 44 B

70. 60 -43. 87 R

25. 60 -10. 15

Your Task

Once you have this information, you should find and record the point closest to point p (the unknown), then find the next closest point, etc. Until you have found k points. Count how many times labels R and B were found, point p gets classified as whichever label occurred more. Remember that the rules ensure one label will always occur more than the other. Output

Your output should be a single char either R or B which your point p has been classified as

Answers

Answer 1

The task for this assignment involves using a simplified version of an algorithm that utilizes 2D Cartesian points and Euclidean distance measurement to calculate closeness.

Algorithm using 2D Cartesian points and Euclidean distance measurement to calculate closeness:

1. Read input values n and k, and the n pre-classified points with their coordinates (x, y) and labels (R or B).
2. Read the unknown point's coordinates (x, y).
3. Calculate the Euclidean distance between the unknown point and each of the pre-classified points.
4. Sort the pre-classified points based on their calculated distances from the unknown point in ascending order.
5. Select the first k points from the sorted list.
6. Count the occurrences of labels R and B among the selected k points.
7. Classify the unknown point as R or B based on which label occurred more frequently among the k points.

For the given example:

Input:
10 3
3.57 -3.18 R
84.91 27.69 B
93.40 4.62 B
-67.87 9.71 B
75.77 82.35 B
-74.31 -69.48 R
39.22 31.71 R
-65.55 95.02 B
17.12 3.44 B
70.60 -43.87 R
25.60 -10.15

Output:
R

In this case, the unknown point (25.60, -10.15) is classified as R, since there are more R labels among the 3 nearest neighbors.

To  know more about  Euclidean distance visit:

https://brainly.com/question/31538311

#SPJ11


Related Questions

Ashley wants to know the oldest form of both water purification and waste disposal. Help Ashley determine the methods. The oldest method of water purification is . The oldest method of waste disposal is .

Answers

Answer: Distillation and Landfill

Explanation:

Distillation is the old method of water purification, these process involves the separation of compounds or components of a mixture based on their different boiling points. Today we have advanced method of seperation, although Distillation is still being used.

Land fill is one of the oldest form of waste disposal, these method involves digging up a large land mass(depending on the waste to be disposed) and dumping the water into the dugged land mass, then cover it up with the sand that was dugged out. Today, they are more advanced ways to handle wastes such as incinerator.

Your boss has asked you to write a script that will copy all of the files from one hard drive to another each evening. This script should mirror the directories from one drive to the other and ensure they are synchronized each evening. Which command-line tool should you use in your script?

Answers

To accomplish the task of mirroring directories and synchronizing them between two hard drives each evening, a command-line tool is needed.

The appropriate command-line tool for this task is "rsync." Rsync is a powerful utility that allows you to efficiently transfer and synchronize files between two locations. In your script, you would use rsync to copy all files from one hard drive to another while maintaining the same directory structure.

Here's a step-by-step guide to using rsync in your script:

Open a text editor to create your script.Use the following command template for rsync: `rsync -av --delete /source/directory /destination/directory`
  - `-a` stands for "archive mode" which ensures the preservation of file permissions, ownership, and timestamps.
  - `-v` stands for "verbose" which displays the progress of the transfer.
  - `--delete` removes files from the destination that are not present in the source, ensuring synchronization.Replace `/source/directory` with the path to the source hard drive, and `/destination/directory` with the path to the destination hard drive.Save the script file with a `.sh` extension (e.g., `sync_drives.sh`).Schedule the script to run each evening using a task scheduler like "cron" on Linux or "Task Scheduler" on Windows.

By using the rsync command-line tool in your script, you can efficiently mirror directories and synchronize the files between two hard drives each evening as requested by your boss.

To learn more about directories, visit:

https://brainly.com/question/7007432

#SPJ11

If you use excel regularly, do you use a documentation
page? Can you see any advantages or disadvantages to
using the documentation page?

Answers

Using a documentation page in Excel can provide advantages such as improved organization, collaboration, and future reference.

As an AI language model, I don't have personal experiences or habits like using Excel or documentation pages. However, I can provide information on the advantages and disadvantages of using a documentation page in Excel:

Advantages of using a documentation page in Excel:

Organization: A documentation page helps keep track of important details, formulas, and processes used in the spreadsheet, improving organization and ease of understanding.

Collaboration: Documentation can be shared with others, facilitating collaboration and ensuring everyone has access to essential information about the spreadsheet.

Future reference: Having a documentation page allows users to refer back to it in the future, even if they haven't worked with the spreadsheet for a while, making it easier to understand and modify the file.

Disadvantages of using a documentation page in Excel:

Maintenance: Keeping the documentation up to date can be time-consuming, especially if there are frequent changes to the spreadsheet.

Duplication: There is a possibility of duplicating information already available in Excel's built-in features like comments or cell notes, leading to redundancy.

Accessibility: If the documentation page is not properly shared or stored, it may be difficult for others to locate or access the relevant information.

However, it may require additional effort for maintenance and can lead to duplication if not managed effectively. Consider the specific needs of your Excel usage and determine if a documentation page would be beneficial in your case.

To know more about excel visit :

https://brainly.com/question/3441128

#SPJ11

a master page enables the users to create the layouts of the pages quickly and conveniently across the entire web site. T/F?

Answers

The statement given "a master page enables the users to create the layouts of the pages quickly and conveniently across the entire web site" is true becasue a master page is a template page that contains the common layout and functionality of the website, and it is used to provide a consistent look and feel across all pages of the website.

By using a master page, users can quickly create pages with the desired layout and functionality without having to repeat the same code for every page. This can save time and effort in web development. Therefore, the statement that a master page enables users to create layouts quickly and conveniently across the entire website is true.

You can learn more about master page at

https://brainly.com/question/14347278

#SPJ11

Which cloud computing category allows a company to quickly provision additional disk space?
A) hosted platforms
B) hosted infrastructure
C) hosted networking
D) hosted applications

Answers

The cloud computing category that allows a company to quickly provision additional disk space is B) hosted infrastructure.

Hosted infrastructure provides companies with on-demand access to computing resources such as servers, storage, and networking. This allows them to quickly scale up or down their resources as needed, including provisioning additional disk space.

Cloud computing is the on-demand availability of computer system resources, especially data storage and computing power, without direct active management by the user. Large clouds often have functions distributed over multiple locations, each of which is a data center

Learn more about Cloud-computing: https://brainly.com/question/29737287

#SPJ11

Describa la clasificación de los recursos educativos digitales abiertos. vea este video, para hacer eso

Answers

hola una pregunta dónde está el vídeo ?

hola una pregunta dónde está el vídeo ?

what form is used to record end of day security checks?

Answers

Answer:As evidence that an end-of-day security check has been made, display an Activity Security Checklist, Standard Form 701 (SF-701) near the office exit.

Explanation:sorry if its wrong

The form that is used to record end-of-day security checks is known as SF 701, “Activity Security Checklist.

Why security check has been required?

The security check has been required by the companies because it allows individual access to classified national security information. It is also required in order to find out the character and fitness of an individual along with the verification of the information that is provided by the candidate.

There are various forms of a security check which is used with respect to the requirement. For example, SF 701, is used to record end-of-day security checks while Standard Form (SF) 702 is used to provide a record of the names and times that persons have opened or closed a particular container.

Therefore, the form that is used to record end-of-day security checks is known as SF 701, “Activity Security Checklist.

To learn more about Security information, refer to the link:

https://brainly.com/question/25720881

#SPJ5

limitation of the 8-bit extended ASCII character set is that it can only represent up to 128 explain how can these limitations can be overcome?

Answers

use more bits to allow for more characters for example unicode uses i think up to 32 bit

Which are characteristics of a video with a higher
bit rate? Choose all that apply.
fewer frames per second
more frames per second
lower quality
higher quality
larger file size
smaller file size

Answers

Answer:

D and E.

Explanation:

A user has contacted you requesting help with an operating system configuration issue. From your computer, you configure an Offer Remote Assistance invitation. What is a valid reason for not being able to create a Remote Assistance connection to the user's computer?

Answers

Answer:

In the search box on the taskbar, type remote assistance, and then select Allow Remote Assistance invitations to be sent from this computer from the list of results. On the Remote tab, select the Allow Remote Assistance connections to this computer check box, and then select OK.

Answer:

In the search box on the taskbar, type remote assistance, and then select Allow Remote Assistance invitations to be sent from this computer from the list of results. On the Remote tab, select the Allow Remote Assistance connections to this computer check box, and then select OK.

Explanation:

desribe the signal that microsoft may be sending by having debt on its balance sheet

Answers

Having debt on its balance sheet, Microsoft may be sending a signal of its willingness to leverage borrowing as a strategic financial decision.

By carrying debt, Microsoft can indicate that it believes it can generate returns on investments that exceed the cost of borrowing. It suggests that the company has confidence in its ability to manage its financial obligations and generate sufficient cash flow to service its debt. Taking on debt can also be a way for Microsoft to fund growth initiatives, research and development, acquisitions, or other strategic investments without diluting existing shareholders.

Additionally, having debt on the balance sheet can signal that Microsoft wants to maintain a healthy capital structure by balancing debt and equity financing. Debt can provide tax benefits, as interest payments are tax-deductible, which can enhance profitability. However, it is important to note that the specific reasons for Microsoft's decision to have debt on its balance sheet would require a closer analysis of the company's financial strategy, market conditions, and specific business objectives.

To know more about  balance sheet visit:

https://brainly.com/question/31008457

#SPJ11

You listened to a song on your computer. Explain in 3-5 sentences if you used hardware or software.

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

When you have listened to music on your computer. You used both computer hardware and software. You used a hard drive as a hardware device that stored your song. And, software such as s media player that you used to play the song.    

I hope this answer helps you.

Write a code in python that guesses a hardcoded answer and keeps on asking the user until the user gets the answer correct. The cmputer should be telling the user if the number they are guessing is too low or too high.

Answers

import random

#You can change the range.

answer = random.randint(1,1000)

counter = 0

while(True):

   guess = int(input("Make a guess: "))

   message = "Too high!" if guess>answer else "Too low!" if guess<answer else "You won!"

   print(message)

   if(message=="You won!"):

       print("It took",counter,"times.")

       break

   else:

       counter+=1

Write a code in python that guesses a hardcoded answer and keeps on asking the user until the user gets

A writing guide in making a project correctly.

a.project proposal
b.project plan
c.project format
d.project template ​

Answers

Answer:

b

Explanation:

B Project plan hope this helps

Which of these might cause a STOP error in Windows? Select 2 options

Answers

The options that might cause a STOP error in Windows are:

bad or incompatible driver.overheating.Why do Windows stop code errors occur?

This stop error number is brought on by a malfunctioning driver that, under certain circumstances, fails to finish its work in a timely manner. Gather the RAM dump file from the system and utilize the Windows to identify the problematic driver to assist reduce this error.

Note that Although other codes may indicate issues with other hardware or software, the majority are caused by issues with a device driver or your computer's RAM. Example of a STOP Code (Windows XP).

Therefore, If there is a problem that results in an unexpected shutdown or restart of your device, a blue screen error, also known as a stop error, may occur.

Learn more about  incompatible driver from

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

See options below

an application stops responding to commands

a missing image on a web page

bad or incompatible driver

bad application coding

overheating

Write an LC-3 assembly language program that divides a positive number X by another positive number Y. The program stores the integer part of the result in R3, i.e., R3 = int (X/Y), and the reminder in R4, i.e., R4=X%Y. Your code should use an iterative construct. The value of X should be stored in 0x3100 and the value of Y should be stored in 0x3101. Also, let X = 0x005A and Y = 0x0007 when running the simulation to validate the program's function. Your program should start at 0x3000.

Answers

The LC-3 assembly language program for dividing a positive number X by another positive number Y and storing the integer part of the result in R3 and the remainder in R4 is given below:ORIG x3000LD R1, DIV ;Load DIV function's address in R1LD R0, X ;Load X's value in R0LD R2, Y ;Load Y's value in R2 ;

Reset R3 and R4 with zerosLEA R3, ZEROLEA R4, ZEROLOOP ADD R4, R4, R2 ;Add Y to R4ADD R3, R3, #1 ;Increment R3BRp LOOP ;Continue until R4 is positiveBRzp DONE ;Skip if R4 is zeroNOT R4, R4 ;R4 = -R4ADD R3, R3, #-1 ;Decrement R3BRnzp LOOP ;Continue until R4 is zeroDONE ST R3, INT_RESULT ;Store the integer part of the result in R3ST R4, REM_RESULT ;Store the remainder in R4HALT ;Stop the programDIV ADD R5, R5, #-1 ;Decrement quotient counterBRn DONE ;Finish if counter is zeroADD R4, R4, R2 ;Add divisor to remainderADD R5, R5, R5 ;Shift quotient left by 1BRp DIV ;Continue if remainder is positive;When done, quotient is in R5, remainder is in R4;Address of variablesLD R1, X ;Load X's address in R1LD R2, Y ;Load Y's address in R2 ;Zero-value registerLEA R0, ZERO ;Load ZERO in R0LD R3, ZERO ;Load ZERO in R3LD R4, ZERO ;Load ZERO in R4 ;Address of resultsLEA R3, INT_RESULT ;Load the address of R3 in R3LEA R4, REM_RESULT ;Load the address of R4 in R4 ;Initial values for X and YLD R0, 0 ;X = 0LD R1, x005A ;X = 0x005ALD R2, x0007 ;Y = 0x0007 ;Address of programORIG x3000 ;Start the program here;Address of the resultsINT_RESULT .FILL x0000 ;The integer part of the resultREM_RESULT .FILL x0000 ;The remainder of the result;Address of helper dataZERO .FILL x0000 ;

To know more about language visit:

https://brainly.com/question/30914930

#SPJ11

I just tested how resistant my skin is with a multimeter and I stuck the probe tips pretty hard into my left and right hand. The multimeter measured about .7 Megaohms for me with dry skin and 1.3 Megaohms for my brother. Is this high? Please explain, if you think I'm joking leave your contact info and I'll prove it.

Answers

Since the multimeter measured about 7 Megaohms for you with dry skin and 1.3 Megaohms for your brother. it can be said that it is high.

What does a multimeter measure?

A digital multimeter is known to be a kind of a test tool that is often used to measure a lot of  or two electrical values that are seen or known to be principally voltage (volts), current (amps) and that of resistance (ohms).

Note that t he conductivity of the skin is said to be one that variable from person to person, hence, Since the multimeter measured about 7 Megaohms for you with dry skin and 1.3 Megaohms for your brother. it can be said that it is high.

Learn more about Megaohms from

https://brainly.com/question/10426373

#SPJ1

Click the above image
Ask the user to enter two numbers. The first number is for the multiplication table. The second number is the number of rows to display.

Use a for loop to print the table.

Click the above imageAsk the user to enter two numbers. The first number is for the multiplication table.

Answers

Answer:

Follows are the cdo0de to this question:

import java.util.*;//package  

public class Table //defining class Table

{

   public static void main(String[] asx)//main method  

   {

       int x,y,i;//defining integer variables

       Scanner bg=new Scanner(System.in);//creating Scanner class object

       System.out.print("Enter first number: ");//print message  

       x=bg.nextInt();//input value

       System.out.print("Enter Second number: ");//print message

       y=bg.nextInt();//input value

       for(i = 1; i <= y; i++)//defining for loop for print Table

       {

           System.out.printf("%d * %d = %d \n", x, i, x * i);//calculate and print table

       }

   }

}

Output:

Enter first number: 5

Enter Second number: 3

5 * 1 = 5  

5 * 2 = 10  

5 * 3 = 15

Explanation:

In the above code, three integer variable "x,y, and i" is declared, in which "x,y" variable is used to input value from the user end, and after input, the value the for loop is used, in which the second variable "y" count the rows, and "i, x" variable is used for calculates the multiplication of the table.  

consider the digital input pin (p1) of a processor that operates based on digital input levels of 0v and 5v. using any circuit simulation software, draw two separate circuits that will control this pin such that: a. p1 is pulled up to 5v when the switch is off and 0v is applied to the pin only when the switch is on. b. p1 is pulled down to 0v when the switch is off and 5v is applied to the pin only when the switch is on.

Answers

In the second circuit, P1 is pulled down to 0V when the switch is off and pulled up to 5V when the switch is on.

By using different combinations of resistors and switches, we can control the voltage level of a digital input pin (P1) to either 0V or 5V depending on the state of the switch.

In the first circuit, P1 is pulled up to 5V when the switch is off and pulled down to 0V when the switch is on.

In the second circuit, P1 is pulled down to 0V when the switch is off and pulled up to 5V when the switch is on.

To control a digital input pin (P1) of a processor, we need to use a circuit that pulls the pin either up to 5V or down to 0V based on the state of a switch. Let's explore two separate circuits to achieve this:

a. Circuit to pull P1 up to 5V when the switch is off and 0V when the switch is on:

Connect a resistor (R1) between P1 and the 5V power supply.

Connect the switch (SW1) between P1 and ground (0V).

Connect a pull-up resistor (R2) between P1 and the 5V power supply.
```
5V ------[R2]------- P1 -------[R1]------- SW1 ------- GND
```
When the switch is open (off), P1 is pulled up to 5V through R2. This ensures that P1 receives a logic high (5V) signal.

When the switch is closed (on), P1 is connected to ground through SW1, which overrides the pull-up and forces P1 to 0V (logic low).

The pull-up resistor (R2) ensures that P1 receives a high voltage when the switch is off, as it connects P1 to the 5V power supply.

When the switch is on, it provides a low resistance path between P1 and ground, effectively pulling P1 down to 0V.

The resistor (R1) is used to limit the current flowing through SW1 when the switch is closed.

b. Circuit to pull P1 down to 0V when the switch is off and 5V when the switch is on:
- Connect a resistor (R3) between P1 and ground (0V).
- Connect the switch (SW2) between P1 and the 5V power supply.
- Connect a pull-down resistor (R4) between P1 and ground.

```
5V ------ SW2 ------- P1 -------[R3]------- GND
               |
               |
             [R4]
               |
              GND
```
When the switch is open (off), P1 is connected to ground through R3, which pulls it down to 0V (logic low). When the switch is closed (on), P1 is connected to the 5V power supply through SW2, which overrides the pull-down and pulls P1 up to 5V (logic high).

The pull-down resistor (R4) ensures that P1 is at a low voltage when the switch is off, as it connects P1 to ground.

When the switch is on, it provides a low resistance path between P1 and the 5V power supply, effectively pulling P1 up to 5V.

The resistor (R3) limits the current flowing through SW2 when the switch is closed.

In the second circuit, P1 is pulled down to 0V when the switch is off and pulled up to 5V when the switch is on.

To know more about digital visit

https://brainly.com/question/15486304

#SPJ11

Constructive criticism
Brainstorming possible solutions means one person generates all the ideas.

True
False
Question 2(Multiple Choice Worth 3 points)
(03.04 MC)

Your friend has asked you to provide one tip for accepting constructive criticism. Which of the following is the best technique?

Become defensive about the criticism
Reflect upon the criticism
Resist seeking solutions to the behavior that prompted the criticism
Tune out the critic's criticism
Question 3 (True/False Worth 3 points)
(03.04 LC)

Constructive criticism deals with a person, not his or her behavior.

True
False
Question 4 (True/False Worth 3 points)
(03.04 LC)

Project managers have the overall responsibility for planning, executing, and completing a project.

True
False
Question 5(Multiple Choice Worth 3 points)
(03.04 MC)

Read the following scenario:

A project will require more people than originally estimated.

Identify the possible risks to the project.

Ideas and creativity
Money and resources
Policies and procedures
Time and work ethic is intended as a possible solution. True False

Answers

Answer:

1. False

2. Reflect upon the criticism

3. True

4. False

5. True?

Answer:

1. True

2.Reflect upon the criticism

3.True

4.False

5.Time and work ethic is intended as the possible solution

What are the five types of alignment in Word? side, middle, top, bottom, and graphing left, center, right, decimal, and bar tab, alt, shift, control, and function page layout, review, view, references, and insert

Answers

Answer:

side, middle, top, bottom, and graphing.

Explanation:

Answer: A. side middle top bottom and graphing

Explanation: Saw it on Edgen.

define the term network topology?​

Answers

Answer:

Network TOPOLOGY is a passage way network is arranged, including the logical description of links and how they are set up to relate with each other.

Examples of network topology are:

a) Star ring

b) Star bus network.

Explanation:

Hope it helps.

In what decade was the five-digit zip code first implemented?

Answers

The postal zone number in a particular city is "16." A more structured system was required by the early 1960s, and on July 1, 1963, five-digit ZIP Codes were made optional nationally.

TL;DR: A "Zone Improvement Plan" (ZIP Code) or ZIP Code employs 5 numbers to direct mail delivery to a certain post office or region. When the ZIP code was first adopted on July 1, 1963, it was a component of the Postal Service's wider Nationwide Improved Mail Service (NIMS) initiative to speed up mail delivery. The ZIP stands for Zone Improvement Plan. A specific collection of American states is represented by the first digit of a ZIP code. A territory in that category, such as a big city, is represented by the second and third numbers. Only the first five digits of the ZIP code are needed in order to send mail.

To learn more about Codes click the link below:

brainly.com/question/497311

#SPJ4

A(n)
is a central computer that enables authorized users to access networked resources.

A. LAN
B. server
C. Peripheral
D. Application

Answers

Answer:

it's B -SERVER

Explanation:

on odyssey ware

Your data center features a retina scanner for added security. What type of area is this?

a.
OSHA

b.
SLA

c.
HVAC

d.
Biometric

Answers

The type of area that is featured with a retina scanner for added security in a data center is a Restricted Area. A restricted area refers to a physical space or geographical area that is considered highly confidential, and strict access control policies are put in place to ensure the security of the location.

These areas are normally found in sensitive places such as military installations, government buildings, research facilities, or data centers. In most cases, authorized personnel who work in a restricted area must undergo a security clearance to be granted permission to access the area.Restricted areas typically contain critical infrastructure, sensitive data, or classified information, hence requiring additional security measures to protect them from unauthorized access, tampering, or theft. The use of a retina scanner for added security is common in data centers to prevent unauthorized access to servers and other computing equipment in the facility.

Know more about retina scanner, here:

https://brainly.com/question/32402915

#SPJ11

Plot the graph of absorbance versus dilutions of *Saccharomyces
cerevisiae on Microsoft Excel
a) Only plot trend line for linear range of data; show the R^2
value for each dataset
b) You may chose to
Dilutions Blank 1:16 1:8 1:4 1:2 550 0.000 0.098 0.206 0.418 0.810 1.418 Wavelength (nm) 620 0.000 0.075 10.169 0.368 0.714 1.162 690 0.000 0.053 0.134 10.308 0.604 1.044 1:1 Plot the graph of absorba

Answers

I can guide you on how to create the graph you described. Here are the steps: By following these steps, you should be able to create a graph of absorbance versus dilutions in Microsoft Excel, including the trendline and R-squared value for each dataset.

1. Open Microsoft Excel and enter the dilutions in one column and the corresponding absorbance values in another column.

2. Select the data range and click on the "Insert" tab in the Excel menu.

3. Choose the chart type that represents the relationship between dilutions and absorbance. In this case, a scatter plot with markers connected by a smooth line (XY scatter with smooth lines) would be suitable.

4. Right-click on any data point on the graph and select "Add Trendline" from the context menu.

5. In the "Format Trendline" options, select the "Linear" trendline type.

6. Enable the option to display the equation and R-squared value on the chart.

7. Adjust the axis labels, title, and other formatting options to enhance the clarity of the graph.

To know more about Microsoft Excel visit-

https://brainly.com/question/32584761

#SPJ11

what do you think are the IPO components in an online movie ticket booking system?

Pls answer correctly ASAP​

Answers

Explanation:

Online Movie Ticket Booking System is a website to provide the customers facility to book tickets for a movie online and to gather information about the movies and theaters. Customer needs to register at the site to book tickets to the movie

Advantages of Online Booking Systems

Your business is open around the clock. ...

You can maximize reservations. ...

You get paid quicker. ...

You're not tied to a phone. ...

You can effortlessly up-sell add-ons. ...

It's easy to manage your calendar. ...

You get valuable insight about your business

does anyone know what's wrong with this code

does anyone know what's wrong with this code
does anyone know what's wrong with this code

Answers

hmmm- I don’t see anything right now, I’m at the end of a semester in Computer technology.

file were we create rule sets

Answers

Answer:

Create a new rule set

You can create a new rule set file from the New File dialog:

Select File > New > File, or press Ctrl+N.

In the New File dialog box, select the General category on the left, and then select Code Analysis Rule Set.

Select Open.

The new .ruleset file opens in the rule set editor.

Explanation:

help

How does the onEvent block work?

Answers

Answer:The onEvent() block takes three parameters. The first two are the id of the element and the type of event that should be “listened” for. The third parameter is a function. If you were going to read the onEvent block like a sentence it would read “on the event that this id experiences this event, call this function”

Explanation:

Above answer is the correct choice in my opinion !! For this question hope this helps
Other Questions
A, B, C and D form the vertices of aquadrilateral. Calculate the area of thequadrilateral rounded to 1 DP. Calculate the amortization table for a loan of $15,000,000 at15% per year to be amortized over 5 years (annual payments). By theGerman method and by the French methodPlease, step by step List and describe the management process (sometime called themanagement functions). Your answer should have four parts (hint:POLC). I'LL GIVE BRAINLIEST I REALLY NEED HELP WITH THESE QUESTIONS, DUE TODAY!PLEASE WORK OUT I NEED TO SHOW MY WORK PLEASE WORK OUT PLEASSEEE!1. A group of students went to the movie theater.Eighteen of the students bought popcorn.The other 60% of the students bought candy.How many students were in the group?2.There are 21,000 fans at a football game cheering for the home team. The other 40% of the total people in attendance are cheering for the away team. How many people are in attendance at the game?3.Ashley sees a book bag on sale in a store for $22. This is 20% off the original price. What was the original price of the book bag? What does the term "popular sovereignty" describe?O The right of the states to vote on lawsO AbolitionismO The right of the federal government to nullify lawsThe vote to end the Civil War In Book I, "Neither Principles nor Ideas Are Innate" of An Essay Concerning Human Understanding, Locke refutes two philosophical stances that you have studied, _____ and _____. Select all that apply. a particle travels 19 times around a 10-cm radius circle in 36 seconds. what is the average speed (in m/s) of the particle? a hiring manager can be described as exhibiting overt discrimination if she is The supplement of an angle is 129 what is the measure of the angle Expand and simplify 3(2x + 1) +2(x + 4) The function f has the property that, for all x, 5(f)x=f(5x). If f(20)=40, what is the value of f(4)? Dell Computer buys computer chips from Intel for the purpose of making computers to be sold to consumers and other organizations. Dell is an example of which type of organizational buyer? a. Intermediary b. Producer c. Wholesaler d. Institution According to the Law of Dulong and Petit, the specific heat capacity multiplied by the atomic mass of an metal equals approximately 24.9. This number represents the _________ of the element. What does an increased pulse rate indicate about the heart rate and flow of blood insomeone's body? A service station has both self-service and full-service islands. On each island, there is a single regular unleaded pump with two hoses. Let X denote the number of hoses being used on the self-service island at a particular time, and let Y denote the number of hoses on the full-service island in use at that time. The joint pmf of X and Y appears in the accompanying tabulation. y p(x, y) 0 1 2x 0 0.10 0.03 0.01 1 0.08 0.20 0.06 2 0.05 0.14 0.33a) Given that X = 1, determine the conditional pmf of Yi.e., pY|X(0|1), pY|X(1|1), pY|X(2|1). b) Given that two hoses are in use at the self-service island, what is the conditional pmf of the number of hoses in use on the full-service island?(c) Use the result of part (b) to calculate the conditional probability P(Y ? 1 | X = 2). (c) Use the result of part (b) to calculate the conditional probability P(Y ? 1 | X = 2). which best describes a difference between transcription and DNA replication?a.transcription does not require dnab.only transcription happens in the nucleusc.dna replication takes place in the ribosomed. dna replication uses thymine True or False: Maternal homologous chromosomes are the fathers. If you were to have a bottle containing compound X in your closet, what phase would it most likely be in? * The tail of a model dinosaur is 8 inches shorter than the rest of its body. The rest of its body is 36 inches long. How long is the dinosaurs tail? How does subsistence agriculture differ from market-oriented agriculture?