True/False     ___ 1. Source code can be read and modified by a programmer. ___ 2. Java is not case sensitive. ___ 3. Bytecode can only be executed by Java Virtual Machine.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
  1. True/False  

 

___ 1. Source code can be read and modified by a programmer.

___ 2. Java is not case sensitive.

___ 3. Bytecode can only be executed by Java Virtual Machine.

___ 4. Compilers can find not only syntax errors but also logical errors.

___ 5.Linker translates source code into object code.

___ 6. Java byte code can be opened and edited.

___ 7. Java program must have at least one class defined in it.

___ 8. Java program must be saved in a file with .java as the file name extension.

___ 9. Java virtual machine is different for different platforms.

___ 10. Java statement ends with a column.

___ 11. Java program must use the class name as its file name.

___ 12. Logical errors are the same as the run time errors.

___ 13. Java byte code is a binary code.

___ 14. A file with .class file name extension is Java’s byte code.

___ 15. A Java method can call other methods.

___ 16. Java compiler converts source code into byte code.

___ 17. Java program can use any file name extension as you would like.

___ 18. Both symbols // and /* and */ are Java comments.

___ 19. In Java, the expression x=x+2; is valid.  

___ 20. The statement System.out.println(“\\\\\t\\\\”); will print the result:   \\​\\.

___ 21. Stepwise refinement technique should be used when you start learning how to write a Java program.

___ 22. Java comment symbols /* and */ can be nested in a Java program.

___ 23. Program header is important and should be included in every Java program you write.

___ 24. Java has a set of reserved words that cannot be used as identifiers.

___ 25. Double is a legitimate identifier.  

___ 26. Java expression 10/4 evaluates to 2.5.  

___ 27. Java compiler does not ignore white spaces such as spaces, tabs, or blank lines in a Java program.  

___ 28. The same variable name(s) can be declared and used within different methods.  

___ 29. In Java, 3*'b'+1 is a valid expression.  

___30.  In Java x++ is equivalent to x=x+1.  

___ 31. In Java, int x=2.5; is a valid statement.

___ 32. The data type of the Java expression (int) 2.5 is double.

___ 33. Java source code must be saved in a file with the file name extension .class in order to run.

___ 34. In Java a real number such as 2.51 will be stored and used exactly as 2.51.

___ 35. In Java,  3+”abc”+2*3 is a valid statement.

Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Unreferenced Objects
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education