CSCI1320 Final Review Sheet The final for this class will be a bit longer than the midterm. It will explicitly focus on the material from the second half of the semester, though material from the first half will be included implicitly as it is needed to answer questions. The final will have about 13 regular questions and two extra credit questions. The style of questions will be similar to what you have seen before with short answer, code writing, and tracing of code. You can bring in a one page cheat sheet (hand written front and back) and you will be able to access both the Java and Scala APIs during the test. Topics: ● Files ○
● ● ● ●
● ● ●
You need to know how to use files in code as well as what they are good for. If you have to write code involving files you don't have to have the function call syntax perfect, but it needs to be close enough that I can understand. It should definitely include the right names of the functions. Case Classes ○ Know how to declare and use case classes. Mutable and Immutable ○ Understand the difference between mutable and immutable data. Be especially aware of what impact this difference has on data passed into functions. GUIs and Graphics ○ Be able to write code that will create a simple GUI/Graphics and have it do something simple in response to user interaction. Sorting ○ You need to understand how each of the three O(n2) sorting algorithms works. You should be able to illustrate how they work and write the code for them using loops or recursion. Searching ○ Know how sequential and binary searches work. You need to know when each one can or should be used and be able to describe why the binary search is faster. XML ○ Understand the advantages of XML over flat text files. Also know how to parse out data from XML as well as how to build XML nodes from data. Recursion ○ Know how to write and trace recursive functions. You should also understand when recursive functions can/should be used to aid in problem solving. How do they compare to loops and when are they superior to loops?
For all language features, you need to know how to use them both in writing code and be able to trace code that involves them.
The equation that models its height, h feet, off the ground t seconds after it was fired is h = - 16t2 + 40t. (a) How high is the rocket 1.5 seconds after it was fired?
(7.62 x 107) â (8.9 x 106). 12. Sam fills a water balloon with 7.8 x 10-3 ft3 of water. ... 6m â 4(m +1) = 14. 20. Three tables are given below. Decide if the table ...
IM1 2nd semester final exam review #2 solutions.pdf. IM1 2nd semester final exam review #2 solutions.pdf. Open. Extract. Open with. Sign In. Main menu.
technology. Technology Education ... Technological Eras - Industrial Era resulted in the creation of big cities. Technology is ... Brain is a computer . . Energy and ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Geo Final Ex ... Problems.pdf. Geo Final Exa ... Problems.pdf. Open.
obtain an expression for the conductance per unit width at T=0K, as a function of the ... Starting from the law of equilibrium, what is the average number of electrons ... is identical to contact 1, except that it is magnetized along +x instead of +z
Dec 11, 2012 - For Project Assignment 4, the vast majority of the class did not fully describe why or why not their ... credit response on Project Assignment 4.
SOLUTION. PUID # : Please show all work and ... later in the course starting from a (1x1) Hamiltonian and contact self-energies. [H]=[e] [X]=-i [/1/2] , [X2]=-i [/2/2].
business-performance targets, but incen- tives had done little to reward the achieve- ment of them. In 1995, under Cynthia Hart- ley, then the new vice president ...
Feb 9, 2018 - 2. What is the name of the paradigm that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data? (1 pt) a. event-driven b. concurrent c. scripting d. object-oriented e. logic f. imperat
What is a network explanation for the often-noticed phenomenon of the experience curve? 4. Discuss Uzzi's view of embeddedness. What are the arguments he ...
of the database in a file. Can re-write the file whenever ... to store database. â Deleting a record: â must delete all the fields simultaneously, and fill in the cleared space by "scootching" if using arrays. (must be careful with indexing). â
Feb 23, 2018 - Describe how Fortran common blocks work and give an example. What happens if two named common blocks with the same name contain different variables? What is the difference between a blank common and a named common? What does the linker
associated domain knowledge in the propositional logic using the following .... on various attributes: how many patrons it has, whether or not the food is cheap, ...
What is Total Mechanical Energy equal to? 7. What two factors does the amount of gravitational potential energy depend on? (look at the formula). 8. What two ...
Apr 16, 2018 - The following code fragment uses arrays in Java. The first line declares and allocates an array of two integers. The next two lines initialize it. int[] A = new int[2];. A[0] = 0;. A[1] = 2; f(A[0], A[A[0]]);. Function f is defined as:
B. Pastoralism developed at various sites in the grasslands of Afro- Eurasia. C. Different crops or animals were domesticated in the various core. regions ...