======Part 2====== =====Entries===== ====Entry 5: March 16, 2012==== I am completely lost on how to do the multiplication and division of our 3rd project (project2) for some reason. It isn't making any sense to me. ====Entry 6: March 22, 2012==== Matt showed us where to find most/all of the header files we can use while making our programs. I think he is hinting at having us reading them so we can learn some new fuctions that we may use. Sounds kinda interesting but not my type of learning in my opinion. Maybe he will actaully go over some of them. I was told to look at the sdl stuff for sprites and games... ohh boy. ====Entry 7: March Day, 2012==== This is a sample format for a dated entry. Please substitute the actual date for "Month Day, Year", and duplicate the level 4 heading to make additional entries. As an aid, feel free to use the following questions to help you generate content for your entries: * What action or concept of significance, as related to the course, did you experience on this date? * Why was this significant? * What concepts are you dealing with that may not make perfect sense? * What challenges are you facing with respect to the course? Remember that 4 is just the minimum number of entries. Feel free to have more. ====Entry 8: March Day, 2012==== This is a sample format for a dated entry. Please substitute the actual date for "Month Day, Year", and duplicate the level 4 heading to make additional entries. As an aid, feel free to use the following questions to help you generate content for your entries: * What action or concept of significance, as related to the course, did you experience on this date? * Why was this significant? * What concepts are you dealing with that may not make perfect sense? * What challenges are you facing with respect to the course? Remember that 4 is just the minimum number of entries. Feel free to have more. =====Keywords===== {{page>cprogpart2&nofooter}} =====Experiments===== ====Experiment 4==== ===Question=== With cout, does bin, oct and dec work to change the display. ===Resources=== Matt gave us the knowledge to try these out. ===Hypothesis=== I think they all will work. I see no reason why they won't ===Experiment=== Making a program really fast that will show all 3 ===Data=== "exp4.cc: In function 'int main()': exp4.cc:19: error: 'bin' was not declared in this scope exp4.cc:20: error: expected ';' before ':' token" 16 a in hex is 10 a in oct is20 a in dec is16 ===Analysis=== Based on the data collected: My hypothesis was incorrect fully. It does not support "bin". There could be more commands to get our desired outcome but i have not experimented with that. ===Conclusions=== My coding worked perfectly fine, if we need to display binary number we will need to find some other way. int main() { int a = 0; cin >> a; cout << "a in hex is " << hex << a << endl; // cout << "a in bin is" << bin << a << endl; cout << "a in oct is" << oct << a << endl; cout << "a in dec is" << dec << a << endl; return(0); } there is my basic main code. ====Experiment 5==== ===Question=== What is the question you'd like to pose for experimentation? State it here. ===Resources=== Collect information and resources (such as URLs of web resources), and comment on knowledge obtained that you think will provide useful background information to aid in performing the experiment. ===Hypothesis=== Based on what you've read with respect to your original posed question, what do you think will be the result of your experiment (ie an educated guess based on the facts known). This is done before actually performing the experiment. State your rationale. ===Experiment=== How are you going to test your hypothesis? What is the structure of your experiment? ===Data=== Perform your experiment, and collect/document the results here. ===Analysis=== Based on the data collected: * Was your hypothesis correct? * Was your hypothesis not applicable? * Is there more going on than you originally thought? (shortcomings in hypothesis) * What shortcomings might there be in your experiment? * What shortcomings might there be in your data? ===Conclusions=== What can you ascertain based on the experiment performed and data collected? Document your findings here; make a statement as to any discoveries you've made. ====Retest 2==== Perform the following steps: ===State Experiment=== Whose existing experiment are you going to retest? Provide the URL, note the author, and restate their question. ===Resources=== Evaluate their resources and commentary. Answer the following questions: * Do you feel the given resources are adequate in providing sufficient background information? * Are there additional resources you've found that you can add to the resources list? * Does the original experimenter appear to have obtained a necessary fundamental understanding of the concepts leading up to their stated experiment? * If you find a deviation in opinion, state why you think this might exist. ===Hypothesis=== State their experiment's hypothesis. Answer the following questions: * Do you feel their hypothesis is adequate in capturing the essence of what they're trying to discover? * What improvements could you make to their hypothesis, if any? ===Experiment=== Follow the steps given to recreate the original experiment. Answer the following questions: * Are the instructions correct in successfully achieving the results? * Is there room for improvement in the experiment instructions/description? What suggestions would you make? * Would you make any alterations to the structure of the experiment to yield better results? What, and why? ===Data=== Publish the data you have gained from your performing of the experiment here. ===Analysis=== Answer the following: * Does the data seem in-line with the published data from the original author? * Can you explain any deviations? * How about any sources of error? * Is the stated hypothesis adequate? ===Conclusions=== Answer the following: * What conclusions can you make based on performing the experiment? * Do you feel the experiment was adequate in obtaining a further understanding of a concept? * Does the original author appear to have gotten some value out of performing the experiment? * Any suggestions or observations that could improve this particular process (in general, or specifically you, or specifically for the original author).