Thursday, November 29, 2018

File Input and File Output

Compare and contrast File Input and File Output. How are they similar? How are they different. What does the code look like for both? What do they do that's different?

They are similar by they both are both files in the program file folder and they also have the same library. The difference between them is, they have different declarations variables. and the main difference is one is an input and the other is an output. So without the input, you can't get the output. One big difference in the code is they are spelled. The input variable is spelled Ifstream and the output variable is spelled ofstream. 

Famous artwork descirption

Start off with a 4 x 3 grid. in each grid, the background color is a different color. It's either red, blue, or yellow. In each square draw a circle with a smaller circle inside it. Every time you draw a circle us a different color. keep doing that until each square in the grid is filled with circles. 

Minimum wage work ethic

Take a look at the quote below. Do you agree or disagree with it? What level has your work ethic been at this semester? What are you strengths and where could you potentially improve when it comes to this area of your life?

Displaying ac04653ca046961d52f327ef64f6204c.jpg
I agree with it to a certain point because I know what they are trying to say and yea chase your dreams. The part where I disagree is I work in a minimum paying job because I am still in school. Even though I work at a minimum paying job I treat it very serious because it is still is a job and I am trying my best and working hard. Just because it is a minimum wage doesn't mean my work ethic has to be very poor as society has stereotyped it to be.

Monday, November 26, 2018

Card Game (Mathew. David. Isaiah)

Write a pitch for the game you and your team is developing. See slideshow linked below for example. 

Card Warriors is the hot new card game that everyone is playing! This game features new classes facing off in a head to head battle! Start with twenty cards and widdle down your opponents army.
There are five unique classes in our game, that can make your 1v1 intense. Starting off with Spy, this card allows you to see your opponents next cards. Then there is the tank, has high health and attacks every other turn. The Rogue deals high damage for that game changing play but has low health. The Medic heals other cards or can heal itself. Defense comes in and counters any attack. We know you will love this hit new card game, brought to you by the great minds at cec.

Saturday, November 3, 2018

different languages

Name 3 other programming languages besides C/C++. How are they different, and how are they similar? What are they primarily used for (learning? web design? if games, which ones?). Which would you be most interested in learning and why?
I know javascript, bash, and ruby. I don't know how they are similar, just knowing that they are used to programming programs for people to use. They are different because of how they are written. Javascript is used for editing a website's code and functions. Bash is used for the computers operating system. Ruby is used for developers frequently perform tasks like storing information in a database, and a Ruby framework called Rails speeds up development by including pre-built code, templates, and easy ways to perform these tasks.
I would like to learn more about bash because its primary purpose is the computer operating system and I would like to venture into that field. 

Bubble Sort

What is a bubble sort? In 3-5 sentences, write out its pseudocode. Bubble sort is generally seen as one of the slowest (and not very smart) ways to sort numbers. Why does it take so long? What does it have to do to sort all its numbers?
Bubble sort is an algorithm where it takes a set of numbers and puts them in order from smallest to largest.  Create a for loop that takes the users input of a random set of numbers. Create another for loop that goes through the numbers and puts them in order. Create some variables to help you put in the numbers in the variables and a variable that is a holder. Use these variables to put the numbers in order. It is very slow and not as effective as other programs because it has to run through the whole set of numbers over and over, beginning to end so it can sort it out. 

I/O files

Compare and contrast file I/O and console I/O. How are they similar? How are they different? What happens with file I/O? What steps do you follow to read and to write to a file?
From what I remember we used this to create save states for out games. So we would just type the code for the save states and once you run the code, it creates a text file for the save state. We also did loading in the save state so we would ask the user if they want to load in the save state and if they did say yes, we will load it in. kinda forgot about this moe sorry, this is the best I can give. plus it's 12 pm so I'm hella tired

problem solving


Today's problem was HARD. 
What emotions did you feel while struggling with this problem? How did you feel when you completed it? What problem solving techniques did you use? If you helped others, how did you guide them without giving them the answers? What other areas of your life (job, relationships, other classes, etc) give you tough problems, and how are they similar and different?
I just felt determined to figure out how to solve the problem and when I completed it I felt relieved. My technique was I asked other students to see if I can learn any new knowledge and solve the problem I had in the code. When I am having trouble in my college class it is usually behind on homework and instead of video games after school, I cram homework. 

computer programs in my daily life

Describe a few computer programs you and your family members run into a daily basis- anything from the gas pump or checkout counter at Safeway to specialized software your parents use at their jobs. Are there any that you're curious about? Which would you like to take apart and recreate?
I usually play video games every day and I want to see the code for most of the games I play and possibly recreate them with basic functions. The only software I can think my dad uses is his badge he uses to unlock doors. I would like to know how that software works and possibly try to work on it.

for loops and arrays

Explain why for loops and arrays work so well together. What tasks can for loops complete on arrays? Provide a code example of a for loop being used with an array and explain how it works.
For loops go well together because it can make putting inputs into the array easier. If you need to put multiple numbers in an array at once a for loop can be really useful. for example here is the code for that function. 
for(int i = 0; i<10; i++)
cin>>array[i];
This reads the users input and puts it in the array. 

Local and global variables

Compare and Contrast Local and Global variables. Where are they declared? Who can see and use them? Which ones are generally easier to use and why? Why wouldn't you want to make all your variables global?
Local and global variabal but are used for different things. The difference is where they are declared. Local variables go under main and only the code under main can use them. Global goes above main and all the variables can use it. I would say global variables are easier to use. 

Learning Reflection


Although we still have a few more concepts Dr. Mo would like to cover, at this point we've *officially* covered all the concepts on ACC's intro programming course syllabus. 

Using the wall standards as a reference, tell me which concepts you're the most confused about, and which you're feeling confident about. Be as descriptive as possible, naming specific examples if possible. Are there any concepts I should altogether reteach, or at least provide a second mini-lesson? Are there any you'd like to see me do a youtube video example of? What sort of daily codes would you like to see me assign to help reinforce these concepts? Any other teaching/learning suggestions?
I am comfortable with functions,  loops, basics of Allegro, math problems. I need to review parent classes more because I am still a bit lost about that. I want to learn in depth how the collision works, and lastly, I want to review classes in general.

Array


Describe what arrays are and what they can be used for. Explain why we would ever use arrays and not just make multiple variables. 

Show and explain how to declare an 8-slot char array filled with the letters of the word "Colorado".
The array is a variable that stores things depending on the return type. Using an array makes it easier than using multiple variables. 
char state [8] = {c,o,l,o,r,a,d,o};