0% found this document useful (0 votes)
140 views2 pages

IT 103 Midterm Examination

This document contains questions about Java concepts including: 1. Modified true/false questions about Java APIs, testing, and the Java ME platform. 2. Multiple choice questions about Java characteristics like object-oriented, platform independence, simplicity, and security. 3. Questions asking to enumerate Java modifiers, variables, object characteristics, advantages of methods, ways to initialize objects, Java platforms, and access specifiers. 4. A matching question matching Java terms to their definitions. 5. A request to define 5 Java keywords.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
140 views2 pages

IT 103 Midterm Examination

This document contains questions about Java concepts including: 1. Modified true/false questions about Java APIs, testing, and the Java ME platform. 2. Multiple choice questions about Java characteristics like object-oriented, platform independence, simplicity, and security. 3. Questions asking to enumerate Java modifiers, variables, object characteristics, advantages of methods, ways to initialize objects, Java platforms, and access specifiers. 4. A matching question matching Java terms to their definitions. 5. A request to define 5 Java keywords.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

I. Modified True or False.

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

IV. Matching Type. Find the Answer of Column A to Column B.


Column A Column B
66. it is a method that returns an object to
the class to which it belongs
67. the method that does not has method
body
68. it is also known as setters or modifiers
and does not return anything
69. methods that reads the instance variable
A. 1995
70. the method of the class B. James Gosling
71. a method that belongs to a class rather C. Java EE
than an instance of a class D. JAVA SE
72. this java platform consists of a virtual E. Static Method
machine, development tools, deployment F. Instance Method
technologies, and other class libraries and G. Accessor Method
toolkits commonly used in Java technology H. Mutator Method
applications I. Abstract Method
73. Java platform which is built on top of the J. Factory method
Java SE platform
74. initiated Java language project in June
1991 for use in one of his many set-top box
projects
75. Sun released the first public
implementation as Java 1.0 in

V. Definition. Give 5 Java Keywords and define them.


76.
77.
78.
79.
80.

You might also like