Skip to the content.

Group 2 Homework

Digital Divide

Popcorn Hack: Example Problem in MCQ

Question: Which of the following actions are likely to be helpful in reducing the digital divide? Select two answers.

Options

A. Designing new technologies intended only for advanced users B. Designing new technologies to be accessible to individuals with different physical abilities C. Implementing government regulations restricting citizens’ access to Web content D. Having world governments support the construction of network infrastructure

Correct answers: B, D

MCQ Review (from 2020)

Which of the following actions are likely to be helpful in reducing the digital divide?

Select two answers.

A. Designing new technologies intended only for advanced users

B. Designing new technologies to be accessible to individuals with different physical abilities

C. Implementing government regulations restricting citizens’ access to Web content

D. Having world governments support the construction of network infrastructure

Answers: B, D

Popcorn Hack

How would you attempt to fix the digital divide or prevent it from being as prevalent in our community? What are some things that are already being done? What are some things we can add? Explain.

Answer

The digital divide is the gap between those with access to modern technology and those without. Efforts to bridge this gap include public Wi-Fi programs, tech donations, digital literacy training, and community tech hubs. To further reduce the divide, we can expand broadband infrastructure, create mobile tech classrooms, establish mentorship programs, develop affordable tech solutions, and encourage partnerships between schools and businesses. By improving access to technology and education, we can ensure more people have the digital skills needed to succeed in today’s world.

Homework Hack

Digital Divide Homework DOWNLOAD AND COPY THIS NOTEBOOK TO YOUR PERSONAL REPOSITORY

Download and extract this dataset from kaggle and move it into the same folder as this notebook.

All the preprocessing has been done for you, and the unneeded columns have been dropped. Your task is to loop through the Rate (WB) column and print the country name associated with the percentage, the percentage, and “doing great” if the percentage is above 70% or “needs improvement” if not above 70%.

For example, 18.4% of people in Afghanistan have access to the internet (According to data from the World Bank), so you would print “Afghanistan: 18.4: Needs improvement”

On the other hand, Albania has 83.1% internet access so you would print “Albania: 83.1%: doing great”

import pandas as pd

data = pd.read_csv(“internet_users.csv”).drop(columns=[‘Notes’, ‘Year.2’, ‘Users (CIA)’, ‘Rate (ITU)’, ‘Year.1’]) # Drop extra columns: we will not be using these

data_cleaned = data.dropna() # Drop rows with NaN (aka blank) values

print(data_cleaned.head()) # Display the first few rows of the cleaned data

print(len(data)) # Check num of rows before removing blank rows

print(len(data_cleaned)) # Check num of rows after removing blank rows

  Location  Rate (WB)    Year 0        World       67.4  2023.0 1  Afghanistan       18.4  2020.0 2      Albania       83.1  2023.0 3      Algeria       71.2  2022.0 5      Andorra       94.5  2022.0

y = data_cleaned[‘Rate (WB)’] # Take Percentage of the population using the internet from World Bank data in dataset name = data_cleaned[‘Location’] # take contry name from WB data in dataset

[INSERT YOUR CODE HERE]

Submission Instructions DM the link to your notebook on your personal repository with all the code cells executed to Aditya Katre on Slack.

Also write a 3 sentence summary of what you added and HOW it works.

# Loop through the Rate (WB) column and print the required output
for country, rate in zip(name, y):
    status = "doing great" if rate > 70 else "needs improvement"
    print(f"{country}: {rate}%: {status}")

This code works by iterating through both the country names (name) and internet access rates (y) simultaneously. It checks if the percentage is above 70% and assigns either “doing great” or “needs improvement” accordingly before printing the formatted result.