Programming effects
Programming, like any other field, has both beneficial and potentially harmful aspects. The more that programming advances, the more we have to discuss benefits and harmful effects that it brings to society.
Example of Program with both benefitial and harmful effects
# Automated phone system of a customer service line for a major company
def check_business_hours(hour):
return 8 <= hour < 18
def main():
try:
user_input = input("Please enter the current time (24-hour format, e.g., 14 for 2:00 PM): ")
current_time = int(user_input)
if check_business_hours(current_time):
print("You are being connected to customer service.")
else:
print("Sorry, the business is closed at the moment. Please call back during business hours (8 am to 6 pm).")
except ValueError:
print("Invalid input. Please enter a valid 24-hour time.")
if __name__ == "__main__":
main()
Sorry, the business is closed at the moment. Please call back during business hours (8 am to 6 pm).
Beneficial effects:
- It saves time for both parties as they limit the hours that a worker needs to answer calls for the company.
- It checks whether the entered time is within the business hours (8 am to 6 pm). This ensures that customers are only connected to customer service during operational hours.
Negative effects:
- The time may not be versatile for people in different time zones.
- The system lacks customization options such as providing services available outside business hours such as offering automated assistance, or redirecting to online support resources.
The benefits and harmful effects of a Multirotor
A multirotors also known as a drone, is a type of rotorcraft that has multiple rotors. Inventions such as these are the same as code and have harmful and beneficial effects.
Benefits: Deliveries, finding lost people, aereal photography is easy. Harmful: Flying in unregulated zones is illegal and dangerous, privacy concerns.
Popcorn Hack 1: Name one beneficial and harmful effect of a Wii controller. (hint: it can be a physical harmful effect)
Benefit: You have a fun time on playing on the Wii
Effect: Your hands and eyes may tire
Computing innovations can have impacts beyond their intended effects
Example 1: The internet
The internet was originally created for scientists to easily share information remotely without needing to send or receive mail from one another. Nowadays, many people use the internet more than they sleep, as the internet has become an integral part of our lives in many ways. Think about how often you use social media, or do school assignments online, or send a simple email. Our use of the internet can cultivate dopamine feedback loops, such as when your crush likes your post on instagram, you get a snap back from that cute girl, or you find a funny TikTok that makes you laugh hysterically. These make us want to seek out these feelings more and more and experience those seconds of happiness. These effects of the internet lead to people having major issues like sleep deprivation, depression, and anxiety.
- Original Purpose:
- Created for scientists to share information remotely.
- Eliminated the need for physical mail in communication.
- Contemporary Usage:
- Integral part of daily life.
- Extensive use for social media, school assignments, emails.
- Impact on Well-being:
- Potential for dopamine feedback loops.
- Examples: Social media likes, Snapchat responses, TikTok enjoyment.
- Consequences:
- Increased internet use may lead to sleep deprivation.
- Associated with higher rates of depression and anxiety.
Popcorn Hack 2: What 3 apps do you hae the most screentime on and how much are you on it?
1: Youtube: 2-3 hours per day 2: Reddit: ~1 hour 3: SRW 2: 10 minutes
Example 2: Microtransactions
Definition: a payment of very small value, especially for a special feature of a product such as a video game
- Original Purpose:
- Free game access, purchase virtual extras.
- Usage:
- Common in free-to-play games, revenue for developers.
- Deviation:
- Pay-to-Win, aggressive tactics, loot boxes.
- Microtransactions may reduce ads but imply paywalls.
- Concerns:
- Debates on industry impact, ethics.
- Mixed player views: support vs. criticism.
- Ongoing:
- Continuous industry debates.
Example 3: Artificial Intelligence
What is AI?
Artificial Intelligence (AI) is about making computers do tasks that typically require human intelligence, like learning, problem-solving, and understanding language.
Beneficial Effects of AI:
- Automation and Efficiency:
- AI helps with repetitive tasks, making things faster and freeing up time for more interesting work.
- Medical Advancements:
- AI assists in medical tasks, improving diagnosis, treatment plans, and drug discovery.
- Enhanced Customer Experience:
- AI-powered chatbots provide quick and personalized customer support.
- Innovations in Education:
- AI creates personalized learning experiences for students.
- Predictive Analytics:
- AI analyzes data to make predictions, helping businesses make better decisions.
Harmful Effects of AI:
- Job Displacement:
- Automation by AI can lead to job loss in some industries.
- Bias and Fairness Issues:
- AI systems might have biases, causing unfair outcomes.
- Privacy Concerns:
- AI use in surveillance raises concerns about privacy.
- Autonomous Weapons:
- AI-powered weapons raise ethical questions about their use in warfare.
- Dependency on Technology:
- Relying too much on AI may lead to a loss of human skills and critical thinking.
Homework Hack: Come up with a Program with a beneficial and harmful effects. (You don’t have to code it, but your ideas has to be detailed and organized)
import random
def generate_random_number():
return random.randint(1, 5)
def NORAD_status(DEFCON):
if DEFCON == 1:
print("The world must be made safe for democracy, authorizing nuclear strike")
elif DEFCON == 2:
print("Democracy is threatened, preparing countermeasures")
else:
print("The world is not at threat, the MIC awaits")
# Generate a random number
random_number = generate_random_number()
# Call NORAD_status function with the generated random number
print(f"DEFCON: {random_number}")
NORAD_status(random_number)
DEFCON: 1
The world must be made safe for democracy, authorizing nuclear strike
Beneficial Effects:
- Allows a streamlined and easy to read intructions on what to do if the DEFCON level changes
- Immediate results, straight to the point
Harmful Effects:
- Doesn’t take account external factors, like the state of geopolitics, readiness of the military, or the response from allies
- No confirmation from user to authorize nuclear strikes