Anticipation I think so but I’m not sure:)
Answer:
file1 = []
file2 = []
fileone = "lyric1.txt"
filetwo = "lyric2.txt"
def linereader( myfile, mylist):
for line in open(myfile, "r") as file:
line_read = readlines( line)
mylist.append( line_read)
file.close()
linereader( fileone, file1)
linereader( filetwo, file2)
# Assuming both files have same number of lines.
for index, item in enumerate(zip(file1, file2)):
if item[0] != item[1]:
print( index + 1, item)
Explanation:
The python code compares two files and returns the number and the lines from both files that do not match. The source code opens the files lyric1.txt and lyric2.txt reading each lines to different lists which are iterated to compare its items returning the number of the line and the unequal lines.
Answer:
"Resolution" and "Refresh rate" is the correct answer.
Explanation:
Resolution:
- The resolution would be a step for describing the spatial brightness as well as cleanliness of something like a photograph but rather an image. It's always commonly being utilized for the performance evaluation of monitoring devices, digital photographs as well as numerous additional technology components.
Refresh rate:
- A computer display as well as visualization technology feature that determines the equipment frequency as well as capacity for repainting or re-drawing that this whole presentation upon on-screen for every instant.
Answer:
def sum_values(mylist):
sumSomeNumbers = mylist[9]+mylist[8]+mylist[11]
print(sumSomeNumbers)
Explanation:
Using python programming language;
A function is created called sum_values that accepts one parameter
Withing the function body, a variable called sumSomeNumbers is created to hold the sum of the elements at index 9,8 and 11
Finally a print Statement is used to output sumSomeNumbers
When the function is called It is passed a list as argument and it will display the sum of the three numbers at that indices
for example:
lst = [23,3,4,5,6,63,2,3,5,6,5,5,7,89]
sum_values(lst)
Outputs 16
Solution:
Switches are a fundamental part of most networks. They let multiple users communicate directly with each other. As such, they offer the potential for collision-free, high-speed networking. In essence, switches create a system of simultaneous, parallel, point-to-point connections between pairs of devices
The benefits of the lan network that can be realized by using LAN switches are as follows:
• Increased network scalability—The network can expand easily as the business grows.
• Improved bandwidth performance for each network user—This is important in environments where users operate multimedia applications or conduct frequent client/server database interactions.
• Multiple simultaneous connections—Many simultaneous data transfers can take place between pairs of devices connected to switch ports. This is not possible with hub-based networks.
• Reduced congestion and information transmission delay—This translates to more efficient business application access. Remember that network segmentation is used to minimize the number of users contending for LAN bandwidth on each segment (switch port).
• No single point of failure—With proper network design, there are fewer chances for network failure.
• Improved manageability and security through the use of virtual LANs (VLANs)—VLANs group individual users into logical workgroups with common interests or business functions. Data broadcasts are restricted to designated members of the group (also called the broadcast domain). This functionality gives companies the flexibility to move employees around physically yet still maintain their functional ties via the VLAN without network reconfiguration.
This is the required answer.