Work day.
Bubbles and pie oh and no Karl. Happy thoughts.
Work on stuff and played cards, won the first game.
Trying to finish the Opus and got the EOCE.
LIFO or FIFO?- Queues are FIFO.
Computational Complexity- a branch of the theory of computation in theoretical computer science and mathematics that focuses on classifying computational problems according to their inherent difficulty, and relating those classes to each other.
Big O notation- used to describe the limiting behavior of a function when the argument tends towards a particular value or infinity, usually in terms of simpler functions.
Theta- the function, f(n) is bounded both from the top and bottom by the same function, g(n).
bounds- Upper and lower bounds, observed limits of mathematical functions.
Sorting Algorithms- an algorithm that puts elements of a list in a certain order.
Selection sort algorithm- a sorting algorithm, specifically an in-place comparison sort.
Bubble sort algorithm- also known as sinking sort, is a simple sorting algorithm that works by repeatedly stepping through the list to be sorted, comparing each pair of adjacent items and swapping them if they are in the wrong order.
Insert sort algorithm- a simple sorting algorithm: a comparison sort in which the sorted array (or list) is built one entry at a time.
Quick sort algorithm- a sorting algorithm developed by Tony Hoare that, on average, makes O(nlog n) (big O notation) comparisons to sort n items. In the worst case, it makes O(n2) comparisons, though this behavior is rare.
Merge sort algorithm- an O(n log n) comparison-based sorting algorithm. Most implementations produce a stable sort, meaning that the implementation preserves the input order of equal elements in the sorted output. It is a divide and conquer algorithm.
Binary Search algorithm- finds the position of a specified value (the input “key”) within a sorted array
Trees- a widely-used data structure that emulates a hierarchical tree structure with a set of linked nodes.
Binary Trees- a tree data structure in which each node has at most two child nodes, usually distinguished as “left” and “right”.
nodes- a structure which may contain a value, a condition, or represent a separate data structure (which could be a tree of its own).
parents- A node that has a child.
children- Each node in a tree has zero or more child nodes, which are below it in the tree (by convention, trees are drawn growing downwards).
insertion- the inserting of a node into a tree in a certain spot.
State the course objective; define what that objective entails.
State the method you will use for measuring successful academic/intellectual achievement of this objective.
Follow your method and obtain a measurement. Document the results here.
Reflect upon your results of the measurement to ascertain your achievement of the particular course objective.
Does a computer know that a negative number raised to an even power will make an even answer?
Internet.
I believe that a computer is not able to compute that without ()'s.
#include<stdio.h> #include<math.h> int main() { int x, y, z = 0; printf("Please input a x value. \n"); scanf("%d", &x); printf("Please input a y value. \n"); scanf("%d", &y); z = pow(x,y); printf("The value for z is: %d\n", z); return(0); }
The computer does know how to but if the x is raised to a -y it dont.
Based on the data collected: My hypothesis was wrong.
I should not underestimate the power of a computer.
What is the question you'd like to pose for experimentation? State it here.
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.
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.
How are you going to test your hypothesis? What is the structure of your experiment?
Perform your experiment, and collect/document the results here.
Based on the data collected:
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.
If you're doing an experiment instead of a retest, delete this section.
If you've opted to test the experiment of someone else, delete the experiment section and steps above; perform the following steps:
Whose existing experiment are you going to retest? Prove the URL, note the author, and restate their question.
Evaluate their resources and commentary. Answer the following questions:
State their experiment's hypothesis. Answer the following questions:
Follow the steps given to recreate the original experiment. Answer the following questions:
Publish the data you have gained from your performing of the experiment here.
Answer the following:
Answer the following: