Wednesday, March 27, 2019

Day three Create

1) Today I was able to code more of my code and start making the blueprints of the functions that need to be used and if I have time I could make the code flow more smoothly and also started to work on the appearance how I want the code to look on the terminal screen.

2) For the code written today finishing the menu choices and then put an if/else statement that equals the user input taking. So the function is printing the options the user can choose from and then asking the user for their input which is followed by an if/else statement which is calling other functions. The first function that was done was asking the user what Pokedex number they are looking for between 1-9. From asking the user what number they are looking for they are giving the Pokemon name and that just it. While right now if I wanted to expand my simple Pokedex to include more I could keep going with an if/else statement but it won't look as clean. My plan towards the end would be looking up a list already formed which the code can pull from and then give the user the name of the pokemon that is associated with the number they choice from.

3) There were some errors that I had trouble today when I was working with my if/else statements. When I wanted to have the code work on the terminal size I kept getting errors on the lines where my if/else statements started. When I looked over the code I noticed I was missing the end of finishing the code(:) but also during my menu options I was asking the user to pick one of the functions through numbers but when I tried to run I was able to get the user input but the if/else statement was not working. When I looked over my code the big problem is shown in the color 
if = '1':
     pokenum()
The code looks correct because the if is equaling the 1 if the user choose it but when looking back at my month code which was asking for the user to put in a month the if/else statement looked like this in the color
if == '3'
       print("March is month associated with the number 3")
The major difference is highlighted in the color. With my first code, I am saying assigning the number one in the if statement which does not want I want because it needs to equal the user input. With the second code, there is a double equal sign which is saying that when the user types in the number 3 the code recognize in the if statement that if the user said three then it equals three which is then it would print the month March. When I realized I make this mistake I went back in and put another equal sign which then was able to take the user input and go through the code that equals the user input. 

4) Today I felt its a 1.3 because I am in a place where I am able to call more functions from the menu choice but I was also able to make a blueprint of how the functions being called would be called on and how it should work in theory. 



Tuesday, March 26, 2019

Day two Create

1) Its day two and today was more coding and it was getting the person name to be placed elsewhere in the code and using an if/else statement to see what would happing if a person pressed enter on accident or doesn't want to be a name in there for now.

2)The code that was written today was cleaning up what I did yesterday and worked on a greeting to show the user what the program is going to do.

3)Nothing went truly wrong it was just getting the name in the right place and working through an if/else statement and the problems involved in there(switching around the wording)

4)1 because I finished the small function I started today and also cleaned up how the program looked on the terminal.

Day one of create

1) its day one so I only finalized on my creative project idea is then on a piece of paper wrote the functions, main, and my vision for the program will flow. They are some pieces that could be added later if there is more time in the end.
2) The code I have written was the greeting to open the program and see the text on my terminal screen. Its a stepping stone to starting stone to how I want the program to look.
3) nothing went majorly wrong where I wanted to give up but getting back in writing code and forgetting to add the small details(:) at the end of the line for the code.
4)1 because its only day one but I have a foundation/blueprint to get further along my code for day two.

Friday, March 8, 2019

encryption notes


  1. A public key: is more secure because of one public key and private key and its called asymmetric. 
  2. A private key: is the least source on its own because a symmetric key is where both parties have the same key to decode
  3. CA: is certificate authority for a secure connection and who is going to the website is real and the https is working. Need https and works with CA to encrypt and it's one step to being secure. (The door is locked but does not mean it can still unlock)



Wednesday, November 28, 2018

IP Addresses and DNS

What is a protocol?

It is a well-set know of rules and standards used to communicate between machines.

What is an internet protocol(IP) address?

Is an address of numbers that are unique to each computer and network. A computer address is it internet protocol.

How is it organized hierarchically?

 The four numbers are a country/ network. Then region/network followed by subnetwork/device. Those are divided by subnetwork and the specific device. 

How many bits are in an IPv4 address?

There are 32 bits in an IPv4 address

How many IPv4 addresses does that mean there are?

More than 4 billion unique  address

What is the difference between IPv6 and IPv4?

An IPv6 address is much longer than an IPv4 because there are bits added on to help keep up with the fast pace internet that will keep expanding.

Why do we need IPv6?

The internet is fastly growing and each new computer or network needs there own addresses for another computer to communicate with them or a network.

What is an IP packet?

An IP packet is saying that there are many packages coming behind me to one destination but they will not all take the same route so they send a message to the destination saying what is supposed to arrive.

What is the difference between an IP address and an IP Packet?

An IP packet has many packages coming to one place but an Ip address is how the device or a network is able to communicate or reach information.

What is the purpose of the Domain Name System(DNS)?

The purpose of the DNS is how the computer is able to access the .com, .org, and .net to their own IP addresses. In each DNS server one server can't keep up with every computer so they are many but they have divided it into their own domain. 


Tuesday, November 20, 2018

Koan one


Summary
In the Koan one, it was talking about how computer intercept information about the daily activities we do in our personal or school life. While coming from the perspective of a phone that the majority of the population owns one. It talks about how the apps, calls, and messages all form back into simples bits that the computer takes from one computer to another when asked to. While they are layers to how the process is done the backbone is coming back to it being bits. Also, the law mentioned in the paragraph about how what being sends should be considered more secure because of what it could be contained inside.



Question 1
While the machinery and hardware won't change much because bits are bits. The computer is going to take what the sender wants to give to the receiver and vis verrsa. While in the article it mentions that the law won't be able to catch up the communication carriage of phone and computer. The law may be able to recognize what the general consider privacy and needs to more secure. Also what happens on the computer is all from the human action the computer just transfers or storing the information it was giving.

Question 2
How this affects my daily student life is the koan one is all about that the internet and how a computer process the information from emails to calls, messages, and etc. it is all just bits to the computer. bits that need to be transferred from computer to another. In my life, I always carry out my phone and computer to school. While I am in school there is nothing in my school or personal email messages or calls that I would be ashamed about embarrassed yes but nothing I would be like omg how did they get this. I also understand to the computer it has no emotion and it seems that this email has contents and needs to be sent to this computer. In the modern world, the phone and technology are considered a communication carriage.

Wednesday, November 7, 2018

Quiz One Corrections

Evaluate:19 MOD 5?
 I keep answering 3.8 because I am just generally confused and it looks different from the others. I now remember that is looking for the remainder of the number is was asking for. So 5 goes in nineteen 3 times with four left over.

What Is missing from the code?
From the code, I understand that nothing was happening in the loop but it would still be able to print which is why I said don't change anything. When retaking the quiz the option was not avabile so I chose the initial value of X. In the code there was already an initial value for X. So that was a question I read to fast and did not relook at before trying it in. So the right answer was "a statement to change the value of X while in the loop". Which is correct because every other answer was correct. Also looking back the code would run on forever because X won't change.

What is the highest decimal value a single byte of data can hold?(255)
  1. With this question, I keep thinking that a single byte is the first eight digits compared to the first four digits that represent 1,2,4, and 8. This question is just about me remembering the basic. 

Day Twelve Create

1) Today was a day of getting everything organized and what truly still needed to work on in my code. I made a google doc labeled Real creat...