Sunday, October 19, 2014
Transistors 10/19
A transistor is like a switch because the voltage at the gate determines whether or not current flows between the source and the drain. This creates a situation where there is either current flowing through or not much like a switch. A transistor is like a resistor when it is linear mode. This is because the p-type or n-type silicon used in the transistor restricts the flow of electrons between the drain and the source. A transistor circuit is like a RC circuit when a capacitor is hooked up to it because transistors have a resistance. The PMOS source is connected to Vdd while the NMOS source is connected to ground because this allows for current to flow in different directions through different types of transistors. This allows for the creation of Inverters.
HTTP Get and HTTP Post 10/19
In Google App Engine the HTTP Get request is used to get content from the servers where as the Post request is used to update data. Get request parameters are also displayed in the url and have a maximum length. The Get request also can be cached and does not change anything on the servers. The Post request stores parameters in the body and does not have a maximum length. Post requests are not okay to cache but can change the server.
Monday, October 13, 2014
Vectors v Arrays 10/14
Vectors and arrays are similar in that they both store data which can be accessed by indexes of the array or vector. The main difference in C++ between vectors and arrays are that you can add elements to a vector where as you can not change the size of an array. Vectors also come with many other methods which can be used to alter the vector where as Arrays do not. Vectors are comparable to Arraylists in Java.
I think the class is going fairly well. I like the idea of researching certain topics and presenting to the class. The effectiveness of this will become more apparent as we get to the harder topics. I need to get a project to work on for when I finish the labs in order to stay occupied and focused.
I think the class is going fairly well. I like the idea of researching certain topics and presenting to the class. The effectiveness of this will become more apparent as we get to the harder topics. I need to get a project to work on for when I finish the labs in order to stay occupied and focused.
Subscribe to:
Comments (Atom)