Laravel Framework For Web Applications With PHP (2.0) - 7062 (OLD)
Laravel Framework For Web Applications With PHP (2.0) - 7062 (OLD)
0 Sem2 LARAVEL
Book Name: Laravel Framework for Web Applications with PHP [2.0]
Q.1 In Laravel convention,________ are the preferred way to create records, not tables.
A. Keys B. Functions
C. Routes D. Strings
Correct Answer: D
Reference: Page no 33-34, Heading 2.3.4
Q.2 ________ act as a version control system for a database that includes many tables.
A. Database B. Storage
C. Chache D. Migration
Correct Answer: D
Reference: Page no 63, Heading 4.4.3
Q.3 _Laravel uses the ________ design pattern to facilitate development of web application in a quick
and easy manner.
A. CakePHP B. Codelgniter
Correct Answer: C
Q.4 Which of the following directories includes the views that will be used to display the final Web
pages as well as the un-compiled assests related to JavaScript and CSS?
A. Bootstraps B. Resources
C. Storage D. Database
Correct Answer: B
Q.5 Which of the following enables the user to add elements to the project that follow the Laravel
convention?
A. Expression and custom B. namespace and functions
Page 1 of 4
PRIME 2.0 Sem2 LARAVEL
Q.6 Although the Master Blade templates uses the ______ directive, it is replaced by the content in
the ______ directive of child templates.
Correct Answer: C
Q.7 The main reason to use the query builder over writing SQL code manually is because
______________.
B. it writes different SQL codes depending on
A. it is rich in features
the database being used
Correct Answer: B
Q.8 Functions that are defined in the model and that replace by a long chain with a simple one are
called _______.
Correct Answer: D
Q.9 The ________ file in the windows is the first file that is referenced when the operating system
tries to resolve a domain name.
A. hosts B. local
C. public D. .yaml
Correct Answer: A
Page 2 of 4
PRIME 2.0 Sem2 LARAVEL
Q.10 _______ is an essential feature in Laravel that enables all application requests to direct towards
its respective controller.
Correct Answer: C
A. models B. views
C. scripts D. keys
Correct Answer: B
Reference: Page no 38
Q.12 The ______ feature in the MVC design pattern eliminates the need to create new files and
multiple pages for a single application.
A. synchronizing B. formatting
C. collating D. editing
Correct Answer: D
Q.13 Which of the following terms BEST describes the statement 'Codes can independent or
interchanged based on the requirement?
A. static B. modularity
C. irrevocable D. configuring
Correct Answer: B
Page 3 of 4
PRIME 2.0 Sem2 LARAVEL
Q.14 The _______ method uses the URL, two arguments, and the closure function that is executed
in response to the URL.
A. put B. push
C. get D. set
Correct Answer: C
Correct Answer: A
Page 4 of 4