Is a method that returns the current month of an object from class Time. What is the correct way to add 100 seconds to the current How can we define and create a new object named " now" fromĩ. How can we create a new object from class Time?Ĩ. How can we say that " a" is an object variable fromħ. What is the value of s + s.toLowerCase() + "Malaysia"Ħ. What is the value of s.substring(0,3) + s.substring(8,10) ?ĥ. What is the value of s.substring(0, s.length()) ?Ĥ. What is the value of s.substring(0,1) ?ģ. You want to verify some of the answer, you can try running this program: Quiz3.javaġ - 5 are based on the following definition:Ģ. This quiz only contains 17 questions, you automatically got 3 free points. What is the main reason of using constants? Which Java statement defines a constant correctly? Which Java expression is equal to the following arithmetic expression? On each question, assume that: double x = 2.0 double y = -1.5 int m = 18 int n = 4 In question 11 to 13 you should determine the values of the following expressions. What is the value of y after this statement? What is the value of i after these statements were executed?ġ0. Which statement reads an integer into variable abc using theįor questions 8 - 10, use the following initializations:ĩ. Which (complete) statement prints the text "HelloĦ. The correct command to run a Java program isģ. The correct command to compile a Java program isĢ. The level of language that is closest to spoken English isġ. A detailed written description of the program and the test results ofĢ0. The programming language that can be used to produces code thatĪpproaches assembly language in efficiency while still offering high-levelġ9. The language well-suited for business programming isġ8. A type of fourth-generation language used for retrieving data fromġ7. The module that is executed by the computer is theġ6. The original program is referred to as theġ5. The set of instructions for the computer written by the programmer areġ4. Suggestions to the programmer is known asġ3. The process in which a group of peers review a program and offer Which is not output from the compiler?ġ2. A pictorial representation of an orderly, step-by-step solution to aġ1. Mistakes in a program that involve the improper use of the programmingġ0. The rules of a programming language are called itsĩ. A language that is more precise than English but less precise than aĨ. A programming language often used to teach programming to beginners isħ. The lowest level of programming language isĦ. The first step in the development of a program isĥ. The highest level of programming language isĤ. A language that is an example of a scientifically oriented language isģ. A set of rules used to instruct the program what operations to perform isĢ. The option with boldface is the correct answer.ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |