Computer interview questions – page 128

4,197 questions. Tap “Show answer” to check yourself.

Advertisement
  1. Which of the following is NOT an advantage of using the SessionFacade pattern?

    1. Hides model complexity from the client
    2. Reduces network traffic
    3. Provides a simple interface to the client
    4. Enables the client to control transactions
    Show answer

    D. Enables the client to control transactions

  2. JDBC driver is loaded by calling which of the following methods

    1. call() method
    2. class.forName () methods
    3. close () method
    4. connect () methods
    Show answer

    B. class.forName () methods

  3. Which of the following file extension does the EJB modules of the application have?

    1. .xml
    2. .war
    3. .ear
    4. .jar
    Show answer

    B. .war

  4. Which one of the following tier in J2EE multi tier architecture provide internal functionality to J2EE application.

    1. Web Tier
    2. Enterprise Java Beans Tier
    3. Enterprise Interface System Tier
    4. Presentation Tier
    Show answer

    A. Web Tier

  5. JMS Publish/Subscribe Messaging Domain is an

    1. one to one relationship between sender and receiver
    2. many to many relationship between sender and receiver
    3. one to many relationship between sender and receiver
    4. many to many relationship between sender and receiver
    Show answer

    C. one to many relationship between sender and receiver

  6. Which of the following is a file that describes the style of elements that appear on the webpage?

    1. cascading strong sheet
    2. controlling style sheet
    3. cascading style sheet
    4. none of the above
    Show answer

    C. cascading style sheet

  7. ______ packages are used to train and educate people world over.

    1. Educational
    2. E-learning
    3. E-tutorial
    4. E-publishing
    Show answer

    B. E-learning

  8. The ___ input addresses the different styles of different users.

    1. Multi-sense
    2. Multimedia
    3. Multi-facet
    4. Multi-sensory
    Show answer

    D. Multi-sensory

  9. ______ are typical examples of static images.

    1. Photographs
    2. File
    3. Jokes
    4. Messages
    Show answer

    A. Photographs

  10. Which of the following is not a kind of exception that is thrown by JDBC method?

    1. SQL Exception
    2. DataRounding
    3. DataTruncation
    4. SQL Warning
    Show answer

    B. DataRounding

  11. Which of the following could be written with little knowledge of java?

    1. Java Server Pages
    2. Java Servlets
    3. Common Gateway Interface
    4. Java Community Program
    Show answer

    A. Java Server Pages

  12. Which of the following is a business component in J2EE?

    1. Enterprise Java Beans (EJB)
    2. Java servlet and JSP (Web)
    3. Applets
    4. Application clients
    Show answer

    A. Enterprise Java Beans (EJB)

  13. Advertisement
  14. Which of the following is the main drawback of CGI?

    1. Interfacing with corporate infrastructure
    2. Dynamic web pages
    3. Resource Intensive
    4. Scalability
    Show answer

    D. Scalability

  15. Which of the following modifiers can be applied to a constructor?

    1. volatile
    2. final
    3. private
    4. abstract
    Show answer

    C. private

  16. The shockwave format was developed by

    1. IBM
    2. Apple
    3. Macromedia
    4. Microsoft
    Show answer

    C. Macromedia

  17. JPEG may be expanded as

    1. Joint photographic Exports Group
    2. Joint Physical Experts Group
    3. Joint Physical Exports Group
    4. Joint Photographic Experts Group
    Show answer

    D. Joint Photographic Experts Group

  18. The expansion for MIDI is

    1. Musical Instrument Digital Interface
    2. Musical Instrument Data Interface
    3. Musical Instructions Digital Interface
    4. Musical Information Data Interface
    Show answer

    A. Musical Instrument Digital Interface

  19. _____ is an application that allows you to send and receive messages over cell phones.

    1. Animated service
    2. Message service
    3. MMS
    4. Multimedia
    Show answer

    C. MMS

  20. AIFF format was developed by

    1. Apple
    2. Real Networks
    3. Microsoft
    4. IBM
    Show answer

    A. Apple

  21. Choose the statement that best describes the relationship between JSP and servlets

    1. Servlets are built on JSP semantics and all servlets are compiled to JSP pages for runtime usage
    2. JSP and sevlets are unrelated technologies
    3. Servlets and JSP are competing technologies for handling web requests. Servlets are being superseded by JSP, which is preferred. The two technologies are not useful in combination
    4. JSPs are built on servlet semantics and all JSPs are compiled to servlets for runtime usage
    Show answer

    D. JSPs are built on servlet semantics and all JSPs are compiled to servlets for runtime usage

  22. Which of the following statements is NOT true about the Common Client Interface of JCA?

    1. CCI cannot connect to non relational systems
    2. CCI defines a set of interfaces and classes whose methods allow a client to perform typical data access operations
    3. A resource adapter is not required to provide support for the CCI
    4. CCI can connect to relational database systems
    Show answer

    A. CCI cannot connect to non relational systems

  23. Which of the following is not true in JMS point to point message domain?

    1. There is only one receiver
    2. The receiver can request a message
    3. The receiver must acknowledge the receipt of the message
    4. The receiver does not need to exist when the message is produced
    Show answer

    B. The receiver can request a message

  24. What will be the maximum size for a cookie?

    1. 1 KB
    2. 2 KB
    3. 3 KB
    4. 4 KB
    Show answer

    D. 4 KB

  25. In JAAS, which of the following uses a CallbackHandler object?

    1. AuthPermission
    2. Policy
    3. Credential
    4. LoginModule
    Show answer

    D. LoginModule

  26. Advertisement
  27. Multimedia is widely used to add special ____ to movies.

    1. arrangement
    2. attachments
    3. control
    4. effects
    Show answer

    D. effects

  28. A heavy video in a WBT may not load because of poor

    1. Signal
    2. KBPS
    3. Presentation
    4. Bandwidth
    Show answer

    D. Bandwidth

  29. To prepare a presentation/slide show which application is commonly used?

    1. Photoshop
    2. Power Point
    3. Outlook Express
    4. Internet Explorer
    Show answer

    B. Power Point

  30. The printing speed is around ___ characters per second in dot matrix printer.

    1. 3–30
    2. 30
    3. 300
    4. 3000
    Show answer

    D. 3000

  31. Personal computers designed specifically around a visual operating system include

    1. The TRS-80 Model I
    2. The Apple Macintosh
    3. The IBM PC/AT
    4. All of these
    Show answer

    B. The Apple Macintosh

  32. Which of the following is/are true about J2EE?

    1. a. J2EE stands for Java 2 Enterprise Edition
    2. b. J2EE is an environment for developing and deploying enterprise applications
    3. c. J2EE specification is defined by Sun Microsystems Inc
    4. d. The J2EE platform is one the best platform for the development and deployment of enterprise application.
    5. (A) both a and b
    Show answer

    D. d. The J2EE platform is one the best platform for the development and deployment of enterprise application.

Advertisement