+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
WordPress + SEO
Artificial Intelligence (AI)
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Enroll Now
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. What will be the value of $var?
0
0.5
0.2
1
View Answer
2. Functions that are defined in the model and that replace along chain with a simple one are called _____.
Event Listener
Eloquent ORM
None of Them
Model Events
View Answer
3. _________ automatically assign routes to all functions that have been declared in the Resource.
All of Them
Yield
Resource Routing
Requests
View Answer
4. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[2]
$a[3]
$a[4]
$a[1]
View Answer
5. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
$
*
|
#
View Answer
6. 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
7. Laravel uses the ________ design pattern.
CakePHP
Wordpress
None of These
Model-View-Controller
View Answer
8. What gets printed?
37
33
32
38
View Answer
9. In which variable is the users IP address stored?
$REMOTE_ADDR
$_ENV
$DOMAIN
$GLOBALS
View Answer
10. What is the purpose of $_SESSION[]?
Used to register a global variable
Used to initialize a session.
none of the above
Used to store variables of the current session
View Answer