Filter interviews by
I applied via Walk-in and was interviewed before Jun 2023. There were 2 interview rounds.
Print and echo are both used to output data in PHP, but echo is slightly faster and can output multiple values at once.
Print is a language construct while echo is a language construct and a function.
Echo can output multiple values at once while print can only output one value at a time.
Echo is slightly faster than print because it does not return a value.
Different loops in PHP include for, while, do-while, and foreach loops.
For loop: Used for iterating a specific number of times.
While loop: Continues to execute as long as a specified condition is true.
Do-while loop: Similar to while loop, but the condition is checked after the loop body is executed at least once.
Foreach loop: Used for iterating over arrays or objects.
Different types of joins in SQL help combine data from multiple tables based on a related column between them.
INNER JOIN: Returns rows when there is at least one match in both tables.
LEFT JOIN: Returns all rows from the left table and the matched rows from the right table.
RIGHT JOIN: Returns all rows from the right table and the matched rows from the left table.
FULL JOIN: Returns rows when there is a match in one of th...
Position Absolute is positioned relative to its closest positioned ancestor, while Position Relative is positioned relative to its normal position.
Position Absolute removes the element from the normal flow of the document, while Position Relative does not.
Position Absolute is often used for overlaying elements on top of each other, while Position Relative is used for minor positioning adjustments.
Position Absolute coor...
To export a database, you can use tools like phpMyAdmin or command line.
Use phpMyAdmin to export database by selecting the database, clicking on 'Export', and choosing the desired format.
Use command line to export database using commands like mysqldump.
You can also use Drupal modules like Backup and Migrate to export database.
Make sure to choose the correct format and settings for the export.
Top trending discussions
I applied via LinkedIn and was interviewed in Nov 2023. There were 3 interview rounds.
An abstract class is a class that cannot be instantiated and is used as a base for other classes to inherit from.
Cannot be instantiated on its own
May contain abstract methods that must be implemented by child classes
Can have both abstract and non-abstract methods
Types of Drupal entities include nodes, users, taxonomy terms, and custom entities.
Nodes: Basic content type in Drupal, can represent articles, pages, etc.
Users: Represents individuals who can log in and interact with the site.
Taxonomy terms: Used for categorizing content.
Custom entities: Entities created by developers for specific needs.
Custom form methods in Drupal allow developers to create and manipulate forms in unique ways.
Custom form methods can be used to alter form elements, validate form submissions, and process form data.
Examples include using hook_form_alter to modify existing forms, implementing custom form validation functions, and creating custom submit handlers.
Custom form methods can also be used to create entirely new forms from scrat...
MySQL types of Joins, Delete vs TRUNCATE
Types of Joins in MySQL: INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN
DELETE statement removes specific rows from a table based on a condition
TRUNCATE statement removes all rows from a table without logging individual row deletions
Git commands include add, commit, push, pull, merge, branch, checkout, and clone.
git add - stages changes for commit
git commit - records changes to the repository
git push - uploads local changes to a remote repository
git pull - downloads changes from a remote repository
git merge - combines changes from different branches
git branch - lists, creates, or deletes branches
git checkout - switches branches or restores files
gi
T function is used in Drupal to translate text strings into the current language of the website.
T function is used to translate text strings in Drupal.
It is used to ensure that text displayed on the website is in the correct language.
Developers can use the T function in their code to make it multilingual.
Example: t('Hello world') will translate 'Hello world' into the current language of the website.
Event subscriber example in Drupal development
Event subscribers allow modules to subscribe to and respond to events triggered by the Drupal core or other modules
Event subscribers are defined in a module's services.yml file
Example: Creating an event subscriber to log user login events
To debug errors in production environment, follow these steps
Check error logs for specific error messages
Use debugging tools like Xdebug or Drupal's built-in debugging features
Review recent code changes that may have caused the error
Test the code on a local environment to replicate the issue
Consult with team members or online forums for assistance
I applied via Campus Placement
Testing the job for reference need to drop the message as it's fake content
The top valuation in the task refers to the highest possible value or rating that can be achieved.
Identify the criteria for evaluation and determine the maximum possible score or rating.
Ensure that all aspects of the task are thoroughly assessed to reach the top valuation.
Consider any bonus points or extra credit that may contribute to achieving the highest valuation.
Was it useful to the search if not reference to be matched in the code
Give it try for testing the scenario can't be adjusted
More valuable in the world group job
Island Perimeter and Number of Provinces. Basic Leetcode question
I applied via Recruitment Consulltant and was interviewed before Apr 2023. There was 1 interview round.
I applied via campus placement at Motilal Nehru Institute National Institute of Technology (NIT), Allahabad and was interviewed in May 2022. There were 4 interview rounds.
There was 2 coding question
One was easy One was very Difficult
20 MCQ question from Operating system and DBMS
Find the longest consecutive subarray.
Iterate through the array and keep track of the current subarray length.
Update the maximum length as you iterate.
Reset the current subarray length when a non-consecutive element is encountered.
Minimum Spanning Tree (MST) is a tree that connects all vertices in a graph with minimum total edge weight.
MST can be found using Prim's algorithm or Kruskal's algorithm.
Prim's algorithm starts with a single vertex and adds the closest vertex to the tree until all vertices are included.
Kruskal's algorithm starts with the edges with the lowest weight and adds them to the tree as long as they don't create a cycle.
MST has...
I applied via Job Portal and was interviewed in Jun 2021. There were 5 interview rounds.
Oops concepts are fundamental to object-oriented programming. They help in creating modular and reusable code.
Encapsulation - hiding implementation details of an object from the outside world
Inheritance - creating new classes from existing ones, inheriting their properties and methods
Polymorphism - ability of objects to take on many forms, depending on the context
Abstraction - focusing on essential features of an objec
Multiple inheritance is not allowed in Java to avoid the diamond problem.
Java supports multiple interface inheritance to achieve the same functionality.
Diamond problem occurs when a class inherits from two classes with a common method.
Java prioritizes single inheritance to maintain simplicity and avoid ambiguity.
Arrays are fixed in size while ArrayLists can dynamically grow and shrink.
Arrays are of fixed size while ArrayLists can be resized dynamically.
Arrays can hold primitive data types and objects while ArrayLists can only hold objects.
Arrays are faster for accessing elements while ArrayLists are faster for adding and removing elements.
Arrays use square brackets [] to declare while ArrayLists use angle brackets <>.
Example: ...
Java collections are classes and interfaces that provide a way to store and manipulate groups of objects.
Java collections include List, Set, Map, Queue, and their respective implementations
They provide methods for adding, removing, and accessing elements
Examples include ArrayList, HashSet, TreeMap, and PriorityQueue
Time theta is a measure of the worst-case time complexity of an algorithm.
It is used to analyze the performance of algorithms.
It represents the maximum amount of time an algorithm takes to complete.
It is denoted by the symbol Θ(n).
Bubble sorting is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Bubble sort is a comparison-based algorithm
It works by comparing each pair of adjacent elements and swapping them if they are in the wrong order
The algorithm repeats this process until no more swaps are needed
It has a worst-case and average-case complexity of O(n^...
Code to generate a random number between 15-25
Use Math.random() to generate a random number between 0-1
Multiply the result with the range (25-15) and add the minimum value (15)
Use Math.floor() to round down the result to an integer
I applied via Naukri.com and was interviewed in Mar 2021. There were 5 interview rounds.
Web wrapping is the process of displaying a website within another website or application.
It involves embedding a website within an iframe or a div element.
Web wrapping is commonly used in mobile apps to display web content without leaving the app.
It can also be used to display content from a different domain on a website.
Web wrapping can be done using JavaScript or server-side scripting languages.
Examples of web wrapp...
VBA effects on software development
VBA can automate repetitive tasks in software development
VBA can be used to create custom functions and add-ins in Excel
VBA can interact with other Microsoft Office applications
VBA can be used to create user interfaces for data entry and analysis
VBA can be used to manipulate data in databases
VBA can be used to create macros in software applications
Interview experience
based on 1 review
Rating in categories
Executive Accountant
5
salaries
| ₹3 L/yr - ₹3.5 L/yr |
Drupal Developer
5
salaries
| ₹4 L/yr - ₹4.8 L/yr |
Software Developer
3
salaries
| ₹2.1 L/yr - ₹2.4 L/yr |
Accountant
3
salaries
| ₹1 L/yr - ₹2.8 L/yr |
Information Technology Support Engineer
3
salaries
| ₹2.4 L/yr - ₹2.4 L/yr |
TCS
Infosys
Wipro
HCLTech