Answer:
Answer explained below
Explanation:
a. A country has a capital city.------------ aggregation(city is part of country)
b. A dining philosopher uses a fork. ----------- association(philosopher and fork are different entities)
c. A file is an ordinary file or a directory file. ------- generalization( both ordinary and directory files are having attributes of files)
d. Files contain records.--------- aggregation( records are part of File)
e. A polygon is composed of an ordered set of points. ----------- aggregation( points are parts of polygon)
f. A drawing object is text, a geometrical object, or a group. --------- generalization( text and geometrical objects are drawing object)
g. A person uses a computer language on a project. -------- aggregation( person and computer language are part of project)
h. Modems and keyboards are input/output devices. -------- aggregation( Modems and keyboards both are I/O devices)
i. Classes may have several attributes.------- aggregation( attributes are part of classes)
j. A person plays for a team in a certain year. ----------- aggregation(player is part of team)
k. A route connects two cities. --------- aggregation( route consists of two cities)
l. A student takes a course from a professor. ----------- association( student and course are separate entities)
Answer:
Explanation:
Positive:
Enhances Learning.
Fosters Problem-Solving Skills.
Develops Future Technological Leaders
Negative:
Diminishes Relationships and Social Skills
Stimulates Health Issues
Reduces Sleep Quality
Answer:
<em>addpath C:\Program Files\MATLAB\ToolBoxes-20181106T221851Z-001\ToolBoxes\SPM\spm12</em>
<em>savepath</em>
Explanation:
The error clearly indicates that the SPM is missing and is not properly installed. In order to correct this, the following commands are required to be run in the command line of the MATLAB.
These commands will do following.
The first command is the addpath, this will add the path of the toolboxes in the working directory path of the MATLAB
<em>addpath C:\Program Files\MATLAB\ToolBoxes-20181106T221851Z-001\ToolBoxes\SPM\spm12</em>
The second command is the savepath, this will save the additional added path of the working directory for future use.
<em>savepath</em>
Answer:
the answer is B and is part of all spreadsheet functions
Answer:
Explanation:
The following code is written in Python. It continues looping and asking the user for an oligonucleotide sequence and as long as it is valid it outputs the reverse complement of the sequence. Otherwise it exits the loop
letters = {'A', 'C', 'G', 'T'}
reloop = True
while reloop:
sequence = input("Enter oligonucleotide sequence: ")
for x in sequence:
if x not in letters:
reloop = False;
break
if reloop == False:
break
newSequence = ""
for x in sequence:
if x == 'A':
newSequence += 'T'
elif x == 'T':
newSequence += 'A'
elif x == 'C':
newSequence += 'G'
elif x == 'G':
newSequence += 'C'
print("Reverse Complement: " + newSequence)