7/31/2010

BCS2234 Chapter 2 Exercise

BCS2234 Chapter 2 Exercise
1. What is Identifier?
____________________________________________________________________________________________________________________________________________

2. An identifier must start with a letter, an underscore (_), or a dollar sign ($). [ T / F ]
3. An identifier cannot start with a digit. [ T / F ]
4. An identifier can be of maximum 60 characters length. [ T / F ]
5. An identifier cannot be a reserved word. [ T / F ]
6. What is Reserved Word?
____________________________________________________________________________________________________________________________________________

7. Give the meaning of the following Numeric Operators


















8. Show output of the following Java code

String string = JOptionPane.showInputDialog( null, “Prompting Message”, “Dialog Title”, JOptionPane.QUESTION_MESSAGE));

9. There are three (3) types of programming error; Syntax Errors, Runtime Errors and Logic Errors. [ T / F ]

10. Match the following term to the correct explanation.

A. Syntax Errors * Produces incorrect result

B. Runtime Errors * Detected by the compiler

C. Logic Errors * Causes the program to abort


No comments:

Cara download Installer windows 10 dalam format ISO

1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan.  ...