WorksheetsTDP112 Introduction to Laravel
Total questions: 25
Worksheet time: 13mins
What is the purpose of learning Web Programming?
a) To talk to computers
b) To create computer parts
c) To design the computer outlook
d) To install computer programs
What does web programming refer to?
a) Writing
b) Reading
c) Listening
d) All of the above
Is Laravel a language to talk to computers?
a) Yes
b) No
c) Not Sure
d) I think so
What is Laravel?
a) Programming language
b) PHP framework
c) Code generator
d) None of the above
What is Composer?
a) A musician
b) An artist
c) A tool for PHP
d) A movie
What is Node JS?
a) Special type of JavaScript language
b) JavaScript runtime environment that executes JavaScript code
c) Different version of the normal JavaScript
d) All of the above
What is the purpose of a PHP framework?
a) Speed up development process
b) Coding
c) Send or receive cookies
d) Understand programming language
Which are PHP frameworks?
a) Laravel
b) CakePHP
c) SYMFONY
d) All of the above
What is MVC?
a) Mix Voice Controller
b) Model Video Controller
c) Model Voice Controller
d) Model View Controller
Why Laravel?
a) Beautiful syntax
b) Old toolkit
c) High learning curve
d) Promotes bad practices
What is NOT in a modern framework?
a) Routing
b) Model
c) Events
d) Humans
What are Routes?
a) Type of application route that leads to somewhere
b) Routing application requests to it’s appropriate controller
c) A general routing application that leads to controller
d) None of the above
Which is part of route directory?
a) Route::get()
b) Route::resource()
c) Route::any()
d) All of the above
What is the purpose of the Controller in MVC?
a) Control the system
b) Directs traffic between Views and Models
c) Gives the user control over the program
d) Gives easier access to controller
Where are all the Laravel Models stored at ?
a) Inside Laravel database
b) Within a server
c) Main app directory
d) None of the above
What is the purpose of Laravel Blade Template Engine?
a) Makes writing syntax easy and readable
b) Beautify Laravel
c) Increase workload for students
d) Make things harder
What type of way does Laravel use to get data from a database ?
a) Eloquent ORM
b) Query Builder
c) Eloquent ORM and Query Builder
d) None of the above
Can you turn your PC into a server?
a) No
b) Yes
c) Maybe
d) Not sure
What is XAMPP?
a) A game
b) A programming language
c) An international server
d) A local server
Which programming language is free?
a) PHP
b) SQL
c) JAVA
d) All of the above
Which is the best local server for web development?
a) WAMP
b) XAMPP
c) Both also very good
d) Both also not good
Which is the best PHP framework ?
a) Laravel
b) Zend
c) CakePHP
d) All also good
Why does Laravel use the Blade Template Engine?
a) To simplify programming
b) As a template
c) For fun
d) For the view in MVC
What is the feature of Eloquent ORM ?
a) Flexible
b) Timestamps
c) A lot of use methods
d) All of the above
What is the feature of Query Builder ?
a) Works on some supported database
b) Hard to understand
c) Used extensively by Eloquent ORM
d) Non-fluid interface
