I know that one of the main differences between the rough and smooth endoplasmic reticulum is
the presence or absence of ribosomes. The structures also have different shapes, rough ER is flat,
and the smooth ER is more round.
My question is what specific process causes the two different forms of ER to divide and be so
different?At what point does the ER decide to stop making ribosomes and begin to initiate the
synthesis of smooth ER?
Solution
Answer :- The rough ER is specialized with function of protein synthesis and smooth ER with
lipid synthesis. When cell is need of lipids and need less proteins the rough ER undergoes loss of
ribosomes and gets transformed into smooth ER. ER are actually the membrane extensions of
nuclear memebrane..
I need help with the 2nd TODO comment and the other comments Ill.pdf
1. I need help with the 2nd //TODO comment and the other comments I'll post at the end. I keep
exceeding my memory when I write something for it
public static ArrayList doArrayListRemoveFromEnd(int numItems) {
System.out.print("doArrayListRemoveFromEnd: ");
ArrayList list = new ArrayList<>();
// TODO Write code that adds integers 0 through (numitems - 1)
// to list, inside a loop.
for(int i=0; i<=numItems-1; i++){
list.add(i);
}
long startTime = getTimestamp();
// TODO Write code that removes the last element from list,
// repeatedly until the list is empty.
int last = list.size();
long endTime = getTimestamp();
long totalTime = endTime - startTime;
System.out.println(totalTime);
return list;
}
// TODO Write code that removes the greatest element from set,
// repeatedly until the set is empty.
// TODO Write code that removes the first element from list,
// repeatedly until the list is empty.
// TODO Write code that gets the element at the last index from list.
// TODO Write code that checks if integer (numItems - 1)
// is a member of set.
Solution
public static ArrayList doArrayListRemoveFromEnd(int numItems) {
System.out.print("doArrayListRemoveFromEnd: ");
2. ArrayList list = new ArrayList<>();
// TODO Write code that adds integers 0 through (numitems - 1)
// to list, inside a loop.
for(int i=0; i<=numItems-1; i++){
list.add(i);
}
long startTime = getTimestamp();
// TODO Write code that removes the last element from list,
// repeatedly until the list is empty.
for(int i=0; i<=numItems-1; i++){
int last=list.size()-1;
list.remove(last);
}
long endTime = getTimestamp();
long totalTime = endTime - startTime;
System.out.println(totalTime);
return list;
}
// TODO Write code that removes the greatest element from set,
// repeatedly until the set is empty.
for(int i=0; i<=numItems-1; i++){
int pos = 0;
int max=list.get(0);
for (int i = 1; i < list.size(); i++) {
if(list.get(i) > max) {
max=list.get(i);
pos=i;
}
}
list.remove(pos);
}
// TODO Write code that removes the first element from list,
// repeatedly until the list is empty.
3. for(int i=0; i<=numItems-1; i++){
list.remove();
}
// TODO Write code that gets the element at the last index from list.
int element=list.get(list.size()-1);
// TODO Write code that checks if integer (numItems - 1)
// is a member of set.
for(int i=0; i<=numItems-1; i++){
{
if(item==list.get(i))
{
return true;
}
}
return false;