IT 103 Midterm Examination
IT 103 Midterm Examination
Write TRUE if the statement is correct but if it is false, change the underlined
word or group of words to make the whole statement true.
1. Java SE API provides the core functionality of the Java programming language. Negative functional
testing involves testing the software with invalid inputs and undesired operating conditions.
2. The Java ME platform provides an API and runtime environment for developing and running large-
scale, multi-tiered, scalable, reliable, and secure network applications.
3. The Java ME platform provides an API and a small-footprint virtual machine for running Java
programming language applications on small devices, like mobile phones.
4. Java EE Script is a statically-typed declarative language that is compiled to Java technology bytecode,
which can then be run on a Java VM.
5. Developing a java program (set of instructions) according to Java syntax or rules is called execution.
6. Converting the java program into byte codes or .class file using javac compiler is called compilation.
7. Converting the byte codes present in the .class file into CPU understandable instructions or binaries
using Java Virtual Machine (JVM) which is an interpreter is called coding.
8. Objects have states and behaviors.
9. A class can be defined as a template/blueprint that describes the behavior/state that the object of its
type supports.
10. A method is basically a behavior.
II. Multiple Choice. Choose the letter that corresponds to the BEST answer.
11. In Java, everything is an Object. Java can be easily extended since it is based on the Object model.
a. Object Oriented b. Platform Independent c. Simple d. Secure
12. Unlike many other programming languages including C and C++, when Java is compiled, it is not
compiled into platform specific machine, rather into platform independent byte code.
a. Architectural-neutral b. Platform Independent c. Simple d. Secure
13. Java is designed to be easy to learn.
a. Object Oriented b. Portable c. Simple d. Secure
14. With Java's secure feature it enables to develop virus-free, tamper-free systems.
a. Object Oriented b. Platform Independent c. Robust d. Secure
15. Java compiler generates an architecture-neutral object file format, which makes the compiled code
executable on many processors, with the presence of Java runtime system.
a. Architecture-neutral b. Portable c. Robust d. Multithreaded
16. Compiler in Java is written in ANSI C with a clean portability boundary, which is a POSIX subset.
a. Multithreaded b. Portable c. Robust d. Multithreaded
17. Java makes an effort to eliminate error prone situations by emphasizing mainly on compile time
error checking and runtime checking.
a. Architecture-neutral b. Interpreted c. Robust d. Multithreaded
18. Java design feature that allows the developers to construct interactive applications that can run
smoothly.
a. Architecture-neutral b. Portable c. High Performance d. Multithreaded
19. Java byte code is translated on the fly to native machine instructions and is not stored anywhere.
a. Interpreted b. High Performance c. Distributed d. Dynamic
20. Java feature that uses of Just-In-Time compilers.
a. Object Oriented b. High Performance c. Distributed d. Dynamic
21. Java is designed for the distributed environment of the internet.
a. Interpreted b. Platform Independent c. Distributed d. Dynamic
22. Java programs can carry extensive amount of run-time information that can be used to verify and
resolve accesses to objects on run-time.
a. Interpreted b. High Performance c. Secure d. Dynamic
23. In Java, classes can be derived from classes.
a. Inheritance b. Interfaces c. Blank Lines d. Comments
24. Can be defined as a contract between objects on how to communicate with each other.
a. Inheritance b. Interfaces c. Blank Lines d. Comments
25. A line containing only white space, possibly with a comment, is known as a blank line, and Java
totally ignores it.
a. Inheritance b. Interfaces c. Blank Lines d. Comments
III. Enumeration. List down or enumerate what are asked for each of the following.
26-27. Categories of Java Modifiers
28-30. Types of Variables in Java
31-33. Characteristics of an Object
34-35. Advantage of Method
36-38. Ways to initialize an Object
39-42. Platforms of the Java programming language
43-46. Types of Access specifier
47-48. Types of Method
49-60. Java is – (characteristics of java)
61-65. Points to remember about Identifiers