Computer interview questions – page 129

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

Advertisement
  1. Which enterprise bean type is defined without any client view interfaces?

    1. Message Driven Bean
    2. BMP Entity bean
    3. Stateless Session bean
    4. Stateful Session bean
    Show answer

    A. Message Driven Bean

  2. Which of the following modifiers cannot be applied to a method?

    1. protected
    2. private
    3. public
    4. abstract
    Show answer

    D. abstract

  3. Which JDBC driver type is also referred as the java protocol?

    1. type 1 JDBC to ODBC protocol
    2. type 2 java 1 native code driver
    3. type 3 JDBC driver
    4. type 4 JDBC driver
    Show answer

    C. type 3 JDBC driver

  4. Which of the following is not a standard method called as part of the JSP life cycle?

    1. jspDestroy()
    2. jsp Init()
    3. jspService()
    4. jspservice()
    Show answer

    D. jspservice()

  5. Which of the following is a challenge in a J2EE?

    1. Fault tolerance
    2. Durability
    3. Scalability
    4. Reliability
    Show answer

    D. Reliability

  6. Which of the following is not a J2EE client?

    1. Web applications
    2. Applets
    3. Java Web Start clients
    4. JSP
    Show answer

    D. JSP

  7. Which of the following is not a web centric component?

    1. Applets
    2. Web Services
    3. Servlets
    4. Java Server Pages
    Show answer

    A. Applets

  8. Which of the following is not a reserved word?

    1. while
    2. goto
    3. if
    4. then
    Show answer

    D. then

  9. Which one of the following that controls communication between tiers in J2EE multi tiers architecture?

    1. API
    2. ACL
    3. JDBC
    4. RMI
    Show answer

    B. ACL

  10. How can a servlet call a JSP error page?

    1. This capability is not supported
    2. When the servlet throws the exception, it will automatically be caught by the calling JSP page
    3. The servlet needs to forward the request to the specific error page URL. The exception is passed along as an attribute named “javax.servlet.jsp.jspException”
    4. The servlet needs to redirect the response to the specific error page, saving the exception off in a cookie
    Show answer

    C. The servlet needs to forward the request to the specific error page URL. The exception is passed along as an attribute named “javax.servlet.jsp.jspException”

  11. Which of the following act as an interface between a component and the low level platform?

    1. Session Bean
    2. Entity Bean
    3. Container
    4. Applets
    Show answer

    C. Container

  12. Which of the following is not a feature of Message Driven Bean?

    1. It has no client visibility
    2. The container cannot pool instances
    3. It does not have a local or remote interface
    4. It is invoked asynchronously by the container
    Show answer

    B. The container cannot pool instances

  13. Advertisement
  14. A JMS message producer is created by

    1. session
    2. connection
    3. destination
    4. industry
    Show answer

    A. session

  15. Which technology provides the flexibility to swap between XML processors with no application code changes?

    1. JAAS
    2. SAX
    3. XSLT
    4. JAXP
    Show answer

    D. JAXP

  16. A web address is also called a

    1. URL
    2. LUR
    3. LRU
    4. HTML
    Show answer

    A. URL

  17. The comparison of data inside the arithmetic logic unit is referred to as a ___

    1. Logarithmic instruction
    2. Combinational operation
    3. Data flow
    4. Logical operation
    Show answer

    D. Logical operation

  18. Which of the following is related to register?

    1. Combinational circuit
    2. Arithmetic circuit
    3. Sequential circuit
    4. Digital circuit
    Show answer

    C. Sequential circuit

  19. Dedicated computer means

    1. Doesn’t have OS
    2. Used by single person
    3. Assigned to one and only one task
    4. All of above
    Show answer

    C. Assigned to one and only one task

  20. Everything computer does it controlled by its?

    1. Storage devices
    2. CPU
    3. ROM
    4. RAM
    Show answer

    B. CPU

  21. Mechanism to protect network from outside attack is

    1. Anti-virus
    2. Firewall
    3. Formatting
    4. Digital signature
    Show answer

    B. Firewall

  22. Objects are represented by

    1. Tables
    2. Columns
    3. Rows
    4. None of these
    Show answer

    A. Tables

  23. Generally to copy date from a remote computer/internet to local computer is called _____

    1. Download
    2. Editing
    3. Upload
    4. E-mail
    Show answer

    A. Download

  24. We can enter text to the computer by

    1. Router
    2. Printer
    3. Keyboard
    4. Scanner
    Show answer

    C. Keyboard

  25. In which of the following terminals the screen is regarded as an array of pixels, where each pixel is either on or off?

    1. RS-232 terminal
    2. Character map terminal
    3. Bitmap terminal
    4. All of the above
    Show answer

    C. Bitmap terminal

  26. Advertisement
  27. ___ are specially designed computers that perform complex calculations extremely rapidly.

    1. Laptops
    2. Servers
    3. Mainframes
    4. Super computers
    Show answer

    D. Super computers

  28. While running DOS on a PC, which command would be used to duplicate the entire diskette?

    1. TYPE
    2. COPY
    3. DISKCOPY
    4. CHKDSK
    Show answer

    C. DISKCOPY

  29. Only ___ program(s) become(s) active even though we can open many programs at a time.

    1. One
    2. Two
    3. Three
    4. Four
    Show answer

    C. Three

  30. The first computer mouse is built by

    1. Daniel Cougher
    2. William English
    3. Douglas Engelbart
    4. Robert Zawaski
    Show answer

    C. Douglas Engelbart

  31. Which of the following can be considered as portable computer?

    1. Desktop
    2. PDA
    3. Mainframe computer
    4. Mini computer
    Show answer

    B. PDA

  32. CPU is an abbreviation for

    1. Central processing unit
    2. Computer processing unit
    3. Control processing unit
    4. Command processing unit
    Show answer

    A. Central processing unit

Advertisement