Upwork Joomla Test 2016.
107 Answered Test Questions:
1. Which of the following items will be checked in when you use the “Global Check-in” function?
Answers:
a. Banner
a. Content
a. Contact
a. Components
a. Modules
a. Plugins
a. Languages
a. Menu
2. In the User Manager, who can publish an article?
Answers:
a. The Editor
a. The Publisher
a. The Manager
a. The Administrator
3. In the User Manager, which of the following groups can be assigned to a new user registration?
Answers:
a. Registered
a. Author
a. Editor
a. Publisher
a. Manager
4. Which of the following values are not required for a banner item?
Answers:
a. Client
a. Category
a. Click URL
a. Image
5. There are 21 different standard parameter types supported in the Joomla Framework for all extension types (templates, components, modules and plugins). Which of the following parameter types are not supported in the Joomla Framework?
Answers:
a. menuitem
a. helpsites
a. checkbox
a. image
a. timezones
a. usergroup
6. Which of the following mailers does Joomla support? (Select all that apply.)
Answers:
a. PHP Mail Function
a. SMTP
a. IMAP
a. Sendmail program
7. In the User Manager, which of the following options can be applied for individual users?
Answers:
a. Back-end Language
a. Front-end Language
a. User Editor
a. Templates
8. In the User Manager, what’s the step of registration after ‘submit user information’?
Answers:
a. Wait for the system’s approval
a. Check email and activate account
a. No further step is required. The account is automatically activated.
a. It depends on the “User Settings”. The account may be enabled automatically or the user may have to activate it.
9. True or False:
1. Which of the following items will be checked in when you use the “Global Check-in” function?
Answers:
a. Banner
a. Content
a. Contact
a. Components
a. Modules
a. Plugins
a. Languages
a. Menu
2. In the User Manager, who can publish an article?
Answers:
a. The Editor
a. The Publisher
a. The Manager
a. The Administrator
3. In the User Manager, which of the following groups can be assigned to a new user registration?
Answers:
a. Registered
a. Author
a. Editor
a. Publisher
a. Manager
4. Which of the following values are not required for a banner item?
Answers:
a. Client
a. Category
a. Click URL
a. Image
5. There are 21 different standard parameter types supported in the Joomla Framework for all extension types (templates, components, modules and plugins). Which of the following parameter types are not supported in the Joomla Framework?
Answers:
a. menuitem
a. helpsites
a. checkbox
a. image
a. timezones
a. usergroup
6. Which of the following mailers does Joomla support? (Select all that apply.)
Answers:
a. PHP Mail Function
a. SMTP
a. IMAP
a. Sendmail program
7. In the User Manager, which of the following options can be applied for individual users?
Answers:
a. Back-end Language
a. Front-end Language
a. User Editor
a. Templates
8. In the User Manager, what’s the step of registration after ‘submit user information’?
Answers:
a. Wait for the system’s approval
a. Check email and activate account
a. No further step is required. The account is automatically activated.
a. It depends on the “User Settings”. The account may be enabled automatically or the user may have to activate it.
9. True or False:
Joomla does not provide the capability to include a podcast.
Answers:
a. True
a. False
10. What is a Module?
Answers:
a. A Module is a mini-application that renders the main body of the page.
a. A Module is a smaller Extension typically used for rendering a small element that is displayed across multiple pages.
a. A Module is a section of the code that runs when a pre-defined event happens within Joomla.
a. A Module controls the way the content of a web site is displayed.
11. How will you make Joomla 1.0x extensions work with Joomla 1.5?
Answers:
a. Joomla 1.0x extensions work well with Joomla 1.5 by default
a. Joomla 1.0x extensions cannot work with Joomla 1.5 by default
a. Enable the Legacy mode on the “Global Configuration”
a. Enable Legacy plugin
12. Which option will you choose to set the site metadata for the installed website?
Answers:
a. Global Configuration
a. Module Manager
13. Which of the following functions is used to list a folder in a format suitable for tree display?
Answers:
a. JFolder::listFolde
a. JFolder::listFolderTree
a. JPath::listFolde
a. JPath::listFolderTree
14. What can you not do with the Media Manager?
Answers:
a. Upload files
a. Delete files/folders
a. Rename files/folders
a. Create folders
15. How do you load “layout_layout1” layout in layout.php file?
Answers:
a. $this->loadTemplate(‘layout1’);
a. $this->loadTemplate(‘example_layout1’);
a. $this->loadLayout(‘example_layout1.php’);
a. $this->importLayout(‘layout1’);
16. What is the purpose of the “registerTask” function in JController?
Answers:
a. To create a new task in the class
a. To register (map) a task to a method in the class
a. To register the default task to perform if a mapping is not found
a. To replace a task with another task in the class
17. To which of the following does the path constant link the XML-RPC Web service folder?
Answers:
a. JPATH_XML_RPC
a. JPATH_XMLRPC
a. JPATH_ROOT
a. JPATH_BASE
18. How do you define a filename.css file in your component to load into the head tag by Joomla?
Answers:
a. $doc =& JFactory::getDocument(); $doc->addStyleSheet($url);
a. $doc =& JFactory::getDocument(); $doc->addStyle($url);
a. $doc =& JFactory::getDocument(); $doc->addCSS($url);
19. How can you access the User Manager?
Answers:
a. In the Control Panel page of Administration -> Click on the “User Manager” icon
a. Menu “Tools” -> User Manager
a. Menu “Site” -> Global Configuration
a. Menu “Site” -> User Manager
20. Which of the following functions is used to build a button for a media manager tools popup?
Answers:
a. JHTML::_media_manager( ‘/’ )
a. JToolBarHelper::custom (‘media_manager’)
a. JToolBar::media_manager(‘/’)
a. JToolBarHelper::media_manager( ‘/’ )
21. Which parameter is passed to a url to show module positions?
Answers:
a. tpl=1
a. tpl=component
a. tp=1
22. Which Joomla file provides the central logic of the template, including any module and component display?
Answers:
a. Index.php
a. Template.css
a. TemplateDetails.xml
a. Banner.fff
23. Which file is required to turn on the SEO mode with rewrite URL?
Answers:
a. configuration.php
a. install.php
a. httpd.conf
a. .htaccess
24. In the User Manager, how can a user get back their password if they forget it?
Answers:
a. By using the “Forgot your password?” function.
a. Super Administrators can reveal the password.
a. The Password is encrypted and cannot be decrypted; thus he can not get back his plain password.
25. How do you control the layout of print pages?
Answers:
a. Style in file css/print.css
a. Control the output of component.php
a. Style for class “.print” inside css/template.css
26. True or False:
Answers:
a. True
a. False
10. What is a Module?
Answers:
a. A Module is a mini-application that renders the main body of the page.
a. A Module is a smaller Extension typically used for rendering a small element that is displayed across multiple pages.
a. A Module is a section of the code that runs when a pre-defined event happens within Joomla.
a. A Module controls the way the content of a web site is displayed.
11. How will you make Joomla 1.0x extensions work with Joomla 1.5?
Answers:
a. Joomla 1.0x extensions work well with Joomla 1.5 by default
a. Joomla 1.0x extensions cannot work with Joomla 1.5 by default
a. Enable the Legacy mode on the “Global Configuration”
a. Enable Legacy plugin
12. Which option will you choose to set the site metadata for the installed website?
Answers:
a. Global Configuration
a. Module Manager
13. Which of the following functions is used to list a folder in a format suitable for tree display?
Answers:
a. JFolder::listFolde
a. JFolder::listFolderTree
a. JPath::listFolde
a. JPath::listFolderTree
14. What can you not do with the Media Manager?
Answers:
a. Upload files
a. Delete files/folders
a. Rename files/folders
a. Create folders
15. How do you load “layout_layout1” layout in layout.php file?
Answers:
a. $this->loadTemplate(‘layout1’);
a. $this->loadTemplate(‘example_layout1’);
a. $this->loadLayout(‘example_layout1.php’);
a. $this->importLayout(‘layout1’);
16. What is the purpose of the “registerTask” function in JController?
Answers:
a. To create a new task in the class
a. To register (map) a task to a method in the class
a. To register the default task to perform if a mapping is not found
a. To replace a task with another task in the class
17. To which of the following does the path constant link the XML-RPC Web service folder?
Answers:
a. JPATH_XML_RPC
a. JPATH_XMLRPC
a. JPATH_ROOT
a. JPATH_BASE
18. How do you define a filename.css file in your component to load into the head tag by Joomla?
Answers:
a. $doc =& JFactory::getDocument(); $doc->addStyleSheet($url);
a. $doc =& JFactory::getDocument(); $doc->addStyle($url);
a. $doc =& JFactory::getDocument(); $doc->addCSS($url);
19. How can you access the User Manager?
Answers:
a. In the Control Panel page of Administration -> Click on the “User Manager” icon
a. Menu “Tools” -> User Manager
a. Menu “Site” -> Global Configuration
a. Menu “Site” -> User Manager
20. Which of the following functions is used to build a button for a media manager tools popup?
Answers:
a. JHTML::_media_manager( ‘/’ )
a. JToolBarHelper::custom (‘media_manager’)
a. JToolBar::media_manager(‘/’)
a. JToolBarHelper::media_manager( ‘/’ )
21. Which parameter is passed to a url to show module positions?
Answers:
a. tpl=1
a. tpl=component
a. tp=1
22. Which Joomla file provides the central logic of the template, including any module and component display?
Answers:
a. Index.php
a. Template.css
a. TemplateDetails.xml
a. Banner.fff
23. Which file is required to turn on the SEO mode with rewrite URL?
Answers:
a. configuration.php
a. install.php
a. httpd.conf
a. .htaccess
24. In the User Manager, how can a user get back their password if they forget it?
Answers:
a. By using the “Forgot your password?” function.
a. Super Administrators can reveal the password.
a. The Password is encrypted and cannot be decrypted; thus he can not get back his plain password.
25. How do you control the layout of print pages?
Answers:
a. Style in file css/print.css
a. Control the output of component.php
a. Style for class “.print” inside css/template.css
26. True or False:
Joomla provides an abstracted method called getEscaped() that returns the escaped string regardless of the target database.
Answers:
a. True
a. False
27. In the Content Manager, Joomla! uses a 3-tier organization level for articles. It is:
Answers:
a. Category -> Section -> Article
a. Static content -> Category -> Article
a. Section -> Category -> Article
a. Section -> Static Content -> Article
28. What types of extensions does Joomla include?
Answers:
a. Component, Module, Template
a. Component, Module, Template, Language
a. Component, Module, Template, Language, Plugin
a. Component, Module, Template, Language, Plugin, Addon
29. What user authentication methods does Joomla 1.5 support?
Answers:
a. Twitter, Facebook, MySpace
a. Gmail, LDAP
a. Yahoo
30. In the Media Manager, how can you set the “Maximum size” option?
Answers:
a. Set configuration via Global Configuration > Site
a. Set configuration via Global Configuration > System
a. Set configuration via Global Configuration > Media
31. True or false: Like components and modules, plugin language files are automatically loaded when a plugin is loaded.
Answers:
a. True
a. False
32. What kinds of default menus are available in the example data?
Answers:
a. Top Menu, Main Menu, Other menu, User menu, Resources, Example Pages and Key Concepts
a. Top Menu, Main Menu and User menu
a. Top Menu, Main Menu and Other menu
a. Main Menu, Other menu and User menu
33. Which of the following files has to be renamed to .htaccess in order to enable mod_rewrite?
Answers:
a. htaccess.php
a. htaccess.txt
a. htaccess.doc
a. None of these
34. How will you create a contact page?
Answers:
a. Create a contact item in the Contacts component. Select the contact item in the module Contacts.
a. Create a contact item in the Contacts component. Create a menu item pointing to the contact item.
a. Declare contact information in the module Contact and publish it.
a. Declare contact information for the Administrator user and select it in the module Contact.
35. While installing Joomla, at the FTP Configuration step, what is the FTP layer for?
Answers:
a. For uploading files in the Administration panel
a. For uploading files in the Media Management panel
a. For managing the file system in the Administration panel
a. For handling file system manipulation and enabling Joomla! installers
36. What does the following code section do?
Answers:
a. True
a. False
27. In the Content Manager, Joomla! uses a 3-tier organization level for articles. It is:
Answers:
a. Category -> Section -> Article
a. Static content -> Category -> Article
a. Section -> Category -> Article
a. Section -> Static Content -> Article
28. What types of extensions does Joomla include?
Answers:
a. Component, Module, Template
a. Component, Module, Template, Language
a. Component, Module, Template, Language, Plugin
a. Component, Module, Template, Language, Plugin, Addon
29. What user authentication methods does Joomla 1.5 support?
Answers:
a. Twitter, Facebook, MySpace
a. Gmail, LDAP
a. Yahoo
30. In the Media Manager, how can you set the “Maximum size” option?
Answers:
a. Set configuration via Global Configuration > Site
a. Set configuration via Global Configuration > System
a. Set configuration via Global Configuration > Media
31. True or false: Like components and modules, plugin language files are automatically loaded when a plugin is loaded.
Answers:
a. True
a. False
32. What kinds of default menus are available in the example data?
Answers:
a. Top Menu, Main Menu, Other menu, User menu, Resources, Example Pages and Key Concepts
a. Top Menu, Main Menu and User menu
a. Top Menu, Main Menu and Other menu
a. Main Menu, Other menu and User menu
33. Which of the following files has to be renamed to .htaccess in order to enable mod_rewrite?
Answers:
a. htaccess.php
a. htaccess.txt
a. htaccess.doc
a. None of these
34. How will you create a contact page?
Answers:
a. Create a contact item in the Contacts component. Select the contact item in the module Contacts.
a. Create a contact item in the Contacts component. Create a menu item pointing to the contact item.
a. Declare contact information in the module Contact and publish it.
a. Declare contact information for the Administrator user and select it in the module Contact.
35. While installing Joomla, at the FTP Configuration step, what is the FTP layer for?
Answers:
a. For uploading files in the Administration panel
a. For uploading files in the Media Management panel
a. For managing the file system in the Administration panel
a. For handling file system manipulation and enabling Joomla! installers
36. What does the following code section do?
$user =& JFactory::getUser();
if ($user->authorize(‘com_content’, ‘edit’, ‘content’, ‘all’))
{
//Display notice
} else {
//Display notice
}
Answers:
a. Check user’s permission to edit all articles.
a. Check user’s permission to view all articles.
a. Check user’s permission to edit all articles. If this permission does not exist, the system will set the edit permission for the use.
37. What is the method “getModule” in the class “JModuleHelper” used for?
Answers:
a. To get the module by name. It returns an object with information about the module.
a. To get the module by module position. It returns an array of objects with information about the module.
38. What will happen if you delete a menu?
Answers:
a. The menu and all its items will be deleted out of the system.
a. The menu will be marked as deleted and you can delete/restore it from the “Trash Manager”.
a. The menu item will be moved to the “Menu Trash”.
39. What is the purpose of the Newsfeeds component?
Answers:
a. To publish news to other news readers
a. To get news from other news providers
a. To help users submit news/articles
a. To help users get news/articles
40. Which of the given database systems is supported by Joomla?
Answers:
a. Microsoft SQL Server
a. MySQL
a. Microsoft Access
a. All of these
41. What is implemented in the PHP file of a plugin?
Answers:
a. Use the $mainframe object to register a function with an event.
a. Use the JPlugin class to register a function with an event.
a. Extends class JPlugin and overrides the appropriate function with the event.
42. Given below is the structure of view articles in the com_content component:
if ($user->authorize(‘com_content’, ‘edit’, ‘content’, ‘all’))
{
//Display notice
} else {
//Display notice
}
Answers:
a. Check user’s permission to edit all articles.
a. Check user’s permission to view all articles.
a. Check user’s permission to edit all articles. If this permission does not exist, the system will set the edit permission for the use.
37. What is the method “getModule” in the class “JModuleHelper” used for?
Answers:
a. To get the module by name. It returns an object with information about the module.
a. To get the module by module position. It returns an array of objects with information about the module.
38. What will happen if you delete a menu?
Answers:
a. The menu and all its items will be deleted out of the system.
a. The menu will be marked as deleted and you can delete/restore it from the “Trash Manager”.
a. The menu item will be moved to the “Menu Trash”.
39. What is the purpose of the Newsfeeds component?
Answers:
a. To publish news to other news readers
a. To get news from other news providers
a. To help users submit news/articles
a. To help users get news/articles
40. Which of the given database systems is supported by Joomla?
Answers:
a. Microsoft SQL Server
a. MySQL
a. Microsoft Access
a. All of these
41. What is implemented in the PHP file of a plugin?
Answers:
a. Use the $mainframe object to register a function with an event.
a. Use the JPlugin class to register a function with an event.
a. Extends class JPlugin and overrides the appropriate function with the event.
42. Given below is the structure of view articles in the com_content component:
/components
/com_content
/views
/articles
/tmpl
default.php
form.php
view.html.php
/com_content
/views
/articles
/tmpl
default.php
form.php
view.html.php
To override the layout for the articles view in a template, what is the correct folder structure?
Answers:
a. /templates /[template] /html /com_content /articles default.php form.php
a. /templates /[template] /html /com_content /articles /tmpl default.php form.php
43. With the “Mass Mail” tool, which of the following number of recipients can be selected?
Answers:
a. Multiple users in system
a. A single user in system
a. Multiple groups
a. A single group
44. In the User Manager, what are the Public Back-end User groups?
Answers:
a. Publisher, Manager, Author, Editor, Administrator, and Super Administrator
a. Publisher, Manager, Administrator, and Super Administrator
a. Manager, Administrator, and Super Administrator
a. Administrator, and Super Administrator
45. From which package are the classes (i.e JSite, JAdministrator and JInstallation) which make up the Joomla CMS application extended?
Answers:
a. Installer
a. Application
a. Template
a. Database
46. In the Article Manager, what is an article managed by?
Answers:
a. Section ID
a. Category ID
a. Section ID and Category ID
a. Article ID
47. In Joomla, does the Back-End session stay alive even though it is set to expire?
Answers:
a. Yes
a. No
48. Which of the following is not true about the FrontPage Manager?
Answers:
a. It is the title page of the website.
a. The selected content is presented there in blog form.
a. Content cannot be selected from the FrontPage from all the contents.
a. Individual content items can be sorted within the FrontPage Manager.
49. The type “Model” of MVC pattern implemented for Joomla often ______________.
Answers:
a. …provides methods for managing and manipulating data.
a. …generates data for HTML pages.
a. …determines user requests (task).
50. What is the file format supported by Joomla 1.5 to create language definitions?
Answers:
a. .php
a. .svc
a. .ini
a. .xml
51. What is true of the “Community Builder” extension?
Answers:
a. It is an environment for producing and maintaining online communities on Joomla driven sites.
a. It is a system that provides user profile capabilities for Joomla sites.
a. It is a different registration/login process for Joomla sites(It supports 4 different workflows).
a. It is an integrated forum solution for Joomla.
a. It is a framework for other Joomla components to integrate with user profiles.
52. What does the menu parameter type do?
Answers:
a. It provides a drop down list of the available menu items from your Joomla site.
a. It provides a drop down list of the available menus from your Joomla site.
a. It provides a drop down list of the menus from your Joomla site.
53. What happens if the Main Menu is deleted?
Answers:
a. Nothing will happen.
a. Your site will not function as it has a default menu item.
a. Your site will work with the condition that the Top menu and the Other menu remain unchanged.
54. How will you insert a module into an article?
Answers:
a. Create a new module -> Assign the module with an existing position -> open an article and declare with the html code {loadposition position}
a. Create a new module -> Assign the module with a new position -> open an article and declare with the html code {loadposition newposition}
a. Create a new module -> Assign the module with a new position -> open an article and declare with the html code {load newposition}
a. Create a new module -> Assign the module with an existed position -> open an article and declare with the html code {load newposition}
55. How will you create a poll and display it on Frontpage?
Answers:
a. Create a poll item in the component Poll and select the poll in the module Poll.
a. Create a poll item in the component Poll and select the option “Show on Frontpage”.
a. Create poll in the module Poll.
a. Create a poll item in the component Poll. Create a menu item pointing to that poll.
56. Which is incorrect about MD5 hash values with regard to their usage in Joomla?
Answers:
a. Each password in Joomla is stored as an MD5 hash value.
a. It stands for message-digest algorithm 5.
a. The length of the number for MD5 is a 128-bit hash code.
a. None of these.
57. Does Joomla allow you to create your own routing mechanism?
Answers:
a. Yes
a. No
58. We have a module named “mod_module1” which has the structure:
Answers:
a. /templates /[template] /html /com_content /articles default.php form.php
a. /templates /[template] /html /com_content /articles /tmpl default.php form.php
43. With the “Mass Mail” tool, which of the following number of recipients can be selected?
Answers:
a. Multiple users in system
a. A single user in system
a. Multiple groups
a. A single group
44. In the User Manager, what are the Public Back-end User groups?
Answers:
a. Publisher, Manager, Author, Editor, Administrator, and Super Administrator
a. Publisher, Manager, Administrator, and Super Administrator
a. Manager, Administrator, and Super Administrator
a. Administrator, and Super Administrator
45. From which package are the classes (i.e JSite, JAdministrator and JInstallation) which make up the Joomla CMS application extended?
Answers:
a. Installer
a. Application
a. Template
a. Database
46. In the Article Manager, what is an article managed by?
Answers:
a. Section ID
a. Category ID
a. Section ID and Category ID
a. Article ID
47. In Joomla, does the Back-End session stay alive even though it is set to expire?
Answers:
a. Yes
a. No
48. Which of the following is not true about the FrontPage Manager?
Answers:
a. It is the title page of the website.
a. The selected content is presented there in blog form.
a. Content cannot be selected from the FrontPage from all the contents.
a. Individual content items can be sorted within the FrontPage Manager.
49. The type “Model” of MVC pattern implemented for Joomla often ______________.
Answers:
a. …provides methods for managing and manipulating data.
a. …generates data for HTML pages.
a. …determines user requests (task).
50. What is the file format supported by Joomla 1.5 to create language definitions?
Answers:
a. .php
a. .svc
a. .ini
a. .xml
51. What is true of the “Community Builder” extension?
Answers:
a. It is an environment for producing and maintaining online communities on Joomla driven sites.
a. It is a system that provides user profile capabilities for Joomla sites.
a. It is a different registration/login process for Joomla sites(It supports 4 different workflows).
a. It is an integrated forum solution for Joomla.
a. It is a framework for other Joomla components to integrate with user profiles.
52. What does the menu parameter type do?
Answers:
a. It provides a drop down list of the available menu items from your Joomla site.
a. It provides a drop down list of the available menus from your Joomla site.
a. It provides a drop down list of the menus from your Joomla site.
53. What happens if the Main Menu is deleted?
Answers:
a. Nothing will happen.
a. Your site will not function as it has a default menu item.
a. Your site will work with the condition that the Top menu and the Other menu remain unchanged.
54. How will you insert a module into an article?
Answers:
a. Create a new module -> Assign the module with an existing position -> open an article and declare with the html code {loadposition position}
a. Create a new module -> Assign the module with a new position -> open an article and declare with the html code {loadposition newposition}
a. Create a new module -> Assign the module with a new position -> open an article and declare with the html code {load newposition}
a. Create a new module -> Assign the module with an existed position -> open an article and declare with the html code {load newposition}
55. How will you create a poll and display it on Frontpage?
Answers:
a. Create a poll item in the component Poll and select the poll in the module Poll.
a. Create a poll item in the component Poll and select the option “Show on Frontpage”.
a. Create poll in the module Poll.
a. Create a poll item in the component Poll. Create a menu item pointing to that poll.
56. Which is incorrect about MD5 hash values with regard to their usage in Joomla?
Answers:
a. Each password in Joomla is stored as an MD5 hash value.
a. It stands for message-digest algorithm 5.
a. The length of the number for MD5 is a 128-bit hash code.
a. None of these.
57. Does Joomla allow you to create your own routing mechanism?
Answers:
a. Yes
a. No
58. We have a module named “mod_module1” which has the structure:
-mod_module1
—mod_module1.php
—mod_module1.xml
—helper.php
—tmpl
—–default.php
How do you overwrite the output of a standard Joomla module?
Answers:
a. Overwrite the appropriated style method in the file [template]/html/module.php.
a. Overwrite the module layout in the file [template]/html/mod_module1/tmpl/default.php.
a. Overwrite the module layout in the file [template]/html/mod_module1/default.php.
a. Module output cannot be overwriten in the template.
59. In the User Manager, what is the difference between the Author and the Editor groups?
Answers:
a. The Author group allows a user to edit their own content. The Editor can edit any content.
a. The Author group allows a user to submit new content. The Editor cannot submit new content.
a. The Author group allows a user to edit any content. The Editor can edit only their own content.
60. Which option will you select to find unpublished articles?
Answers:
a. Component manager
a. Module manager
a. Article manager
a. None of these
61. Which of the following files does the “/includes” directory contain?
Answers:
a. application.php
a. defines.php
a. framework.php
a. All of these
62. What is the way to register an event in Joomla?
Answers:
a. $_MAMBOTS->registerFunction( $event, $handler);
a. $globalcontainer->registerEvent( $event, $handler, $params);
a. $mainframe->registerEvent( $event, $handler, $params);
a. $mainframe->registerEvent( $event, $handler);
63. How do you create an upload button and view a popup screen with width 550 and height 400?
Answers:
a. $alt = “Upload”; $bar=& JToolBar::getInstance(‘toolbar’); $bar->appendButton(‘Popup’, ‘upload’, $alt, ‘index.php’, 550, 400);
a. $alt = “UPload”; $bar=& JToolBar::getInstance(‘upload ); $bar->appendButton(‘Popup’, ‘upload’, $alt, ‘index.php’, 550, 400);
a. $alt = “Upload”; $bar=& JToolBar::getInstance(‘toolbar’); $bar->custom(‘Popup’, ‘toolbar’, $alt, ‘index.php’, 550, 400);
64. Does Joomla provide custom parameter types in the XML file?
Answers:
a. Yes
a. No
65. Is a cache module supported by Joomla or not?
Answers:
a. Yes
a. No
66. What is the method “isEnabled” in the class “JModuleHelper” used for?
Answers:
a. To check if a module is enabled
a. To enable or disable a module
67. How many levels can each menu have?
Answers:
a. 2 levels
a. 5 levels
a. 10 levels
a. As many levels as you wish
68. How can you access the media manager?
Answers:
a. Control Panel –> Click on “Media Manager” icon
a. Content menu –> Front page manage
a. Click on menu “Site” –> Global Configuration
a. Click on menu “Site”–> Media Manage
69. Which user events occur with plug-ins that are installed for the front end of the system?
Answers:
a. Administrative events
a. Authentication events
a. Both administrative and authentication events
a. None of these
70. You should not use the die() function to debug because _______________.
Answers:
a. It introduces security vulnerabilities.
a. it prevents the Joomla framework from finalizing certain tasks like database connection and session store.
a. It makes database tables crash.
71. What is the main function of the media manager?
Answers:
a. Creating new files
a. Adding new files
a. Uploading/Deleting files and creating new sub folders
a. Managing the system media files
72. What will happen when a Joomla! extension is uninstalled?
Answers:
a. Joomla! will not remove the extension files/folders.
a. Joomla! will remove the files/folders declared in the xml file.
a. Joomla! will remove all the files/folders inside the extension folder.
a. Joomla! will backup all the files/folders of the extension into a package.
73. What is not true of the module Login?
Answers:
a. Shows the Login form for the users to login
a. Shows the Signup form for the users to create new accounts
a. Shows the Signup link for the users to create new accounts
a. Shows the “Forgot your password” link for the users to reset the password
a. Show the “Forgot your username” link for the users to get back the username
74. Which is the correct solution to return ‘First 1, second 2, third 3’ string, using Jtext class?
Answers:
a. In .php file:Jtext::sprintf(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %d, second %d, third %d
a. In .php file:Jtext::sprintf(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %f, second %f, third %f
a. In .php file:Jtext::_(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %d, second %d, third %d
a. In .php file:Jtext::_(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %f, second %f, third %f
75. Why does Joomla use templateDetails.xml files?
Answers:
a. To access the template from within by using code;
a. To debug style sheets;
a. To provide information and allow selection of the template within the template manager;
a. All of these.
76. In the User Manager, which Public Back-end User group(s) can access “Global configuration”?
Answers:
a. Super Administrator
a. Administrator
a. Manager
a. System
77. What is the output format of the documentation created using PHPDocumentor?
Answers:
a. PDF
a. CHM (compiled HTML)
a. XML
a. All of these.
78. $editor =& JFactory::getEditor();
Answers:
a. Overwrite the appropriated style method in the file [template]/html/module.php.
a. Overwrite the module layout in the file [template]/html/mod_module1/tmpl/default.php.
a. Overwrite the module layout in the file [template]/html/mod_module1/default.php.
a. Module output cannot be overwriten in the template.
59. In the User Manager, what is the difference between the Author and the Editor groups?
Answers:
a. The Author group allows a user to edit their own content. The Editor can edit any content.
a. The Author group allows a user to submit new content. The Editor cannot submit new content.
a. The Author group allows a user to edit any content. The Editor can edit only their own content.
60. Which option will you select to find unpublished articles?
Answers:
a. Component manager
a. Module manager
a. Article manager
a. None of these
61. Which of the following files does the “/includes” directory contain?
Answers:
a. application.php
a. defines.php
a. framework.php
a. All of these
62. What is the way to register an event in Joomla?
Answers:
a. $_MAMBOTS->registerFunction( $event, $handler);
a. $globalcontainer->registerEvent( $event, $handler, $params);
a. $mainframe->registerEvent( $event, $handler, $params);
a. $mainframe->registerEvent( $event, $handler);
63. How do you create an upload button and view a popup screen with width 550 and height 400?
Answers:
a. $alt = “Upload”; $bar=& JToolBar::getInstance(‘toolbar’); $bar->appendButton(‘Popup’, ‘upload’, $alt, ‘index.php’, 550, 400);
a. $alt = “UPload”; $bar=& JToolBar::getInstance(‘upload ); $bar->appendButton(‘Popup’, ‘upload’, $alt, ‘index.php’, 550, 400);
a. $alt = “Upload”; $bar=& JToolBar::getInstance(‘toolbar’); $bar->custom(‘Popup’, ‘toolbar’, $alt, ‘index.php’, 550, 400);
64. Does Joomla provide custom parameter types in the XML file?
Answers:
a. Yes
a. No
65. Is a cache module supported by Joomla or not?
Answers:
a. Yes
a. No
66. What is the method “isEnabled” in the class “JModuleHelper” used for?
Answers:
a. To check if a module is enabled
a. To enable or disable a module
67. How many levels can each menu have?
Answers:
a. 2 levels
a. 5 levels
a. 10 levels
a. As many levels as you wish
68. How can you access the media manager?
Answers:
a. Control Panel –> Click on “Media Manager” icon
a. Content menu –> Front page manage
a. Click on menu “Site” –> Global Configuration
a. Click on menu “Site”–> Media Manage
69. Which user events occur with plug-ins that are installed for the front end of the system?
Answers:
a. Administrative events
a. Authentication events
a. Both administrative and authentication events
a. None of these
70. You should not use the die() function to debug because _______________.
Answers:
a. It introduces security vulnerabilities.
a. it prevents the Joomla framework from finalizing certain tasks like database connection and session store.
a. It makes database tables crash.
71. What is the main function of the media manager?
Answers:
a. Creating new files
a. Adding new files
a. Uploading/Deleting files and creating new sub folders
a. Managing the system media files
72. What will happen when a Joomla! extension is uninstalled?
Answers:
a. Joomla! will not remove the extension files/folders.
a. Joomla! will remove the files/folders declared in the xml file.
a. Joomla! will remove all the files/folders inside the extension folder.
a. Joomla! will backup all the files/folders of the extension into a package.
73. What is not true of the module Login?
Answers:
a. Shows the Login form for the users to login
a. Shows the Signup form for the users to create new accounts
a. Shows the Signup link for the users to create new accounts
a. Shows the “Forgot your password” link for the users to reset the password
a. Show the “Forgot your username” link for the users to get back the username
74. Which is the correct solution to return ‘First 1, second 2, third 3’ string, using Jtext class?
Answers:
a. In .php file:Jtext::sprintf(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %d, second %d, third %d
a. In .php file:Jtext::sprintf(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %f, second %f, third %f
a. In .php file:Jtext::_(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %d, second %d, third %d
a. In .php file:Jtext::_(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %f, second %f, third %f
75. Why does Joomla use templateDetails.xml files?
Answers:
a. To access the template from within by using code;
a. To debug style sheets;
a. To provide information and allow selection of the template within the template manager;
a. All of these.
76. In the User Manager, which Public Back-end User group(s) can access “Global configuration”?
Answers:
a. Super Administrator
a. Administrator
a. Manager
a. System
77. What is the output format of the documentation created using PHPDocumentor?
Answers:
a. PDF
a. CHM (compiled HTML)
a. XML
a. All of these.
78. $editor =& JFactory::getEditor();
echo $editor->display(‘content’, $this->content, ‘550’, ‘400’, ’60’, ’20’, false);
How do you get the content from the editor (containing line breaks and paragraphs)
Answers:
a. $content = JRequest::getVar(‘content’, ”, ‘post’, ‘string’, JREQUEST_ALLOWRAW);
a. $content = JRequest::getText(‘content’, ”);
a. $content = $editor->getContent(‘content’);
a. $content = JRequest::get(‘content’);
79. How do you add custom html code to head section?
Answers:
a. global mainframe; mainframe->addCustomHeadTag;
a. JDocumentHTML::addCustomTag;
a. doc =& JFactory::getDocument(); doc->addCustomTag( );
a. JHTML:_script;
80. Which of the following commands is used to copy a Joomla file?
Answers:
a. JFile::copyTo($src, $dest)
a. JFile::copy($src, $dest)
a. JFile::move($src, $dest)
a. Jfile->copy($src, $dest)
81. The plugin that searches content articles uses the function plgSearchContent() to handle the onSearch event.
Answers:
a. $content = JRequest::getVar(‘content’, ”, ‘post’, ‘string’, JREQUEST_ALLOWRAW);
a. $content = JRequest::getText(‘content’, ”);
a. $content = $editor->getContent(‘content’);
a. $content = JRequest::get(‘content’);
79. How do you add custom html code to head section?
Answers:
a. global mainframe; mainframe->addCustomHeadTag;
a. JDocumentHTML::addCustomTag;
a. doc =& JFactory::getDocument(); doc->addCustomTag( );
a. JHTML:_script;
80. Which of the following commands is used to copy a Joomla file?
Answers:
a. JFile::copyTo($src, $dest)
a. JFile::copy($src, $dest)
a. JFile::move($src, $dest)
a. Jfile->copy($src, $dest)
81. The plugin that searches content articles uses the function plgSearchContent() to handle the onSearch event.
This is how the function is registered:
$mainframe->registerEvent(‘onSearch’, ‘plgSearchContent’);
Is it correct?
Answers:
a. True
a. False
82. What does the result of the ContentBuildRoute method return?
Answers:
a. A string which is a part of a URL address.
a. An array of segments where each segment is separated by a ‘/’ which is combined to create the actual link (the items in the array should not contain ‘/’ character).
a. A name => value array of the querystring variables that the link maps to.
83. Which database types does Joomla support?
Answers:
a. MySQL
a. MySQLi
a. PostgreSQL
a. IBM DB2
a. Microsoft SQL Server
a. Oracle RDBMS
84. How do you load plugins in a component?
Answers:
a. JPluginHelper::importPlugin(‘content’);
a. JApplication::importPlugin(‘content’);
a. JPluginHelper::loadPlugin(‘content’);
85. What is the role of the template metadata file in the system?
Answers:
a. It contains the basic authorship information.
a. It contains information about the files that make up the template.
a. It contains information about the parameters that will be available for configuration through the administrator interface.
a. All of these.
86. Which extension can you use to build a shopping cart using Joomla?
Answers:
a. Fireboard
a. VirtueMart
a. Docman
a. All of the above
87. Which of the following PHP directives is important to Joomla execution in order to define an alternate compression library if the standard library is not available?
Answers:
a. zlib.output_compression
a. zlib.output_handler
a. extension_dir
a. expose_php
88. Which of the following is a system event?
Answers:
a. OnDisplay
a. OnSave
a. OnGetInsertMethod
a. OnAfterInitialise
89. In the Media Manager, what happens if you delete a media item?
Answers:
a. The media file will be deleted.
a. The media file will be moved to the Trash folder.
a. The item will be marked as deleted and the file will be moved to the Trash folder.
90. The Joomla System SEF plugin inherits JPlugin and overrides the onAfterRender() function. In this function, what does JResponse::getBody() command do?
Answers:
a. It retrieves the body of the response that will be sent to the browser. The body of the response is then searched for links containing “/index.php…” and replaces them with a correct SEF url by calling JRoute::_(url).
a. The body of the response will replace links containing “/index.php…” with a correct SEF url by calling JRoute::_(url).
a. The body of the response will search links containing “/index.php…” and return an array to be used for the next command.
91. What is module chrome used for?
Answers:
a. Module chrome allows template designers to have a certain amount of control over the way the output from a Module is displayed in their template.
a. Module chrome provides a method to return the output HTML of the module.
a. Module chrome provides a method to return the path to the layout file for the module.
a. Module chrome support a method to return an stdClass object containing information about the module requested.
92. Which of the following are valid methods for installing a Joomla extension?
Answers:
a. Upload the Package File
a. Install from the Directory
a. Install from the File
a. Install from the URL
93. True or False:
Answers:
a. True
a. False
82. What does the result of the ContentBuildRoute method return?
Answers:
a. A string which is a part of a URL address.
a. An array of segments where each segment is separated by a ‘/’ which is combined to create the actual link (the items in the array should not contain ‘/’ character).
a. A name => value array of the querystring variables that the link maps to.
83. Which database types does Joomla support?
Answers:
a. MySQL
a. MySQLi
a. PostgreSQL
a. IBM DB2
a. Microsoft SQL Server
a. Oracle RDBMS
84. How do you load plugins in a component?
Answers:
a. JPluginHelper::importPlugin(‘content’);
a. JApplication::importPlugin(‘content’);
a. JPluginHelper::loadPlugin(‘content’);
85. What is the role of the template metadata file in the system?
Answers:
a. It contains the basic authorship information.
a. It contains information about the files that make up the template.
a. It contains information about the parameters that will be available for configuration through the administrator interface.
a. All of these.
86. Which extension can you use to build a shopping cart using Joomla?
Answers:
a. Fireboard
a. VirtueMart
a. Docman
a. All of the above
87. Which of the following PHP directives is important to Joomla execution in order to define an alternate compression library if the standard library is not available?
Answers:
a. zlib.output_compression
a. zlib.output_handler
a. extension_dir
a. expose_php
88. Which of the following is a system event?
Answers:
a. OnDisplay
a. OnSave
a. OnGetInsertMethod
a. OnAfterInitialise
89. In the Media Manager, what happens if you delete a media item?
Answers:
a. The media file will be deleted.
a. The media file will be moved to the Trash folder.
a. The item will be marked as deleted and the file will be moved to the Trash folder.
90. The Joomla System SEF plugin inherits JPlugin and overrides the onAfterRender() function. In this function, what does JResponse::getBody() command do?
Answers:
a. It retrieves the body of the response that will be sent to the browser. The body of the response is then searched for links containing “/index.php…” and replaces them with a correct SEF url by calling JRoute::_(url).
a. The body of the response will replace links containing “/index.php…” with a correct SEF url by calling JRoute::_(url).
a. The body of the response will search links containing “/index.php…” and return an array to be used for the next command.
91. What is module chrome used for?
Answers:
a. Module chrome allows template designers to have a certain amount of control over the way the output from a Module is displayed in their template.
a. Module chrome provides a method to return the output HTML of the module.
a. Module chrome provides a method to return the path to the layout file for the module.
a. Module chrome support a method to return an stdClass object containing information about the module requested.
92. Which of the following are valid methods for installing a Joomla extension?
Answers:
a. Upload the Package File
a. Install from the Directory
a. Install from the File
a. Install from the URL
93. True or False:
Joomla is written in Perl.
Answers:
a. True
a. False
94. Which of the following Joomla component or module is not installed by default?
Answers:
a. Login
a. Community builder
a. Polling
a. Search
95. Which menu type(s) is/are used to place a graphic or other separator between menu options?
Answers:
a. Internal Link
a. External Link
a. Separator
a. Alias
96. Which of the following actions will make a custom component work with Joomfish 2.0 (that is, which makes it possible to translate a custom component using Joomfish)?
Answers:
a. Create the Content Element XML file for Joomfish for the custom extension and place it to components/com_joomfish/contentelements.
a. Create the Content Element XML file for Joomfish for the custom extension and place it to administrator/components/com_joomfish/contentelements.
a. Declare the Joomfish inside the custom component xml file.
a. In Joomfish Configuration, add and declare additional information for the custom component.
97. Which of the following information the “Who’s Online” module cannot show?
Answers:
a. Online user names
a. The number of guests online
a. The number of members online
a. The most active members
98. In Joomla, which file stores information on the database connection (database name, username…)?
Answers:
a. .htaccess
a. my.ini
a. configuration.php
a. config.inc.php
99. How will you restore a trashed menu item?
Answers:
a. Go to “Menus->Menu Trash”, select the menu item and click “Restore”
a. Go to “Site->Trash Manager”, select the menu item and click “Restore”
a. Go to “Tools->Trash Manager”, select the menu item and click “Restore”
100. In the User Manager, what are the Public Front-end user groups?
Answers:
a. Registered, Manager, Author, Editor, and Publisher
a. Registered, Author, Editor, and Publisher
a. Registered, Editor, and Publisher
a. Registered and Publisher
101. Which articles can the frontpage view display?
Answers:
a. Articles from any section and category
a. Articles restricted to just a few sections and categories
a. Only static item contents
102. What is the root object that Joomla framework has inherited?
Answers:
a. JObject
a. Object
a. JoomlaObject
a. JoomlaGenericObject
103. In the Content Manager, is there any relationship between the 3-tier organization level for articles and the structure of the menus on your site?
Answers:
a. Yes. The structure menus depend on the 3-tier organization level.
a. No. Your site can have any menu level.
104. Which extension can be used to build a download system using Joomla?
Answers:
a. Fireboard
a. Community Builder
a. Docman
a. Joom!Fish
105. There is a method in the application called _______,
Answers:
a. True
a. False
94. Which of the following Joomla component or module is not installed by default?
Answers:
a. Login
a. Community builder
a. Polling
a. Search
95. Which menu type(s) is/are used to place a graphic or other separator between menu options?
Answers:
a. Internal Link
a. External Link
a. Separator
a. Alias
96. Which of the following actions will make a custom component work with Joomfish 2.0 (that is, which makes it possible to translate a custom component using Joomfish)?
Answers:
a. Create the Content Element XML file for Joomfish for the custom extension and place it to components/com_joomfish/contentelements.
a. Create the Content Element XML file for Joomfish for the custom extension and place it to administrator/components/com_joomfish/contentelements.
a. Declare the Joomfish inside the custom component xml file.
a. In Joomfish Configuration, add and declare additional information for the custom component.
97. Which of the following information the “Who’s Online” module cannot show?
Answers:
a. Online user names
a. The number of guests online
a. The number of members online
a. The most active members
98. In Joomla, which file stores information on the database connection (database name, username…)?
Answers:
a. .htaccess
a. my.ini
a. configuration.php
a. config.inc.php
99. How will you restore a trashed menu item?
Answers:
a. Go to “Menus->Menu Trash”, select the menu item and click “Restore”
a. Go to “Site->Trash Manager”, select the menu item and click “Restore”
a. Go to “Tools->Trash Manager”, select the menu item and click “Restore”
100. In the User Manager, what are the Public Front-end user groups?
Answers:
a. Registered, Manager, Author, Editor, and Publisher
a. Registered, Author, Editor, and Publisher
a. Registered, Editor, and Publisher
a. Registered and Publisher
101. Which articles can the frontpage view display?
Answers:
a. Articles from any section and category
a. Articles restricted to just a few sections and categories
a. Only static item contents
102. What is the root object that Joomla framework has inherited?
Answers:
a. JObject
a. Object
a. JoomlaObject
a. JoomlaGenericObject
103. In the Content Manager, is there any relationship between the 3-tier organization level for articles and the structure of the menus on your site?
Answers:
a. Yes. The structure menus depend on the 3-tier organization level.
a. No. Your site can have any menu level.
104. Which extension can be used to build a download system using Joomla?
Answers:
a. Fireboard
a. Community Builder
a. Docman
a. Joom!Fish
105. There is a method in the application called _______,
which triggers events in the global event dispatcher, notifying the relevant listeners.
It is a pass-through method for the JEventDispatcher ____ method.
Answers:
a. triggerEvent()/trigger()
a. egisterEvent()/register()
a. triggerEvent()/register()
106. Which creational pattern is used by Joomla classes, particularly for database access?
Answers:
a. Abstract Factory Pattern
a. Singleton Pattern
a. Builder Pattern
a. All of these
107. Which of the following commands is used to get a model in the controller.php file of a component?
Answers:
a. $model = JRequest::getModel(‘register’)
a. $model = getModel(‘register’)
a. $model = $this->getModel(‘register’)
a. $Model = JModel::getModel(‘register’)
Answers:
a. triggerEvent()/trigger()
a. egisterEvent()/register()
a. triggerEvent()/register()
106. Which creational pattern is used by Joomla classes, particularly for database access?
Answers:
a. Abstract Factory Pattern
a. Singleton Pattern
a. Builder Pattern
a. All of these
107. Which of the following commands is used to get a model in the controller.php file of a component?
Answers:
a. $model = JRequest::getModel(‘register’)
a. $model = getModel(‘register’)
a. $model = $this->getModel(‘register’)
a. $Model = JModel::getModel(‘register’)
No comments:
Post a Comment