Thursday, March 28, 2019
Create post shu san
Today was a HUGE progress day and we are cruising at approximately a 3.5. I added a lot of functions today that are all calling each other. Basically the purpose of these functions are to ask the user if they want to play the game, and if they want to play it what their question is. I had a couple of problems where I was stuck in an loop when confirming the users name. I was able to fix that by erasing an extra equals sign that I had. Another problem I am currently having is returning the users question. When the program runs it says that I am calling for something that has not been defined yet.
Wednesday, March 27, 2019
Create post 3
Okay so today we made some good progress but It doesn't really show on the program because I deleted everything I already had. I'm around around a low 2 or high 1. One of the problems I had today was when I was trying to create a while loop in a function that was calling for a name. I put response = input() but I forgot to define what response is. Response is allowing the user to confirm their name for the program. If the user does not confirm the name with 'yes' the program will ask for another name. this will keep happening until the user confirms the name.
Tuesday, March 26, 2019
Create post numero dos
Alright well Since I didn't say it in my last blog I'll say it here. My program is a random answer giver. So the user will input a question and the computer will output a random answer. Today I wasn't very productive so I'm still at around a 1. All I did was research ways to start up my program, whether i want to start out with a function right now, or something more simple. That is the question.
Monday, March 25, 2019
Create post 1
Today was not a very productive day. All I did was call for a name for the user. To do this I am storing an input as a string. The only problem I had was in the of the sentences printing I forgot to press the space bar so it did not look good. Right now I'm probably still at about a 1 on my task.
Monday, March 4, 2019
create practice
I made a program that creates a shopping list for the user. First it uses a function to get the users name. Then it gives them 4 options to choose from; see whats on the list, add to the list, remove from the list, or quit the program. In the video, I input a name, then begin adding items to the list. After I am done adding items to the list, I type quit and it reads off my final list.
This was a collaborative create task that we created amongst the whole class. At first we created a simple program that asked for items to add to the list and then could also state the items in the list. Then we started adding functions to get the name of the user and check if items were already in the list. Our next step was to add cprint so we could change the color of words. I changed my welcome message to cyan and the error messages to red. The final functions we added to our program was the remove function and a function that prints the items that were added to the list after the user types in quit.
This was a collaborative create task that we created amongst the whole class. At first we created a simple program that asked for items to add to the list and then could also state the items in the list. Then we started adding functions to get the name of the user and check if items were already in the list. Our next step was to add cprint so we could change the color of words. I changed my welcome message to cyan and the error messages to red. The final functions we added to our program was the remove function and a function that prints the items that were added to the list after the user types in quit.
Wednesday, November 28, 2018
What is an IP address
Questions
- What is a protocol?
- What is an Internet Protocol (IP) address?
- How is it organized hierarchically?
- How many bits are in an IPv4 address?
- How many IPv4 addresses does that mean there are?
- What is the difference between IPv6 and IPv4.
- Why do we need IPv6?
- What is an IP packet?
- What is the difference between an IP address and an IP Packet?
- What is the purpose of the Domain Name System (DNS)?
1. A protocol is a system of rules that is agreed upon by a set of people for how to deal in a situation
2. A IP address is a number that is unique to each computing device and it is how it can receive information. It is similar to a mailing address because in order for a server to send info it needs this number to assure it is going to the right device
3. They are organized in bits, the first bits are country/network, then region/network, then sub network, and finally device.
4. An IP address is 32 bits
5.4 billion addresses
6. IPv6 contains 128 bits rather than the 32 of IPv4
7. IPv6 is important because the internet is so much more popular than ever believed and IPv4 only offered 4 billion combinations which is not enough.
8. A packet is like a package of mail that is containing the information needed to load something on your device
9. Packets are sent to IP Addresses
10. The DNS connects names of destinations that we know like Wikipedia and matches them with their IP address so we do not have to memorize the IP address to get to that website.
Tuesday, November 20, 2018
Group discussion
My group was compromised of Evan Abramson, William Hanlon, and myself. We were assigned to read Koan 3: There is Want in the Midst of Plenty. To Summarize this koan, the author was saying that computer development is moving so rapidly that all the old data is becoming obsolete and that faster new technologies are developed, the faster things become obsolete. I am not completely sure how much I agree with this. Yes it makes sense that data written on paper is becoming harder and harder to come across but that can also be credited to the paperless mindset people have in an attempt to save trees. But when you look at video games systems for example, there are people still playing systems that were made 10-15 years ago, the only thing changing is the graphics. This koan intersects in our student life with the way we use google drive. EVERYTHING we do in school involves google drive but what happens when Bing releases the same thing but better. Then everyone shifts to that platform and all of the data from google is abandoned.
Subscribe to:
Comments (Atom)