3i Infotech Papers: Sample Questions 1137 - 1139 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 1137

» Languages » C & C Plus Plus

Short Answer Question▾

Write in Short

Whether unified method and unified modeling language are same or different?


  • Unified method is convergence of the Rumbaugh and Booch.

  • Unified modeling lang. is the fusion of Rumbaugh, Booch and Jacobson as well as Betrand Meyer (whose contribution is “sequence diagram”).

  • Unified modeling is superset of all the methodologies.

  • The UML is not intended to be a visual programming language however, the UML does have a tight mapping to a family of object oriented languages

Question number: 1138

» Languages » Java

Short Answer Question▾

Write in Short

Parameters in c passed by________


  • Parameters in c passed by value.

  • When a single value is passed to a function via an actual argument.

  • The value of the actual argument is copied into the function.

  • So, the value of the corresponding formal argument can be altered within the function, but the value of the actual argument within the calling routine will not change.

  • This procedure for passing the value of an argument to a function is known as passing by value.

Question number: 1139

» Languages » Java

Appeared in Year: 2004



Which of the following JSP expressions are valid?


Choice (4) Response


< %= “Sorry” + “for the” + “break”; % >


< %= “Sorry” % >


< %= “Sorry” + “for the” + “break” % >


Both c. and b. are correct




  • Code placed within JSP expression tag is written to the output stream of the response.

  • So there is no need to write out. print () to write data.

  • The value of an expression inside JSP expression is converted to a String.

  • We can use an expression within a line of text, whether or not it is tagged with HTML, in a JSP file.

  • The expression element can contain any expression that is valid according to the Java Language Specification but we cannot use a semicolon to end an expression.

Syntax of JSP extension:

< %= Expression % >


  1. <html>
  2. <body>
  3. <%=”welcome to jsp” %>
  4. </body>
  5. </html>
  • So, the correct answer is < %= “Sorry” + “for the” + “break” % > and < %= “Sorry” % > .