Answer:
Explanation:
The following code is written in Python and it is a very simple function/program that takes in an array of strings as a parameter called names. This array is then passed the built-in sort function which automatically sorts it in ascending alphabetical order. Finally, the print method is called on the names array to print all of its elements out.
def sort_strings(names):
names.sort()
print(names)
Answer:
HDLC is one of the most commonly used internet protocols (IP) in what is Layer 2 of the industry communication reference model called Open Systems Interconnection (OSI).
Explanation:
Answer:
backup() {
read dirname;
if [[ whereis . /`$dirname` 2> sterr.exe]]
then
mkdir $dirname
for f in . / *.cpp
do
cp f "path_to_dirname"
echo "file backup complete"
}
backup( )
Explanation:
The bash script above is used to backup C++ source files in a directory to a backup directory which is created if it does not exist, and copy's each .cpp file to backup, then sends a message to declare its completion.
Answer:
Answer is b. 10
Explanation:
The find() method is used to search the string for a specified value and searches the first occurrence of that value. It returns the position of that specified value. If the value is not found, this method returns -1.
Lets say we have a message variable that contains the string Happy holidays.
message = "Happy holidays"
We use the method find() to find days word from the Happy holidays string in the message variable.
The find() method will find the position of day.
If we look at the string Happy holidays we see that the word day is at the 10th position of the string.
H 1
a 2
p 3
p 4
y 5
h 6
o 7
l 8
i 9
d 10
a 11
y 12
s 13
So it is at 10th position so the statement
message.find("days")
returns 10
802.11n can function in "mixed mode" on the 2.4 GHz frequency, with a theoretical maximum speed of 300 Mbps, or on the 5 GHz frequency.
<h3>
What do you mean by frequency?</h3>
In the case of electrical current, frequency is the number of times a sine wave repeats or completes, a positive-to-negative cycle.
802.11n can operate in "mixed mode" on the 2.4 GHz frequency, which will support just 802.11b or 802.11g-capable systems but will slow the entire network down to the maximum speed of the earliest standard connected, at a theoretical maximum speed of 300 Mbps.
Learn more about the single-link network:
brainly.com/question/4272298
#SPJ1