Filter interviews by
I applied via LinkedIn and was interviewed in Feb 2024. There was 1 interview round.
Arrays and objects are data structures used in programming to store multiple values or properties.
Arrays are ordered collections of values accessed by index.
Objects are collections of key-value pairs where values are accessed by keys.
Example of array: $colors = ['red', 'blue', 'green'];
Example of object: $person = ['name' => 'John', 'age' => 30];
Types of arrays include indexed arrays, associative arrays, and multidimensional arrays.
Indexed arrays: numerically indexed arrays where each element is assigned a number starting from 0. Example: ['apple', 'banana', 'orange']
Associative arrays: arrays where each element is assigned a specific key. Example: ['fruit1' => 'apple', 'fruit2' => 'banana']
Multidimensional arrays: arrays within arrays. Example: [['apple', 'ba...
Use a MySQL query to select data with employee name, code, and their manager using manager_id as foreign key.
Use JOIN to connect the employee and manager tables based on the manager_id foreign key
Select the employee name, code, and manager's name using appropriate aliases
Make sure to specify the table names and columns correctly in the query
Rotate array elements based on number of loops specified.
Create a new array by slicing the original array based on the number of loops specified.
Concatenate the sliced array with the remaining elements of the original array.
Handle edge cases where the number of loops is greater than the array length by using modulo operator.
Top trending discussions
I applied via Recruitment Consultant and was interviewed before Oct 2020. There was 1 interview round.
I applied via Walk-in and was interviewed before Nov 2021. There were 4 interview rounds.
General knowledge, Maths questions.
I applied via Recruitment Consultant and was interviewed before Aug 2020. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed before Sep 2020. There were 3 interview rounds.
I applied via Job Portal and was interviewed before May 2020. There was 1 interview round.
I appeared for an interview before Feb 2021.
I applied via Recruitment Consultant and was interviewed in May 2020. There were 3 interview rounds.
An interface defines a contract for classes, specifying methods without implementation, promoting abstraction and flexibility in OOP.
Interfaces allow multiple classes to implement the same set of methods, ensuring a consistent API.
Example: An interface 'Animal' with methods 'eat()' and 'sleep()' can be implemented by 'Dog' and 'Cat' classes.
They enable polymorphism, allowing objects to be treated as instances of their ...
Some of the top questions asked at the Vide Technologies PHP Developer interview -
based on 1 interview experience
Difficulty level
Duration
based on 1 review
Rating in categories
PHP Developer
3
salaries
| ₹6.1 L/yr - ₹7 L/yr |
TCS
Accenture
Wipro
Cognizant