Filter interviews by
mysqli_fetch_assoc() returns an associative array while mysqli_fetch_array() returns both numeric and associative arrays.
mysqli_fetch_assoc() fetches a row from a result set as an associative array.
mysqli_fetch_array() fetches a row from a result set as both an associative and numeric array.
mysqli_fetch_assoc() is faster than mysqli_fetch_array() when fetching only associative arrays.
mysqli_fetch_array() has an optiona...
There are three types of inheritance in PHP: single, multiple, and multilevel.
Single inheritance involves a child class inheriting from a single parent class.
Multiple inheritance involves a child class inheriting from multiple parent classes.
Multilevel inheritance involves a child class inheriting from a parent class, which in turn inherits from another parent class.
PHP only supports single inheritance natively, but mu...
To call parent class constructor in derived class, use parent::__construct() method.
Use parent::__construct() method in derived class constructor.
Pass the required parameters to parent::__construct() method.
This will call the parent class constructor and initialize the parent class properties.
The function to convert string to array is explode().
The function takes two parameters: delimiter and string.
The delimiter specifies where to break the string into array elements.
The function returns an array of strings.
Example: $str = 'apple,banana,orange'; $arr = explode(',', $str);
This will result in an array with three elements: 'apple', 'banana', and 'orange'.
Front end is the user-facing part of a website, while back end is the behind-the-scenes part that handles data and functionality.
Front end is responsible for the design, layout, and user experience of a website.
Back end handles the server-side programming, database management, and server configuration.
Front end technologies include HTML, CSS, and JavaScript, while back end technologies include PHP, Python, and Ruby on
Pseudo classes are used to define a special state of an element.
Pseudo classes are preceded by a colon (:)
They are used to style elements based on their state or position
Examples include :hover, :active, :first-child, :nth-child
The 'meta' tag in HTML is used to provide metadata about the HTML document.
Meta tags are placed in the head section of an HTML document.
They provide information such as character set, viewport settings, keywords, and descriptions.
Example: <meta charset='UTF-8'>
Top trending discussions
To fetch the last record in MySQL SQL, use the ORDER BY and LIMIT clauses.
Use the ORDER BY clause to sort the records in descending order based on the primary key or any other column.
Use the LIMIT clause to limit the result set to one record.
Example: SELECT * FROM table_name ORDER BY primary_key DESC LIMIT 1;
To update data in a table, use the UPDATE statement in SQL.
Use the UPDATE statement followed by the table name
Set the column name and new value using SET
Use WHERE to specify which rows to update
I applied via Company Website and was interviewed in Jun 2022. There were 4 interview rounds.
Session is a way to store information (variables) on the server to be used across multiple pages.
Session is used to maintain user-specific data across multiple pages.
It is created when a user logs in and destroyed when the user logs out.
Session data can be accessed and manipulated using the $_SESSION superglobal variable.
Examples of session data include user ID, username, and shopping cart items.
PHP is a server-side scripting language used for web development.
PHP stands for Hypertext Preprocessor.
It is an open-source language.
PHP is used to create dynamic web pages.
It can interact with databases like MySQL.
PHP is easy to learn and widely used in web development.
Popular CMS like WordPress, Drupal, and Joomla are built on PHP.
How will manage our project?
The latest version of HTML is HTML5, which is widely adopted for its improved functionality and features.
HTML5 is the current version of HTML being used
It offers new features like <video>, <audio>, <canvas>, and <svg> elements
HTML5 provides better support for multimedia and interactive content
I applied via Freshesworld and was interviewed in Nov 2020. There were 6 interview rounds.
I applied via Walk-in and was interviewed before Apr 2020. There were 5 interview rounds.
I was interviewed before Sep 2020.
Round duration - 140 minutes
Round difficulty - Medium
Test timing was at 2:00 pm , it was conducted in a college and the environment was good for the test. Camera was a primary part of test, so no suspicious activity.
Given two numbers in the form of two arrays where each element of the array represents a digit, calculate the sum of these two numbers and return this sum as an ar...
Given two numbers represented as arrays, calculate their sum and return the result as an array.
Iterate through the arrays from right to left, adding digits and carrying over if necessary
Handle cases where one array is longer than the other by considering the remaining digits
Ensure the final sum array does not have any leading zeros
Round duration - 20 minutes
Round difficulty - Easy
The round was conducted at around 12 p.m. I was called at the college location and then it was conducted. The interviewer was quite polite and frank.
Round duration - 8 minutes
Round difficulty - Easy
This round was conducted right after finishing and clearing the technical round at the same place and on the same day.
Tip 1 : Practice atleast 2-3 Coding problems daily so your logic building becomes stronger.
Tip 2 : Exercise problems based on OOPS concepts and others too.
Tip 3 : If you can have your own project built, then it's the major point and will act as a plus point.
Tip 1 : Your resume should be in standard form, short and simple will be more effective.
Tip 2 : Whatever you have learned, you need to mention it in your resume as that will be your primary source of selection and having project on your resume is important.
I applied via Recruitment Consultant and was interviewed before Sep 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.
I applied via Job Portal and was interviewed before Apr 2021. There was 1 interview round.
Solid principles are a set of design principles for writing maintainable and scalable code in C#.
Single Responsibility Principle (SRP) - a class should have only one reason to change
Open/Closed Principle (OCP) - a class should be open for extension but closed for modification
Liskov Substitution Principle (LSP) - derived classes should be substitutable for their base classes
Interface Segregation Principle (ISP) - client...
TCS
Accenture
Wipro
Cognizant