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.
Questions
What are the core classes of the Struts 1.3 Framework?
- Action
- ActionServlet
- HttpServlet
- Servlet
- None of the above
What are the components of Struts 1.3?
- Model
- View
- Controller
- ALL of the above
- None of the above
What are the core classes of the Struts 1.3 Framework?
- Action
- ActionServlet
- HttpServlet
- Servlet
- None of the above
Default Config file in Struts FrameWork?
- web.xml
- validator-rules.xml
- struts-config.xml
- application.xml
What are components under view Part?
- DAO Class
- HTML
- VO Class
- JSP
- Action Class
How you will display validation fail errors on jsp page?
- <html:message/>
- <html:base/>
- <html:errors/>
- <html:write/>
What is symfony?
- Programming Language
- Debugging Tool
- Framework
- None of above
What is the full form of YAML?
- Yet Another Marketing Language
- YAML Ain't Markup Language
- YAML HyperProcessor Text
- None of above
Which of the following is part of Model Layer in Symfony's MVC architecture?
- Database Abstraction
- Layout
- Action
- None of above.
Which of the following is not Symfony's Core Class?
- sfController
- sfRequest
- sfResponse
- sfConcept
$request->setParameter('bar','foo'); echo $request->getParameter('bar'); What is the output?
- bar
- foobar
- foo
- null
This action have an empty showSuccess.php template. What will be the output?
- public should not be there in codes
- Error in action.
- Displays showSuccess.php
- None of above
What is the correct way for writing the template for executeShow action?
- ShowSuccess.php
- showsuccess.php
- showSuccess.php
- None
Which of the following variable can be used directly in the template without being defined in the action?
- $request
- $sf_params
- $response
- $sf_context
Symfony supports which of the following file systems
- .xml
- .yml
- all of the them
- .ini
Symfony is written in which language?
- C++
- Java
- PHP
- none of above
Which of the following is not an Internet term.
- Cookies
- Spam
- Net nannies
- Brownies