Answer:
Advantages of Oral Communication
- Use of visual aids like PowerPoint presentation while explaining his ideas and working protocols would help his team to understand him better.
- There is a spontaneous response from the staff which is more genuine than written response.
Disadvantages of Oral Communication
- It could prove to be a problem if Sushant has stage fright or is not an effective communicator, which could form an impression of him by the staff.
- Staff may forget some of Sushant's words as no memory is as reliable as written information.
Advantages of Written Communication
- A well written memo explains the ideas and working protocols that Sushant wants to relay to the staff.
- There could be a questionnaire for the staff to give feedback.
- Aims, objectives are clearly stated.
Disadvantages of Written Communication
- If the written material is too lengthy, it could be a problem to learn or memorise.
It is recommended that Sushant should use written form of communication to convey his ideas and working protocols as it is more effective.
Answer: The difference is that an algorithm is a precise step-by-step plan for a computational procedure that mainly begins with input value, yields, and output value. While a program is instructions written in code to explain to a computer what to do. Like how the CPU can send a command to the GPU to tell it what image to make. The better the CPU the better and faster it can read and complete it's given instructions.
Explanation: Trust me with this.
Answer:
def extract_title(file):
import re
a =''
with open(file,'r') as file:
for line in file:
a += line
m = re.search("^(TITLE)(.*?)(JOURNAL)", a, re.M + re.S)
print(m.groups()[1])
extract_title('new.txt')
Explanation:
The programming language used is python 3.
The function is first defined and the regular expression module is imported.
A variable is initialized to an empty string that will hold the content of the GenBank formatted file.
The file is opened and every line in the file is assigned to the string variable. The WITH statement allows files to be closed automatically.
Regular expression is used to capture all the files between TITLE and JOURNAL in a group.
The group is printed and the function is called.
I have attached a picture of the code in action.