Search Header Logo

laravel part1

Authored by SAAD CHABBA

Information Technology (IT)

1st Grade

Used 6+ times

laravel part1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

23 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What command is used to create a new Laravel project?

laravel new project

composer create-project laravel/laravel project

php artisan make:project

laravel create project

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file in a Laravel project contains the application's environment-specific configuration?

config/app.php

.env

bootstrap/app.php

routes/web.php

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the routes/web.php file in a Laravel application?

To define API routes

) To define web routes

To configure database connections

To set environment variables

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the php artisan serve command do?

Runs database migrations

Clears the application cache

Compiles frontend assets

Starts a development server

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which directory contains the controllers in a Laravel application?

app/Controllers

app/Http/Controllers

resources/Controllers

routes/Controllers

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you generate a new controller in Laravel?

php artisan make:controller

php artisan create:controller

php artisan generate:controller

php artisan new:controller

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default database management system (DBMS) used by Laravel?

MySQL

SQLite

PostgreSQL

MariaDB

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?