PART???-SHORT ANSWER Record your answers on the separate answer sheet. Write the
ID: 3917984 • Letter: P
Question
PART???-SHORT ANSWER Record your answers on the separate answer sheet. Write the word or phrase that best completes each statement or answers the question Each question is worth 1 point. 35. Provide one example of an output device 36. Provide one example of a reserved word (keyword) in Java 37. The class that is used for input methods in Java is called 38 Temporarily converting a value from one data type to a different data type is call 39. What method is required to do exponentiation? PART IV-LOGIC & MATH Record your answers in this booklet and show your work. Determine the value of each expression. Each question is worth 3 points. Assume the following declarations: int a 5; int b-3 int d=7; 43. 11/3 4-5 21 42. 5 (18 9) /4 23 44, 3 + 15 / 2.0 + 9 % 4Explanation / Answer
35. Output device displays the result of processing of raw data that is entered in the computer through an input device. There are a number of output devices that display output in different ways such as text, images, hard copies and audio or video.
Examples include monitors, projectors, speakers, headphones and printers.
36. Reserved words are words that cannot be used as object or variable names in a Java program because they're already used by the syntax of the Java programming language.
For example- for, while, const, try, catch, break, continue
37. Scanner is a class in java.util package used for obtaining the input of the primitive types like int, double etc. and strings.
38. The process of converting one data type to another is called type casting. Casting is often necessary when a function returns a data of type in a different form then we need to perform an operation. Under certain circumstances Type conversion can be carried out automatically, in other cases it must be "forced" manually (explicitly).
39. The easiest way will be: to use the Math class and it's a method called "power".
Example: math.pow(2,3)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.