1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
muminat
3 years ago
15

## Inputs

Computers and Technology
1 answer:
Vitek1552 [10]3 years ago
7 0

<em># Recieving two coordinate pairs</em>

x1 = int(input("Please provide X1:\t"))

y1 = int(input("Please provide Y1:\t"))

x2 = int(input("Please provide X2:\t"))

y2 = int(input("Please provide Y2:\t"))

<em> </em>

<em>## Calculations </em>

<em> </em>

<em> </em>

<em># distance formula</em>

xDif = x2 - x1

yDif = y2 - y1

radical = xDif**2 + yDif**2

distance = radical ** (1/2) # meters

<em>## Outputs</em>

if(distance>50):

   print("The points are very far apart\n")

elif(distance<5 and distance>0):

   print("The points are fairly close\n")

elif(distance==0):

   print("These point are the same\n")

<em>#Informing the user of distance between the two coordinate pairs</em>

print("Distance between points:", distance, "meters")

You might be interested in
Missy loves her old Windows games. When she upgrades her Windows system, the games run fine, but the output looks fuzzy since th
vovangra [49]

Complete Question:

Missy loves her old Windows games. When she upgrades her Windows system, the games run fine, but the output looks fuzzy since the programs are designed only to run in VGA mode.

Group of answer choices;

A. Reboot into Safe Mode

B. Run compatibility mode for 640 x 480 resolution.

C. Reduce her screen resolution to 640 x480

D. Reboot into Low Resolution Mode

Answer:

B. Run compatibility mode for 640 x 480 resolution.

Explanation:

In this scenario, Missy loves her old Windows games. When she upgrades her Windows system, the games run fine, but the output looks fuzzy since the programs are designed only to run in VGA mode. In order to make the games work properly in Windows, Missy should run compatibility mode for 640 x 480 resolution.

The video graphics array (VGA) is the standard graphics or display interface used for computer monitors. It was developed in 1987 by IBM and it had a standard display resolution of 640 x 480 pixels.

<em>Hence, if the output of a software program (games) looks fuzzy or is not being displayed properly, you should run compatibility mode for 640 x 480 resolution. This is to enable low resolution video mode on the computer. </em>

The VGA mode is very basic because only minimal video drivers are being loaded on the windows.

4 0
3 years ago
The type of database that is most capable of supporting complex data types is _____. Select one: a. sequential files b. relation
Anestetic [448]

Answer:

Object-Oriented DBMS.

Explanation:

Like classes in Object oriented programming Object-Oriented DBMS is can store objects.It follows an Object oriented data model with the properties of classes and the properties of Object oriented programming also.Objects can be in the form of complex data types or different data types.

6 0
3 years ago
Read 2 more answers
What should you do first when designing a program?
Nady [450]

Answer: talk about da progrm

Explanation:

6 0
3 years ago
Read 2 more answers
Suppose there is exactly one packet switch between a sending user and a receiving user. The transmission rates between the sendi
Paha777 [63]

Answer:

L(\frac{1}{R_1}+\frac{1}{R_2}  )

Explanation:

R_1 is the transmission rates between the sending user and the switch while R_2 is the transmission rates between the switch and the receiving user and the length of the packet is L

Considering no propagation delay the time taken to transmit the packet from the sending user to the switch is given as:

t_1=\frac{L}{R_1}

the time taken to transmit the packet from the switch to the receiving user is given as:

t_2=\frac{L}{R_2}

therefore the total end-to-end delay to send a packet is:

t=t_1+t_2=\frac{L}{R_1}+\frac{L}{R_2} =L(\frac{1}{R_1}+\frac{1}{R_2}  )

6 0
3 years ago
Machine-to-machine (M2M) technology enables sensor-embedded products to share reliable real-time data ________.Select one:a. ove
just olya [345]

Answer:b)via radio signals

Explanation: Machine-to-machine technology is the technology that helps in sharing of the real time information of the device that have embedded sensor.They can work without the help of the manual factors.

The data is shared through the help of the radio signals in the devices like turbines vending machines etc for the tracking purpose and managing.

Thus the other options are incorrect because short distance is a disttance, cloud services are for the collection of services and databases contains the data. So, the correct option is option (b).

5 0
4 years ago
Other questions:
  • In Word, how can you tell when text is selected?
    8·1 answer
  • WILL GIVE BRANLYIST
    6·1 answer
  • In basic network scanning, ICMP Echo Requests (type 8) are sent to host computers from the attacker, who waits for which type of
    14·1 answer
  • A magnetic disk drive requires a motor to position a read/write head over tracks of data on a spinning disk, (see fig. e4.4 in d
    8·1 answer
  • List six common raster image file types.
    9·1 answer
  • A type of SDLC in which each phase has results that flow into the next phase is called the __________ model.
    8·1 answer
  • The internet's data gathways rely on what kind of hardware devies to route data to its destination?
    14·1 answer
  • Attach 2 screen shots demonstrating an understanding of file management tools, such as keyboard shortcuts, copy, paste, delete,
    8·1 answer
  • Write a c++ program that generates three random numbers. The first number should be between 0-30, the second number should be be
    7·1 answer
  • Mainframe computers have several CPUs, have very fast processor speeds, can supporting multiple operating systems and have huge
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!