I. True/False (Mark A for True or B for False.) 1. ASCII is a 16 bit system for representing characters in binary designed to support the many character sets used in languages world wide. 2. The Unix file that sets your login configuration is: .login 3. Flowlayout is the layout manager that allows you to place objects on the screen using "North","South", "East", "West," and "Center". 4. The Unix command to check how much disk space you have used is: finger 5. An applet must always have a main ( ) function. 6. A program that is missing a semicolon or bracket in violation of the rules of the language is said to contain a link error. 7. The command: g.drawOval(0,0,100,150); would paint a circle in the upper left hand corner of the screen. 8. The <A> tag (with the attribute: href="url") is used to execute an Applet from HTML. II. Multiple Choice (Choose the best single answer for each question. Assume code fragments are embedded in correct programs.) 9. String holiday="Halloween"; int position=holiday.indexOf("low"); int num_chars=holiday.length(); What would the following statements print? System.out.print("The hoiday contains"+num_chars+" characters. "); System.out.println("The substring \"low\" begins at index: " +position+"."); A. The holiday contains 9 characters. The substring "low" begins at index: 3. B. The holiday contains 10 characters. The substring "low" begins at index: 3. C. The holiday contains 8 characters. The substring "low" begins at index: 4. D. The holiday contains 3 characters. The substring "low" begins at index: -1. 10. Which of the following statement(s) is/are true, given: int total=getSums( ); i. getSums( ) is a void function ii. getSums( ) contains a return statement iii. getSums( ) is an integer function iv. getSums( ) has one argument A. ii and iii only B. ii and iv only C. i only D. i and ii only 11. Which of the following is a Unix command for creating a "short-cut"? A. .login B. alias C. quota D. finger 12. What will word2 contain, given: String word1="Java Programming!"; String word2=word1.substring(8,12); A. gram B. ogra C. progr D. Java