Create New Post

WordPress MCQs - 1

  1. What is the purpose of the WordPress "functions.php" file?

    • a) To store plugin settings
    • b) To define theme-specific PHP functions
    • c) To manage user permissions
    • d) To store database credentials
    • Answer: b) To define theme-specific PHP functions
  2. Which of the following is not a default WordPress user role?

    • a) Administrator
    • b) Moderator
    • c) Editor
    • d) Subscriber
    • Answer: b) Moderator
  3. What is the default permalink structure in WordPress?

    • a) /index.php/post_id
    • b) /postname/
    • c) /category/postname/
    • d) /post_id/postname
    • Answer: b) /postname/
  4. Which programming language is WordPress primarily based on?

    • a) Python
    • b) PHP
    • c) Java
    • d) Ruby
    • Answer: b) PHP
  5. What is the purpose of the WordPress "wp-config.php" file?

    • a) To define database connection settings
    • b) To store theme CSS styles
    • c) To manage user roles and permissions
    • d) To define plugin activation hooks
    • Answer: a) To define database connection settings
  6. Which of the following is NOT a recommended method to secure a WordPress site?

    • a) Keeping WordPress core, themes, and plugins updated
    • b) Using a weak password for the administrator account
    • c) Installing security plugins
    • d) Enabling two-factor authentication
    • Answer: b) Using a weak password for the administrator account
  7. What is the purpose of WordPress themes?

    • a) To extend the functionality of WordPress
    • b) To control the appearance and layout of a WordPress site
    • c) To manage user registrations
    • d) To handle database queries
    • Answer: b) To control the appearance and layout of a WordPress site
  8. What is the main difference between WordPress.com and WordPress.org?

    • a) WordPress.com is a paid service, while WordPress.org is free.
    • b) WordPress.com offers hosting and a limited set of features, while WordPress.org provides the software for self-hosting with more flexibility.
    • c) WordPress.org is primarily for bloggers, while WordPress.com is for business websites.
    • d) WordPress.com requires coding knowledge, while WordPress.org is more user-friendly.
    • Answer: b) WordPress.com offers hosting and a limited set of features, while WordPress.org provides the software for self-hosting with more flexibility.
  9. Which of the following is a correct way to manually install a WordPress plugin?

    • a) Upload the plugin to the theme directory
    • b) Use the WordPress Plugin Directory to search and install
    • c) Copy the plugin files to the wp-admin directory
    • d) Modify the functions.php file to include the plugin code
    • Answer: a) Upload the plugin to the theme directory
  10. What is the purpose of the WordPress "dashboard"?

    • a) To display recent blog posts
    • b) To manage user comments
    • c) To provide an overview of site activity and settings
    • d) To access the theme editor
    • Answer: c) To provide an overview of site activity and settings

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

32545