Answer:
student_file = {}
endf_input = '1'
for x in iter(list, 1):
name = input("Enter a student name: ")
st_id = int(input("Enter a student id number: "))
student_file[name] = st_id
endf_input = input("Add more student to file (type 1 for yes and 0 to end): ")
if endf_input == '0':
break
print("Search for Student")
search = int(input("Enter student id: "))
if search == 0:
print("Sorry, no student with id of zero.")
quit()
for key, value in student_file.items():
if value == search:
print(f"Student name: {key}")
Explanation:
The program source code uses a for loop to continuously add data to the student file dictionary structure but breaks from the loop when a zero is received as input. The program enters search mode and returns the name of the student with the searched id number.
Answer:
The answer is Digital divide.
Explanation:
Digital divide describes the differences between people with access to the internet, computers or modern ICT or Information Communication Technology and the people that do not.
The effect of digital divide is described below:
- It affects economic growth. Due to a lack of access to technology in some areas, they experience low economic growth and cannot be compared to areas with easy access to technology.
- It affects education. Students with easy internet access and other technological facilities always have information at the tip of their fingers compared with students who only go to the libraries or listen to the radio to get information.
- It affects Political participation. Access to technology increases the citizen's participation in politics while it has a negative effect on places with no access to technology.
There are 6 possible outcomes and they are :
S={link1,link2,link3,link4,link5,leave}
this is the sample space for the outcome of a visitor to your webpage.
A machine. I foget the name but there can be a machine, or fresh air, or turning off your car, or opening doors and getting out when there;s a fire or smoke.
Answer:
im not sure but my brother told me it's Simple Network Management Protocol