i
Filter interviews by
I applied via LinkedIn and was interviewed in Mar 2022. There were 5 interview rounds.
PHP stands for Hypertext Preprocessor.
PHP is a server-side scripting language used for web development.
It can be embedded into HTML code.
PHP code is executed on the server, generating HTML that is sent to the client's browser.
PHP can interact with databases, create dynamic content, and handle forms.
Popular websites like Facebook and Wikipedia use PHP.
Migration in Laravel is a way to manage database schema changes.
Migration allows developers to modify database schema using PHP code instead of SQL.
It helps in version control of database schema.
It provides a way to rollback changes made to the database schema.
Laravel provides a command-line interface to create and manage migrations.
Example: php artisan make:migration create_users_table --create=users
Seeder is a database seeding tool in Laravel.
Seeder is used to populate the database with test data.
It is used to insert data into database tables.
Seeder classes are stored in the database/seeds directory.
Seeder can be run using the 'php artisan db:seed' command.
Seeder can also be used to generate fake data using Faker library.
Database connection in Laravel framework
Configure database credentials in .env file
Update database configuration in config/database.php
Use Eloquent ORM to interact with database
Run migrations to create database tables
Use database queries to retrieve data
Artisan is the command-line interface included with Laravel.
Artisan provides a set of helpful commands for developers.
It can be used to generate boilerplate code, run database migrations, and more.
Developers can also create their own custom Artisan commands.
Artisan commands can be run using the 'php artisan' command in the terminal.
Inheritance is a mechanism in PHP that allows a class to inherit properties and methods from another class.
A child class can inherit properties and methods from a parent class
The keyword 'extends' is used to inherit a class
Inherited methods and properties can be overridden in the child class
Inheritance promotes code reusability and saves time
Example: class ChildClass extends ParentClass {}
Access modifier is a keyword that determines the visibility and accessibility of a class, method, or variable.
Access modifiers are public, private, protected, and default.
Public access modifier allows unrestricted access to the class, method, or variable.
Private access modifier restricts access to the class, method, or variable within the same class.
Protected access modifier allows access to the class, method, or varia...
Constructor is a special method in PHP classes that is automatically called when an object is created.
Constructors have the same name as the class
They can accept parameters
They are used to initialize object properties
If no constructor is defined, a default one is used
Constructors can be overloaded
Model in Laravel is a PHP class that interacts with a database table.
Models are used to retrieve and store data in a database.
They represent a table in the database and define its structure.
Models can have relationships with other models.
They can also have methods for performing common database operations.
Laravel provides an ORM (Object-Relational Mapping) to work with models.
MVC stands for Model-View-Controller, a software design pattern used for developing web applications.
MVC separates an application into three interconnected components: Model, View, and Controller.
Model represents the data and business logic of the application.
View is responsible for rendering the user interface.
Controller handles user input and updates the model and view accordingly.
MVC promotes separation of concerns ...
MVC is a software design pattern that separates an application into three interconnected components: Model, View, and Controller.
Model represents the data and business logic of the application
View is responsible for displaying the data to the user
Controller handles user input and updates the model and view accordingly
MVC promotes separation of concerns and modularity
Examples of MVC frameworks include Ruby on Rails, ASP
ORM stands for Object-Relational Mapping. It is a technique used to map database tables to classes in Laravel.
ORM simplifies database operations by allowing developers to interact with the database using object-oriented syntax.
Laravel's ORM is called Eloquent and it provides a simple and elegant syntax for working with databases.
Eloquent allows developers to define relationships between database tables using model clas...
Many to many relationships refer to a situation where multiple instances of one entity are related to multiple instances of another entity.
It involves three tables: two entities and a junction table
Example: A student can enroll in multiple courses and a course can have multiple students enrolled
The junction table will have foreign keys from both entities
To fetch 1st, 2nd, 3rd rank from student mark table, we need to sort the table in descending order and select the top 3 rows.
Sort the student mark table in descending order based on the marks column.
Select the top 3 rows from the sorted table.
The first row will have the highest marks and hence the first rank, second row will have the second highest marks and hence the second rank, and so on.
An array is a collection of similar data types stored in contiguous memory locations.
Arrays can be of different types such as integer, float, character, etc.
For example, int arr[5] is an array of 5 integers.
Another example is char str[10] which is an array of 10 characters.
Arrays can also be multidimensional, such as int arr[3][4] which is a 3x4 matrix of integers.
A service container is a tool that manages the creation and configuration of objects in a software application.
It is used to manage dependencies between objects.
It allows for easy swapping of implementations.
It can be used to configure and manage application settings.
Examples include Laravel's service container and Symfony's dependency injection container.
A service provider is a company or organization that provides a service to customers or clients.
Service providers offer a range of services, such as internet, phone, or cable TV.
They may also provide professional services, such as legal or accounting services.
Service providers may be private companies or government agencies.
Examples of service providers include Comcast, Verizon, and Deloitte.
Service providers are often...
Namespace is a way to organize code and avoid naming conflicts in Laravel.
Namespaces are defined using the namespace keyword followed by the namespace name.
In Laravel, namespaces are used to organize controllers, models, and other classes.
For example, the namespace for a controller named UserController would be App\Http\Controllers.
Namespaces can also be used to import classes from other namespaces using the use keywor
Blade is the default view engine in Laravel.
Blade is a templating engine that allows you to write clean and concise templates.
It provides features like template inheritance, sections, and layouts.
You can also use other view engines like Twig or Smarty in Laravel.
API in Laravel is a set of routes and controllers that allow external applications to interact with the Laravel application.
API stands for Application Programming Interface
API in Laravel is used to expose certain functionalities of the application to external applications
API routes are defined in the 'routes/api.php' file
API controllers are stored in the 'app/Http/Controllers/Api' directory
API responses are usually in
APIs can be used in Laravel by creating routes and controllers to handle requests and responses.
Create a route in the routes/api.php file
Define a controller method to handle the API request
Use the appropriate HTTP verb (GET, POST, PUT, DELETE) for the API endpoint
Return a JSON response from the controller method
Use Laravel's built-in API authentication middleware for secure APIs
Soft delete is a technique to mark a record as deleted without actually deleting it from the database.
Soft delete is used to retain data for future reference or audit purposes.
It involves adding a column to the table to indicate the deleted status of a record.
The deleted records can be filtered out using a WHERE clause in SQL queries.
Soft delete can be undone by updating the deleted status of a record.
Examples of soft ...
Faker is a PHP library used to generate fake data. Factory is a Laravel feature that uses Faker to generate model instances.
Faker is used to generate fake data for testing and seeding databases
Factory is a Laravel feature that uses Faker to generate model instances
Faker can generate various types of data such as names, addresses, phone numbers, and more
Factory can be used to create multiple instances of a model with di
Foreign key and unique key are both used to enforce data integrity in a database, but they serve different purposes.
A foreign key is a field in a table that refers to the primary key of another table, establishing a relationship between the two tables.
A unique key is a constraint that ensures that a column or set of columns in a table contains only unique values.
A foreign key is used to enforce referential integrity, w...
They give me a short project with 3 hours time to complete this.
Question -
Register, Login, go to dashboard, list of products (name, image), make 100 products using seeder, factory, faker, and also view products with comments and sub-comment functionality, use front-end validation.
I applied via Naukri.com and was interviewed in Mar 2022. There were 3 interview rounds.
Top trending discussions
posted on 16 Dec 2024
It was a Basic Aptitude Test
We were asked to do Sorting, SQL queries (join)
I am a passionate software engineer with 5 years of experience in developing web applications using various technologies.
5 years of experience in software development
Proficient in developing web applications
Skilled in using various technologies such as Java, JavaScript, and SQL
posted on 28 Jul 2024
Bit operations in C language involve manipulating individual bits within a data structure.
Bitwise AND (&) - sets a bit to 1 only if both input bits are 1
Bitwise OR (|) - sets a bit to 1 if either input bit is 1
Bitwise XOR (^) - sets a bit to 1 if the input bits are different
Bitwise NOT (~) - inverts all bits in a number
Left shift (<<) - shifts bits to the left by a specified number of positions
Right shift (>>) - shifts
posted on 14 Oct 2024
I applied via campus placement at PSG College of Arts & Science, Coimbatore and was interviewed in Apr 2024. There were 2 interview rounds.
There are Question based on data strcuture ,they cover all the topic in ds
In coding code they gave internet access to solve the problem after 30 they told us to make some changes in it and we should ready to explain the entire code
posted on 30 Apr 2024
I applied via Recruitment Consulltant and was interviewed before Apr 2023. There were 3 interview rounds.
There was coding test
Merge sort is a divide and conquer algorithm that divides the input array into two halves, sorts them separately, and then merges them back together in sorted order.
Divide the input array into two halves
Recursively sort each half
Merge the sorted halves back together
I applied via campus placement at Centre for Development of Advanced Computing (CDAC) and was interviewed before Feb 2023. There were 3 interview rounds.
Online Basic aptitude questions test.
A class representing a car with properties and methods.
Create a class named Car
Add properties like make, model, year, color
Include methods like start(), stop(), accelerate(speed), brake()
Example: class Car { constructor(make, model, year, color) { this.make = make; this.model = model; this.year = year; this.color = color; } start() { console.log('Car started'); } stop() { console.log('Car stopped'); } accelerate(speed)...
posted on 6 Jun 2023
I applied via Referral and was interviewed before Jun 2022. There were 2 interview rounds.
Cloud technologies offer different services like IaaS, PaaS, and SaaS for varying levels of control and management.
IaaS (Infrastructure as a Service) provides virtualized computing resources over the internet, such as virtual servers and storage.
PaaS (Platform as a Service) offers a platform allowing customers to develop, run, and manage applications without dealing with infrastructure.
SaaS (Software as a Service) deli...
posted on 1 Sep 2021
posted on 5 May 2019
I applied via Campus Placement and was interviewed in Sep 2018. There were 5 interview rounds.
based on 5 reviews
Rating in categories
Software Engineer
13
salaries
| ₹1.2 L/yr - ₹4.2 L/yr |
Jr. Data Scientist
11
salaries
| ₹1 L/yr - ₹7 L/yr |
Web Developer
7
salaries
| ₹1 L/yr - ₹2.5 L/yr |
Senior Software Engineer
6
salaries
| ₹3.4 L/yr - ₹6 L/yr |
Front end Developer
6
salaries
| ₹1.2 L/yr - ₹4 L/yr |
Fractal Analytics
Mu Sigma
Tiger Analytics
LatentView Analytics