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...
Automation framework is a set of guidelines and standards for creating automated tests.
It provides a structure for organizing test code and data
It helps in reducing maintenance efforts and increasing test coverage
It includes tools and libraries for test automation
Examples include Selenium WebDriver, TestNG, and Cucumber
OOPS concepts are the fundamental principles of Object-Oriented Programming.
Encapsulation: Hiding the implementation details of an object from the outside world.
Inheritance: Creating new classes from existing ones, inheriting their properties and methods.
Polymorphism: The ability of objects to take on many forms and perform different actions based on the context.
Abstraction: Focusing on the essential features of a...
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
I applied via Job Portal and was interviewed before Jun 2023. There were 2 interview rounds.
About role and responsibilities
Few use cases
I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.
OOPS concepts are the fundamental principles of Object-Oriented Programming.
Encapsulation: Hiding the implementation details of an object from the outside world.
Inheritance: Creating new classes from existing ones, inheriting their properties and methods.
Polymorphism: The ability of objects to take on many forms and perform different actions based on the context.
Abstraction: Focusing on the essential features of an obj...
Automation framework is a set of guidelines and standards for creating automated tests.
It provides a structure for organizing test code and data
It helps in reducing maintenance efforts and increasing test coverage
It includes tools and libraries for test automation
Examples include Selenium WebDriver, TestNG, and Cucumber
I applied via Recruitment Consultant and was interviewed in May 2021. There was 1 interview round.
Top trending discussions
posted on 19 Sep 2021
I applied via Naukri.com and was interviewed before Sep 2020. There were 6 interview rounds.
I applied via Naukri.com
Answers to common interview questions for Software Engineer position
Option Strict and Option Explicit are compiler directives in VB.NET
Dispose() is used to release unmanaged resources while Finalize() is used for garbage collection
System.String is immutable while System.StringBuilder is mutable
Delegate is a type that represents a reference to a method
Value types store data directly while reference types store a referen...
posted on 4 Jul 2024
Balance sheet is a financial statement that shows a company's assets, liabilities, and shareholders' equity at a specific point in time.
It provides a snapshot of a company's financial position.
Assets are what the company owns, liabilities are what it owes, and shareholders' equity is the difference between the two.
The balance sheet follows the accounting equation: Assets = Liabilities + Shareholders' Equity.
It helps in...
A bond is a fixed income investment where an investor loans money to an entity which borrows the funds for a defined period at a fixed interest rate.
Types of bonds include government bonds, corporate bonds, municipal bonds, and convertible bonds.
Government bonds are issued by governments to fund public spending.
Corporate bonds are issued by companies to raise capital for various purposes.
Municipal bonds are issued by l...
posted on 16 Mar 2022
I applied via Naukri.com and was interviewed in Feb 2022. There were 2 interview rounds.
I expect a competitive salary based on my skills, experience, and industry standards, ideally in the range of $X to $Y.
Research industry standards: For example, Glassdoor or Payscale can provide insights into average salaries for similar roles.
Consider your experience: If you have 5 years of experience, you might expect a higher salary than someone just starting.
Factor in location: Salaries can vary significantly based...
posted on 5 Dec 2022
posted on 3 Feb 2023
I applied via Campus Placement
Sort elements at even index of array
Iterate through the array and select elements at even indices
Sort the selected elements
Replace the original elements with the sorted ones
Some of the top questions asked at the HumaneBITS interview -
based on 2 interview experiences
Difficulty level
Duration
based on 31 reviews
Rating in categories
Senior Software Developer
19
salaries
| ₹13.2 L/yr - ₹23.9 L/yr |
Software Developer
18
salaries
| ₹6.3 L/yr - ₹16.5 L/yr |
Quality Analyst
15
salaries
| ₹3.8 L/yr - ₹9.5 L/yr |
Software Engineer
12
salaries
| ₹3.5 L/yr - ₹14 L/yr |
Support Engineer
7
salaries
| ₹5.2 L/yr - ₹8 L/yr |
Global Edge Software
Moveinsync Technology Solutions
PagarBook
Trawex Technologies