5. Which of the following can be used to determine whether the employ.txt file exists? a. If IO.File.Exists("employ.txt") Then b. If IO.File("employ.txt").Exists Then c. If IO.Exists("employ.txt") = True Then d. If IO.Exists.File("employ.txt") = True Then 6. What type of object is created by the OpenText method? a. File b. SequenceReader c. StreamWriter d. None of the above. 7. What type of object is created by the AppendText method? a. File b. SequenceReader c. StreamWriter d. None of the above. 8. The horizontal line in a menu is called _____ a. a menu bar b. a separator bar c. an item separator d. None of the above. 9. The underlined letter in a menu element's caption is called _____ a. an access key b. a menu key c. a shortcut key d. None of the above. 10. Which of the following allows the user to access a menu item without opening the menu? a. an access key b. a menu key c. shortcut keys d. None of the above. 11. Which of the following is false? a. Menu titles should be one word only. b. Each menu title should have a unique access key. c. You should assign shortcut keys to commonly used menu titles. d. Menu items should be entered using book title capitalization.
Added by Craig R.
Close
Step 1
The correct answer is a. If IO.File.Exists("employ.txt") Then. This code checks if the file "employ.txt" exists using the Exists method of the File class in the IO namespace. Show more…
Show all steps
Your feedback will help us improve your experience
Reynald Oliveria and 74 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
5. A pinch of bread was placed inside a test tube and heated until it became blackish in color and released some gas. Which of the following statements are TRUE according to the given information? I. Bread is a solution. II. Bread is composed of only one substance. III. Bread is made up of solid and gaseous substances. IV. Bread consists of mixtures of different substances. A. I and II B. I and III C. II and IV D. III and IV 6. A gaseous material has a strong smell, evaporates quickly, particularly boils at 33.34°C, and melts at -77.73°C. What is the classification of the material? A. metal B. mixture C. solution D. pure substance 7. Oliver heated a liquid in a casserole. He forgot to turn off the stove right away and the liquid was gone. He noticed that there were some solid materials which settled at the surface of the casserole. What can be inferred from this observation? The liquid was A. a pure substance B. a mixture with dissolved solid materials C. composed of a single material D. a pure substance because it evaporated 8. Sodium chloride dissolves in water very well. Which is NOT TRUE in the following statements? A. Water is a pure substance B. Sodium chloride is a pure substance C. Dissolving sodium chloride with water produces a mixture D. Dissolving sodium chloride with water produces a new substance.
Frank D.
4. Which of the following lists of materials are composed of mixture? A. blood, calamansi juice, air C. oxygen, sodium chloride, water B. carbon dioxide, bleach, oil D. vinegar, 70% alcohol, carbon 5. A pinch of bread was placed inside a test-tube and heated until it became blackish in color and released some gas. Which of the following statements are TRUE according to the given information? 1. Bread is a solution. II. Bread is composed of only one substance. III. Bread is made up of solid and gaseous substance. IV. Bread is consisting of mixtures of different substance. A. I and II B. I and III C. II and IV D. III and IV 6. A gaseous material has a strong smell, evaporates quickly, particularly boils at 33.34°C and melts at - 77.73°C. What is the classification of the material? A. metal B. mixture C. solution D. pure substance 7. Oliver heated a liquid in a casserole. He forgot to turn off the stove right away and the liquid was gone. He noticed that there were some solid materials which settled at the surface of the casserole. What can be inferred from this observation? The liquid was A. a pure substance C. a mixture with dissolved solid materials B. composed of a single material D. a pure substance because it evaporated 8. Sodium chloride dissolves in water very well. Which is NOT TRUE in the following statements? A. Water is a pure substance. B. Sodium chloride is a pure substance. C. Dissolving sodium chloride with water produces a mixture. D. Dissolving sodium chloride with water produces a new substance.
4. Which of the following is true about water? A) It's high thermal properties are due to hydrogen bonding. B) It's solid state has a higher density than it's liquid state. C) It has a very low viscosity due to it's large molar mass. D) All are true. E) None are true. 5. Which of the following solids would you expect to be the best electrical conductor? A) H2O B) Si C) CO2 D) Cu E) Xe 6. What will happen if you add solute to a saturated solution? A) It will dissolve after a great deal of mixing. B) It will drop to the bottom of the mixture and remain as a solid. C) The solution will become supersaturated. D) It will cause a rapid crystallization of the solute. E) None of the above. 7. Which of the following liquids would have the highest viscosity? A) H2S (polar) B) Kr (nonpolar) C) NH3 (polar) D) CO2 (nonpolar) E) Not enough information. 8. Which of the following statements about liquid solutions is true? A) Gasses have a higher solubility at higher pressure. B) Gasses have a lower solubility at higher temperatures. C) Solids have a higher solubility at higher temperature. D) Two are true. E) All are true. 9. Which of the following solids would you expect to have the highest melting point? A) H2O B) C (diamond) C) CO2 D) Br2 E) CH4 10. Which of the following liquids would have the lowest vapor pressure? A) H2O (polar) B) Ar (nonpolar) C) CCl4 (nonpolar) D) N2 (nonpolar) E) Not enough information. Write Out Problems 11. Write the name for each of the following compounds. (2pts each, 6 total)
Madhur L.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD