Beginner Interview Questions

1- Explain the MVC architecture in Laravel?
MVC stands for Model-View-Controller. - Model represents the data and database interaction. - View represents the user interface, - Controller acts as an intermediary between the Model and View to process incoming requests, retrieve data from the Model, and return the appropriate View.
2- What is the difference between DDL & DML?
- DDL: Stands for (Data Definition Language), It's a language to deal with database structure, like (Create, Drop, Alter) - DML: stands for (Data Manipulation Language), It's a language to deal with database information, like (Select, Insert, Update, Delete)
3- What is the keywords used in inherit?
1- Extends: - Keyword used to make inherit from the parent class. 2- Final: - Keyword used to stop inheritance from this class.
4- What is Object Oriented Programming (OOPs)?
Object Oriented Programming is a programming paradigm where the complete software operates as a bunch of objects talking to each other. An object is a collection of data and the methods which operate on that data.