Describe the different molecular interactions that a water molecule can have inside a plant body. What is it attracted to? When is it in a liquid phase? When is it in a gas phase?
Name some molecules/conditions that trigger stomata to open. Name some that trigger stomata to close.
In: Biology
In: Accounting
1) What is the pigment that is present in Eurkaryotes
GENUINELY (without plastid endosymbiosis, and even in animals like
us), which was used for photosynthesis in some relatives of
Eukaryotes?
2) What is the name for those PHOTOYNTHETIC relatives of
Eukaryotes? Genus or informal name that is specific enough.
In: Biology
Write a bash shell script that takes exactly one argument, a file name. If the number of arguments is more or less than one, print a usage message. If the argument is not a file name, print another message. For the given file, print on the screen its content.
In: Computer Science
Code in python:
In: Computer Science
This Module is mainly to practice If ... Then ... ElseIf ... with creating a project in Visual Basics
If Average < 60 Then
lblAvg.Text = Average
lblGrade.Text = "F"
ElseIf Average < 70 Then
lblAvg.Text = Average
lblGrade.Text = "D"
ElseIf Average < 80 Then
lblAvg.Text = Average
lblGrade.Text = "C"
ElseIf Average < 90 Then
lblAvg.Text = Average
lblGrade.Text = "B"
ElseIf Average < 100 Then
lblAvg.Text = Average
lblGrade.Text = "A"
End If
txtTest1.Text = ""
lblAvg.Text = ""
lblGrade.Text = ""
Form layout with controls
In: Computer Science
This is an assignment done using the terminal of linux.
In this assignment, you will
• use make to modify a c++ program and
• gdb a debugging tool.
Part 1
From the course website (or the departmental dropbox) download the program source files for the project myname.
Part 2: myname program (5 points)
1. Using your favorite text editor, modify the source code to print out your name instead of mine when the binary file is executed. Hint: YOU ARE NOT ”THOMAS THE TANK ENGINE”
2. Modify the makefile to include a rule that creates a backup of the source files, makefile, and readme in an archive directory in your home directory structure.
Submit a compressed, archived tar file [yourUserID].assignment4_1.tar.[Z,gz] with your modified source code.
3. Use the gdb debugger to step through the program. Check to ensure the Makefile is modified to allow for debugging. Submit a text file [yourUserID].assignment4_2.txt containing the gdb output for the following sequence of commands:
gdb myname
start
step [issue this command until you get the “program exited normally” message]
quit
Submission This time, there should be two files that you are uploading
[yourUserID].assingment4_1.tar.[Z,gz] and [yourUserID].assingment4_2.txt
• When you have finished, submit the files using the
departmental dropbox.
Here are the contents of CSCE215 directory that contains the program and files associated with it:
main.cpp
#include <iostream>
#include <string>
using namespace std;
#include "name.h"
int main () {
name myName;
myName.SetLast(LAST);
myName.SetMiddle(MI);
myName.SetFirst(FIRST);
cout <<"My name
is: ";
myName.PrintFirst();
myName.PrintMiddle();
myName.PrintLast();
return 0;
}
Makefile
# makefile to build a program
# program depends on components: name and main
myname: main.o name.o
g++ -g main.o name.o -o myname
# name.cpp has it's own header file
name.o: name.cpp
name.h
g++ -c -g name.cpp
# main.cpp also uses the header file name.h
main.o:
main.cpp name.h
g++ -c -g main.cpp
clean:
/bin/rm -f myname *.o
name.cpp
#include <iostream>
#include <string>
using namespace std;
#include "name.h"
void name::GetFirst(string str) {
str=first;
}
void name::SetFirst(string str) {
first=str;
}
void name::GetMiddle(string str) {
str=middle;
}
void name::SetMiddle(string str) {
middle=str;
}
void name::GetLast(string str) {
str=last;
}
void name::SetLast(string str) {
last=str;
}
void name::PrintLast() {
cout << last << "\n";
}
void name::PrintMiddle() {
cout <<
middle;
}
void name::PrintFirst() {
cout <<
first;
}
name.h
#define LAST "tankengine"
#define MI "the "
#define FIRST "thomas "
class name {
private:
string first;
string middle;
string last;
public:
void SetFirst(string str);
void GetFirst(string str);
void SetMiddle(string str);
void GetMiddle(string str);
void SetLast(string str);
void GetLast(string str);
void PrintLast();
void PrintMiddle();
void PrintFirst();
};
readme
/*
Copyright: 2005, All rights reserved.
Program: myname
Version: 1.1
Created: 9/6/05
Revised: 1/22/09
Files: name.cpp, name.h, main.cpp, Makefile
Programmer: Patrick O'Keefe who gratefully acknowledges Dr. Jason
Bakos's kind assistance.
Course: CSCE-215
Assignment: Class Project
Compiler: GNU Gcc version 4.2.3
Target: Linux
Description:
This program attempts string assigment. and other stuff....
Revisions:
There have been no major revisions of this program.
Constants and Variables:
See code for constant and variable descriptions.
or
you could put that kind of info here. Like:
FIRST -> your first name
MIDDLE -> ditto
LAST -> and ditto.
ok here is a change.
ALL OF THOSE FILES ARE LOCATED IN A DIRECTORY /CSCE215
In: Computer Science
In: Economics
In an experiment, where we need to isolate lipids from horse red blood cells, one of the steps is too "Add 100µL of choloform;methanol (9:1) and mix vigorously to dissolve the membrane lipids. "
What happens in this step, what would happen if you added water instead of chloroform/methanol?
In: Biology
briefly describe the Urey-Miller experiment, then identify the significance (i.e. what did it tell us about the origin of life?).
Pick an animal, then define the species using the biological species concept.
Compare and contrast analogous and homologous structures.
Compare and contrast microevolution and macroevolution.
Compare and contrast background and mass extinctions.
In: Biology