Safcode Institute by Sir Safder
+923132835245
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
App Development
Amazon Virtual Assistant
YouTube Earning
WordPress Development
Tutorials
Feedback
Programming Notes
Verification
Contact
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. The main reason to use the query builder over writing SQL code manually is because _________.
It uses configuration mode for migration
It has few SQLite directives
It uses configuration mode for migration
It is rich in features
View Answer
2. What is the purpose of $_SESSION[]?
Used to register a global variable
none of the above
Used to initialize a session.
Used to store variables of the current session
View Answer
3. _________ automatically assign routes to all functions that have been declared in the Resource.
Requests
Resource Routing
Yield
All of Them
View Answer
4. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[3]
$a[1]
$a[2]
$a[4]
View Answer
5. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Laravel Components
Convention
Composer
Artisan Tool
View Answer
6. Functions that are defined in the model and that replace along chain with a simple one are called _____.
Eloquent ORM
Event Listener
Model Events
None of Them
View Answer
7. What will be the value of $var?
0.5
0.2
1
0
View Answer
8. Laravel uses the ________ design pattern.
None of These
Model-View-Controller
CakePHP
Wordpress
View Answer
9. What does PHP stand for?
Private Home Page
Hypeetext pre-processor
Personal Home Page
Php pre processor
View Answer
10. In which variable is the users IP address stored?
$GLOBALS
$_ENV
$REMOTE_ADDR
$DOMAIN
View Answer