oDesk Wordpress Test Answers-2014

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


Which of the following code snippets best protects a system from SQL injections?

Ans: Sql_real_escape_string()


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


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


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


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


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()


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


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 ); ?> 


Which of the following methods can be used to make permalinks SEO friendly?
 Ans:D) Configuring the features in the admin settings (Answer)


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


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.


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


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


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


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


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

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


Which of the following role levels has the highest privilege?
 
Ans: b. Level_10

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

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


Which of the following will give the option to add inline Ajax for comment posting?

Ans: Using the Ajax Comment Posting Plugin


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


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



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


Is super cache a built-in plugin of Wordpress?
Ans: No


One possible way to collect real-time statistics about traffic to a WordPress site is to …………..

Ans:a) use a built-in tool
         b) use a plug-in
         c) use a widget
         d) None of the above


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


Meta tags can be added to WordPress pages by ________________.
Ans:  a) using plug-ins


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() ;


What is the first action you need to take for enabling WordPress MU feature?

Ans: c.       Add this code to wp-config.php file: define( 'WP_ALLOW_MULTISITE', true );


User Level 7 converts to _________?
 Ans:User Level 7 converts to Editor


How can the Name link be disable from the Wordpress top nav?
Ans:  using jquery to hide it.
 

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


A possible way to allow the display of several authors' names on one post is to ______
Ans:  Use a plug-in


On which of the following databases can WordPress be installed by default?
Ans:  MySQL


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


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.


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


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) );


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


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 *


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


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


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

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: 

_____________ can publish, edit, and delete their own posts. They cannot write pages. They can upload some kinds of media files, and they are allowed to use only the limited set of HTML tags.
 Ans: b, Author



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



Which of the following methods can be used to make permalinks SEO friendly?
Ans: Configuring the feature in the admin settings.


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


How can a custom content filter be added?
Ans:  By using add_filter( 'the_content', 'my_custom_filter' );


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’);



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 );


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


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


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


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


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


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?
b.  Install “wp database backup” plug-in.
Which of the following actions must be performed before upgrading WordPress?
f.   a, b, and c

Which of the following files must be deleted after installing WordPress?
d.   None of these files.

A possible way to install WordPress in your language is to _________________.
a.   manually install language package or translate as necessary

Which of the following actions must you perform to move your site from “/wordpress” to “/blog/wordpress”?
c. Update the database.

On which of the following databases can WordPress be installed by default?
a.  MySQL

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

Can you Override database values for your site URLs in wp-config.php?
a. Yes

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

Is it able to run more than one site/blog from a single installation of WordPress?
a. Yes

What is the first action you need to take for enabling WordPress MU feature?
c.  Add this code to wp-config.php file: define( ‘WP_ALLOW_MULTISITE’, true );

Which of the following actions must be performed before enabling the Network feature?
b.  Deactive your plugins

Is supper cache a built-in plugin of WordPress?
b.  No

After how many times did you enter an invalid password, your IP Address would be locked?
e.  no limit

Super Cache compression can cause problems if your server is _______
c.  already compressing output using mod_deflate (on Apache) or PHP compression 

Can you choose your username during the installation process from which version?
c.    3.0

Can you move your wp-config.php file to the parent directory without changing any settings?
b.  Yes, provided that you are installing WordPress in your web root directory (such as public_html). Otherwise, it is imposible.

Can you move your wp-content folder elsewhere or rename it to something else without changing any settings?
b.   No

A possible way to collect real-time statistics about traffic to a WordPress site is to:
b.use a plug-in

How can the use of html code in comments be disabled?
c.By changing the theme’s source code.

The date/time format of a WordPress site can be changed in __________________.
b.admin settings

_________________ is a good way to improve the performance of a WordPress blog.
c.Installing the “wp super cache” plug-in

Which of the following blog sites can be imported into WordPress?
d.Opera

Which of the following actions must be performed to import data from WordPress.com?
c.   Login wordpress.com, then export data by export tool, and import a exported xml file to your site.
Which of the following data can you import from Blogger site?
c.Posts, comments, and users

Can you import content from joomla or mambo site into wordpress?
a.Yes

Can you import content from static HTML files into wordpress?
a.Yes

Which of the following actions must be fixed after importing data into wordpress?
d.   All of above data

Can users change their avatar on profile setting panel?
b.No

A plug-in must be used in order to allow users to post flast or multimedia files.
A) True
The “function_exist()” function can be used to check whether a plug-in activated or not?
A) True
To manually make the sidebar widget ready, the user must___
B) Enable it in the admin settings
A theme’s source code must be changed manually in order to customize the admin login page
B) False
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
How can a WordPress blog theme be used to display content in two coloumns?
B) By changing the layout in the config file
D) By using two-columns theme
Which of the following options are true regarding Plug-ins in WorpPress?
A) Plug-ins can be used to eliminate spam
C) Plug-ins can be used to integrate Twitter with a WordPress blog
How can a logo be placed on a WordPress header?
A) Manually add the logo to the source code
Which of the following is a good reason to delete the admin account?
A) Because other users know this admin name
Which of the following keywords can be defined as “Those useful ‘one-click‘ buttons that insert code for you?
A) Quicktags
Which of the following methods can be used to add Pagination to a WordPress site?
C) Using a plug-in
Which of the following methods can be used to enable posting via e-mail?
B) Configuring the feature in admin settings


Q1. In the WordPress.org version 2.5.1, the sidebar is used to display _____.
a) Widgets
b) Plugins
c) User Profile
d) None of these
Q2. 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
d) export Posts to different WordPress blogs,
Q3. Which of the following things are required for the installation of the WordPress.org version 2.5.1?
a) Web Server
b) Text Editor
c) Web Browser
d) Dreamweaver
Q3. In the WordPress.org version 2.5.1, there is a feature known as ‘Update Services’ which notifies site update services whenever a new post is published or whenever the blog is updated. Which of the following is the default update service in the WordPress.org version 2.5.1?
a) http://ping.feedburner.com
b) http://rpc.weblogs.com/RPC2
c) http://www.blogoole.com/ping/
d) http://rpc.pingomatic.com/
e) None of these
Q4. In the case of a free WordPress.com blog, the number of users that can be invited by a registered user is?
a) 30
b) 35
c) 40
d) 45
e) Unlimited
Q5. 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
Q6. What kind of information do cookies store in WordPress?
a) Information about the logged in user
b) Information about Comments
c) Information about New Posts
d) Information about Pages visited recently
Q7. 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
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
Q8. 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
d) http://your-username.wordpress.com/RSSfeeds
Q9. Which type of media files can be uploaded to WordPress.com?
a) .wma
b) .jpg
c) .odt
d) .doc
Q10. You have forgotten your admin password for the WordPress.org version 2.5.1. Which of the following methods can be used to recover/reset the password?
a) By using the Lost password link on the login page
b) By using the MySQL Command Line
c) By entering the WordPress API key
d) By using the emergency password reset script
e) By editing the wp-config.php file
Q11. 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.
Q12. 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
d) Podcast File
Q13. 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’);
c) define (‘WPLANG’, ‘th’,thai’);
d) define (‘WPLANG’, ‘thai’,th’);
e) There is no feature to change the language of WordPress
Q14. 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.
d) None of these
Q15. 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
Q16. From which of the following blog sites does WordPress provide the feature to import posts?
a) Blogger
b) LiveJournal
c) Technorati
d) WordPress
Q17. 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
c) mobileweb..wordpress.com
d) mobile.web.wordpress.com
e) None of these.
Q18. 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.
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.
Q19. In the WordPress.org version 2.5.1, a private post created by the administrator is also visible to the?
a) contributor
b) author of that post
c) subscriber
d) editor
Q20. In WordPress, you can also set the publication date of the post to?
a) A future date
b) A past date
c) Both a and b
d) You cannot change the publication date
Q21. If 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
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
Q22. 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.
Q23. 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
d) Commenting
Q24. 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) /wp-content/themes
Q25. 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.
d) It helps in easy and fast searching.
Q26. Which of the following database systems is supported by the WordPress.org version 2.5.1?
a) Microsoft sql
b) MySql
c) Microsoft access
d) All of the above
Q27. 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.
d) Upgrade the WordPress.org.
Q28. When are Actions triggered in the WordPress.org version 2.5.1?
a) When a post is published
b) When a theme is changed
c) When a page is displayed
d) When a new user registers
e) When a month changes
Q29. Under the Admin Manage Section of the WordPress.org version 2.5.1, you can _____.
a) manage User Roles
b) manage Topic Categories and Tags
c) manage Theme Templates
d) manage Published and Unpublished post
Q30. 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
c) 1000 Megabytes
d) Unlimited storage
Q31. Which of the following User Roles are defined in the WordPress.org version 2.5.1?
a) Subscriber
b) Administrator
c) Editor
d) Moderator
e) Contributor
Q32. 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.
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.
Q33. 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
d) Alphanumeric
e) Custom Structure
Q34. 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
d) Widgets section
e) None of the above
Q35. 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.
d) It provides the ranking of the posts in terms of page views.
Q36. 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]);
b) add_action (‘your_function_name’,’hook_name’,[priority],[accepted_args]);
c) New functions can’t be hooked
d) None of the above
Q37. 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(); ?>
Q38. 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
e) http://www.example.com/wp-admin/update.php
Q39. 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
c) wp-index.php
d) wp-index-sample.php
e) wp-settings.php
Q40. What is the main functionality of Akismet plug-in?
a) It is used for spell check.
b)It helps in spam control.
c)It creates themes.
d)It is used for generating automated posts.
Q41. What is the purpose of the ‘Meta’ widget in WordPress?
a) To show Meta-Tag information about the website
b) To show the ‘Log In’ and ‘Logout’ menus
c)To show the ‘Admin’ page link
d) To handle RSS Feeds
Q42. 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.
d) None of these
Q43. 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.
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
Q44. 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
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
Q45. Where can Google Adsensebe integrated into a WordPress blog?
a) Only in the sidebar.
b) Only in the header
c) Anywhere.
d)Only in the content.

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?
b.  Install “wp database backup” plug-in.


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

3. Which of the following files must be deleted after installing WordPress?

d.   None of these files.

4. A possible way to install WordPress in your language is to _________________.

a.   manually install language package or translate as necessary

5. Which of the following actions must you perform to move your site from “/wordpress” to “/blog/wordpress”?
c. Update the database.

6 .On which of the following databases can WordPress be installed by default?
a.  MySQL

7. WordPress’s requirements are modest. At minimum, your server should support:
b. PHP version 4.3 or greater, MySQL version 4.0 or greater

8. Can you Override database values for your site URLs in wp-config.php?
a. Yes
9 .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

10. Is it able to run more than one site/blog from a single installation of WordPress?
a. Yes

11. What is the first action you need to take for enabling WordPress MU feature?
c.  Add this code to wp-config.php file: define( ‘WP_ALLOW_MULTISITE’, true );

12. Which of the following actions must be performed before enabling the Network feature?
b.  Deactivate your plugins

13. Is supper cache a built-in plugin of WordPress?
b.  No

14. After how many times did you enter an invalid password, your IP Address would be locked?
e.  no limit

15 .Super Cache compression can cause problems if your server is _______
b.      already compressing output using mod_deflate (on Apache) or PHP compression (zlib)

16. Can you choose your username during the installation process from which version?
c.    3.0

17. Can you move your wp-config.php file to the parent directory without changing any settings?
b.  Yes, provided that you are installing WordPress in your web root directory (such as public_html). Otherwise, it is impossible.

18 .Can you move your wp-content folder elsewhere or rename it to something else without changing any settings?
c.       No

19. A possible way to collect real-time statistics about traffic to a WordPress site is to:
b.use a plug-in

20 How can the use of html code in comments be disabled?
c.By changing the theme’s source code.

21.  The date/time format of a WordPress site can be changed in __________________.
b.admin settings

22 _________________ is a good way to improve the performance of a WordPress blog.
c.Installing the “wp super cache” plug-in

23. Which of the following blog sites can be imported into WordPress?
d.Opera


24.  Which of the following actions must be performed to import data from WordPress.com?
c.   Login wordpress.com, then export data by export tool, and import a exported xml file to your site.

25 Which of the following data can you import from Blogger site?
c.Posts, comments, and users

26. Can you import content from joomla or mambo site into wordpress?
a.Yes

27 Can you import content from static HTML files into wordpress?
a.Yes

28 Which of the following actions must be fixed after importing data into wordpress?
d.      All of above data

29.  How many built-in user roles does WordPress have?
Note: they are “Administrator”, “Editor”, “Author”, “Contributer” and “Subscriber”

30.  Can users change their avatar on profile setting panel?
b.No

31.  Can you add an extra fields to user’s profiles (as birth day, birth year,..)?
a. Yes

32.  ____________ 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.
Administrator

33 ____________ can publish, edit, and delete posts and pages written by any user. They can upload some kinds of files, and they can write HTML without restrictions. They can manage links and categories, and they can moderate comments. Editors and administrators are also the only users allowed to read private posts and pages.
Editor

34_____________ can publish, edit, and delete their own posts. They cannot write pages. They can upload some kinds of media files, and they are allowed to use only the limited set of HTML tags.
Author

35 ____________ can write their own posts but may not publish or delete them. Their HTML is limited to the set of allowed tags and they cannot upload media files.
Contributor

36 ____________ can manage their own profiles, but can do virtually nothing else in the administration
area.

37. User Level 0 converts to …
Subscriber

38. User Level 1 converts to …
a. Contributor

39.User Level 3 converts to …
Author

40.User Level 7 converts to …
Editor

41. User Level 10 converts to …
Administrator

42. Which of the following role levels has the highest privilege?
b.  Level_10

43 .Does author have the ability to create a category?
b.  No

44 . A possible way to allow the display of several authors’ names on one post is to ______
e.       use a plug-i

45. Which of the following methods can be used to enable posting via e-mail?
b.  Configuring the feature in admin settings.


46.Image size limits can be set _______________.
c.  in the admin settings


47. A taxonomy is a _______
c. group of terms

48. in which version were custom taxonomies introduced?
a. 2.3

49. Which of the below functions is required to create a new taxonomy?
b. register_taxonomy

50.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.

51.Can you set individual password for each post?
a.  Yes

52.Who of the following persons can read a post locked by password?
c.  Anyone who knows a password

53.What is the limitation to the depth of your categories?
c.  No limit levels

54. Can you set the same slug for two categories that have different parents?
b.  No

55. Can a post belong to more than one category?
a. Yes

56. 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);
b. using a plugin

57. Are categories and tags not available for pages?
a.   Yes

58. Which of following action must be performed before using Akismet Plugin?
b. Create an account at wordpress.com.

59. Which of the following tasks should be performed before installing any widget?
c.   Verify that your WordPress theme is widget-ready.

60. In order to display a widget, the user must _________________.
b.  drag the desired widget to the side bar

61. To manually make the sidebar widget-ready, the user must ______________.
a.  modify the sidebar.php file

62. Which of the following methods can be used to eliminate spam?
e.   a and b

63. Which of the following tasks must be performed to add a favicon icon to your site?
e. a and b

64. How can a logo be placed on a WordPress header?
a.  Manually add the logo to the source code.

65. Which of the following theme files can be used to customize the “page not found error” error page?
b.  404.php

66. Is the functions.php file required in each theme?
b.   No

67. Which of the following files are required for completing your theme?
c.   Index.php and style.css


68. What is the name of theme file for a page with slug ‘about’?
b. page-about.php

69 .What is the name of theme file for a page with id ‘3’?
b. page-3.php

70. ‘Slug’ is higher priority in use than ‘id’ in Template Hierarchy?
a.  Yes

71. Can you create a specific theme file for a custom content type?
a. Yes

72. 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

73. 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

74. 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

75. What is the right order (by priority in use) to display taxonomies in Template Hierarchy?
b. taxonomy -{taxonomy}-{term}.php, taxonomy-{taxonomy}.php, taxonomy.php, archive.php, index.php

76. Where can Google Adsense be integrated into a WordPress blog?
c. Anywhere.

77. One way to get posts from a specific day is to ____________________.
b.  use the query_posts loop in the source code

78. The “function_exists()” function can be used to check whether a plug-in is activated or not.
a.  True

79. Conditional tags can be used to _______________________.
c.  change the content to be displayed

80. The WordPress loop can be used ____________________.
b.  to display every post

81. Using ____________is a good way to ensure that a WordPress site is indexed by search engines.
a.  a sitemap


82. Which of the following statements regarding permalinks on a WordPress site is true?
b.  Permalinks are optional but highly recommended


83. In which of the following ways can a redirect feature be added to a permalink?
e. a and b

84. One way to make a WordPress page title more SEO friendly is to ____________.
c.  change the title tag in header.php to something like “blog name »» category »» post name”

85. Meta tags can be added to WordPress pages by ________________.
a.   using plug-ins

b.  adding them to the header.php file

86. Which of the following methods can be used to make permalinks SEO friendly?
d  Configuring the feature in the admin settings.

Question no.1: you want a schedule a backup of your site database but do you know have enough permission to access your host. which of the following choices can help you perform this task?


Ans: install " wp database backup" plug in.

Question no.2: which of the following actions must be performed before upgrading WordPress?

Ans: a,b,and c.



Question no.3: which of the following files must be deleted after installing WordPress? 

Ans: none of this files

Question no.4: a possible way to install WordPress in your language is to _________?

Ans: manually install language package or translate as necessary.

Question no.5: which of the following actions must you perform to move your site from"/WordPress" to "/blog/ WordPress" ?

Ans: update the database.

Question no.6: on which of the following database can WordPress be installed by default?

Ans: MySQL 

Question no.7: WordPress's requirements are modest. at minimum , your server should support?

Ans: PHP version  4.3 or greater , MySQL version 4.0 or greater.

 Question no.8: can you override values for your site URLs in wp - confi.php?

Ans: yes.

Question no.9: after moving a WordPress site to a new host, if you changes your site's URL. do you have to updates your posts and pages to correct paths to your uploaded media files?

Ans: yes

Question no.10: is it able to run more than one site / blog from a single installation of WordPress?

Ans: yes.

Question no.11: what is the first action you need to take for enabling WordPress MU feature?

 Ans: add this code to wp confi.php file : define("WP_ALLOW_MULTISITE",true)

Question no.12: which of the following actions must be performed before enabling the network feature?

Ans: deactivate your plugins.

Question no.13: is supper cache a built in plugin of WordPress?

Ans: no.

Question no.14: after how many times did you enter an invalid password,your IP Address would be locked?

Ans: no limit.

Question no.15: Super Cache compression can cause problems if your server is ______

Ans: already compressing output using mod_ deflate (on Apache) or PHP compression (zlib)

Question no.16: can you choose your username during the installation process from which version?

Ans: 3.0

Question no.17: can you move your wp - confi.php file to the parent directory without changing any settings?

Ans: yes, provided that you are installing WordPress in your web root directory (such as public_html). otherwise it is impossible     

Question no.18: can you move your wp- content folder elsewhere or rename it to something else without changing any settings?

ans: no.

Question no.19: a possible way to collect real - time statistics about traffic to a WordPress site is to :

ans: use a plug in

question no. 20: how can the use of html  code in comments be disabled?

Ans: by changing the theme's source code.

Question no.21: the date /time format of a WordPress site can be changed in _______

Ans: admin setting.

Question no.22: _________ is a good way to improve the performance of a WordPress blog.

Ans: installing the "WP super cache" plug in. 

Question no.23: which of the following blog sites can be imported into WordPress?

Ans: opera

Question no.24: which of the following actions must be performed to import data from WordPress.com?

Ans: login WordPress .com, then export data by export tool, and import a exported xml file to your site.

Question no.25: which of the following data can you import from Blogger site?

 Ans: posts , comments, and  users.

Question no.26: can you import content from joomla or mambo site into WordPress?

Ans: yes.

Question no.27: can you import content from static HTML files into WordPress?

Ans: yes.

Question no.28: which of the following actions must be fixed after importing data into WordPress?

Ans: all of the above.

Question no.29: how many built in user roles does WordPress have?

Ans: 4 note: they are "administrator","editor", "author", "contributor" and "subscriber .

Question no.30: can user change their avatar on profile setting panel?

Ans: no

Question no.31: can you add an extra field to user's profiles(as birth day.birth year...)?

Ans: yes.

Question no.32: ________ can do anything in the WordPress administration area: write, edit, and delete post, 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.

Ans: administrator. 

Question no.33: _________ can publish , edit ,and delete posts and pages written by any user. they can upload some kinds of files, and they can write HTML without registration . they can manage links and categories   and they can moderate comments. Editors and administrator are also the only users allowed to read private posts and pages.

Ans: editor

Question no.34: _________ can publish ,edit,and delete their own posts. they can't write pages. they can upload some kinds of media files , and they are allowed to use only the limited set of HTML tags.

Ans: author

Question no.35: ________ can write their own posts but may not publish or delete them. their HTML is limited to the set of allowed tags and they can't upload media files.

Ans: contributor

Question no.36: ________ can manage their own profiles, but can do virtually nothing else in the administrator.

Ans: area.

Question no.37: user level 0 converts to ......

Ans: subscriber

Question no.38: user level 1convert to...

Ans: contributor.

Question no.39: user level 7 convert to...

Ans: editor

Question no.40: user level 3 convert to...

Ans: author

Question no.41: user level 10 convert to...

Ans: administrator 

Question no.42: which of the following role levels has the highest privilege?

Ana: level_10

Question no.43: does author have the ability to create a catagory?

Ans: no

Question no.44: a possible way to allow the display of several authors' names post is to________

Ans: use a plug i

Question no.45: which of the following methods can be used to enable posting via email?

Ans: configuring the feature in admin settings.

Question no.46: Image size limits can be set_________.

Ans: in the admin settings.

Question no.47: a taxonomy is a _______

Ans: group of items.

Question no.48: in which version were custom taxonomies introduced?

Ans: 2.3

Question no.49: which of the below function is required to create a new taxonomy? 

Ans: register_taxonomy

Question no.50: which of the following methods is required to post html code for others to read?

 Ans: replacing special characters with corresponding html codes or character codes.

Question no.51: can you set individual password for each post?

Ans: yes.

Question no.52: who of the following person can read a post locked by password?

Ans: anyone who knows a password

Question no.53: what is the limitation to the depth of your catagories?

Ans: no limit levels

Question no.54: can you set the same slug for two categories that have different parents?

Ans: no

  Question no.55: can a post belong to move than one categories?

Ans: yes.

Question no.56:  can you limit the number of revision WordPress stores by______

Ans:a. adding the following line to your wp config.php file : define('WP _ POST_REVISION' , 3)
b.using a plugin

Question no.57: are categories and tags not available for pages?

Ans: yes

Question no.58: which of following action must be performed before using Akismet Plugin?

Ans: create an account at WordPress.com

Question no:59: which of the following tasks should be performed before installing any widget?

 Ans: Verify that your WordPress theme is widget ready.

Question no.60: in order to display a widget, the user must __________

Ans: drag the desired widget to the side bar

Question no.61: to manually make the sidebar widget ready, the user must__________

Ans: Modify  the sidebar.php file

Question no.62: Which of the following methods can be used to eliminate spam?

Ans: a and b

Question no.63: which of the following tasks must be performed to add  a avionic icon to your site?

Ans: a and b

Question no.64: how can a logo be placed on a WordPress header?

Ans: manually add the logo to the source code.

Question no.65: which of the following theme files can be used to customize the "page not found error"
error page?

Ans: 404 . php

Question no.66: is the functions.php file required in each theme?

Ans: no 

Question no.67: which of the following files are required for completing your theme?

Ans: index.php and style.css

Question no.68: what is the name of theme file for a page with slug 'about'?

Ans: page-about.php

Question no.69: what is the name of theme file for a page with id '3'?

Ans: page - 3 .php

Question no.70: 'slug' is higher priority in use than "id" in Template Hierarchy?

Ans: yes

Question no.71: can you create a specific theme file for a custom content type?

Ans: yes

Question no.72: what is the right order (by priority in use ) to display page in Template Hierarchy?

Ans: page -{slug}.php, page - {id}.php, index.php 

Question no.73:  What is the right order (by priority in use)to display taxonomies in template Hierarchy?

Ans: taxonomy- {taxonomy}-{term}.php, taxonomy-{taxonomy}.php , taxonomy.php,archive.php, index.php

Question no.74: where can Google  ad sense be integrated into a WordPress blog?

Ans: Anywhere

Question no.75: one way to get posts from a specific day is to________  .

Ans: use the query_posts loop in the source code.

Question no.76: the "function_exists ()" function can be used to check whether a plug in is activated or not.

Ans: true

Question no.77: conditional tags can be used to____________.

Ans: change the content to be displayed.

Question no.78: using ____________________ is a good way to ensure that a WordPress site is indexed by search engines.

Ans: sitemap   

Question no.79: which of the following statements regarding permalinks on a WordPress site is true?

Ans: permalinks are optional but highly recommanded.

Question no.80: in which of the following ways can a redirect feature be added to a permalink ?

Ans: a and b

Question no.81: one way to make a WordPress page title more SEO friendly is to ____________.

Ans: change the title tag in header .php to something like "blog name>>>>category>>>>post name".

Question no.82: Meta tags can be added to WordPress pages by_____________

Ans: a. using plug ins
b.adding them to the header.php file

Question no.83: which of the following methods can be used to make permalink SEO friendly?

Ans: configuring the feature in the admin settings. 


Comments

Post a Comment

Popular posts from this blog

Freelancer Wordpress Exam Answers 2016

How To Build Backlinks in Minute For FREE Easy Method 100% Working