def zipZapZop():
number = int(input("Enter the number: "))
dictionary = {3: "zip", 5: "zap", 7: "zop"}
amount = 0<em> #amount of non-divisible numbers by 3, 5 and 7</em>
<em> for key, value in dictionary.items():</em>
if(number%key == 0): <em>#key is the number</em>
print(value) <em>#value can be or zip, or zap, or zop</em>
else: amount += 1 #the number of "amount" increases every time, when the number is not divisible by 3, or 5, or 7
if(amount == 3): print(number) <em>#if the number is not by any of them, then we should print the number</em>
zipZapZop()
Answer:
The network layer is the layer is the layer 3 of the seven layer Open System Interconnect (OSI model) which functions as packet forwarder for the intermediate routers by implementing technologies used for switching that provides virtual circuits' logical path
The function of the network layer includes;
1) Routing and forwarding of packets to destination which enables connectionless communication
2) Enabling internetworking
3) Hierarchical host (IP) addressing
4) Sequencing of packets
5) Handling of errors
6) Control of network congestion to prevent the collapse of the network
Explanation:
Answer:
False
Explanation:
When searching on the internet, I found flashcards containing this information.
Answer:
Option(d) is the correct answer to the given question
Explanation:
The main advantage of slab allocator is that There is no memory is lost because of the fragmentation this is due to some driver data framework has a cache memory that is connected to it.
- In the slab allocator the resources are repeatedly assigned or free to handle them. It is a type of memory management scheme that is used for distributing resources to the memory.
- All the other options are not considered as advantages of Slab allocator that's why they are an incorrect options.