0% found this document useful (0 votes)
18 views4 pages

Laravel Framework For Web Applications With PHP (2.0) - 7062 (OLD)

Uploaded by

forpcall01
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views4 pages

Laravel Framework For Web Applications With PHP (2.0) - 7062 (OLD)

Uploaded by

forpcall01
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

PRIME 2.

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

C. Model-View-Controller D. Web Application

Correct Answer: C

Reference: Page no 29, Heading 2.1

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

Reference: Page no 34-35, Heading 2.4

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

C. Yield and sections D. array and list

Correct Answer: Artisan Tool (given options are wrong)

Reference: Page no 46, Heading 3.4

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.

A. Expression and custom B. namespace and functions

C. Yield and sections D. array and list

Correct Answer: C

Reference: Page no 67, Heading Code Snippet :9

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

C. it has few SQLite directives D. it use configuration mode for migration

Correct Answer: B

Reference: Page no 83, Heading 5.4.2

Q.8 Functions that are defined in the model and that replace by a long chain with a simple one are
called _______.

A. Model Events B. Event Listeners

C. Eloquent ORM D. Query Scopes

Correct Answer: D

Reference: Page no 92, Heading 5.5

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

Reference: Page no 43, Heading 3.3.2

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.

A. SSH B. Unit Testing

C. Routing D. Migration System

Correct Answer: C

Reference: Page no 47, Heading 3.5

Q.11 Laravel recommends the use of _______ when writing codes.

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

Reference: Page no 48, Heading 3.6

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

Reference: Page no 50, Heading 3.7

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

Reference: Page no 47, Heading 3.5

Q.15 The _______ in Laravel helps in creating tables.

A. schema builder class B. rows

C. foreign keys D. columns

Correct Answer: A

Reference: Page no 62, Heading 4.4.2

Page 4 of 4

You might also like