Filter interviews by
Clear (1)
I applied via Naukri.com and was interviewed in Jul 2021. There were 5 interview rounds.
Echo and print are both used to output data in PHP, but echo is slightly faster and can take multiple arguments.
Echo is a language construct, while print is a function.
Echo does not return a value, while print returns 1.
Echo can output multiple strings separated by commas, while print can only output one string.
Echo is generally preferred for performance reasons.
Array types and functions
PHP arrays can store multiple values of different types
Arrays can be indexed numerically or with strings
Common array functions include count(), sort(), and array_push()
Example: $fruits = ['apple', 'banana', 'orange'];
GET and POST are HTTP methods used to send data to a server. GET appends data to the URL while POST sends it in the request body.
GET is used for retrieving data from a server while POST is used for submitting data to a server.
GET appends data to the URL as query parameters while POST sends it in the request body.
GET requests can be bookmarked and cached while POST requests cannot.
GET requests have length restrictions w...
JavaScript is a programming language used for client-side scripting, while jQuery is a library built on top of JavaScript.
JavaScript is a programming language that allows you to create dynamic web content and interact with the user.
jQuery is a library that simplifies JavaScript programming by providing pre-written functions and methods.
JavaScript is a core language, while jQuery is a framework built on top of JavaScrip...
Sessions and cookies are used to store and retrieve data in web applications.
Sessions are used to store data on the server side and are identified by a unique session ID.
Cookies are used to store data on the client side and are stored as small text files.
Sessions are more secure as the data is stored on the server, while cookies can be manipulated by the client.
Sessions are typically used to store sensitive information...
An index in MySQL is a data structure that improves the speed of data retrieval operations on a database table.
Indexes are created on one or more columns of a table to allow for faster searching and sorting of data.
They work by creating a separate data structure that stores the values of the indexed columns in a sorted manner.
This allows the database engine to quickly locate the desired data without having to scan the ...
Functions in MySQL are predefined or user-defined routines that perform specific tasks.
MySQL functions can be used to manipulate data, perform calculations, and format output.
There are various types of functions in MySQL, such as string functions, numeric functions, date and time functions, etc.
Examples of MySQL functions include CONCAT(), SUBSTRING(), COUNT(), AVG(), NOW(), etc.
Top trending discussions
I applied via Recruitment Consultant and was interviewed in Nov 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Nov 2020. There were 3 interview rounds.
Angular has several lifecycle methods that are called at different stages of a component's life.
ngOnInit() - called after the component is initialized
ngOnChanges() - called when the component's input properties change
ngDoCheck() - called during every change detection cycle
ngAfterViewInit() - called after the component's view has been initialized
ngOnDestroy() - called just before the component is destroyed
Pipes are a feature in Angular that allow for data transformation before displaying it in the view.
Pipes are used to format data in the view
They can be used to filter, sort, and transform data
Examples include the date pipe, currency pipe, and uppercase pipe
Global error handling in Angular can be done using ErrorHandler class.
Create a class that implements the ErrorHandler interface
Override the handleError() method to handle errors globally
Provide the ErrorHandler class in the providers array of AppModule
Use the error handling service to log errors or display error messages
Custom directives are a way to extend HTML with new attributes and functionality.
Types of custom directives are attribute, element, and class directives.
Attribute directives modify the behavior of existing HTML elements.
Element directives create new HTML elements.
Class directives modify the behavior of existing HTML elements based on their class.
To create a custom directive, use the directive() method of the AngularJS ...
I applied via Campus Placement and was interviewed in Nov 2020. There were 6 interview rounds.
I applied via Naukri.com and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Campus Placement and was interviewed in Mar 2021. There was 1 interview round.
I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.
TCS
Accenture
Wipro
Cognizant