Cogenthub
10+ Cogneesol Interview Questions and Answers
Q1. How many tables generates after installing wordpress?
The number of tables generated after installing WordPress varies depending on the plugins and themes installed.
The default installation of WordPress generates 12 tables in the database.
Additional tables may be created by plugins and themes.
Examples of additional tables include wp_users, wp_posts, wp_comments, etc.
Q2. Data stores in which table in wordpress?
Data in WordPress is stored in various tables in the database.
WordPress uses a relational database management system (RDBMS) to store data.
The main tables in WordPress include wp_posts, wp_users, wp_comments, wp_options, and wp_meta.
wp_posts table stores posts, pages, and custom post types.
wp_users table stores user information.
wp_comments table stores comments made on posts.
wp_options table stores various site settings and configurations.
wp_meta table stores metadata associa...read more
Q3. What is child theme ?
A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme.
Child themes are used to customize and modify the appearance and functionality of a parent theme without modifying its core files.
They allow developers to make changes to a theme while still being able to update the parent theme.
Child themes typically include a style.css file that contains the CSS rules for customizing the parent theme.
They can also include template ...read more
Q4. Different types of errors in php?
Different types of errors in PHP include syntax errors, runtime errors, and logical errors.
Syntax errors occur when the code is not written correctly, such as missing semicolons or parentheses.
Runtime errors occur during the execution of the code, such as trying to access an undefined variable.
Logical errors occur when the code runs without errors, but produces unexpected results.
Other types of errors include fatal errors, notices, and warnings.
Q5. Diffrent Plugins used so far by you?
I have used various plugins for different functionalities such as SEO, security, caching, and forms.
Yoast SEO for optimizing website content
Wordfence for website security
WP Super Cache for website caching
Contact Form 7 for creating forms
Jetpack for website analytics and social sharing
Q6. Different types of hooks?
Hooks are functions that allow developers to modify WordPress behavior without modifying core files.
Action hooks allow you to insert custom code at specific points in WordPress.
Filter hooks allow you to modify data before it is displayed.
Plugin hooks allow you to add custom functionality to plugins.
User hooks allow you to modify user data and behavior.
Theme hooks allow you to modify the behavior of your theme.
Q7. What is Taxonomy, diffrence between category and tags?
Taxonomy is the science of classification. Categories are broad groups while tags are specific labels.
Taxonomy is the process of organizing and classifying data into groups or categories.
Categories are broad groups that items can be classified into, while tags are specific labels that can be assigned to items.
For example, a blog post about a recipe might be categorized as 'food' and tagged with 'dessert' and 'chocolate'.
Categories are hierarchical, meaning they can have subca...read more
Q8. What are hooks, types of hooks ?
Hooks are functions that allow developers to modify the behavior of a program without modifying the code.
Hooks are used in WordPress to modify the behavior of a plugin or theme.
There are two types of hooks: action hooks and filter hooks.
Action hooks allow developers to execute code at specific points in the program's execution.
Filter hooks allow developers to modify data before it is displayed or processed.
Examples of hooks include 'wp_head' and 'the_content'.
Q9. How you will give a resolution to an irate customer?
I will listen to the customer's complaint, empathize with them, apologize for the inconvenience caused, and offer a solution to their problem.
Listen actively to the customer's complaint
Empathize with the customer and acknowledge their frustration
Apologize for the inconvenience caused
Offer a solution to their problem
Follow up with the customer to ensure their satisfaction
Q10. Why do we use wp_head()?
wp_head() is used to add scripts, styles, and meta tags to the head section of a WordPress theme.
wp_head() is a WordPress function that is called in the header.php file of a theme.
It allows developers to add custom scripts, styles, and meta tags to the head section of a WordPress site.
This function is important for SEO optimization and for adding custom functionality to a theme.
Examples of what can be added using wp_head() include Google Analytics tracking code, custom CSS st...read more
Q11. Sell a pen show me how you can
I will highlight the unique features and benefits of the pen to showcase its value and functionality.
Highlight the sleek design and premium quality of the pen
Emphasize the smooth writing experience and durability
Demonstrate the versatility of the pen for various writing tasks
Offer a special promotion or discount to entice the customer to purchase
Q12. Show me how you sale a pen!
I would highlight the unique features and benefits of the pen, create a sense of urgency, and personalize the sale to the individual's needs.
Start by showcasing the pen's sleek design and high-quality materials.
Highlight its smooth writing experience and long-lasting ink.
Create a sense of urgency by mentioning limited stock or a special promotion.
Personalize the sale by asking about the individual's preferences or needs, and showing how the pen meets those requirements.
Offer ...read more
Top HR Questions asked in Cogneesol
Interview Process at Cogneesol
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month