Answer:
The solution code is written in Python:
- keysList = [32, 105, 101, 35]
- itemsList = [10, 20, 30, 40]
-
- output = ""
-
- for i in range(len(keysList)):
- if(keysList[i] > 50):
- output += str(itemsList[i]) + " "
-
- print(output)
Explanation:
Firstly, let us use the two sample list, keysList and itemsList in our program (Line 1-2). Then create a output variable to hold the output string (Line 4).
Next, we create a for-loop and use it to traverse through the elements in the keysList. If any keysList element is bigger than 50 then we use the same index i to get the corresponding item from itemsList and join that value to the output string (Line 7-8).
Lastly, we print the output (Line 10).
Answer:
The solution code is written in Python:
- a = int(input("Input first dish time: "))
- b = int(input("Input extra minutes: "))
- t = int(input("Input time available: "))
-
- dishesCount = 1
- currentTotal = a + b
-
- while(currentTotal <= t):
- dishesCount += 1
- currentTotal += currentTotal + b
-
- print("Number of dishes can be prepared: " + str(dishesCount))
Explanation:
Firstly, prompt user to input the first dish time, extra minutes and time available and assign the values to variable a, b and t, respectively (Line 1-3).
Next, create variable dishesCount to hold the number of dishes can be prepared (Line 5).
Get the current total time by adding a and b and assign it to variable currentTotal (Line 6).
While the currentTotal is less than or equal to t, increment the dishesCount by one and then add the hour of current dish to the currentTotal (Line 9-10).
At last, display the number of dishes that can be prepared in t minutes (Line 12).
Answer:
yes it can communicate with all interfaces on the router.
Explanation:
PC1 has the right default gateway and is using the link-local address on R1. All connected networks are on the routing table.
Netsh may be a Windows command wont to display and modify the network configuration of a currently running local or remote computer. These activities will tell you in how manny ways we can use the netsh command to configure IPv6 settings.
To use this command :
1. Open prompt .
2. Use ipconfig to display IP address information. Observe the output whether IPv6 is enabled, you ought to see one or more IPv6 addresses. A typical Windows 7 computer features a Link-local IPv6 Address, an ISATAP tunnel adapter with media disconnected, and a Teredo tunnel adapter. Link-local addresses begin with fe80::/10. ISATAP addresses are specific link-local addresses.
3. Type netsh interface ipv6 show interfaces and press Enter. note the output listing the interfaces on which IPv6 is enabled. Note that each one netsh parameters could also be abbreviated, as long because the abbreviation may be a unique parameter. netsh interface ipv6 show interfaces could also be entered as netsh ipv6 sh i.
4. Type netsh interface ipv6 show addresses Observe the results of the interface IPv6 addresses.
5. Type netsh interface ipv6 show destinationcache and press Enter. Observe the output of recent IPv6 destinations.
6. Type netsh interface ipv6 show dnsservers and press Enter. Observe the results listing IPv6 DNS server settings.
7. Type netsh interface ipv6 show neighbors and press Enter. Observe the results listing IPv6 neighbors. this is often almost like the IPv4 ARP cache.
8. Type netsh interface ipv6 show route and press Enter. Observe the results listing IPv6 route information.
These are files called cookies. =)
Learning in a digital environment is also called O<u>nline Learning.</u>
Explanation:
The main difference between the digital learning and the traditional form of learning is that
- Digital Learning takes place online or virtually.
- The traditional Learning is conducted in a classroom building.
- Another factor that differentiate the 2 forms of learning is that the instructor or the trainer may not be present at the real-time but in a traditional training method the trainer or the instructor is present in person