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.
Answer: B. PDF
Explanation:
Portable Document Format (PDF) is such an important document that it is considered the international standard for information and document exchange. It is used for letters, resumes and even electronic contracts.
PDF was developed by Adobe to make it independent of the device or application it is being viewed on and combines layers of information into one layer thereby making it a flat document.
Answer:
A. ASC
Explanation:
In Oracle11 g ORDER BY clause is used to sort data andit is also used in mysql ,ms access.Though we not to mention ASC to sort in increasing order because by default it sorts the data in ascending order if we do not mention ASC or DESC.To sort in descending order we have to mention DESC.
So the correct answer to this question is ASC.
If you are on a desktop computer you can press the top row key "F3" and a little box will pop up and you can type the word you are looking for in there and it will find that word on the page you are on and take you straight to it.
They sometimes offer free service