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
Helga [31]
4 years ago
9

Assume that a new type called POINT has been defined-- it is a structure consisting of two fields, x and y , both of type double

. Assume two variables p1 and p2 of type POINT have been declared . Assume that p1 has already been initialized . Write some code that makes p2 the reflection of p1 : in other words, give p2's x field the value of p1's y field, and give p2's y field, the value of p1's x field.
Computers and Technology
1 answer:
Studentka2010 [4]4 years ago
5 0

Answer:

The code to this question can be given as:

Code:

p2.x=p1.y;

p2.y=p1.x;

Explanation:

In the question, it is given that a different type of POINT has been declared that is consisting of two arguments that are x, y. both variable datatype is double and variable p1, p2 are new points that have been declared. In that p1 variable has already been initialized that makes p2 the reflection of p1. So the code can be given above. In this p2.x variable holds the value of the p1.y and p2.y variable holds the value of p1.x.

You might be interested in
How does join work? a. You write separator.join('a', 'b', 'c', 'd', ...) where 'a', 'b', 'c', 'd' can be replaced with other str
Ulleksa [173]

Answer:

c. You use separator.join(a_list) where a_list is a list of strings.

Explanation:

The join() is an in-built string method which returns a string concatenated with the elements of an iterable. It concatenates each element of an iterable (such as list, string and tuple) to the string and returns the concatenated string.

The syntax of join() is:

string.join(iterable)

From the above syntax, the string usually mean a separator and the iterable will be a string or list or tuple.

The answer is C.

c. You use separator.join(a_list) where a_list is a list of strings.

It is not A because the iterable could be a string. It is not D because the separator is outside not in the bracket.

6 0
3 years ago
Technology experts in the area of _____ specialize in technology for competitive advantage. a. process design b. hardware strate
Arte-miy333 [17]

Answer:

The correct answer to the following question will be Option B (Hardware strategy).

Explanation:

<u>Hardware strategy:</u>

It looks at existing infrastructure for software, hardware, and services and discusses the designs of physical databases.

Hardware Strategy should try and identify any technological threats or limitations surrounding the following:

  • Quality
  • Maintenance
  • Delivery
  • Scalability
  • Disaster recovery
  • Sizing

This approach also aims at maximizing the importance of existing technical resources. The team looks at the efficient use of software and their overall transition to company and technological environments.

Therefore, Option B is the right answer.

3 0
3 years ago
Open "Wireshark", then use the "File" menu and the "Open" command to open the file "Exercise One.pcap". You should see 26 packet
murzikaleks [220]
Idk idk idk idk idk idk
8 0
3 years ago
The possibility of devices outliving a manufacturer, leaving them without long-term support against vulnerabilities is a possibl
Dafna11 [192]

Answer: Security (updating of software and hardware)

Explanation:

Internet of Things is one of the latest inventions in technology wherein smart objects and devices can connect to the internet and also share information within that space.

One of the several challenges of the Internet of Things is Security. Because of the introduction of the Internet, there is a vulnerability to hacking. Upgrades, therefore ought to be regularly provided so as to prevent hackers from recognizing patterns and hacking into them. So when the device outlives the manufacturer, there would be no one to provide regular updates thus making the device vulnerable.

8 0
4 years ago
Internet users aged 15 and older are expected to buy about ________ worth of products and services online in 2022 (excluding tra
gregori [183]

Internet users aged 15 and older are expected to buy about<u>  $500 billion </u>worth of products and services online in 2022.

<h3>Who are the most users of internet?</h3>

China ranks first in this list of countries with most internet users. Due to its ongoing and fast-paced economic development, but also to a cultural inclination towards technology, more than a billion of the estimated 1.4 billion population in China are online

<h3>How many internet users are there in the world 2022?</h3>

The global total has still increased by 7.5 percent year on year though, with an additional 326 million new users over the past 12 months taking the global count to 4.65 billion by the start of April 2022.

To learn more about Internet users, refer

brainly.com/question/27003790

#SPJ4

Complete Question is,

A) $200 million

B) $900 million

C) $40 billion

D) $100 billion

E) $500 billion

4 0
2 years ago
Other questions:
  • Which of the Arts, A/V Technology, and Communication career cluster pathways are involved with producing a product for an audien
    8·2 answers
  • When an attacker promotes themselves as reputable third-party advertisers to distribute their malware through the Web ads,
    15·1 answer
  • Write two statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a slash, and
    5·1 answer
  • Below is the prototype for a function that takes two pointers to integer variables as its parameters. The purpose of the functio
    14·1 answer
  • Explain how signal detection theory can be used to analyze web site reading and searching. Based on this analysis, provide three
    14·1 answer
  • Hye I'm new branily I don't no use in this aap please follow me​
    10·1 answer
  • Input an int between 0 and 100 and print the numbers between it and 100, including the number itself and the number 100. If the
    5·1 answer
  • Classified Computer by their age​
    12·1 answer
  • Designing a video game takes tons of creativity. What inspires your personal creativity and ideas for video games? Explain and g
    15·1 answer
  • Given a string, an integer position, and an integer length, all on separate lines, output the substring from that position of th
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!