
Soal Harian Pertemuan 2 PWPB XII RPL

Quiz
•
Information Technology (IT)
•
12th Grade
•
Easy
sulthan Shihab
Used 7+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
Dalam alur aplikasi Laravel, komponen yang bertugas mengarahkan setiap permintaan (request) dari browser ke fungsi atau Controller yang tepat di aplikasi adalah...
Middleware
View
Service Provider
Router
Model
2.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
File utama di Laravel yang digunakan untuk mendefinisikan route untuk aplikasi web Anda berada di folder...
config/app.php
app/Http/Controllers
resources/views
database/migrations
routes/web.php
3.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
Metode HTTP yang paling umum digunakan untuk mengambil atau menampilkan data dari server, seperti menampilkan halaman homepage atau daftar produk, adalah...
DELETE
GET
PUT
POST
PATCH
4.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
Perintah Artisan yang paling tepat untuk membuat Controller baru bernama StudentController adalah...
php artisan create:controller StudentController
composer make:controller StudentController
php artisan make:model StudentController
php artisan make:controller StudentController
php artisan generate:controller StudentController
5.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
Jika Anda memiliki route Route::get('/profil', [UserController::class, 'showProfile']);, bagian showProfile merujuk pada...
Nama database yang akan diakses.
Nama file CSS yang akan dimuat.
Nama Model yang akan digunakan.
Nama View yang akan ditampilkan.
Nama method di dalam UserController yang akan dieksekusi.
6.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
Apa alasan utama memisahkan logika aplikasi ke dalam Controller, alih-alih menuliskannya langsung di closure route di web.php?
Agar aplikasi menjadi lebih lambat.
Untuk menyembunyikan kode dari developer lain.
Untuk menjaga kode tetap terorganisir, maintainable, dan lebih skalabel.
Karena closure route tidak dapat berinteraksi dengan Model.
Untuk menghilangkan kebutuhan akan View.
7.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
Anda ingin membuat halaman "Kontak Kami" yang menampilkan informasi kontak. Setelah membuat Controller ContactController dan method index(), bagaimana Anda akan mendefinisikan route di web.php untuk URL /contact?
Route::contact('/contact', [ContactController::class, 'index']);
Route::view('/contact', 'contact.index');
Route::get('/contact', [App\Http\Controllers\ContactController::class, 'index']);
Route::get('/contact', 'ContactController@index');
Route::page('/contact', ContactController::class);
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
test

Quiz
•
9th - 12th Grade
20 questions
AZ-700 PREP

Quiz
•
12th Grade
25 questions
Administrasi Sistem Jaringan XII Sesi 2

Quiz
•
12th Grade
20 questions
Network Command Proficiency Quiz

Quiz
•
12th Grade
20 questions
Uji Pengetahuan Website

Quiz
•
12th Grade
20 questions
Kiểm tra kiến thức phát triển phần mềm

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade