MCQs | Joomla/Joomla Mcq Questions Set 2 Sample Test,Sample questions

Question:
A module is configured to display title and publish to position "position". The module position "position" is loaded with style "xhtml" in template. If the module does not return any data, what will be displayed?

1.The error message

2.The module title

3.Nothing<br>

4.None of These


Question:
Based on the SEF setting in the diagram, what is the link that points to the menu item "News"?

1.http://[site url]/index.php?option=com_newsfeeds&amp;view=newsfeed&amp;id=1&amp;feedid=1&amp;Itemid=18.

2.http://[site url]/index.php/news

3.http://[site url]/news

4.http://[site url]/news.html


Question:
Choose the correct statements (Database Configuration step).

1.You can install multiple Joomla on the same database.

2.Joomla will try to create a database if it does not exist.

3.Joomla will try to create a database if it does not exist.

4.Joomla will delete all existing data in the database you provide


Question:
Consider the code segment below. Then, from the options given, choose the case that would result in an integer.

$db =& JFactory::getDBO();
$query = "
SELECT count(*)
FROM ".$db->nameQuote('#__my_table').";
";
$db->setQuery($query);

1.$result = $db-&gt;loadResult()

2.$result = $db-&gt;loadRow()

3.$result = $db-&gt;loadAssoc()

4.None of These


Question:
Consider the DATABASE and CODE segments as shown above in an image. Given this information, choose the case from the options below that would return these results:

1.$result = $db-&gt;loadObject()

2.$result = $db-&gt;loadRow()

3.$result = $db-&gt;loadAssoc()<br>

4.None of these


Question:
Consider the database segment below. From the options given, select the case that will load a specific row of the database with JTable.

DATABASE
Width $row =& JTable::getInstance('recipes', 'Table')

1.$result = $row-&gt;get($id)

2.$result = $row-&gt;load($id)

3.$result = $row-&gt;read($id)

4.None of These


Question:
Example:jimport( 'joomla.application.module.helper' );

$module = JModuleHelper::getModule( 'mainmenu', 'Key Concepts' );
$attribs = array('style'=>'xhtml');
echo JModuleHelper::renderModule( $module, $attribs );
What is the purpose of the $attribs array?

1.The $attribs array is passed in its entirety to the module chrome code since this method will generally be called during the processing of a &lt;jdoc:include.../&gt; tag in the template.

2.The $attribs array is used to assign a module to a position.<br>

3.both (a) and (b)

4.None of these


Question:
From which package are the classes (i.e JSite, JAdministrator and JInstallation) which make up the Joomla CMS application extended?

1.Installer

2.Application

3.Template

4.Database


Question:
How many levels can each menu have?

1.2 levels

2.5 levels

3.10 levels

4.As many levels as you wish


Question:
How to set the "Page Title" for a menu item?

1.Click on the Menu Item, and update the parameter "Page Title" in the "Basic" group.

2.Click on the Menu Item, and update the parameter "Page Title" in the "Component" group.

3.Click on the Menu Item, and update the parameter "Page Title" in the "System" group.

4.The Page Title is automatically populated and you cannot overwrite it.<br>


Question:
How will you create a static content item?

1.create Section, create Category, create Article

2.create Category, create Section, create Article

3.create an Article as normal, then assign it to the "uncategorised" section<br>

4.create Section, create Article


Question:
How will you enable cache?

1.In the "Global Configuration" page, set configuration via the tab "Site"

2.In the "Global Configuration" page, set configuration via the tab "System"

3.In the "Global Configuration" page, set configuration via the tab "Cache"

4.In the "Media Management" page, set configuration via the tab "Setting"


Question:
How will you install a Joomla extension using a Joomla installer?

1.Upload the Package File

2.Install from the Directory

3.Install from the File

4.Install from the URL


Question:
How will you make Joomla 1.0x extensions work with Joomla 1.5

1.Joomla 1.0x extensions work well with Joomla 1.5 by default

2.Joomla 1.0x extensions cannot work with Joomla 1.5 by default

3.Enable the Legacy mode on the "Global Configuration"

4.Enable Legacy plugin


Question:
In the Content Manager, an article can be stored:

1.only in a single category and in a single section.

2.in at least two categories and one section.

3.in many categories and sections.<br>

4.None of These


Question:
In the Content Manager, what is the number of categories you can add?

1.30

2.20

3.10

4.As many as you wish<br>


Question:
In the Media Manager, if the option "Maximum Size (in bytes)" of Media Setting is set to zero(0), what will be the maximum size of the file that you can upload?

1.You cannot upload files.

2.Unlimited

3.10M as Default value

4.The maximum uploading size allowed by the PHP


Question:
In the Media Manager, which default "Media Folder" are media stuffs uploaded to?

1.image

2.images

3.media

4.Media<br>


Question:
In the User Manager, how can a user get back their password if they forget it?

1.By using the "Forgot your password?" function.

2.Super Administrators can reveal the password.

3.The Password is encrypted and cannot be decrypted; thus he can not get back his plain password.<br>

4.None of These


Question:
In the User Manager, which Public Front-end User group(s) cannot edit articles?

1.Author

2.Editor

3.Publisher

4.Registered


Question:
Instead of using the default Joomla build/parse route, how can you develop your own one?

1.By creating a component name com_sef

2.By creating a plugin type "sef"

3.By creating a system plugin, handle onAfterInitialise event and use the function attachBuildRule/attachParseRule of the JRouter class<br>

4.None of These


Question:
Listed below are the four important system events that occur in a very specific order when a request is made. From the possibilities given, choose the option that represents the correct sequence of these events.

1.onAfterRoute
2.onAfterDispatch
3.onAfterInitialize
4.onAfterRender

1.3-2-1-4

2.1-2-3-4

3.3-1-2-4

4.2-1-3-4<br>


Question:
Refer to the given image.

What do you understand by the type of error?

1.It means that STRICT_TRANS_TABLES is enabled

2.It means that you are probably running MySQL in strict mode

3.It means that STRICT_ALL_TABLES is enabled

4.All of the above


Question:
To install and run Joomla 1.5, the minimum system requirements are ____________.

1.PHP 4.3.10, MySQL 3.23.x, Apache 1.3

2.PHP 4.2.x, MySQL 2.x, Apache 1.0

3.PHP 5.x, MySQL 5.x, Apache 2.2<br>

4.None of these


Question:
What does the menu parameter type do?

1.It provides a drop down list of the available menu items from your Joomla site.

2.It provides a drop down list of the available menus from your Joomla site.

3.It provides a drop down list of the menus from your Joomla site.<br>

4.None of these


Question:
What does the method "renderModule" in the class "JModuleHelper" do?

1.It renders the module, returning the output PHP.

2.It renders the module, returning the output HTML.

3.It renders the module, returning the output XML.<br>

4.None of these


Question:
What is "Joom!Fish" extension?

1.It is a component that helps you translate your content automatically.

2.It is a solution to enable your website to control translation matters.

3.It is a component that helps you manage your shopping cart.

4.It is an extension that helps you manage your news/rss.<br>


Question:
What is a Component?

1.A Component is a mini-application that renders the main body of the page.

2.A Component is a smaller Extension typically used for rendering a small element that is displayed across multiple pages.

3.A Component is a section of the code that runs when a pre-defined event happens within Joomla!.

4.A Component controls the way the content of a web site is displayed.<br>


Question:
What is the Alias link?

1.A kind of internal link back to an existing menu item

2.A kind of external link back to an existing menu item

3.A duplicated link to an existing menu item

4.A link to external web sites<br>


Question:
What is the first step in Joomla installation?

1.Pre-installation Check

2.Choose Language

3.License Agreement

4.Configuration<br>


Question:
What is the following code used for?

$document = &JFactory::getDocument();
$renderer = $document->loadRenderer('modules');
$options = array('style' => 'xhtml');
$position = 'article-banners';
echo $renderer->render($position, $options, null);

1.For loading a single module

2. For loading a module position<br>

3.both (a) and (b)

4.None of these


Question:
What is the purpose of the module Poll?

1.To show the results of a poll

2.To list all the poll items created in the component Poll

3.To help the users create their custom polls

4.Show the poll on Frontpage to allow the users to submit their votes<br>


Question:
What is the XML-RPC implemented in Joomla?

1.An object used for getting a remote XML document from an external site

2.An XML processor library supported by Joomla

3.A remote procedure call protocol which uses XML to encode its calls and HTTP as a transport mechanism<br>

4.None of these


Question:
When an article is Archived, it will:

1.no longer be published but still stored on the site.

2.still be published and stored on the site.

3.no longer be published and removed from the site.

4.None of these


Question:
When the parameter of a module is edited, data is directly written in xml file.

1.True

2. False<br>

3.both (a) and (b)

4.None of These


Question:
When you enable cache in the "Global Configuration" and enable plugin Cache, what will be cached?

1.The whole page

2.The whole page if the user has not logged in

3.The whole page if the user has logged in

4.Components and modules are cached separately.<br>


Question:
Which Joomla file provides the central logic of the template, including any module and component display?

1.Index.php

2.Template.css

3.TemplateDetails.xml

4.Banner.fff


Question:
Which method is used to load plugins?

1.JPluginHelper::import('pluginsName');

2.JPluginHelper::importPlugin('pluginsName');

3.JPluginHelper::load('pluginsName');<br>

4.None of These


Question:
Which of the following classes helps you to translate a string into the current language?

1.JText

2.JString

3.JFilterOutput<br>

4.None of These


Question:
Which of the following components can not be uninstalled?

1.com_banners

2.com_polls

3.com_weblinks

4.com_contact<br>


Question:
Which of the following field types is/are supported by Joomfish when creating a Joomfish Content Element?

1.referenceid

2. text

3.htmltext

4.All of the above


Question:
Which of the following functions does Joomla support?

1.$db-&gt;loadObjectList(),$db-&gt;loadObjectList('key'),$db-&gt;loadRowList()

2.$db-&gt;loadObjectList('key'),$db-&gt;getNumRow()

3.$db-&gt;getNumRow(),loadObjectList()

4.$db-&gt;loadRowArray(), $db-&gt;loadObjectList('key')


Question:
Which of the following tabs allows you to disable user registration?

1.In the "Global Configuration" page, tab "Site"

2.In the "Global Configuration" page, tab "System"

3.In the "Global Configuration" page, tab "Server"

4.In the "Global Configuration" page, tab "Cache"<br>


Question:
Which of the following technologies is/are used by Joomla?

1.MySql

2.Apache

3.PHP

4.All of the above


Question:
Which one of the following statements protects against CSRF attacks?

1.&lt;?php echo JHTML::_( 'form.token' );?&gt;

2.&lt;?php echo JRoute::_( 'index.php?option=com_example&amp;controller=object1&amp;task=save&amp;'. JHTML::_( 'form.token' ) .'=1' );?&gt;

3.&lt;?php echo JUtility::getToken();?&gt;

4.&lt;input type="hidden" name="&lt;?php echo JUtility::getToken();?&gt;" value="1" /&gt;<br>


Question:
Which position is the banner module displayed on in the Joomla front-end?

1.In the footer of the page

2.In the position "banner"

3.In the position selected in the banner item

4.In the position which the module "Banners" is published in<br>


Question:
While installing Joomla, at the FTP Configuration step, what is the FTP layer for?

1.To upload files in the Administration panel

2.To upload files in the Media Management

3.To manage the file system in the Administration panel

4.To handle file system manipulation and enable Joomla! installers<br>


Question:
While installing Sample Data, you got error as demonstrated in the diagram. What does it mean?

1.PHP does not support XML.

2.Javascript error

3.There is an error in the sample database sql file.

4.There is an error in the Apache configuration.


Question:
With cache enabled, the content will be cached based on the:

1.Request URI.

2.Cookie.

3.Browser.

4.Session.<br>


Question:
With the "Mass Mail" tool, which of the following recipients can you select?

1.Multiple users in system

2.Multiple groups

3.A single user in system

4.A single group


More MCQS

  1. Joomla Mcq Questions Set 1
  2. Joomla Mcq Questions Set 2
  3. Joomla Mcq Questions Set 3
Search