i
Filter interviews by
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.
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.
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.
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 wi...
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.
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
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 ...
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.
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 ...
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 22 Apr 2025
I appeared for an interview before Apr 2024, where I was asked the following questions.
Data structures like stacks and queues organize data for efficient access and manipulation, following specific rules.
Stack: Last In First Out (LIFO) structure. Example: Undo feature in text editors.
Queue: First In First Out (FIFO) structure. Example: Print job management in printers.
Stacks use push and pop operations; queues use enqueue and dequeue.
Stacks can be implemented using arrays or linked lists; queues can also...
Looping in C++ allows repeated execution of a block of code, enhancing efficiency and control in programming.
Types of loops: for, while, and do-while.
For loop example: 'for(int i = 0; i < 10; i++) { cout << i; }'
While loop example: 'int i = 0; while(i < 10) { cout << i; i++; }'
Do-while loop example: 'int i = 0; do { cout << i; i++; } while(i < 10);'
Loops can be nested for complex iterations.
posted on 30 Aug 2023
I applied via Naukri.com and was interviewed in Jul 2023. There were 3 interview rounds.
posted on 21 Feb 2025
I appeared for an interview before Feb 2024.
I have a strong technical background, a passion for problem-solving, and a proven track record of delivering high-quality software solutions.
Extensive experience in software development, including proficiency in multiple programming languages such as Java, Python, and JavaScript.
Strong problem-solving skills and ability to think critically to find innovative solutions to complex technical challenges.
Proven track record...
posted on 8 Jul 2024
I applied via Approached by Company and was interviewed in Jun 2024. There were 2 interview rounds.
Search for a target value in a rotated sorted array.
Use binary search to find the pivot point where the array is rotated.
Determine which half of the array the target value lies in based on the pivot point.
Continue binary search in the appropriate half of the array to find the target value.
Design IMDB with concurrent ratings management
Implement a locking mechanism to ensure only one user can update a rating at a time
Use a queue system to handle multiple rating requests in an orderly manner
Consider using distributed systems to handle high concurrency levels
Design a vehicle rental system API
Create endpoints for listing available vehicles, booking a vehicle, and returning a vehicle
Include authentication and authorization mechanisms for users and admins
Implement payment gateway integration for processing rental payments
Include features like vehicle search, filtering, and reviews/ratings
Consider scalability and performance optimizations for handling high traffic
posted on 30 Oct 2023
C# is a programming language developed by Microsoft for building a wide range of applications on the .NET framework.
C# is an object-oriented language with features like classes, inheritance, and polymorphism.
It is strongly typed, meaning variables must be declared with a specific data type.
C# supports modern programming concepts like async/await for asynchronous programming.
It is commonly used for developing desktop, w...
posted on 23 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
Divisibility, LCM, HCF.
Numbers, Decimals, Fractions, Powers.
Profit, Loss.
Simple interest and Compound interest.
Speed, Distance, Time.
Work and wages.
Trains, Boats, Streams-upstream/downstream, Circular track questions.
Cistern and pipes.
Coding interviews test candidates' technical knowledge, coding ability, problem solving skills, and creativity, typically on a whiteboard.
Choose a topic based on the assignment.
2 Conduct research.
3 Write a thesis statement
I appeared for an interview in Jan 2021.
Round duration - 120 minutes
Round difficulty - Hard
This round was very difficult. I never do these much difficulty level of coding questions. But i give my best, and just do every questions by using step by step process.
Given an integer 'N', print an hourglass pattern based on the value of 'N'.
The first and only line of input contains an integer, denoting the value of N.
Print an hourglass pattern based on the given integer 'N'.
Read the integer 'N' as input
Print the top half of the hourglass pattern with decreasing numbers
Print the bottom half of the hourglass pattern with increasing numbers
Handle the constraints for 'N' values between 1 and 50
Given an undirected and disconnected graph G(V, E) where V vertices are numbered from 0 to V-1, and E represents edges, your task is to output the BFS traversal starting from the ...
BFS traversal in a disconnected graph starting from vertex 0.
Use BFS algorithm to traverse the graph starting from vertex 0.
Explore neighbor nodes first before moving to the next level neighbors.
Consider bidirectional edges in an undirected graph.
Output the BFS traversal sequence for each test case in a separate line.
Ensure the BFS path starts from vertex 0 and print connected nodes in numerical sort order.
You are given a stack. Your task is to sort the elements within the stack in ascending order using only push and pop operations. You are allowed to use one additional stack ...
Sort a given stack in ascending order using only push and pop operations with the help of an additional stack.
Use one additional stack to assist in sorting the elements.
Pop elements from the input stack and push them onto the auxiliary stack in sorted order.
Keep track of the current minimum element to maintain ascending order.
Pop elements from the auxiliary stack back to the input stack to get the sorted order.
Round duration - 90 minutes
Round difficulty - Easy
This round is also coding round in this round we have a small video call interaction too, in which hr ask few questions to only those whose coding question is correct.
You are given a palindrome number represented as a string S
. Your task is to find the largest palindrome number that is strictly less than S
.
T...
Find the largest palindrome number strictly less than a given palindrome number.
Iterate from the middle towards the start of the number and decrement the digits to create the largest palindrome less than the given number.
Handle cases where the number is all '9's by changing the middle digit to '9' and decrementing the rest of the digits.
If the number has an odd length, simply mirror the first half to create the largest...
You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:
Find minimum time to rot all fresh oranges adjacent to rotten oranges in a grid.
Use Breadth First Search (BFS) to simulate the rotting process.
Track the time taken to rot all fresh oranges.
Return -1 if all fresh oranges cannot be rotten.
Handle edge cases like empty grid or no fresh oranges.
Tip 1 : Relax and don't stress. Practice
Tip 2 : Build Resume according to Job Description , but don't lie.
Tip 3 : Have good projects and knowledge regarding important subjects related to interviews
Tip 1 : Include only genuine information, never lie in resume , it will impact to bad impression.
Tip 2 : Skills relevant to Job Description
Tip 3 : Resume should not be more than 2 pages
Tip 4 : Have some projects and internship on your resume because it will give good impression
posted on 7 Apr 2024
Technical mcq from basic of dsa
Question from DSA and time will given to solve it
Some of the top questions asked at the Pitangent Analytics & Technology Solutions Software Engineer interview -
based on 5 reviews
Rating in categories
Software Engineer
16
salaries
| ₹1.2 L/yr - ₹4.2 L/yr |
Jr. Data Scientist
9
salaries
| ₹1 L/yr - ₹7 L/yr |
Web Developer
7
salaries
| ₹1 L/yr - ₹2.5 L/yr |
Senior Software Engineer
7
salaries
| ₹3.4 L/yr - ₹6.2 L/yr |
Front end Developer
6
salaries
| ₹1.2 L/yr - ₹4 L/yr |
Prime Focus Technologies
Yalamanchili Software Exports
ScoreMe Solutions
Algonomy