Answer:
sed '/march/{d;}' birthdays.txt > result
.txt
Explanation:
sed syntax is basically:
<em>sed '/expression/{command;command;...;}' inputfile > outputfile</em>
- First, for the expression part, we use /march/ to match all lines containing that string.
- Then for the command part, we only use {d} command to delete every matching line found.
- The third part contains the input file to process, I have named it birthdays.txt, but it could have been any other file needed.
- Finally "> result
.txt" makes the script output to be saved into a file named result.txt
Perhaps instead of cubicles, desks are organized in an open workspace which promotes collaboration (and makes it easier).
Answer:
Sound card
Explanation:
In computer or laptop music or sound files are stored in digital form. Sound card is the the device that is used to convert the digital form of music into analog to produce the signal that is compatible with speaker or microphone.
If the speakers are not working on the laptop, means there is no sound produced on speakers. It means that sound card is not working properly.
The statements that correctly describe the time complexity of data structures with N data are:
- The average time complexity of the data lookup in a hash table is O(N).
- The average time complexity of inserting data into a heap is O(logN)
<h3>What is time complexity of data structures?</h3>
Time Complexity of an algorithm is known to be the depiction of the amount of time needed by the algorithm to carry out to completion.
Note that The statements that correctly describe the time complexity of data structures with N data are:
- The average time complexity of the data lookup in a hash table is O(N).
- The average time complexity of inserting data into a heap is O(logN)
Learn more about data from
brainly.com/question/17350816
#SPJ1
Answer:
D. Change the def to def area (width, height = 12)
Explanation:
Required
Update the function to set height to 12 when height is not passed
To do this, we simply update the def function to:
def area (width, height = 12)
So:
In boxlarea = area (5,2), the area will be calculated as:
In box2area = area (6), where height is not passed, the area will be calculated as: