Which is a named memory location assigned a value by the program?
variable
literal
identifier
None of the mentioned
View Answer
Correct Answer: A — variable
Explanation:
No explanation is available for this question yet.
7 practice sets · Page 1 of 1
Which is a named memory location assigned a value by the program?
variable
literal
identifier
None of the mentioned
Correct Answer: A — variable
Explanation:
No explanation is available for this question yet.
Which of the following is called as 'Compilation unit'?
Object file
Byte code
Source file
All of the mentioned
Correct Answer: C — Source file
Explanation:
No explanation is available for this question yet.
Java Compiler translates the source code into?
Machine code
Assembly code
Byte code
JVM code
Correct Answer: C — Byte code
Explanation:
Java program is converted into 'byte code' which makes it easier to run on wide variety of environments. Only the run-time package JVM has to be implemented for each platform.
Which of the following is/are advantage of using object oriented programming?
Code Reusability
Can create more than one instance of a class without interference
Platform independent
All of the mentioned
Correct Answer: D — All of the mentioned
Explanation:
No explanation is available for this question yet.
Which of the following approach is followed by Object Oriented Language during the execution of a program?
Bottom up approach
Top down approach
Both a and b
None of the mentioned
Correct Answer: A — Bottom up approach
Explanation:
Bottom up approach begins with details and moves to higher conceptual level there by reducing complexity and making the concept easier to understand.
Which of the following Paradigm is followed by Object Oriented Language Design?
Process-Oriented Model
Data Controlling access to code.
Both a and b
None of the mentioned
Correct Answer: B — Data Controlling access to code.
Explanation:
Object-oriented programming organises a program around its data(that is, objects) and a set of well-defined interfaces to that data.
Which of the following approach help us understand better about Real time examples, say Vehicle or Employee of an Organisation?
Procedural approach
Object Oriented approach
Both a and b
None of the mentioned
Correct Answer: B — Object Oriented approach
Explanation:
Object Oriented Programming supports the concept of class and object which help us understand the real time examples better. Vehicle is defined to be a class. Car, truck, bike are defined to be objects of the class, Vehicle.