i
HumaneBITS
Filter interviews by
Use the session_set_cookie_params function to set session for 5 mins
Use session_set_cookie_params function to set the session cookie lifetime to 5 minutes
Example: session_set_cookie_params(300); // 300 seconds = 5 minutes
PHP script to sort an array without default functions
Create a function to implement a sorting algorithm like bubble sort, selection sort, or insertion sort
Loop through the array and compare each element with the next one to determine the order
Swap elements if they are in the wrong order until the array is sorted
Session stores data on server side while cookie stores data on client side.
Session data is stored on the server, while cookie data is stored on the client's browser.
Sessions are more secure as the data is not exposed to the client, while cookies can be easily manipulated by the client.
Sessions are typically used for storing sensitive information like user credentials, while cookies are used for tracking user behav...
Login in CodeIgniter/Laravel involves creating a form for users to input their credentials, validating the input, checking against database records, and setting a session for authenticated users.
Create a login form with fields for username and password
Validate user input to ensure it meets required criteria
Check the entered credentials against records in the database
Set a session for authenticated users to maintai...
PDO in PHP is a PHP Data Objects extension that provides a consistent interface for accessing databases.
PDO stands for PHP Data Objects
It is a database access layer providing a uniform method of access to multiple databases
It is more secure than the traditional MySQL extension
PDO supports prepared statements to prevent SQL injection attacks
This PHP script counts the occurrences of each alphabet in a given string, ignoring special characters and case sensitivity.
Use preg_replace to remove special characters: $cleanString = preg_replace('/[^a-zA-Z]/', '', $inputString);
Convert the string to lowercase to ensure case insensitivity: $cleanString = strtolower($cleanString);
Use str_split to convert the string into an array of characters: $charArray = str_s...
Login in CodeIgniter/Laravel involves creating a form for users to input their credentials, validating the input, checking against database records, and setting a session for authenticated users.
Create a login form with fields for username and password
Validate user input to ensure it meets required criteria
Check the entered credentials against records in the database
Set a session for authenticated users to maintain the...
Session stores data on server side while cookie stores data on client side.
Session data is stored on the server, while cookie data is stored on the client's browser.
Sessions are more secure as the data is not exposed to the client, while cookies can be easily manipulated by the client.
Sessions are typically used for storing sensitive information like user credentials, while cookies are used for tracking user behavior o...
PHP script to sort an array without default functions
Create a function to implement a sorting algorithm like bubble sort, selection sort, or insertion sort
Loop through the array and compare each element with the next one to determine the order
Swap elements if they are in the wrong order until the array is sorted
This PHP script counts the occurrences of each alphabet in a given string, ignoring special characters and case sensitivity.
Use preg_replace to remove special characters: $cleanString = preg_replace('/[^a-zA-Z]/', '', $inputString);
Convert the string to lowercase to ensure case insensitivity: $cleanString = strtolower($cleanString);
Use str_split to convert the string into an array of characters: $charArray = str_split(...
Use the session_set_cookie_params function to set session for 5 mins
Use session_set_cookie_params function to set the session cookie lifetime to 5 minutes
Example: session_set_cookie_params(300); // 300 seconds = 5 minutes
Use INNER JOIN to get records from both Table A and Table B based on the foreign key A-BID.
Use INNER JOIN to combine records from Table A and Table B based on the common column A-BID.
Specify the join condition using ON clause.
Select the columns you want to retrieve from both tables.
PDO in PHP is a PHP Data Objects extension that provides a consistent interface for accessing databases.
PDO stands for PHP Data Objects
It is a database access layer providing a uniform method of access to multiple databases
It is more secure than the traditional MySQL extension
PDO supports prepared statements to prevent SQL injection attacks
Top trending discussions
posted on 19 Sep 2021
I applied via Naukri.com and was interviewed before Sep 2020. There were 6 interview rounds.
posted on 21 Aug 2021
I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.
Nuts and bolts game, to output date in a certain format, one SQL query
posted on 15 Nov 2024
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Promises in JavaScript are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() to handle success and .catch() to handle errors.
posted on 14 May 2024
Event loop in Node.js manages asynchronous operations by executing callback functions when certain events occur.
Event loop is responsible for handling I/O operations, timers, and callbacks in Node.js
It allows Node.js to perform non-blocking operations efficiently
Event loop continuously checks the event queue for new events to execute
posted on 11 Mar 2023
I applied via Campus Placement and was interviewed in Feb 2023. There were 2 interview rounds.
The test was very weird one.
They did have planned anything for the test, They came and given a link on bit.ly and given an another link that is in google form for the answers.
And they selection of people for second round is not sensible.
This round was also be a weird.
They give each candidates with different questions.
They told us to write logic on the paper and you can use internet for your reference.
But after this round they announced the results but that is not in genuine one.
posted on 18 Jun 2024
Understanding basic data structures and algorithms is crucial for predicting outputs in coding challenges.
Data structures like arrays, linked lists, and trees are fundamental.
Algorithms such as sorting and searching are commonly tested.
Example: Predicting output of a sorting algorithm on an array.
Example: Understanding how recursion works in a binary tree traversal.
Medium level problem,
posted on 26 Jun 2024
I applied via Campus Placement and was interviewed in May 2024. There were 2 interview rounds.
45 min apps and technical question
45 min coding round you can refer net for first 15 min
posted on 22 Jul 2023
I applied via Job Portal and was interviewed in Jun 2023. There were 3 interview rounds.
It has include logical ,reasoning question. Aptitude questions are include mcq type question.
Firstly introduce yourself then HR take the one subject then selected candidate discuss on that subject. Subject related talking positive and negative point. Then who candidate speak better these are select in next round.
Some of the top questions asked at the HumaneBITS Senior PHP Web Developer interview -
based on 1 interview experience
Senior Software Developer
19
salaries
| ₹13.2 L/yr - ₹23.9 L/yr |
Software Developer
19
salaries
| ₹5.6 L/yr - ₹12.9 L/yr |
Quality Analyst
15
salaries
| ₹3.8 L/yr - ₹7.8 L/yr |
Software Engineer
12
salaries
| ₹3.5 L/yr - ₹13.7 L/yr |
Support Engineer
7
salaries
| ₹5.2 L/yr - ₹8 L/yr |
Global Edge Software
Moveinsync Technology Solutions
PagarBook
Trawex Technologies