Questions

  • What is the difference between an Arduino and a Raspberry Pi? http://www.makeuseof.com/tag/arduino-vs-raspberry-pi-which-is-the-mini-computer-for-you/ Arduino is smaller and only does specific things. Raspberry Pi is much bigger and and works like a computer.
  • What is a function and what is a parameter? Give an example from one of your projects and identify what part is the function name and what parts are the parameters. A function is the word or numbers out side of brackets and the parameter a re the 1 and 2 numbers.
  • What is the difference among: int, float, bool, and char. What do each of them mean? An int means can use integers. Float means decimals and integers. Bool is a type of data. Char stores characters.
  • What is the difference between ”=” and ”==”? = mean equal to but == means to compare: yes/ no, or 0/1
  • Why do we use variables in programming? We can change the value unlike normal numbers.
  • Why do we use loops in programming? So we can repeat something until the time when you want it to stop.

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s