Question: QUESTION 2 ( 2 0 Marks ) Determine if the following statements are True or False. Write down the question number and the correct answer
QUESTION Marks Determine if the following statements are True or False. Write down the question number and the correct answer next to it Eg True It is important to test and evaluate a computer program. Java is a highlevel language. Methods are one of the major structuring mechanisms for Java programs. The Java compiler translates Java programs into machine language programs. Pseudocode is a mixture of English and a programming language. The computer will not print an error message when a logic error occurs. System.out is an example of a method. An uppercase letter is considered to be the same character as a lowercase letter in Java. The boolean type has only two values. Every statement with if must also include else. The operator can be used to see if two strings have the same characters. The body of any while loop will be executed at least once. JOptionPane is a class which allows us to display a message dialog box. Comments are printed on the screen when the program is executed. Some programs never halt. A method cannot make changes to its formal parameters. Variables should always be declared as locally as possible. A computer is a generalpurpose device that behaves according to the sets of instructions and data it is provided with. When it is not known in advance how many times a set of statements will be repeated, a counter value can be used to terminate the repetition. The Java API is a useful collection of classes that you may use in your programs
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
