click below
click below
Normal Size Small Size show me how
CS0070 FA1
reviewer
| Question | Answer |
|---|---|
| Every statement in Java language should end with ";"? | TRUE |
| Escape character for tab. | \t |
| 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 |
| A feature of Netbeans that enables support for multiple source roots, easy management of libraries, easily ported to other environments, all based on Apache Ant. | project system |
| nextLong () reads a long value from the user. | TRUE |
| Name of a Class, Variable, Method or an Interface in Java language is called? | Identifier |
| float has a width of 4 bytes. | TRUE |
| Original name of Java | Oak |
| A multi-line comment enclosed within /* …. **/ | FALSE (/*..... */) |
| main method is void because the Java interpreter does not expect to receive or process any output from the class. | TRUE |
| Choose a Single Line Comment in Java Language below? | //Some comments |
| Java Bytecode File Extension name is .java. | FALSE (.class) |
| short has a value that ranges from -32768 to 32767 | TRUE |
| The goal in developing netbeans was to write a Delphi- like Java IDE in Java for the first time. | TRUE |
| IEE is a computer software to help computer programmers develop software. | FALSE |
| One of the tools for Object oriented design includes object inspector | TRUE |
| The command to compile a java source code. | javac |
| The main method is static because it must be called before the class that hosts the method is instantiated | TRUE |
| println does not belong to the System class. | FALSE |
| It reads a String value from the user. | nextLine() |
| The main method is declared public so that it is accessible as part of the public interface of the program. | TRUE |
| Who developed Java? | James Gosling |
| All methods and variables in Java language are kept inside a? | Class or Interface |
| It reads a boolean value from the user. | nextBoolean() |
| A valid identifier in Java language may contain which characters? | All the choices |
| out keyword accepts input data | FALSE |
| %d is for used for date | FALSE |
| A java edition that provides a robust, flexible environment for applications running on embedded and mobile devices in the Internet of Things | Micro Edition |
| An IDE consists of a debugger | TRUE |
| Choose a multiline comment in Java language below? | /*comments are going cars are moving*/ |
| Escape character for new line. | \n |
| A command for the documentation generator | javadoc |
| Scanner class used to get user input. | TRUE |
| The loader for java applications. | java |
| The very first web browser created by Java. | WebRunner |
| short has a width of 2 bytes | TRUE |
| A function in C language is similar to what in Java language? | Method |
| What is the default return type of a main method in Java language? | void |
| A feature of Netbeans for renaming, changing and moving of various objects, field encapsulation and usage finding. | Refactoring |
| print() prints string inside the quotes and leaves the prompt the same line. | TRUE |
| "\\\" is an escape character for printing '\'. | FALSE |
| The goal in developing netbeans was to write a python- like Java IDE in Java for the first time. | FALSE |
| integer data type is for whole numbers only. | TRUE |
| James Gosling works for Microsoft when he developed java? | FALSE |
| The identifier name may be a reserved word. | FALSE |
| A feature of netbeans with wizards for creating web services and web services clients, providing the basic (java/wsdl) code needed, and easy to use testing tools of existing web services. | Web Services Development |
| A java edition that is It is developed using the Java Community Process | Enterprise Edition |
| double data type has a width of 8 in bytes. | TRUE |
| A java edition that rich user interface, performance, versatility, portability, and security that today's applications require. | Standard Edition |
| System is a class | TRUE |
| Netbeans started as a student project called Xelfi | TRUE |
| The class file is normally compiled to produce the bytecode file (.class file) which is normally interpreted by the Java virtual machine (JVM). | FALSE |
| An IDE doesn't have debugger | FALSE |
| A Netbeans feature that gives it an extensible Component Palette pre-installed Swing and AWT components, showing a components tree and properties, automatic code generation and full JavaBeans support. | GUI Builder |
| An IDE doesn't have Compiler and/or interpreter. | FALSE |
| String args[] in main method are used for? public static void main(String args[]) { // } | Passing arguments at run time |
| Sun Microsystems is now a subsidiary of ? | Oracle Corporation |
| In standalone Java applications, which method is mandatory? | main method |
| A Netbeans feature that supports command lined vcs, supplying merging and diff tools and containing a built- in CVS client. | Version control Support |
| API stands for Application Programming Interface | TRUE |
| A feature of Netbeans with Syntax highlighting for Java, XML, HTML, CSS, JSP and IDL, full support of new JDK 1.5 features, live parsing/error marking, popup javadoc, code completion, and fast class importing. | Code Editor |
| A valid Identifier or name in Java language can start with which character? option1: a-z, A-Z option2: $, _ | both option1 and option2 |
| A feature of of Netbeans for supporting the J2EE 1.3 and 1.4 standards with web application build support based on Apache Ant. | web development |
| A feature of java that means that Java can be programmed without extensive programmer training while being attuned to current software practices | Simple, object-oriented, and familiar |
| What are the valid White Spaces available in Java language? | All the above |
| Scanner class is found on what java package? | java.util |
| The project startup name of Netbeans. | Xelfi |
| out is a public static field | TRUE |
| The ____ is normally compiled to produce the bytecode file (.class file) which is normally interpreted by the Java virtual machine (JVM). | Java source code |
| A Netbeans feature that is used to write, test, and debug applications for the Java Micro Edition platform (J2ME) technology-enabled mobile devices | NetBeans Mobility Pack |
| 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 |