+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. Laravel uses the ________ design pattern.
None of These
CakePHP
Wordpress
Model-View-Controller
View Answer
2. What is the difference between echo and print?
Echo can take multiple parameters where as print cannot
They both behave the same.
Print can take multiple parameters where as echo cannot
Print is a function where as echo is not.
View Answer
3. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Convention
Composer
Artisan Tool
Laravel Components
View Answer
4. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
$
#
*
|
View Answer
5. The Update operation is similar to the ______ operation.
Edit
Update
None of Them
Create
View Answer
6. What will be the value of $var?
1
0
0.5
0.2
View Answer
7. _________ automatically assign routes to all functions that have been declared in the Resource.
Requests
Yield
Resource Routing
All of Them
View Answer
8. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Application
Views
Models
Controllers
View Answer
9. In which variable is the users IP address stored?
$REMOTE_ADDR
$_ENV
$GLOBALS
$DOMAIN
View Answer
10. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[4]
$a[3]
$a[2]
$a[1]
View Answer