100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
PRJ 311 Full Test Bank | Complete Solutions (Verified) $27.49   Add to cart

Exam (elaborations)

PRJ 311 Full Test Bank | Complete Solutions (Verified)

 2 views  0 purchase
  • Course
  • PRJ 311
  • Institution
  • PRJ 311

PRJ 311 Full Test Bank | Complete Solutions (Verified) To get an object NumberFormat class that initialized to the specified locale, we use a. getNumberFormat() b. getCurrencyInstance() c. getNumberInstance() d. getInstance() Which type of driver can interpret JDBC calls to the database-specific ...

[Show more]

Preview 4 out of 69  pages

  • September 14, 2024
  • 69
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • PRJ 311
  • PRJ 311
avatar-seller
NurseHenny
PRJ 311 Full Test Bank


To get an object NumberFormat class that initialized to the specified locale, we use

a. getNumberFormat()
b. getCurrencyInstance()
c. getNumberInstance()
d. getInstance()

Which type of driver can interpret JDBC calls to the database-specific native call
interface

a. Type-1
b. Type-2
c. Type-4
d. Type-3

Which are advantages of JDBC? (select two)

a. enable connecting to any database system
b. vendor independent
c. platform independent
d. database access faster than other languages

Formatting the captions of the GUI components ensures that the look and feel of the
application is in a locale-sensitive manner
a. TRUE
b. FALSE

Which statements are CORRECT about properties file? (Select 2)

a. A Locale is an identifier for a particular combination of language and region
b. To create a properties file, it must use Netbeans or a Java editor
c. Extensions of the properties file must be ".properties"

Internationalized software should be developed such that it can be adapted without
engineering changes
a. FALSE
b. TRUE

Which type of driver can use a bridging technology that provides JDBC access via
ODBC drivers

a. Type-4

,b. Type-2
c. Type-1
d. Type-3

RMI does not allow you to serialize and transmit objects
a. TRUE
b. FALSE

Which distributed object technology is most appropriate for systems that consist entirely
of Java objects?

a. CORBA
b. RMI
c. DOM
d. DCE

When using URL class, which method is used to make a connection with that URL?

a. makeConnection()
b. openConnection()
c. connect()
d. accept()

When a connection is established, we can get which streams

a. input stream
b. output stream
c. both input stream and output stream
d. in-out stream

A server must retrieve the InputStream and OutputStream from the proxy socket object
to communicate with the client
a. FALSE
b. TRUE

The _______ method wakes up all threads that are waiting for a monitor

a. notify()
b. join()
c. notifyAll()
d. wait()

Which RMI layer make invocation to remote methods

a. Remote Reference layer

,b. Transport layer
c. Stub and Skeleton layer

______ facilitates many parts of same program to run serially but access a same
resource

a. Multithread
b. DaemonThread
c. Threading
d. MonoThread

You are trying to retrieve the InputStream of the socket. Which of the options will help
you to achieved this?

a. Socket socket;
String host;
BufferedReader reader;
try {
socket = new Socket("localhost", -200);
reader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
} catch(Exception ex) {
ex.printStackTrace();
}
b. Socket socket;
String host;
BufferedReader reader;
try {
socket = new Socket("localhost", 200);
reader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
} catch(Exception ex) {
ex.printStackTrace();
} Correct
c. Socket socket;
String host;
BufferedReader reader;
try {
socket = new Socket("localhost", 200);
reader = new BufferedReader(new InputStreamReader(socket.getStream()));
} catch(Exception ex) {
ex.printStackTrace();
}
d. Socket socket;
String host;
BufferedReader reader;
try {
socket = new Socket("localhost", 200);

, reader = new BufferedReader(new InputStream(socket.getInputStream()));
} catch(Exception ex) {
ex.printStackTrace();
}

To create ServerSocket object, it should know the address or port of the client to
communicate
a. TRUE
b. FALSE

A remote object is an instance of the class that implements the java.rmi.Remote
interface
a. FALSE
b. TRUE

The _______ condition describes a situation where two or more threads a blocked
forever, waiting for each other

a. synchronization
b. race
c. blocking
d. deadlock

Remote object and remote server are the same concept
a. TRUE
b. FALSE

_____ is used to transmit and receive data

a. Transport layer
b. Remote Reference layer
c. Stub and Skeleton layer

All the remote methods declared should be qualified to throw the exception
___________

a. java.rmi.RemoteException
b. java.rmi.ServerRuntimeException
c. java.rmi.MarshalException
d. java.rmi.RMIException

Which class stores information about an Internet resource address including host name,
file name, port number.

a. URL
b. Connection

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller NurseHenny. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $27.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77973 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$27.49
  • (0)
  Add to cart