Preview

Advance Excel and Mis Training in Delh

Good Essays
Open Document
Open Document
2086 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Advance Excel and Mis Training in Delh
DURATION :
Test Pattern:

Paper1: 40 J2EE Questions (50 minutes)

Paper2: 40 JAVA Questions (50 minutes)

All questions are multiple-choice !

-------------------------------------------------------------------

J2EE PAPER:

-------------------------------------------------------------------

1. What exception is thrown when Servlet initialization fails ?

(a) IOException

(b) ServletException

(c) RemoteException

ANS: (b)

-------------------------------------------------------------------

2. How can a Servlet call a JSP error page ?

(a) This capability is not supported.

(b) When the servlet throws the exception, it will automatically be caught by the calling JSP page.

(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".

(d) The servlet needs to redirect the response to the specific error page, saving the exception off in a cookie.

ANS: (c)

-------------------------------------------------------------------

3. What is the key difference between using a and HttpServletResponse.sendRedirect()?

(a) forward executes on the client while sendRedirect() executes on the server.

(b) forward executes on the server while sendRedirect() executes on the client.

(c) The two methods perform identically.

ANS: (b)

-------------------------------------------------------------------

4. Why beans are used in J2EE architecture in stead of writing all the code in JSPs ?

(a) Allows separation of roles between web developers and application developers

(b) Allows integration with Content Management tools

ANS: (a)

-------------------------------------------------------------------

5. Why DB connections are not written directly in JSPs ?

(a) Response is slow

(b) Not a standard J2EE architecture

(c) Load Balancing is not possible

(d) All the above

(e) Both (b) and (c)

ANS: I

You May Also Find These Documents Helpful

  • Good Essays

    For Graphical User Interface, Net Beans or Eclipse is used to have a greater degree of interfaces between end user and the tool.…

    • 1533 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Nt1310 Unit 2 Essay

    • 418 Words
    • 2 Pages

    At this layer error recovery is also performed. The following are examples TCP, UDP, and SPX.…

    • 418 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    then it would be used to create that space. But also it is said that exception should never be accepted by…

    • 442 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    it238 r6 appendix c

    • 243 Words
    • 2 Pages

    2. Write a custom error handling JavaScript® function called processErrors that handles a custom error by assigning it to the onerror event handler. Include the block of JavaScript® statements needed to pass the arguments sent by the JavaScript® interpreter into the processErrors function, send an alert message with the arguments, return, and write the event handler that calls the processErrors function.…

    • 243 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    b. Should “problem” = an issue in the code that is preventing it from executing, than the first thing I would imagine being done is to look over the program for syntax errors and logic errors. (While I know that syntax is usually the culprit for error, I may as well look for the both of them if I’m going to be going over code line by line.)…

    • 848 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 8 Assignment

    • 380 Words
    • 2 Pages

    d. ____________________ is a fault-tolerance technique that links multiple servers together to act as a single server.…

    • 380 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    8. Which of the following is the preferred method to reduce risks while managing access security controls within the system/application domain?…

    • 939 Words
    • 4 Pages
    Good Essays
  • Good Essays

    IS3230 Final Exam Answers

    • 939 Words
    • 4 Pages

    8. Which of the following is the preferred method to reduce risks while managing access security controls within the system/application domain?…

    • 939 Words
    • 4 Pages
    Good Essays
  • Good Essays

    I believed the answer to be C, but the answer is actually E. The reason why I know E is actually the correct answer is because the author’s main purpose is to clarify and explain the concepts of “good” and “bad.” In which his approach is analytical and irrational.…

    • 880 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Javascript Error Handling

    • 255 Words
    • 2 Pages

    2. Write a custom error handling JavaScript function called processErrors that handles a custom error by assigning it to the onerror event handler. Include the block of JavaScript statements needed to pass the arguments sent by the JavaScript interpreter into the processErrors function, send an alert message with the agreements, return, and write the event handler that calls the processErrors function.…

    • 255 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    quiz 2

    • 651 Words
    • 3 Pages

    4. Which of the following is not a counter measure for defending against a null session vulnerabilities?…

    • 651 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    2. Customer has bought an item from catalogue or internet. But when it arrives He is not happy with the quality of the item. Because he can not find returns procedure, he needs to contact the store.…

    • 2823 Words
    • 10 Pages
    Good Essays
  • Good Essays

    Process Flow Diagrams

    • 790 Words
    • 3 Pages

    If the customer noticed something wrong on the confirmation notice she received, she would either call a toll-free number or send in a letter describing the problem. The Customer Problem Resolution division dealt with problems arising at this point. An updated confirmation notice was sent to the customer. If the information was…

    • 790 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Service failure occurs when service performance falls below a customer’s expectations in such a way that leads to customer dissatisfaction.…

    • 2752 Words
    • 12 Pages
    Powerful Essays
  • Powerful Essays

    3. the webserver cannot be configured to append the post data to the access log…

    • 442 Words
    • 2 Pages
    Powerful Essays

Related Topics