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

Laravel 5

Uploaded by

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

Laravel 5

Uploaded by

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

Laravel Framework for Web Applications - A633

1 Using which of the following methods can you select a column name?

big Increments
get
where ------
find

1
Laravel Framework for Web Applications - A633

2 Which of the following methods is used to retrieve a specific record?

retrieve()
find()
all()
get() ............

1
Laravel Framework for Web Applications - A633

3 Which of the following BEST describes Chaining?

A collection object has multiple methods that return another collection


object. ..............
Defining the ID column during database migration.
Using conventions over configurations.
Accessing values after retrieving records.

1
Laravel Framework for Web Applications - A633

4 _______ help in organizing codes by grouping requests that handle the codes in a
single route and class.

Models
Controllers ............
Views
Applications

1
Laravel Framework for Web Applications - A633

5 A _______ is preconfigured using a single line of artisan command.

Single Action Controller


Moderate Controller
Resource Controller .............
Class View
1
Laravel Framework for Web Applications - A633

6 The _________ method uses the URI, two arguments, and the closure function that
is executed in response to the URI.

put
push
get ...........
set

1.5
Laravel Framework for Web Applications - A633

7 __________ helps in implementing CRUD operations.

Routes
Eloquent ORM ...........
Operators
DB query builder class

1.5
Laravel Framework for Web Applications - A633

8 Which of the following statements is TRUE?

(1) The code folder inside the Homestead directory and the Homestead environment
are the same.

(2) By default, Laravel has a Route class, which has only one method to handle each
type of HTTP request.

Both 1 and 2
Only 2
None of these
Only 1 --------

2
Laravel Framework for Web Applications - A633

9 _______ refers to the concept of sending records in blocks.

Validation
Pagination ............
Routing
Authentication

2
Laravel Framework for Web Applications - A633

10 The Bootstrap CSS framework uses the ________ helper function.

get()
sort()
asset()..............
pluck()

1
Laravel Framework for Web Applications - A633

11 The basic contents of a Web application are written in the _________.

template engine
local file
master template ...........
public folder

1.5
Laravel Framework for Web Applications - A633

12 A ________ is a case where the attributes of a model are blindly updated.

Attribute
Mass Assignment ............
Static Controller
Mighty Model

1.5
Laravel Framework for Web Applications - A633

13 Match the following components with their respective description:

Sl No. Left Column Sl No. Right Column Correct Answer for column A
A1 PHP B1 Used to generate SSH keys. B1 B2 B3 B4 B5 B6

A2 Composer B2 An automation tool for building and managing virtual machine


environments. B1 B2 B3 B4 B5 B6

A3 VirtualBox B3 A virtual environment that provides resources to efficiently


code Web applications in Laravel. B1 B2 B3 B4 B5 B6

A4 Vagrant B4 A dependency management tool for PHP. B1 B2 B3 B4 B5 B6

A5 GitBash B5 Should be installed on the Windows host operating system to use


Composer. B1 B2 B3 B4 B5 B6

A6 Homestead B6 A free and open source hypervisor that allows running guest VMs.
B1 B2 B3 B4 B5 B6
2
Laravel Framework for Web Applications - A633

14 When creating a record, it is necessary to include the ________ keyword array


to prevent any malicious attempt.

$fillable ............
$rows
$columns
$fields

1
Laravel Framework for Web Applications - A633

15 Which of the following methods is used to retrieve records?

get() .............
find() ............
retrieve()
all() ...............

You might also like