CS 202, Fall 2007 Assignment #2: 10 Points. Due Date: Thursday, 9/20/07. (2) 1. Exercise 8.18. Read the Special Section: Building Your Own Computer (pg 464-469). Download the Simpletron simulator source code from: www.cs.uaf.edu/~cs202/deitel/simpletron.cpp and compile it. Run the SML program from Example 2, Exercise 8.18 (pg 466), as shown in Exercise 8.19, to verify that your Simpletron simulator is working correctly. It is not necessary to write any SML programs for Exercise 8.18. The simpletron code will need to be edited to use the standard names for C++ libraries and namespaces.** (3) 2. Use a vector of integers to implement the bubble sort described in Exercise 7.11. Write and test a program that sorts a vector of 10 integers using bubble sort.** (2) 3. What is the output from the following code? Explain. char *p, a[] = "1234"; p = a + 1; a[2] = *p; p[2] = *a; cout << a; (3) 4. Exercise 8.34. Implement the pig latin program using the C++ string class. Do NOT use C-style character arrays. It is only necessary to input and convert a single word to pig latin, not an entire sentence.** **For full credit, turn in fully commented program listings, including your name and the problem number, and the output from test runs exactly as produced by the program.