Title | OOP - exams answers |
---|---|
Author | Mark De Guzman |
Course | Database Management System |
Institution | AMA Computer University |
Pages | 25 |
File Size | 472.3 KB |
File Type | |
Total Downloads | 61 |
Total Views | 172 |
OBJECT-ORIENTED PROGRAMMINGQuiz 1 (100%)Question 1 Answer saved Marked out of 1.Flag question Question text The J2SE 5 was released on Select one: a. September 2002 b. February 2002 c. September 2004 d. February 2000Question 2 Answer saved Marked out of 1.Flag question Question textThe J2SE 1 was re...
OBJECT-ORIENTED PROGRAMMING Quiz 1 (100%)
Question 1 Answer saved Marked out of 1.00
Flag question Question text The J2SE 5.0 was released on Select one: a. September 2002 b. February 2002 c. September 2004 d. February 2000
Question 2 Answer saved Marked out of 1.00
Flag question Question text
The J2SE 1.2 was released on Select one: a. May 2000 b. May 1998 c. December 1998 d. December 2000
Question 3 Answer saved Marked out of 1.00
Flag question Question text Java is a write once, runObject Oriented Programming anywhere language. Select one: a. Portable b. Object-Oriented c. Platform Independent d. Simple
Question 4 Answer saved Marked out of 1.00
Flag question Question text The JDK 1.1 was released on Select one: a. February 1996 b. January 1997 c. January 1996 d. February 1997
Question 5 Answer saved Marked out of 1.00
Flag question Question text It is a Java platform component that executes programs. Select one: a. JVM b. J2SE c. JDK
d. JRE
Question 6 Answer saved Marked out of 1.00
Flag question Question text It determines what resources a class can access such as reading and writing to the local disk. Select one: a. Bytecode Verifier b. JVM c. Classloader d. Security Manager
Question 7 Answer saved Marked out of 1.00
Flag question Question text
Feature of java that means, organizing our software as a combination of different types of objects that incorporates both data and behavior. Select one: a. Simple b. Object-Oriented c. Platform Independent d. Portable
Question 8 Answer saved Marked out of 1.00
Flag question Question text The J2SE 1.4 was released on Select one: a. September 2002 b. February 2000 c. February 2002 d. September 2004
Question 9 Answer saved
Marked out of 1.00
Flag question Question text Allows developers to create Java programs that can be executed and run by the JVM and JRE. Select one: a. J2SE b. JVM c. JRE d. JDK
Question 10 Answer saved Marked out of 1.00
Flag question Question text Part of the Java Runtime Environment(JRE) which is used to load Java classes into the Java Virtual Machine dynamically. Select one: a. Security Manager
b. Classloader c. JVM d. Bytecode Verifier
Question 11 Answer saved Marked out of 1.00
Flag question Question text Feature of java that is very easy to learn, and its syntax is simple, clean and easy to understand. Select one: a. Portable b. Object-Oriented c. Platform Independent d. Simple
Question 12 Answer saved Marked out of 1.00
Flag question Question text Java is an Object-Oriented programming language developed by ______________ in the early 1990s Select one: a. Dennis Ritchie b. James Gosling c. Bjarne Stroustrup d. Guido Van Rossum
Question 13 Answer saved Marked out of 1.00
Flag question Question text It facilitates you to carry the Java bytecode to any platform. Select one: a. Portable b. Platform Independent c. Object-Oriented
d. Simple
Question 14 Answer saved Marked out of 1.00
Flag question Question text It checks the code fragments for illegal code that can violate access right to objects. Select one: a. Security Manager b. JVM c. Bytecode Verifier d. Classloader
Question 15 Answer saved Marked out of 1.00
Flag question Question text The J2SE 1.3 was released on
Select one: a. May 1998 b. May 2000 c. December 1998 d. December 2000
Question 16 Answer saved Marked out of 1.00
Flag question Question text It is the on-disk part of Java that creates the JVM. Select one: a. JRE b. J2SE c. JVM d. JDK
Question 17 Answer saved Marked out of 1.00
Flag question Question text The JDK 1.0 was released on Select one: a. February 1996 b. January 1996 c. January 1997 d. February 1997
Question 18 Answer saved Marked out of 1.00
Flag question Question text A popular general-purpose programming language and computing platform. It is fast, reliable, and secure. Select one: a. C# b. C++ c. Java
d. Php
Question 19 Answer saved Marked out of 1.00
Flag question Question text The name Java originates from a sort of ____________ Select one: a. Cappuccino Bean b. Expresso Bean c. Latte Bean d. Mocha Bean
Question 20 Answer saved Marked out of 1.00
Flag question Question text The JAVA SE 12 was released on
Select one: a. September 2018 b. September 2019 c. March 2019 d. March 2018
Quiz 2 (100%)
Question 1 Answer saved Marked out of 1.00
Flag question Question text The class whose properties and functionalities are use (inherited) by another class is known as _______________? Select one: a. Sub Class b. Child Class c. B and C d. Parent Class
Question 2 Answer saved Marked out of 1.00
Flag question Question text The following are the advantages of Inheritance except. Select one: a. One superclass can be used for the number of subclasses in a hierarchy b. Allows you to define one interface c. Avoids duplicity and data redundancy d. Reusability of code
Question 3 Answer saved Marked out of 1.00
Flag question Question text The superclass constructor can be called explicitly using the ____________________ ? Select one:
a. Inheritance b. Super Class c. Super Keyword d. Constructor
Question 4 Answer saved Marked out of 1.00
Flag question Question text These are variables which have declarations inside methods, constructors or blocks. Select one: a. Variable Types b. Instance variables c. Class variables d. Local variables
Question 5 Answer saved Marked out of 1.00
Flag question Question text The capability of a method to do different things based on the object that it is acting upon. In other words, it allows you define one interface and have multiple implementations. Select one: a. Abstraction b. Inheritance c. Encapsulation d. Polymorphism
Question 6 Answer saved Marked out of 1.00
Flag question Question text The process by which one class acquires the properties (data members) and functionalities(methods) of another class. Select one: a. Encapsulation b. Inheritance
c. Polymorphism d. Abstraction
Question 7 Answer saved Marked out of 1.00
Flag question Question text The same method in child class which is already present in the parent class. Select one: a. Object Overriding b. Object Overloading c. Method Overloading d. Method Overriding
Question 8 Answer saved Marked out of 1.00
Flag question Question text
The super keyword refers to the ______________, immediately above of the calling class in the hierarchy. Select one: a. Super Keyword b. Constructor c. Inheritance d. Super Class
Question 9 Answer saved Marked out of 1.00
Flag question Question text Select one: a. Private b. No Modifier c. Protected d. Public
Question 10 Answer saved Marked out of 1.00
Flag question Question text The class that extends the features of another class is known as _____________? Select one: a. B and C b. Sub Class c. Child Class d. Parent Class
Question 11 Answer saved Marked out of 1.00
Flag question Question text It is the most fundamental entity in Java or any other Object Oriented Language. Select one: a. Class b. Method c. Object
d. Behavior
Question 12 Answer saved Marked out of 1.00
Flag question Question text These variables are inside a class however outside any method. They come into existence when the class instantiates. Select one: a. Class variables b. Instance variables c. Variable Types d. Local variables
Question 13 Answer saved Marked out of 1.00
Flag question Question text
This is the least restrictive access modifier. Methods and attributes that use the public modifier can be accessed within your current class and by all other classes. Select one: a. No Modifier b. Private c. Public d. Protected
Question 14 Answer saved Marked out of 1.00
Flag question Question text This is the most restrictive and most commonly used access modifier. If you use the this modifier with an attribute or method, it can only be accessed within the same class. Select one: a. Public b. Protected c. No Modifier d. Private
Question 15
Answer saved Marked out of 1.00
Flag question Question text Use to define the visibility of classes, methods, and attributes. Select one: a. Private b. Protected c. Public d. Access Modifier
Question 16 Answer saved Marked out of 1.00
Flag question Question text Attributes and methods with the access modifier protected can be accessed within your class, by all classes within the same package, and by all subclasses within the same or other packages. Select one:
a. No Modifier b. Private c. Protected d. Public
Question 17 Answer saved Marked out of 1.00
Flag question Question text Sub class is invoked when we create the object of subclass, it by default invokes the default constructor of super class. Select one: a. Super Class b. Constructor c. Inheritance d. Super Keyword
Question 18 Answer saved Marked out of 1.00
Flag question Question text One of the OOPs feature that allows us to perform a single action in different ways. Select one: a. Encapsulation b. Inheritance c. Polymorphism d. Abstraction
Question 19 Answer saved Marked out of 1.00
Flag question Question text It is a blueprint for objects to follow a specific schema defined in the class. Select one: a. Behavior b. Method c. Object
d. Class
Question 20 Answer saved Marked out of 1.00
Flag question Question text It has the static keyword as a prefix in its declaration. Its definition occurs only inside a class and outside any function. Select one: a. Class variables b. Variable Types c. Local variables d. Instance variables...