Sail E0 Webinar

MCQs

Total Questions : 66 | Page 5 of 7 pages
Question 41.  How many JDBC driver types does Sun define?
  1.    One
  2.    Two
  3.    Three
  4.    Four
 Discuss Question
Answer: Option D. -> Four
Question 42.  Who invented Java?
  1.    Netscape
  2.    Microsoft
  3.    Sun
  4.    None of the above is correct.
 Discuss Question
Answer: Option C. -> Sun
Question 43.  Where is metadata stored in MySQL?
  1.    In the MySQL database metadata
  2.    In the MySQL database metasql
  3.    In the MySQL database mysql
  4.    None of the above is correct.
 Discuss Question
Answer: Option C. -> In the MySQL database mysql
Question 44.  
What is sent to the user via HTTP, invoked using the HTTP protocol on the user's computer, and run on the user's computer as an application?
  1.    A Java application
  2.    A Java applet
  3.    A Java servlet
  4.    None of the above is correct.
 Discuss Question
Answer: Option B. -> A Java applet
Question 45.  Which JDBC driver Type(s) can be used in either applet or servlet code?
  1.    Both Type 1 and Type 2
  2.    Both Type 1 and Type 3
  3.    Both Type 3 and Type 4
  4.    Type 4 only
 Discuss Question
Answer: Option C. -> Both Type 3 and Type 4
Question 46.  To run a compiled Java program, the machine must have what loaded and running?
  1.    Java virtual machine
  2.    Java compiler
  3.    Java bytecode
  4.    A Web browser
 Discuss Question
Answer: Option A. -> Java virtual machine
Question 47.  ________ is an open source DBMS product that runs on UNIX, Linux and Windows.
  1.    MySQL
  2.    JSP/SQL
  3.    JDBC/SQL
  4.    Sun ACCESS
 Discuss Question
Answer: Option A. -> MySQL
Question 48.  What MySQL property is used to create a surrogate key in MySQL?
  1.    UNIQUE
  2.    SEQUENCE
  3.    AUTO_INCREMENT
  4.    None of the above -- Surrogate keys are not implemented in MySQL.
 Discuss Question
Answer: Option C. -> AUTO_INCREMENT
Question 49.  What is not true of a Java bean?
  1.    There are no public instance variables.
  2.    All persistent values are accessed using getxxx and setxxx methods.
  3.    It may have many constructors as necessary.
  4.    All of the above are true of a Java bean.
 Discuss Question
Answer: Option C. -> It may have many constructors as necessary.
Question 50. . What is bytecode?
  1.    Machine-specific code
  2.    Java code
  3.    Machine-independent code
  4.    None of the above is correct.
 Discuss Question
Answer: Option C. -> Machine-independent code

Latest Videos

Latest Test Papers