Thursday, 5 March 2015

Odesk Wordpress Test Answers

Wordpress Test:

This test is about 45 multiple choice questions and should take less than 45 minutes to complete.

Wordpress Test Syllabus:

Ø     Instalation
Ø     Basics & Dashboard Navigation

Ø     Theme Development
Ø     Plugin Development
Ø     WP Core & The Loop
Ø     Data Management
Ø     Content Management & Aggregation
Ø     UX
Ø     Performance & Scalability
Ø     User Access & Security
Ø     Multisite (MU)
Ø     Taxonomies & Metadata.

WordPress Test  Questions and Answers 

Questions: 1
You want to schedule a backup of your site database but do not have enough permissions to access your host. Which of the following choices can help you perform this task?
a. Use phpMyAdmin.
b. Install “wp database backup” plug-in. ( Answer)
c. Use cron job to schedule.
d. There is no way to schedule a backup.

Questions: 2
Which of the following actions must be performed before upgrading WordPress?
f.   a, b, and c . ( Answer)


Questions: 3
Which of the following actions must be performed before upgrading WordPress?
a. Back up the site.
b. Ensure that the database username registered with WordPress has permission to create, modify, and delete database tables.
c. Deactivate plug-ins.
d. Enable FTP on the site.
e. a, c, and d ( Answer)
f. a, b, and c

Questions: 4
Which of the following files must be deleted after installing WordPress?
a. wp-admin/install.php
b. install.php
c. installation.php
d. None of the above ( Answer)

Questions: 5
One possible way to install WordPress in your language is to _______________.
a. manually install the language package or translate as necessary ( Answer)
b. enable the desired language in admin settings
c. Neither: WordPress cannot be installed in languages other than English.


Questions: 6
Which of the following actions should you perform to move your site from “/wordpress” to “/blog/wordpress”?
a. Change the source code.
b. Update the wp-config.php file.
c. Update the database. ( Answer)
d. The site cannot be moved from “/wordpress” to “/blog/wordpress”.

Questions: 7
On which of the following databases can WordPress be installed by default?
a. MySQL ( Answer)
b. Oracle
c. Microsoft SQL Server
d. Postgres


Questions: 8
WordPress’s requirements are modest. At minimum, your server should support:
b. PHP version 4.3 or greater, MySQL version 4.0 or greater  (Answer)


Questions: 9
What is the first action you need to take for enabling the WordPress MU feature?
a. Enable WordPress MU feature on admin panel.
b. Enable Network feature.
c. Add this code to wp-config.php file: define( ‘WP_ALLOW_MULTISITE’, true ); ( Answer)

Questions: 10
Which of the following actions must be performed before enabling the Network feature?
a. Install the network plugin.
b. Deactive your plugins. ( Answer)
c. No action needs to be performed.

Questions: 11
After how many times did you enter an invalid password, your IP Address would be locked?
e.  no limit . ( Answer)

Questions: 12
Super Cache compression can cause problems if your server _______
a. does not have mod_deflate installed (in Apache).
b. does not have zlib installed.
c. is already compressing output using mod_deflate (in Apache) or PHP compression (zlib) . ( Answer)
Questions: 13
From which version of WordPress can you choose your username during the installation process?
a. 2.7 *
b. 2.8
c. 3.0 ( Answer)
d. 3.0.1

Questions: 14
One possible way to collect real-time statistics about traffic to a WordPress site is to:
a. use a built-in tool.
b. use a plug-in. ( Answer)
c. use a widget.
d. None of the above: such statistics cannot be collected.

Questions: 15
One possible way to collect real-time statistics about traffic to a WordPress site is to …………..
Ans:a) use a built-in tool . ( Answer)
         b) use a plug-in . ( Answer)
         c) use a widget ( Answer)
         d) None of the above ( Answer)

Questions: 16
How can the use of html code in comments be disabled?
a. By disabling the feature in the config file.
b. By disabling the feature in admin settings. (Answer)
c. By changing the theme’s source code.

Questions: 17
The date/time format of a WordPress site can be changed in _____________.
a. the theme’s source code
b. admin settings ( Answer)
c. the database
d. the config file

Questions: 18
_________ is a good way to improve the performance of a WordPress blog.
a. Disabling image upload
b. Enabling cache
c. Installing the “wp super cache” plug-in (Answer)

Questions: 19
Which of the following blog sites can be imported into WordPress?
d.Opera (Answer)


Questions: 20
Which of the following blog sites can be imported into WordPress?
a. MySpace
b. Yahoo blog ( Answer)
c. Bebo
d. Blogspot
e. All of the above.
Questions: 21
Which of the following actions must be performed to import data from WordPress.com?
a. Enter the full access to WordPress.com into the data import form so that it can automatically connect and directly retrieve content.
b. Import from wordpress.com’ RSS.
c. Login to WordPress.com, then export data using the export tool, and import an exported XML file to your site. ( Answer)
Questions: 22
Which of the following data can you import from Blogger site?
c.Posts, comments, and users ( Answer)


Questions: 23
Which of the following data can you import from a Blogger site?
a. Posts and categories
b. Posts, comments and categories ( Answer)
c. Posts and comments
d. Post and tags
e. Post, comments and tags

Questions: 24
Which of the following actions must be fixed after importing data into WordPress?
a. Link URLs
b. Paths to Linked Files
c. Truncated or Garbled Content
d. All of the above (Answer)

Questions: 25
How many built-in user roles does WordPress have?
4 Note: they are “Administrator”, “Editor”, “Author”, “Contributer” and “Subscriber” ( Answer)

How many built-in user roles does WordPress have?
a. 3
b. 4
c. 5
d. 6 (Answer)


Questions: 26
____________ can do anything in the WordPress administration area: write, edit, and delete posts, pages, links, and comments; upload media files of any type; import content; manage the Dashboard; create, edit, and delete other users; enable and configure plugins and themes; change the site’s theme; and manage all the available options.
a. Contributors
b. Authors
c. Editors
d. Subscribers
e. Administrators (Answer)


Questions: 27
__________ can publish, edit, and delete posts and pages written by any user. They can upload some kinds of files, and write HTML without restrictions. They can manage links and categories, and moderate comments. Editors and administrators are also the only users allowed to read private posts and pages.
a. Contributors
b. Authors
c. Editors *
d. Subscribers
e. Administrators (Answer)


Questions: 28
___________ can publish, edit, and delete their own posts. They cannot write pages. They can upload some kinds of media files, and are allowed to use only the limited set of HTML tags.
a. Contributors
b. Authors *
c. Editors
d. Subscribers
e. Administrators (Answer)

Questions: 29
_________ can write their own posts but cannot publish or delete them. Their HTML is limited to the set of allowed tags and they cannot upload media files.
a. Contributors (Answer)
b. Authors
c. Editors *
d. Subscribers
e. Administrators

Questions: 3
__________ can manage their own profiles, but can do virtually nothing else in the administration area.
a. Contributors
b. Authors
c. Editors
d. Subscribers (Answer)
e. Administrators

Questions: 31
User Level 0 converts to …
a. Contributor
b. Author
c. Editor
d. Subscriber (Answer)
e. Administrator

Questions: 32
User Level 1 converts to …
a. Contributor (Answer)
b. Author
c. Editor
d. Subscriber
e. Administrator

Questions: 33
User Level 3 converts to …
a. Contributor
b. Author
c. Editor (Answer)
d. Subscriber
e. Administrator

Questions: 34
User Level 7 converts to …
Editor (Answer)


Questions: 35
User Level 10 converts to …
a. Contributor
b. Author
c. Editor
d. Subscriber
e. Administrator (Answer)

Questions: 36
Which user level has the highest privilege?
a. Level_0
b. Level_10 (Answer)
c. Depends on your settings.
d. Every user level has the same level of privilege.

Questions: 37
One possible way to allow the display of several authors’ names on one post is to ___________.
a. update the database
b. change the admin settings * ( Answer)
c. change the config files
d. use a plug-in ( Answer)

Questions: 38
Which of the following methods can be used to enable posting via e-mail?
a. Installing the wp-emailpost plug-in.
b. Configuring the feature in admin settings. (Answer)
c. Using a widget.
d. This feature is not available in WordPress.

Questions: 39
Image size limits can be set _______________.
a. directly in the posts
b. in the wp-imageresize plug-in
c. in the admin settings ( Answer)
d. a and b

Questions: 40
A taxonomy is a ____________.
a. category
b. term
c. group of terms ( Answer)

Questions: 41
In which version of WordPress were custom taxonomies introduced?
a. 2.3 (Answer)
b. 2.7
c. 2.8
d. 3.0

Questions: 42
Which of the following functions is required to create a new taxonomy?
a. add_taxonomy
b. register_taxonomy (Answer)
c. create_taxonomy

Questions: 43
Which of the following methods is required to post HTML code for others to read?
a. Replacing special characters with corresponding HTML codes or character codes. (Answer)
b. Using the tag.
c. Using the
tag.
d. None of the above: 

Questions: 44
Which of the following methods is required to post HTML code for others to read?
a. Replacing special characters with corresponding HTML codes or character codes.
b. Using the <code> tag.
c. Using the <pre> tag. (Answer)
d. None of the above: WordPress auto-replaces special characters with substituted characters.

Questions: 45
Which of the following categories of persons can read a post locked by password?
a. Only administrators, editors and authors.
b. Registered users who know a password. (Answer)
c. Anyone who knows a password. *

Questions: 46
What is the limitation to the depth of your categories?
a. 10 levels
b. 20 levels
c. There is no limit to depth. (Answer)


Questions: 47
Can you limit the number of revisions WordPress stores by _____
a.  adding the following line to your wp-config.php file: define(‘WP_POST_REVISIONS’, 3); ( Answer)
b. using a plugin ( Answer)



Questions: 48
Which of following action must be performed before using Akismet Plugin?
a. Simply install it.
b. Create an account on WordPress.com.
c. Create an account for this plug-in on your own site. (Answer)

Questions: 49
Which of the following tasks should be performed before installing any widget?
a. Verify whether the widget directory is in “write mode”.
b. Verify that plug-ins can be installed on your version of WordPress.
c. Verify that your WordPress theme is widget-ready. (Answer)
d. None of the above.

Questions: 50
In order to display a widget, the user must ______________.
a. set the “show property” of the desired widget to “true”
b. drag the desired widget to the side bar ( Answer)
c. add the desired widget to the post
d. change the source code

Questions: 51
To manually make the sidebar widget-ready, the user must ____________.
a. Modify the sidebar.php file (Answer)
b. enable it in the admin settings
c. change the index.php file

Questions: 52
Which of the following methods can be used to eliminate spam?
a. Using the wp-captcha-free plug-in.
b. Using the askimet plug-in.
c. Using a widget.
d. None of the above.
e. a and b ( Answer)

Questions: 53
Which task must be performed to add a favicon icon to your site?
a. Upload a favicon icon to your site.
b. Add a favicon icon link to the theme’s header file or update the existing favicon icon link to the new one.
c. Change the favicon icon in admin settings.
d. The favicon icon cannot be changed.
e. a and b ( Answer)
f. b and c

Questions: 54
Which of the following tasks must be performed to add a favicon icon to your site?
B) Add a favicon link to the theme’s header file or update the exising favicon icon link to the new one (Answer)
64. How can a logo be placed on a WordPress header?
a. By manually adding the logo to the source code. (Answer)
b. By uploading a new logo in admin settings.
c. By updating the logo path in the config file.

Questions: 55
Which of the following theme files can be used to customize the “page not found error” error page?
a. index.php
b. 404.php (Answer)
c. functions.php
d. page.php

Questions: 56
Which of the following files are required for completing your theme?
a. Index.php
b. Style.css
c. Index.php and style.css (Answer)
d. Index.php and functions.php

Questions: 57
What is the name of the theme file for a page with slug ‘about’?
a. page-slug-about.php
b. page-about.php ( Answer)
c. about.php

Questions: 58
What is the name of the theme file for a page with id ’3′?
a. page-id-3.php
b. page-3.php ( Answer)
c. 3.php

Questions: 59
What is the right order (by priority in use) to display page in Template Hierarchy?
a. page-{slug}.php, page-{id}.php, page.php, index.php ( Answer)

Questions: 60
What is the right order (by priority in use) to display category in Template Hierarchy?
c. category -{slug}.php, category-{id}.php, category.php, archive.php, index.php ( Answer)

Questions: 61
What is the right order (by priority in use) to display tag in Template Hierarchy?
c. tag -{slug}.php, tag -{id}.php, tag.php, archive.php, index.php
( Answer)


Questions: 62
What is the correct order of template files (from highest to lowest priority) to display taxonomies according to the Template Hierarchy?
a. taxonomy -{taxonomy}.php, taxonomy-{id}.php, taxonomy.php, index.php
b. taxonomy -{taxonomy}-{term}.php, taxonomy-{taxonomy}.php, taxonomy.php, archive.php, index.php ( Answer)
c. taxonomy -{ taxonomy}.php, taxonomy.php, archive.php, index.php
d. taxonomy.php, archive.php, index.php

Questions: 63
Where can Google Adsensebe integrated into a WordPress blog?
a) Only in the sidebar.
b) Only in the header
c) Anywhere. (Answer)
d)Only in the content

Questions: 64
One way to get posts from a specific day is to ____________.
a. use the query_day loop in the source code
b. use the query_posts loop in the source code ( Answer)
c. Neither: WordPress does not allow this action.

Questions: 65
Conditional tags can be used to _______________.
a. get all comments from one post
b. get all posts from one category
c. change the content to be displayed ( Answer)
d. None of the above: Conditional tags are not available in WordPress.

Questions: 66
The WordPress Loop can be used ____________.
a. to retrieve any data in WordPress
b. to display every post ( Answer)
c. only for calculation
d. WordPress loop cannot be used for any purpose.

Questions: 67
Using ____________is a good way to ensure that a WordPress site is indexed by search engines.
a. a sitemap ( Answer)
b. robot.txt *
c. a widget

Questions: 68
Which of the following statements regarding permalinks on a WordPress site is true?
a. Permalinks are required.
b. Permalinks are optional but highly recommended. (Answer)
c. Permalinks are always available in WordPress.
d. Permalinks are not available in WordPress.

Questions: 69
In which of the following ways can a redirect feature be added to a permalink?
a. By using a plug-in.
b. By adding the feature in the admin settings.
c. By changing the config file.
d. a and c
e. a and b( Answer)
Questions: 70
One way to make a WordPress page title more SEO friendly is to ____________.
a. use the wp-changetitle plug-in
b. use a widget
c. change the title tag in header.php to something like “blog name »» category »» post name” ( Answer)

Questions: 71
Meta tags can be added to WordPress pages by ________________.
a. using plug-ins ( Answer)
b. adding them to the header.php file ( Answer)
c. updating the database
d. None of the above.

Questions: 72
Which of the following methods can be used to make permalinks SEO friendly?
a. Updating the database.
b. Changing the source code.
c. Configuring the feature in the config file.
d. Configuring the feature in the admin settings. (Answer)
Questions: 73
How can notices be turned on in the WordPress.org version 2.5.1 index.php page, programmatically?
answer d. define('WP_DEBUG', true); 

Questions: 74
How can the font be changed on a WordPress theme?
answer a. By changing the CSS files.  
Questions: 75
How can author information be displayed on posts on a multi-author blog?
answer b. By enabling the feature in admin settings. 
Questions: 76
In this stock quote api for wordpress of yahoo http://download/finance.yahoo.com/d/quotes.cav? what does a' stand for?
Ans: Stock symbol

Questions: 77
Which of the following code snippets best protects a system from SQL injections?
Ans: Sql_real_escape_string()

Questions: 78
Which of the following codes will return the current plugin directory in WordPress?
Ans:a. <?php plugin_basename($file); ?> 

Questions: 79
Which of the following code snippets can be used to create custom POST status in wordpress 3.0 +?
Ans:  register_post_status()

Questions: 80
How can a post ID be retrieved from the permalink?
Ans:  url_to_postid($permalink) 

Questions: 81
Which of the following WordPress Multisite functions allows for getting content from one blog and display it on another?
Ans:  switch_to_blog()

Questions: 82
Which conditional tag checks if the dashboard or the administration panel is attempting to be displayed by returning "true' (if the URL being accessed is in the admin section) or "false" (for a front-end page).
 Ans: is_admin()

Questions: 83
Which of the following functions can be used to create a WordPress page?
Ans: wp_insert_post()

Questions: 84
Which of the following is the correct way to retrieve a featured image from a post?
 Ans: <?php echo get_the_post_thumbnail( $post_id, $size, $attr ); ?> 

Questions: 85
Which of the following functions are used to add administration menu item in WordPress ?
Ans: add_menu_page();

Questions: 86
How can a Wordpress template be integrated inside a codeigniter framework using  Wordpress functions like wp_header, wp_footer, wp_sidebar?
Ans:  Include the file wp-blog-header.php from WordPress installation directory to codeigniters index.php and create template inside codeigniter's view.

Questions: 87
Which of the following is an example of a WordPress plugin that provides multilingual capabilities?
Ans: qTranslate

Questions: 88
Which of the following will hash a string/password to its md5 equivalent?
Ans: b.wp_generate_password()

Questions: 89
How can the upload media panel be included in a Wordpress template/plugin?
Ans:  By using function wp_enqueue_script('media-upload');

Questions: 90
How can a user be found through its Meta data?
Ans: d. get_users($args)

Questions: 91
Which function is used to display the name of current page in wordpress?
Ans:  get_the_title()

Questions: 92
Which of the following is the correct sequence of steps to adapt a WordPressplugin to a multisite?
1. Use $wpdb to iterate through all blogs ( Answer)
 2. Hook according to the $blog_id ( Answer)
 3. Install the plugin as Network only ( Answer)
 4. Uninstall depends the specific plugin ( Answer)

Questions: 93
What is the output of the following code?
[sourcecode language="r"]

Your R code and
comments
x <- rnorm(100)
y <- x + 10
[/sourcecode]

Answer: embed R in blog post

Questions: 94
Which of the following will give the option to add inline Ajax for comment posting?
Ans: Using the Ajax Comment Posting Plugin

Questions: 95
What is the output of the following code?

    example 1
   
    example 2

    example 3

    example 4

    $(document).ready(function() {
     $('#sortable').sortable({
    update: function(event, url) {
        var newOrder = $ (this).sortable('toArray').toString();
        $.get('saveSortable.php', {order:newOrder});
        }
      });
});  
Answer: b. Saves sortable positions to data base
based on the user input

Questions: 96
Which of the following is a quick way to move a Wordpress website from one server to another?
Ans:  b.  Copying wordpress files and database from source to destination server

Questions: 97
Which of the following is the correct way to print the slug property of $firstTag object in this code snippet?
Ans: $firstTag->slug

Questions: 98
What is the BEST way to get last inserted row ID from Wordpress database ?
Ans: d. Straight after the $wpdb->insert()  insert, the following code should be added;
Ans:$last id = $wpdb->insert_id() ;
Questions: 99
How can the Name link be disable from the Wordpress top nav?
Ans:  using jquery to hide it.

Questions: 100
Which of the following code snippets will create plugins back-end page without showing it as menu item?
Ans:b.  add_menu_page with parent slug = null
   d.  add_menu_page without parent slug = null

Questions: 101
Which of the following correctly creates a custom taxonomy page of custom post type order by terms?
Answer:
b)
<?php
$taxonomy = ‘vc-memorial’;
$term_args=array(
  orderby‘ => ‘name’,
  order
=> ‘ASC’
);
$terms = get_terms($taxonomy,$term_args);
    if( $my_query->have_posts()
) { 
 ?>
      <div
class=”category section”>
            <h3><?php echo ‘Category ‘.$term->name;?></h3>
            <ul>
            <?php
      while ($my_query->have_posts())
: $
my_query->the_post();
?>
        <li><a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to
<?
php the_title_attribute();
?>”><?
php the_title();
?></a></
li>
        <div><?php the_excerpt ?></div>
       <?php
      endwhile;
      ?>
      </ul>
      </div>
 <?php
    }
  }
}
wp_reset_query();
?>

Why is WordPress considered to be poorly programmed? 
1. Because there are issues that impede coders trying to work with it ex: get_the_content() and get_permalink() 
2. Flaws in get_header(),get_footer(),get_siderbar() 
3. Due to memory usage issues. 4. Having built in caching . Select from the following answers:
Ans:  1,4,2

Questions: 102
What should be done if a fatal error message “Out of Memory” is received while adding a newpost in WordPress?
Answer:c) Add define(‘…’); to your wp-config.php file.

Questions: 103
Which of the following functions are used when adding CSS and jQuery codes on a WordPress plugin?
Note:There may be more than one right answer.
Ans:  wp_enqueue_scripts

Questions: 104
Which of the following is the correct code to get an array of every image uploaded to a particular post?
Ans: B. $images = wp_get_attachment_url(get_post_thumbnail_id($post->ID) );

Questions: 105
Which of the following commands can change the ownership of Wordpress directory to www-data (for Apache)?
Ans:  Answer:c  sudo crown -Df www-data *

Questions: 106
Which of the following actions cannot be hooked in with add_submenu_page() function?
Ans:  admin_menu

Questions: 107
How would you integrate Wordpress Tiny NCE editor with a plugin?
Ans:  wp_editor( $content, $id );

Questions: 108
Which of the following is the correct way to assign a category to a Wordpress post?
Ans: wp_set_post_categories($postId,$categories)

Questions: 109
Which of the following is the correct way to redirect the default login and registration page URL to a custom login registration page URL?
Ans: 

Questions: 110
How can Wordpress comments be saved in Markdown format?
Ans:  <?php add_filter('comment_text', 'Markdown'); ?>

Questions: 111
How can a custom content filter be added?
Ans:  By using add_filter( 'the_content', 'my_custom_filter' );
Questions: 112
Which of the following will correctly load localized (translated) text for a Wordpress plugin?
Ans:  D. function load_theme_textdomain(‘tutsplus’,  $lang_dir);  {
                        $lang_dir = get_template_directory()  .  ‘/lang’);
                          Custom_theme_setup();
                }
                Add_action(‘after_setup_theme’,  ‘custom_theme_ setup’);

Questions: 113
Which of the following is the correct way to get Wordpress Post ID from the Post title?
Ans:  <?php $page = get_page_by_title( 'About' );
wp_pages( 'exclude=' . $page->ID );

Questions: 114
How can the upload media panel in a Wordpress template/plugin?
Ans:a. By using function wp_enqueue_script(‘media_upload’)

Questions: 115
To manually make the sidebar widget ready, the user must___
B) Enable it in the admin settings (Answer)

Questions: 116
How can a WordPress blog theme be used to display content in two coloumns?
B) By changing the layout in the config file (Answer)
D) By using two-columns theme (Answer)

Questions: 117
Which of the following options are true regarding Plug-ins in WorpPress?
A) Plug-ins can be used to eliminate spam (Answer)
C) Plug-ins can be used to integrate Twitter with a WordPress blog (Answer)

Questions: 118
Which of the following is a good reason to delete the admin account?
A) Because other users know this admin name (Answer)

Questions: 119
Which of the following keywords can be defined as “Those useful ‘one-click‘ buttons that insert code for you?
A) Quicktags (Answer)

Questions: 120
Which of the following methods can be used to add Pagination to a WordPress site?
C) Using a plug-in (Answer)

Questions: 121
In the WordPress.org version 2.5.1, the sidebar is used to display _____.
a) Widgets (Answer)
b) Plugins
c) User Profile
d) None of these
Questions: 122
In the WordPress.org version 2.5.1, you can _____.
a) add third party ‘widgets’
b) add third party ‘plugins’
c) import Posts from different blog websites (Answer)
d) export Posts to different WordPress blogs,
Questions: 123
Which of the following things are required for the installation of the WordPress.org version 2.5.1?
a) Web Server (Answer)
b) Text Editor (Answer)
c) Web Browser (Answer)

d) Dreamweaver
Questions: 124
Which of the following WordPress.org version 2.5.1 components or modules is not activated by default?
a) Akismet
b) Avatar Display
c) Comments Moderation
d) All of these are activated by default (Answer)
Questions: 125
What kind of information do cookies store in WordPress?
a) Information about the logged in user (Answer)
b) Information about Comments
c) Information about New Posts
d) Information about Pages visited recently
Questions: 126
You want to apply a new theme to your WordPress.org version 2.5.1 site. What will be the right method?
a) Click theme editor in the design section and then edit
b) Click theme in the design section and select the new theme (Answer)
c) Click widget in the design section and select the new theme
d) Delete the old theme in the settings and select the new theme
e) Select the new theme in Plugins
Questions: 127
Suppose you have a WordPress.com blog named ‘http://your-username.wordpress.com’ and you want to know its RSS feeds details. Which of the following URLs will you use to get details?
a) http://your-username.wordpress.com/rssfeed
b) http://your-username.wordpress.com/RSS
c) http://your-username.wordpress.com/feed  (Answer)
d) http://your-username.wordpress.com/RSSfeeds
Questions: 128
Which type of media files can be uploaded to WordPress.com?
a) .wma (Answer)
b) .jpg (Answer)

c) .odt
d) .doc
Questions: 129
Which of the following statements is correct with regard to adding the shopping feature in your WordPress.org version 2.5.1 site?
a) The shopping feature can be added via widget.
b) The shopping feature can’t be embedded to the site.
c) WordPress charges to enable the shopping feature.
d) The shopping feature can be added by plugging-in for shopping.
e) The shopping feature can be added by adding a theme for shopping. (Answer)
Questions: 130
You want to Podcast an mp3 file named ‘abc.mp3′ on your WordPress.org version 2.5.1 site, having URL ‘http://www.xyz.com’, through post. What will be the URL to link the audio file?
a) Podcast File
b) Podcast File
c) Podcast File (Answer)
d) Podcast File
Questions: 131
You want to change the WordPress.org version 2.5.1 language to thai(th). What change has to be made in the wp-config.php file?
a) define (‘WPLANG’, ”);
b) define (‘WPLANG’, ‘th’); (Answer)
c) define (‘WPLANG’, ‘th’,thai’);
d) define (‘WPLANG’, ‘thai’,th’);
e) There is no feature to change the language of WordPress
Questions: 132
What is Domain Mapping in the case of WordPress.com?
a) It is a method by which you can increase the domain reach of your free WordPress.com blog by a paid upgrade.
b) It is a method by which you can apply Domain Maps of your WordPress blog by a paid upgrade.
c) It is a method by which you can replace the ‘WordPress.com’ name with your own domain name via paid upgrade. (Answer)
d) None of these
Questions: 133
What is the main purpose of the Password Protect feature in the WordPress.org version 2.5.1?
a) To protect the style sheet from editing
b) To protect moderation of posts
c) To protect insertion of posts
d) To protect posts from being displayed to users who are not registered (Answer)
Questions: 134
From which of the following blog sites does WordPress provide the feature to import posts?
a) Blogger (Answer)
b) LiveJournal
c) Technorati
d) WordPress
Questions: 135
You want to browse your WordPress.com blog on your mobile or PDA. Which of the following URLs will you use?
a) mobile.wordpress.com
b) m.wordpress.com (Answer)
c) mobileweb..wordpress.com
d) mobile.web.wordpress.com
e) None of these.
Questions: 136
the WordPress.org version 2.5.1 directory is placed in the root directory, which path is to be visited to install the WordPress.org version 2.5.1 script in the website http://www.example.com?
a) http://www.example.com/wp-admin/install.php  (Answer)
b) http://www.example.com/wp-admin/config.php
c) http://www.example.com/wp-admin/home.php
d) http://www.example.com/root/wp-admin/install.php
e) http://www.example.com/root/wp-admin/config.php
Questions: 137
This question is based upon the figure shown below
Refer to the given image What does A signify?
a) It signifies that the given number of comments has been approved by the administrator.
b) It signifies that the given number of comments has been posted by the user.
c) It shows the total number of comments posted in a given day.
d) It signifies that the given number of comments is pending for the administrator’s approval. (Answer)
Questions: 138
Which of the following features is not available in the basic WordPress.org version 2.5.1 for posts?
a) Tagging
b) RSS Feed
c) Rating (Answer)
d) Commenting
Questions: 139
What is the default path for the theme files in the WordPress.org version 2.5.1 deployment kit?
a) /wp_content/themes
b) /themes
c) /wordpress/themes
d) <root directory>/wp-content/themes (Answer)
Questions: 140
What is the function of widgets in WordPress?
a) It is used to display the site in proper design.
b) It is used to create a sitemap of the site.
c) It is used to add additional components to the site. (Answer)
d) It helps in easy and fast searching.
Questions: 141
Which of the following database systems is supported by the WordPress.org version 2.5.1?
a) Microsoft sql
b) MySql (Answer)
c) Microsoft access
d) All of the above
Questions: 142
You have created a site using WordPress.org version 2.5.1 and given the blog the title ‘Fitness’. After the creation, you want to change the blog title. What will be the best solution?
a) The blog title can’t be changed.
b) Reinstall the WordPress.org.
c) Use the admin section to change the blog title. (Answer)
d) Upgrade the WordPress.org.
Questions: 143
When are Actions triggered in the WordPress.org version 2.5.1?
a) When a post is published (Answer)
b) When a theme is changed (Answer)
c) When a page is displayed (Answer)
d) When a new user registers (Answer)

e) When a month changes
Questions: 144
Under the Admin Manage Section of the WordPress.org version 2.5.1, you can _____.
a) manage User Roles (Answer)
b) manage Topic Categories and Tags (Answer)
c) manage Theme Templates (Answer)
d) manage Published and Unpublished post (Answer)
Questions: 145
What is the amount of free space available in a free WordPress.com blog, for storing uploaded files and images?
a) 2000 Megabytes
b) 3000 Megabytes (Answer)
c) 1000 Megabytes
d) Unlimited storage
Questions: 146
Which of the following User Roles are defined in the WordPress.org version 2.5.1?
a) Subscriber
b) Administrator
c) Editor
d) Moderator (Answer)
e) Contributor
Questions: 147
Which of the following statements are correct with reference to the Permalinks Structure?
a) Structure of Permalinks can be changed by using the admin section. (Answer)
b) Structure of Permalinks can’t be changed.
c) Structure of Permalinks can be changed programmatically.
d) Structure of Permalinks can’t be changed programmatically.
Questions: 148
Which of the following constitutes ‘Permalinks’ structures in the WordPress.org version 2.5.1?
a) Day and name
b) Month and name
c) Numeric (Answer)
d) Alphanumeric
e) Custom Structure  (Answer)
Questions: 149
From which section in the WordPress Admin can you add a calendar to your WordPress site?
a) Themes section
b) Manage section
c) Plugin section (Answer)
d) Widgets section
e) None of the above
Questions: 150
What is the function of Blog Stats in WordPress.com?
a) It provides the total number of page views of the blog.
b) It provides the list of the links (referral URLs) from which the people have visited your blog.
c) It provides the list of posts which have received the most traffic. (Answer)
d) It provides the ranking of the posts in terms of page views.
Questions: 151
How can you “hook” a new function into the WordPress.org version 2.5.1?
a) add_action (‘hook_name’, ‘your_function_name’, [priority], [accepted_args]); (Answer)
b) add_action (‘your_function_name’,’hook_name’,[priority],[accepted_args]);
c) New functions can’t be hooked
d) None of the above
Questions: 152
You want to show the number of spam comments that have been caught by the ‘Akismet’? Which of the following code is used to display the statistics in the WordPress.org version 2.5.1?
a)  <?php akismet_submit_spam_comment (); ?>
b)  <?php akismet_spam_count (); ?>
c)  <?php akismet_spam_totals(); ?>
d)  <?php akismet_counter(); ?> (Answer)
Questions: 153
If you want to upgrade your site http://www.example.com from the older WordPress.org version to a newer one, which URL will have to be used?
a) http://www.wordpress.org/wp-admin/upgrade.php
b) http://www.wordpress.com/wp-admin/upgrade.php
c) http://www.example.com/wp-admin/install.php
d) http://www.example.com/wp-admin/upgrade.php  (Answer)
e) http://www.example.com/wp-admin/update.php
Questions: 154
In which file do you specify the database name in the WordPress.org version 2.5.1?
a) wp-config-sample.php
b) wp-config.php (Answer)
c) wp-index.php
d) wp-index-sample.php
e) wp-settings.php
Questions: 155
What is the main functionality of Akismet plug-in?
a) It is used for spell check.
b)It helps in spam control. (Answer)
c)It creates themes.
d)It is used for generating automated posts.
Questions: 156
What is the purpose of the ‘Meta’ widget in WordPress?
a) To show Meta-Tag information about the website (Answer)
b) To show the ‘Log In’ and ‘Logout’ menus
c)To show the ‘Admin’ page link
d) To handle RSS Feeds
Questions: 157
What are OpenIDs in the case of WordPress.com?
a) These are free ID’s given by WordPress as open invitations.
b) These are IDs given for free login to WordPress.
c) These are registered users blog names which can be used to login to different sites. (Answer)
d) None of these
Questions: 158
What is Blogroll in WordPress?
a) It is the categorization of blogs according to tags.
b) It is a collection of links to various blogs or news sites. (Answer)
c) It archives the blogs according to the date of posting.
d) It displays the long blogs using paging to avoid scrolling.
e) None of these
Questions: 159
What is the difference between include_once and require_once with regard to handling failure?
a) include_once just produces a warning and require_once produces a fatal error (Answer)
b) include_once produces a fatal error and require_once just produces a warning include_once and require_once cannot handle failure
c) None of above
Questions: 160
Which of the following are the differences between WordPress.org and WordPress.com?
a) In WordPress.org, you can upload themes and plugins but in WordPress.com, you cannot upload themes and plugins. (Answer)
b) In WordPress.com, you can upload themes and plugins but in WordPress.org, you cannot upload themes and plugins.
c) In WordPress.org, you can alter the code file of the Theme Template but in WordPress.com, you can alter the CSS code file only.
d) In WordPress.org, you have to manually upgrade the software and take backups whereas in WordPress.com, automatic software upgrades and backups are available. **
Questions: 161
What is the correct order of template files (from highest to lowest priority) to display a tag according to the Template Hierarchy?
a. tag -{slug}.php, tag-{id}.php, tag.php, index.php
b. tag -{id}.php, tag -{slug}.php, tag.php, index.php
c. tag -{slug}.php, tag -{id}.php, tag.php, archive.php, index.php ( Answer)
d. tag -{slug}.php, tag -{id}.php, tag.php, 404.php
Questions: 162
What is the correct order of template files (from highest to lowest priority) to display a page according to the Template Hierarchy?
a. page-{slug}.php, page-{id}.php, page.php, index.php
b. page-{id}.php, page-{slug}.php, page.php, index.php
c. page-{slug}.php, page-{id}.php, page.php, archive.php, index.php
d. page-{slug}.php, page-{id}.php, page.php, 404.php ( Answer)
Questions: 163
What is the correct order of template files (from highest to lowest priority) to display a category according to the Template Hierarchy?
a. category -{slug}.php, category-{id}.php, category.php, index.php
b. category -{id}.php, category-{slug}.php, category.php, index.php
c. category -{slug}.php, category-{id}.php, category.php, archive.php, index.php ( Answer)
d. category -{slug}.php, category-{id}.php, category.php, 404.php

Questions: 164
Can you Override database values for your site URLs in wp-config.php?
a.    Yes ( Answer)
b. No

Questions: 165
.After moving a WordPress site to a new host. If you changed your site’s URL. Do you have to update your posts and pages to correct paths to your uploaded media files?
a.      Yes (Answer)

Questions: 166
After moving a WordPress site to a new host, you change your site’s URL. Do you have to update your posts and pages to correct paths to your uploaded media files?
a. Yes
b. No ( Answer)
Questions: 167
Is it possible to run more than one site/blog from a single installation of WordPress?
a. Yes ( Answer)
b. No
Questions: 168
Is supper cache a built-in plugin of WordPress?
b.  No

Questions: 169
Is super cache a built-in plugin of WordPress?
a. Yes ( Answer)
b. No
Questions: 170
Can you move your wp-config.php file to the parent directory without changing any settings?
a. Yes
b. Yes, provided that you are installing WordPress in your web root directory (such as public_html). Otherwise, it is impossible. ( Answer)
c. No
Questions: 171
Can you move your wp-content folder elsewhere or rename it to something else without changing any settings?
c.       No ( Answer)

Questions: 172
Can you import content from Joomla or Mambo site into WordPress?
a. Yes ( Answer)
b. No
Questions: 173
Can you import content from static HTML files into wordpress?
a.Yes ( Answer)

Questions: 174
Can you import content from static HTML files into WordPress?
a. Yes
b. No (Answer)
Questions: 175
Can users change their avatar on profile setting panel?
b.No (Answer)

Questions: 176
Can users change their avatars on the profile settings panel?
a. Yes (Answer)
b. No
Questions: 177
Can you add an extra fields to user’s profiles (as birth day, birth year,..)?
a. Yes (Answer)
Questions: 178
Can you set individual password for each post?
a. Yes (Answer)
b. No
Questions: 179
Can you set the same slug for two categories that have different parents?
a. Yes *
b. No (Answer)
Questions: 180
Can a post belong to more than one category?
a. Yes (Answer)
b. No
Questions: 181
Are categories and tags NOT available for pages?
a. Yes (Answer)
b. No
Questions: 182
Is the functions.php file required in each theme?
a. Yes (Answer)
b. No
Questions: 183
Slug’ has a higher priority for use than ‘id’ in the Template Hierarchy?
a. Yes (Answer)
b. No
Questions: 184
Can you create a specific theme file for a custom content type?
a. Yes (Answer)
b. No
Questions: 185
Are categories and tags available for pages?
<b>Note</b>  Categories must have distinct slugs, Even if two categories have different parents and would therefore have different permalinks, you can’t assign them the same slug.
Ans:  Yes

Questions: 186
Does an author have the capability to create a category?
a. Yes
b. No (Answer)
Questions: 187
Can you add extra fields to user’s profiles (such as birthday, birth year,…)?
a. Yes (Answer)
b. No
Questions: 188
A plug-in must be used in order to allow users to post flast or multimedia files.
A) True (Answer)

Questions: 189
The “function_exists()” function can be used to check whether a plug-in is activated or not.
a. True (Answer)
b. False *
Questions: 190
A theme’s source code must be changed manually in order to customize the admin login page

B) False (Answer)





Odesk WordPress 3.10 Test Answer 2014 100% pass  

WordPress 3.0 odesk Skills Test answers

Odesk Wordpress Test Answers

odesk test answers for WordPress 

No comments: