Write code to assign x and y coordinates to currCoordinate, and store currCoordinate in criticalPoints. Input first receives an x value, then a y value. Input example: 12 32 88 2 -1 -1

Answers

Answer 1

Using the knowledge of the python computational language, it will be possible to write a coordinate code, like this:

Writing coordinate code in python:

    def __init__(self, x, y):

        self.x = x

        self.y = y

    def getX(self):

     directly

       return self.x

   def getY(self):

     return self.y

  def __str__(self):

       return '<' + str(self.getX()) + ',' + str(self.getY()) + '>'

class Coordinate(object):

   def __init__(self,x,y):

       self.x = x

       self.y = y

   def getX(self):

      return self.x

   def getY(self):

       return self.y

   def __str__(self):

       return '<' + str(self.getX()) + ',' + str(self.getY()) + '>'

     def __eq__(self, other):            

       if other.x == self.x and other.y == self.y:

           return True

       else:

           return False

   def __repr__(self):

       return "Coordinate"+ str((self.x, self.y))

See more about python at brainly.com/question/13437928

#SPJ1

Write Code To Assign X And Y Coordinates To CurrCoordinate, And Store CurrCoordinate In CriticalPoints.

Related Questions

Which of the following are exclusively associated with copyright protection

Answers

u got picture of the question?
You need a picture otherwise I can’t answer

which of the following is not a radioactive element​

Answers

Answer:

Potassium is not a radioactive element.

Define a class in Java to accept and store the list of 10 names in an array. Print the
names with even number of characters.

Answers

Answer:

public class Main

{

public static void main(String[] args) {

String[] strs = new String[10];

java.util.Scanner sc = new java.util.Scanner(System.in);

    for(int i = 0; i < 10; i++){

        System.out.print("Enter string " + (i+1) + ":");

        strs[i] = sc.nextLine();

    }

    System.out.println("The strigs with even number of characters is");

    for(int i = 0; i < strs.length;i++){

        if(strs[i].length() % 2 == 0){

            System.out.println(strs[i]);

        }

    }

}

}

Explanation:

A network packet contains two kinds of information. what are they?

geolocation data and user data

control information and user password

control information and user data

geolocation data and user password

Answers

Answer:

C) control information and user data

Hope this helped you, and have a good day!

What sets Web pages apart from other documents is that they contain a special kind of text called ___, which is document text that is able to respond to user input and link to other objects.

Answers

The web pages contain a special kind of text that allowed to respond to the user input is termed hypertext.

What are web pages?

The web pages are given as the web server delivery with the displaying of the web browser. It is given with the HTML language and comprises several resources and information.

The web page document is accessed with the presence of the hypertext or the hyperlink that enables the user selection to respond to it.

Learn more about web pages, here:

https://brainly.com/question/9060926

#SPJ1

The ____________ command / function is used in Python graphics and text-based programming code.

A. write()
B. format()
C. display()
D. print()
readline()

Answers

A. write()

2.4. Graphics

Graphics make programming more fun for many people. To fully introduce

graphics would involve many ideas that would be a distraction now. This section

Determine whether each device is an input device, an output device, or a storage device.

Answers

it would be, A C A A D A

Becky is preparing a document for her environmental studies project. She wants to check her document for spelling and grammar errors. Which function key command should she use?

A.

F1

B.

F2

C.

F5

D.

F7

E.

F12

Answers

According to what I know, I think it is F7.

Question 1-4
Java, Visual Basic, Python and C++ are examples of what type of programming language?

Answers

Answer:

most useful at the system level (interacting with the operating system), like C.

Explanation:

Others are most useful at the system level (interacting with the operating system), like C. There are also high level languages used to create application programs. Such languages include C#, Java, C++, PHP, Visual Basic, Python, Ruby, Perl, JavaScript and others.

How many bits do we have in the MAC address of an Ethernet card?

Answers

Answer: It is 6 bytes (48 bits) long

Detailed Explanation:

In a LAN, each node is assigned a physical address, also known as a MAC/Ethernet address. This address is unique to each of the nodes on the LAN and is 6 bytes (48 bits) long, which is burned on the Ethernet card (also known as the network interface card)


Treating others with respect, even when they're impolite, is considered
A. good netiquette
B. being a bystander
C. advocating
D. empathy

Answers

The answer for this question is A

Treating others with respect, even when they're impolite, is considered good netiquette. The correct option is A.

What is netiquette?

Netiquette refers to the standards of behavior for polite and appropriate online conversation. Etiquette for the internet is another name for netiquette. These are suggested politeness guidelines rather than laws.

A set of guidelines known as netiquette promotes polite and appropriate online conduct.

These guidelines are crucial because they encourage effective communication, guard against misunderstandings, and show you what is appropriate in social situations when working and cooperating online.

Online communication can be made more productive with the use of netiquette, which also helps people stay clear of confusion and potential confrontation. It is considered acceptable to treat people with respect, even when they are being rude.

Thus, the correct option is A.

For more details regarding good netiquette, visit:

https://brainly.com/question/29444693

#SPJ2

why am I doing a PAT investigation ​

Answers

Answer:

personal appliance testing to ensure the device is free from electrical defects

Enter a reference to the remaining balance of payment 1 in cell b13. use the fill handle to copy the functions created in the prior steps down to complete the amortization table.

Answers

The steps described above are actions that are performed while editing an Excel Worksheet. See definitions below.

What is a reference in a Worksheet?

In a worksheet, a cell or range of cells that can be used to create a formula so that the values in those cells can be identified by the program in the worksheet to execute a calculation is referred to as Reference.

Functions on the other hand are formulas that have already been preset onto the worksheet and can be called up and used during a calculation or analysis.

A cell is the smallest unit in a worksheet.

It is to be noted that the Amortization Table indicated is not available, hence the general answer.

Learn more about worksheets at:
https://brainly.com/question/23501096

#SPJ4

2. As you have learned, ironically, a large part of sound production involves visual perception. How easy or difficult did you find it to work with Audacity and OpenShot? Why? What aspects of the programs do you think could be improved? Explain.

Answers

Answer: it is very easy to work with programs such as audacity, they are real game changers. Also, they are very helpful for editing and recording audio. They could make audacity’s auto tune more beginner friendly

PLEASE HELP!!! Me turn this into a video & add liana flores- raise the moon (instrumental) in the background for the music. If you could help that would be great. Please this is due tomorrow at 11:59 PM and i don't have a phone to take a video of this and my computer is not letting me do it.

If I can mark B I will. Just please help me this is worth my entire grade for this year

Answers

Answer:

Try going to your settings and allow output camera

Explanation:

Answer:

Step 1: Export all images from the pdf using a screenshot tool (I used the built-in snip tool).

Step 2: Convert the music to an mp3.

Step 3: Combine everything together using ffmpeg.

Explanation:

The ffmpeg tool can perform many tasks. In this case, I added a filter configuration to create a nice crossfade effect. The tool has an infinite amount of options to achieve these results.

When creating a multipage website what are the two most important things to
remember?

A. Link your style sheet to each page and add an H1
B. Link your style sheet to each page and link all pages together
C. Link your style sheet to each page and add images
D. Link your style sheet to each page and style all elements

Answers

Answer:

B. Link your style sheet to each page and link all pages together

Explanation:

A. Link your style sheet to each page and add an H1

Not needed. Multipage websites don't require H1s to function

B. Link your style sheet to each page and link all pages together

Correct. Pages should be linked together so the website can be navigable.

C. Link your style sheet to each page and add images

Not needed. Multipage websites don't require images to function.

D. Link your style sheet to each page and style all elements

Not needed. You don't need to style every element.

What are the advantages to star topology?



Select All that Apply.




A. It is easy to troubleshoot problems.



B. Each node is connected to all other nodes.



C. It is less expensive than bus technology.



D. Nodes can be added without disrupting the network.



E. The malfunction of one workstation doesn't crash the network

Answers

The  advantage to star topology is that It is less expensive than bus technology.

What are advantages of star topology?

The Advantages of Star Topology is that it is a little bit expensive when compared to others.

Note that base on the fact that  each device only need one I/O port and may want to be linked with hub with one link, it is therefore easy or less expensive than bus technology.  There is also easy fault detection here.

Learn more about star topology rom

https://brainly.com/question/22872621

#SPJ1

____ loses data when it stops receiving electrical power.


ANSWER OPTIONS:
A graphics processing unit (GPU)

A central processing unit (CPU)

Random-access memory (RAM)

Read-only memory (ROM)

Answers

Answer:

gpu

Explanation:

the answer is gpu a graphics processing unit

Assume that it takes 0. 01 milliseconds to access a disk block if the block is in the disk cache (i. E, in main memory) and 20 milliseconds if the block is on the disk. Assume that 3 level(s) of indexing is used and the cache hit ratio is 88%. What is the effective (average) disk access time in milliseconds (rounded to zero decimal places)

Answers

GATE | GATE-CS-2015 (Set 1) | Question 65. Consider a disk pack with a seek time of 4 milliseconds and rotational speed of 10000 rotations per minute (RPM). It has 600 sectors

A series of drawn pictures (like a comic) of key visual shots of planned production for video is a/an
A encoding
B.call sheet
C.shot list
D. storyboard o IN​

Answers

Answer:

The correct answer is D) Storyboard

Explanation:

A storyboard is used during the initial planning stage of filmmaking. You draw pictures to demonstrate the general idea of what shots you want to get before actually going out and filming on a set/studio.

A while loop is frequently used to ______________ data.

A. validate
B. correct
C. inspect
D. interpret

Answers

i believe the answer to your question is A but i’m not 100% sure

(4, a) and (2, 5) are two points from a direct variation. What is a? Use the step-by-step process you just learned to solve this problem. Step 1: Set up the correct type of variation equation. y =

Answers

The value of a for point (4,a) in the direct variation is 10.

What is a direct variation?

The direct variation in mathematics is given as the equation relationship between the two numbers, where one is a constant multiple.

In the given problem, the variation equation is given as:

[tex]y=kx[/tex]

Where k is a constant.

The value of k can be derived from point (2,5):

[tex]5=k2\\\\k=\dfrac{5}{2}\\\\ k=2.5[/tex]

Substituting the values of k for the point (4,a):

[tex]a=2.5\;\times\;4\\a=10[/tex]

The value of a for point (4,a) in the direct variation is 10.

Learn more about direct variation, here:

https://brainly.com/question/14254277

#SPJ1

You are an administrator of a growing network. You notice the network you have created is broadcasting, but you cannot ping systems on different segments of your network. What device should you use to fix this issue

Answers

Answer:

Network bridge

Explanation:

You are an administrator of a growing network. You notice the network you have created is broadcasting but you cannot ping systems on different segments of your network. What device should you use to fix this issue?

✓ Network bridge

6.1.4 Guess a Number 2.0

Answers

There are different ways of coding, An example of 6.1.4 Guess a Number 2.0 is given in the space below

What is the 6.1.4 Guess a Number 2.0 about?

speed(0)

pensize(10)

def green_check():

penup()

setposition(0,0)

color("green")

backward(25)

right(45)

pendown()

forward(35)

left(90)

forward(75)

def higher():

penup()

setposition(0,0)

pendown()

left(90)

forward(100)

right(145)

forward(50)

right(180)

forward(50)

left(105)

forward(50)

def lower():

penup()

setposition(0,0)

pendown()

right(90)

forward(100)

left(145)

forward(50)

left(180)

forward(50)

right(105)

forward(50)

user_number = int(input("Guess a number 1 through 10? "))

secret_number = 6

if user_number < secret_number:

higher()

user_number = int(input("Guess a number 1 through 10? "))

elif user_number == secret_number:

green_check()

else:

lower()

user_number = int(input("Guess a number 1 through 10? "))

Learn more about code from

https://brainly.com/question/4514135

#SPJ1

how has technology impacted the individual and the society​

Answers

Answer:It affects the life of people and changes the way of their learning, thinking, and communication.

Explanation: mark me as the brainly-est to get the best answers

Is designed to access a computer or operating system without the knowledge or permission of the user.

Answers

Answer:

Spyware

Explanation:

Spyware is a type of program that is installed with or without your permission on your personal computers to collect information about users, their computer or browsing habits tracks each and everything that you do without your knowledge and send it to remote user.

The box on a slide that has a dotted or hatch-marked border and that contains the insertion point is a text ____.

Answers

it is known as a text placeholder

Placeholder is the answer

In a PHP application using PDO, a _____ consists of the host, port, and name of the database that will be used to establish a connection to the database.

Answers

The PDO in PHP has data source name that enables the connection of the database.

What is PHP?

PHP is a scripting language and is used for the WebPages and the intersection to the relative database management system.

PDO is the PHP data object and can act as providing a data extraction layer for vendor-neutral lightweight data access.

The connection to the database is managed with the data source name consisting of the host, port, and name of the database.

Learn more about PHP, here:

https://brainly.com/question/14114506

#SPJ1

Which method of backing up digital photographs is most prone to data loss due to software glitches? O online backup O fireproof safe O internal hard drive O external hard drive​

Answers

Answer:

External Hard Drive

Explanation:

External hard drive, method of backing up digital photographs is most prone to data loss due to software glitches. Thus, option (d) is correct.

What is software?

Software is the term for the intangible. The software is the most important aspect. Software is a collection of rules, data, or algorithms used to run machines and perform certain tasks. Apps, scripts, and programs that run on a mobile device are referred to as software.

According to the software in the computer are the mainly used and the upgrade basis. There was the operating system in the computer are the Microsoft Windows. There was the method to include the backing up digital photographs are the loss of the data to considerately the external hard drive was the backup.

As a result, the external hard drive, method of backing up digital photographs is most prone to data loss due to software glitches. Therefore, option (d) is correct.

Learn more about on software, here:

https://brainly.com/question/985406

#SPJ2

Mention at least five devices used for digitizing data

Answers

Answer:
1. Cloud Storage Solutions
2. Digital Communication Tools
3. Cloud ERP Systems
4. CRM Platforms
5. Digital Accounting Tools

For more information, please visit: https://www.gend.co/blog/the-digitisation-tools-with-the-biggest-impact-for-business?hs_amp=true

Hope this helps!!
Other Questions
Which statement below describes El Nino's effect on South America the best?Question 1 options:El Nino has very little effect on the climate of South America.During El Nino, the climate along the Pacific coast of South America becomes much warmer and wetter than normal. Floods and hurricanes occur.During El Nino, the weather throughout South America becomes much colder and drier every 3-7 years.El Nino makes the winds erratic throughout South America, which leads to more tornadoes. Points + brainalist The ice cream stand offers chocolate, vanilla, and strawberry ice cream. Find the approximate probability the next three customers order vanilla, chocolate, and then strawberry. A. 3.7% B. 11.1% C. 16.7% D. 8.3% Find the mean absolute deviation for each set of data. Round to the nearest Tenths.5.2, 4.8, 5.54.7, 5.3, 4.9 Here are three intersecting lines.Write an equation that represents a relationship between these angles. Tanika drew a line of best fit on a scatter plot as shown below Je me suis cass le bras quand je suis tomb. Le mdecin m'a mis le bras dansA. Un pltreB. Une inhalation C. Une poche de glaceD. lhpital All of the following are reasons why Dubai has become an attractive site for business and industry in the modern era EXCEPT1) it has a steady flow of regional and global capital2) it has a ready labor force3) there is commercial and political connectivity4) the availability of natural resources5) it is an ideal location to distribute products globally what is the amendment A young pregnant woman comes into thephysician's office and states, I told my husband Iwill give him a son, because in my family I was theonly girl and I have four brothers." Is this a validstatement? Explain to the expectant mother howthe gender of a newborn is determined. At what phase is the Moon not visible? What is the energy of a photon with a wavelength of 245 nm Businesses are important to a free enterprise system because they: State all integer values of x in the interval (-3, 3] that satisfy the followinginequality:-3x + 4 > 9 State any three types of adverbs How has secrecy played a role in your life? Have you ever kept something a secret because you thought it was the wisest choice, but then later ended up regretting your decision? Explain. Minimum 5 sentences in length. Immunodermatologists study skin disorders caused by:a persons appearance.a persons lack of exercise.a persons immune system.a persons poor diet.Ans: c Where does the plastic end up when humans are done with it? Find the value of X round to the nearest degree Explain the similarities and differences between ancient Greek and ancient Roman art. (6 points)