Answer:
/etc/timezone
Explanation:
Debian based Linux distribution is a free distribution software and an operating system. It is composed of a open source and free source software. It is one of the most popular distributions.
A computer file name is a unique system of identifying the computer stored file in the file system. The names of the different file system have different formats or extensions in the file name and imposed different file restrictions.
In the context, the full path and the file name of a file that displays a time zone settings on a Debian Linux distribution is " ../etc/timezone".
Answer:
def scramble(s):
if len(s) % 2 == 1:
index = int(len(s)//2)
else:
index = int(len(s)/2)
return s[index:] + s[:index]
Explanation:
Create a function called scramble that takes one parameter, s
Check the length of the s using len function. If the length is odd, set the index as the floor of the length/2. Otherwise, set the index as length/2. Use index value to slice the s as two halves
Return the second half of the s and the second half of the s using slice notation (s[index:] represents the characters from half of the s to the end, s[:index] represents the characters from begining to the half of the s)
Answer:
A
Explanation:
It's explanable the other ones dont make sense
Answer:
Differences between arrays and linked list are as following:-
- Arrays store elements in contiguous memory location while the linked list does not store elements at contiguous memory location it connects nodes at different memory location.
- Array has index to directly access the elements there are no indexes in linked list to directly access the elements.
- Linked list contains Nodes which contains the data and the address of the next Node while the array contains only the data in the block.
- Traversal over the arrays is easy while the traversal over the linked list is difficult as compared to arrays.