
post
Quiz
•
Education
•
12th Grade
•
Practice Problem
•
Hard
Retno Ariyanti
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Bagian dari Laravel yang digunakan sebagai representasi struktur data dari sebuah tabel database adalah
seeder
Model
migration
routing
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cara untuk menjalankan migration pada projek Laravel adalah
php artisan migrate
php artisan migration
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Route::get(‘/test’, function () {
return ‘test’;
});
Apa yang akan terjadi jika kalian mengunjungi endpoint /test di browser?
Melihat view dari test.blade.php
Menampilkan sebuah string 'view('test')'
Muncul error 404 not found
Menampilkan sebuah string 'test'
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Route::get(‘/test’, function () {
return view(‘test’)’;
});
Apa yang akan terjadi jika kalian mengunjungi endpoint /test di browser?
Melihat view dari test.blade.php
Menampilkan sebuah string 'view('test')'
Muncul error 404 not found
Menampilkan sebuah string 'test'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cara untuk melakukan print value dari objek $var1 di dalam view adalah
print($var1)
{{$var1}}
{$var1}
{{var1}}
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cara membuat controller bernama FruitController adalah dengan cara
php artisan create:controller FruitController
php artisan controller FruitController
php artisan make:controller FruitController
php artisan make:controller –FruitController
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Code di bawah ini yang merupakan function yang return view dengan nama dan price dari model Fruit yang dicari adalah:
public function show($id) { $name = Fruit::find($id)->name; $price = Fruit::find($id)->price; return view('example', ['name', 'price']); }
public function show($id) { $name = Fruit::find($id)->name; $price = Fruit::find($id)->price; return view('example'); }
public function show($id) { $name = Fruit::name($id); $price = Fruit::price($id); return view('example', ['name' => $name, 'price' => $price]); }
public function show($id) { $name = Fruit::find($id)->name; $price = Fruit::find($id)->price; return view('example', ['name' => $name, 'price' => $price]); }
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
TES PPL2 ANDERE VORSTELLEN
Quiz
•
9th - 12th Grade
15 questions
Syllabus 2023-24
Quiz
•
9th - 12th Grade
10 questions
SDG Intro Test
Quiz
•
12th Grade
10 questions
Powers in Australia
Quiz
•
11th - 12th Grade
10 questions
Cybersecurity Review
Quiz
•
9th - 12th Grade
15 questions
Environmental Impacts
Quiz
•
9th - 12th Grade
10 questions
Extinct Sharks
Quiz
•
1st Grade - Professio...
10 questions
Sandwich Making
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Education
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade
