test - drupal5.docx

perchmysteriousΔιαχείριση Δεδομένων

1 Δεκ 2012 (πριν από 4 χρόνια και 9 μήνες)

232 εμφανίσεις

Question:

What happens when the #tree property is set to TRUE?


$form['#tree'] = TRUE;



a.


It gives you a nested array of fields with their values.


b.


You get a flattened representation of field names and values.


c.


Both a and b.


d.


None
of the above.

Question:

When should the db_rewrite_sql()function be used?



a.


While issuing node listing queries.


b.


While making the query accessible to other developers.


c.


Both a and b.


d.


None of the above.

Question:

Which of the following input formats doesn

t restrict HTML but uses the line break converter filter?



a.


Filtered HTML


b.


Full HTML


c.


Both a and b


d.


None of the above

Question:

Which of the following component
-
level caches cannot be
disabled?



a.


Filters


b.


Menus


c.


System variables


d.


All of the above

Question:

Which option or variable will you set to TRUE to enable early page cache?



a.


page_cache()


b.


page_cache_fastpath()


c.


cache_page()


d.


cache_fastpath()

Question:

No configuration is necessary for the Ping module.



a.


True


b.


False

Question:

Which of the following is not a default variable in node templates?



a.


$taxonomy


b.


$terms


c.


$node_url


d.


None of the
above.

Question:

In which download method does drupal stay out of the download process?



a.


Public


b.


Private


c.


Both a and b


d.


None of the above

Question:

What is true of a URL filter?



a.


It removes a filter or even rearranges the
order in which an input format

s filters are executed.


b.


It filters a node and data.


c.


It transforms web and e
-
mail addresses into hyperlinks.


d.


All of the above

Question:

In which type of external authentication are users from one drupal

site permitted to log on to another drupal site?



a.


LDAP


b.


Sxip


c.


Pubcookie


d.


Distributed

Question:

Which of the following MySQL storage engines does Druapl use by default?



a.


InnoDB


b.


MyISAM


c.


Both a and b


d.


None
of the above

Question:

Which cache API function is used for writing data to the cache?



a.


cache_set()


b.


cache_get()


c.


Both a and b


d.


None of the above

Question:

What is true of vocabulary weight?



a.


Each vocabulary has a weight
from
-
10 to 10.


b.


A vocabulary with a light weight will rise to the top of the categories fieldset and be presented first.


c.


A vocabulary with a heavy weight will sink to the bottom of the fieldset.


d.


All of the above.

Question:

Disabling
the cache for a single filter removes the caching for any input format that uses the filter.



a.


True


b.


False

Question:

Which default folder of a drupal installation contains libraries of common functions that drupal uses?



a.


Modules


b.


Misc


c.


Includes


d.


Themes

Question:

Which of the following syntax types for constructing taxonomy do URLs support?



a.


AND


b.


OR


c.


Both a and b


d.


All of the above

Question:

Which module in drupal

measures site load by sampling the number of current users and by turning off
functionality?



a.


Throttle


b.


Taxonony


c.


Tracker


d.


Trigger

Question:

Multiple kinds of database back
-
ends (e.g. both MySQL and PostgreSQL) cannot be used
simultaneously.



a.


True


b.


False

Question:

Which option will you select to enable picture support?



a.


Administer >User management >users


b.


Administer >User management > Access rules


c.


Administer >User management >Permissions


d.


Administer >User management >User settings

Question:

How do you recognize form properties?



a.


They are prefixed with the $ character.


b.


They are prefixed with the # character.


c.


They are prefixed with the #$ character.


d.


None of the
above.


Question:

What is not true of an authmap table?



a.


It contains the user ID column.


b.


It contains the name of the module that will handle authentication.


c.


It contains internal username column.


d.


All of the above.

uestion:

What

does (.po) file stand for?



a.


Port only


b.


Port object


c.


Portable object


d.


None of the above

Question:

Which option will you choose to view a list of installed filters?



a.


Administer > Site building > Blocks.


b.


Administer >
Site building > Menus.


c.


Administer > Site configuration >Input formats.


d.


None of the above.

Question:

Which form property is used with the checkboxes element?



a.


#description


b.


#options


c.


#weight


d.


All of the above

Question:

For which of the following options is automatic creation of profile not available?



a.


Textarea


b.


URL


c.


Date fields


d.


All of the above

Question:

Which among the following default drupal

style sheets affects the RSS/Newsfeed module and its contents?



a.


Block.css


b.


Defaults.css


c.


Aggregator.css


d.


Comment.css

Question:

A new cache table, while you are defining it for your module, must be structurally identical to the
default cache
table.



a.


True


b.


False

Question:

The default region/s used in themes is/are _____.



a.


left sidebar


b.


header


c.


footer


d.


All of the above

Question:

When is disable page caching useful?



a.


When you want to
store cached copies of the navigational menus for each user.


b.


When you want to store cached copies of anonymous pages.


c.


When you are debugging a site.


d.


All of the above.

Question:

When will you use the $_SESSION superglobal?



a.


When

you want to change the name of the session.


b.


When you want to store data that you want to associate with a user during a visit.


c.


Both a and b.


d.


None of the above.

Question:

Which of the following cache tables does drupal

ship by default?



a.


Cache_menu


b.


Cache_filter


c.


Cache_page


d.


All of the above

Question:

When is '$page' variable within a node template file TRUE?



a.


When you

re in body view.


b.


When you

re in teaser view.


c.


When it is
on a multiple node listing view.


d.


None of the above.

Question:

Which taxonomy function finds all the ancestors of a term?



a.


taxonomy_get_tree


b.


taxonomy_get_parents


c.


taxonomy_get_parents_all


d.


All of the above

Question:

Which module allows you to switch the drupal interface to another language?



a.


Menu


b.


Legacy


c.


Locale


d.


None of the above

Question:

Which of the following is drupal

s default theme engine?



a.


PHP


b.


Smarty


c.


PHPTemplate


d.


PHPTAL

Question:

When can a session not be established?



a.


When a browser doesn

t accept cookies.


b.


When PHP directive sessions_use_only_cookies has been set to 1.


c.


When sessions.use_trans_sid has been set to 0.


d.


All of the
above.

Question:

In the call to which option is drupal form ID defined?



a.


Drupal_get_form


b.


drupal_set_form


c.


Both a and b


d.


None of the above

Question:

Which function does drupal

use to override the default session handling provided by PHP?



a.


Sess_read()


b.


Sessions.use_trans_sid


c.


ini_set()


d.


None of the above

Question:

Which among the following web servers is used with drupal?



a.


Apache


b.


Microsoft

IIS


c.


Both a and b


d.


None of the above

Question:

Which entry point files does Drupal codebase consist of in the root directory?



a.


Cron.php


b.


Index.php


c.


Xmlrpc.php


d.


All of the above

Question:

Which of the following variables, when passed into page templates, returns the output of hook_footer() and thus is
usually displayed at the bottom of the page?



a.


$breadcrumb


b.


$closure


c.


$feed_icons


d.


$mission

Question:

Where does
drupal modify session
-
handling settings?



a.


In .htaccess


b.


In settings.php


c.


In bootstrap.inc


d.


All of the above

Question:

The Path Module cannot handle absolute URLs or links to external sites.



a.


True


b.


False

Question:

To
which default option is a form element without a #type set?



a.


#prefix


b.


#markup


c.


#suffix


d.


All of the above

Question:

What is the use of _phptemplate_variables()?



a.


To set a variable when someone has logged out.


b.


To set a

variable when someone is visiting the site and is logged in.


c.


To set a variable when a user requests for cookies.


d.


All of the above.

Question:

What is the use of the MD5 algorithm in drupal?



a.


Drupal

uses it in the database for finding the filtered data of a node.


b.


You use MD5 in drupal to convert URLs links to URL filter.


c.


Both a and b.


d.


None of the above.

Question:

Which of the following template files in drupal

core is used to wrap the comment submission form and search
results?



a.


box.tpl.php


b.


comment.tpl.php


c.


block.tpl.php


d.


All of the above

Question:

Drupal doesn

t store session information the first time an anonymous user visits a
site.



a.


True


b.


False

Question:

In Drupal, the anonymous user is represented by the user id (uid)1.



a.


True


b.


False

Question:

Blocks with no regions assigned to them aren

t displayed.



a.


True


b.


False