Formative Assessment 1
Java Bytecode File Extension name.
.class
In what year was java release as a core component of Sun Microsystems' Java platform?
1995
A feature of java that means Java technology is designed to support applications that will be deployed into heterogeneous network environments
Architecture neutral and portable
What is the feature of Netbeans for Language independent debugger core, variable modification and watches, various breakpoints and "Fix and Continue" mechanism.
Award Winning Debugger
All methods and variables in Java language are kept inside a?
Class or Interface
T/F: "\tab" is an escape character for tab.
False
T/F: A multi-line comment enclosed within /* .... **/
False
T/F: An IDE doesn't have a source code editor
False
T/F: Correct way of displaying string output is: System.out.println('some text here');
False
T/F: Every statement in Java language should end with ","?
False
T/F: Every statement in Java language should end with "<>"?
False
T/F: File extension name of a java file is .javac.
False
T/F: JUM handles all communication between the Java program and the underlying operating system and hardware.
False
T/F: Netbeans Matisse doesn't support internationalization, and industrial look-and-feel rules, which is very important for large scale application meant to be spread world wide.
False
T/F: One of the tools for Object oriented design doesn't include object inspector
False
T/F: The identifier name may be a reserved word.
False
T/F: The main method is declared private so that it is accessible as part of the private interface of the program.
False
T/F: The main method is non-static because it must be called before the class that hosts the method is instantiated
False
T/F: double data type has a width of 16 in bytes.
False
T/F: float has a width of 8 bytes
False
T/F: int has a width of 8 bytes
False
T/F: main method is int because the Java interpreter does not expect to receive or process any output from the class.
False
T/F: out is a private static field
False
T/F: printf() prints string inside the quotes and leaves the prompt the same line.
False
A feature of java that means the automatic garbage collector runs as a low priority background thread, ensuring a high probability that memory is available when required, leading to better performance.
High Performance
Name of a Class, Variable, Method or an Interface in Java language is called?
Identifier
IDE stands for?
Integrated Development Environment
In standalone Java applications, which method is mandatory?
Main Method
A Netbeans feature that provides the services common to almost all large desktop applications such as: window, menu, settings management and storage, file access and more.
NetBeans Platform
It provides simple and intuitive layout of GUIs without having to understand the complexities of Swing layout managers.
Netbeans Matisse
Original name of Java
Oak
Sun Microsystems is now a subsidiary of ?
Oracle Corporation
Every statement in Java language should end with a?
Semicolon
What is the use of Access modifier "public" in Java language?
To call the main method outside of Class or Package by JVM
T/F: A documentation or javadoc comment is enclosed between /** and */
True
T/F: An IDE doesn't have debugger
True
T/F: An IDE has version control system
True
T/F: IDE is a computer software to help computer programmers develop software.
True
T/F: Java Wrapper Classes are used in converting one data type into another data type.
True
T/F: Java is a portable language that could run on any platform. The language was able to do this by generating intermediate code for a hypothetical computer called a virtual machine.
True
T/F: Most IDEs today have GUI modeling utilities that simplify the development of UIs.
True
T/F: Netscape Navigator was developed in 1995 to support Java.
True
T/F: String is a primitive data type
True
T/F: The System class is a part of the core Java language package of the Application Programming Interface (API)
True
T/F: boolean data type has only two values
True
T/F: double and float data types are used for numbers with decimal places
True
T/F: main method is void because the Java interpreter does not expect to receive or process any output from the class.
True
T/F: nextFloat () reads a float value from the user.
True
T/F: println belongs to the System class.
True
T/F: static is a state of a method
True
A function in C language is similar to what in Java language?
Variable
Escape character for new line.
\n
Correct command for compiling a text file named "HelloWorld.java" using console
javac HelloWorld.java
It reads a byte value from the user.
nextByte()
What is the default return type of a main method in Java language?
void