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
marysya [2.9K]
3 years ago
7

Know when the double, int, String, and char data types are best used. Example: I would store a social security number in a strin

g because the social can contain dashes and it is only used for displaying not for a mathematical equation.
Computers and Technology
1 answer:
lidiya [134]3 years ago
4 0
A double is best used for numbers that are real, as in they have a decimal. Int is best used for numbers that are whole, as in no decimal. Strings are best used, as in the example you gave, when you have to represent a piece of information that isn’t strictly numbers
You might be interested in
(a) If host 192.168.0.1 sends out a packet with source IP address 192.168.0.1 and source port number 3345, after the packets lea
Evgen [1.6K]

Question: The question is incomplete. See the complete question below;

Consider the following situation using NAT (Network Address Translation), where the router uses one public IP address, 138.76.29.7, for several hosts with private IP addresses. The NAT table already has the information as shown due to previous communications.

Answer:

Source IP = 208.38.69.1

Source port = 3006

Explanation:

Network Address Translation (NAT) simply means  the translation of one or more local IP address so as to provide internet access to local hosts. In this case, the router uses one public IP address and with private IP address.

8 0
3 years ago
Why does fiber optic communication technology have a significant security advantage over other transmission technology? higher d
erik [133]
Higher data rates can be transmitted Hope this helps!
7 0
3 years ago
How to understand why driving is considered a privilege?
Mnenie [13.5K]
Driving is considered a privilege because you have to be a certain age to start driving and be able to drive by yourself legally. Driving can be dangerous if you are not a safe driver and if you do illegal things while behind the wheel. Driving is also a privilege because you have to be responsible when driving, because the people that are around you or with you, their lives are in your hands.

Your answer is: You need to carry the responsibility of being safe and not harming yourself or others. 

Have an amazing day!
3 0
3 years ago
Define a function called strip_punctuation which takes one parameter, a string which represents a word, and removes characters c
DaniilM [7]

Answer:

punctuation_chars = ["'", '"', ",", ".", "!", ":", ";", '#', '@']

def strip_punctuation(strWord):

   for charPunct in punctuation_chars:

       strWord = strWord.replace(charPunct, "")

   return strWord

Explanation:

The function is defined with a single argument.

A for loop is ran to check each character of the the word.

If a punction mark is present as a character in the word, it is removed.

The same word is returned but without the punctuation marks.

8 0
3 years ago
Refer to the exhibit. All workstations are configured correctly in VLAN 20. Workstations that are connected to switch SW1 are no
aleksandrvk [35]

Answer:

Allow VLAN 20 on the trunk link.

Explanation:

Enable DTP on both ends of the trunk by allowing VLAN20 on the trunk link.

From curriculum topic: 3.2.4

To Enable DTP on both switches is simply allowing the negotiation of trunking. The "Negotiation of Trunking" line in the graphic is what shows that DTP is already enabled. The graphic also shows how the native VLAN is 1, and the default VLAN for any Cisco switch is 1. The graphic shows the PCs are to be in VLAN 20.

This will remedy the problem.

8 0
3 years ago
Other questions:
  • Select the strategies below that are likely to increase audience attention.
    14·2 answers
  • Technician A says that temperature sensors decrease in resistance as the temperature​ increases; this is called positive tempera
    12·1 answer
  • Nikki sent flyers in the mail to all houses within the city limits promoting her computer repair service what type of promotion
    10·2 answers
  • The Nigerian 4-6-9 scam refers to a fraudulent activity whereby individuals claiming to be from a foreign country will promise a
    11·1 answer
  • The marketing company era marks the time when companies realized they needed to switch from just trying to sell
    8·1 answer
  • Mha lovers why do other anime lovers report mha lovers for not liking there anime?
    6·2 answers
  • after entering backstage view, and clicking account settings, what are the steps for creating a delegate for an outlook folder
    6·1 answer
  • All organizations need good quality cybersecurity to ensure _____. Select 4 options.
    12·2 answers
  • Discuss the role of the concept behind the "Internet of Things (IoT)" in today's digitally connected society.
    11·1 answer
  • Place the steps in order for creating a filter in Outlook 2016.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!