PHP Symfony and Java Struts Frameworks Quiz

Test your knowledge of Symfony PHP framework and Struts 1.x Java web framework, including MVC architecture, configuration, templates, and core components.

17 Questions Published

Questions

Question 1 Multiple Choice (Multiple Answers)

What are the core classes of the Struts 1.3 Framework?

  1. Action
  2. ActionServlet
  3. HttpServlet
  4. Servlet
  5. None of the above
Question 2 Multiple Choice (Multiple Answers)

What are the components of Struts 1.3?

  1. Model
  2. View
  3. Controller
  4. ALL of the above
  5. None of the above
Question 3 Multiple Choice (Multiple Answers)

What are the core classes of the Struts 1.3 Framework?

  1. Action
  2. ActionServlet
  3. HttpServlet
  4. Servlet
  5. None of the above
Question 4 Multiple Choice (Multiple Answers)

Default Config file in Struts FrameWork?

  1. web.xml
  2. validator-rules.xml
  3. struts-config.xml
  4. application.xml
Question 5 Multiple Choice (Multiple Answers)

What are components under view Part?

  1. DAO Class
  2. HTML
  3. VO Class
  4. JSP
  5. Action Class
Question 6 Multiple Choice (Multiple Answers)

How you will display validation fail errors on jsp page?

  1. <html:message/>
  2. <html:base/>
  3. <html:errors/>
  4. <html:write/>
Question 7 Multiple Choice (Single Answer)

What is symfony?

  1. Programming Language
  2. Debugging Tool
  3. Framework
  4. None of above
Question 8 Multiple Choice (Single Answer)

What is the full form of YAML?

  1. Yet Another Marketing Language
  2. YAML Ain't Markup Language
  3. YAML HyperProcessor Text
  4. None of above
Question 9 Multiple Choice (Single Answer)

Which of the following is part of Model Layer in Symfony's MVC architecture?

  1. Database Abstraction
  2. Layout
  3. Action
  4. None of above.
Question 10 Multiple Choice (Single Answer)

Which of the following is not Symfony's Core Class?

  1. sfController
  2. sfRequest
  3. sfResponse
  4. sfConcept
Question 11 Multiple Choice (Single Answer)

$request->setParameter('bar','foo'); echo $request->getParameter('bar'); What is the output?

  1. bar
  2. foobar
  3. foo
  4. null
Question 12 Multiple Choice (Single Answer)
This action have an empty showSuccess.php template. What will be the output?
  1. public should not be there in codes
  2. Error in action.
  3. Displays showSuccess.php
  4. None of above
Question 13 Multiple Choice (Single Answer)

What is the correct way for writing the template for executeShow action?

  1. ShowSuccess.php
  2. showsuccess.php
  3. showSuccess.php
  4. None
Question 14 Multiple Choice (Single Answer)

Which of the following variable can be used directly in the template without being defined in the action?

  1. $request
  2. $sf_params
  3. $response
  4. $sf_context
Question 15 Multiple Choice (Single Answer)

Symfony supports which of the following file systems

  1. .xml
  2. .yml
  3. all of the them
  4. .ini
Question 16 Multiple Choice (Single Answer)

Symfony is written in which language?

  1. C++
  2. Java
  3. PHP
  4. none of above
Question 17 Multiple Choice (Single Answer)

Which of the following is not an Internet term.

  1. Cookies
  2. Spam
  3. Net nannies
  4. Brownies