Fill in the blanks 1. Rules that must be followed when writing a program compris
ID: 3846205 • Letter: F
Question
Fill in the blanks 1. Rules that must be followed when writing a program comprise the ______________________ of the programming language. 2. ___________________________ is generated by the Java compiler. 3. A machine language program is written in __________________________. 4. This type of error results when the rules of the Java programming language are followed, but the program does not produce proper results: _______________________________. 5. Division by zero is an example of a ___________________________________. 6. Every Java application has a __________________ method. 7. Name three primitive data types and give an example of each: a. _____________________ ____________________ b. _____________________ ____________________ c. _____________________ ____________________ 8. The _________________ operator is a unary operator that manually converts a value from one data type to another; here is an example: ________________________. 9. Give an example of an inline comment. ______________________________________________
Explanation / Answer
1. Rules that must be followed when writing a program comprise the ___________Syntax___________ of the programming language.
2. ____________Bytecode_______________ is generated by the Java compiler.
3. A machine language program is written in _________binary code_________________.
4. This type of error results when the rules of the Java programming language are followed, but the program does not produce proper results: ________Syntax errors_______________________.
5. Division by zero is an example of a ________________ArithmeticException__________________.
6. Every Java application has a _________Main_________ method.
7. Name three primitive data types and give an example of each:
a. _________Integer____________ ________int , long, short, byte____________
b. _________Floating-point____________ __________float double__________
c. ___________Boolean____________________ _________Boolean___________
8. The _______ bitwise negation operator__________ operator is a unary operator that manually converts a value from one data type to another; here is an example: ________x & ~0xf________________.
9. Give an example of an inline comment. _________________/* some Comment */_____________________________
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.