+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. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Artisan Tool
Laravel Components
Convention
Composer
View Answer
2. In which variable is the users IP address stored?
$DOMAIN
$GLOBALS
$REMOTE_ADDR
$_ENV
View Answer
3. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Hosta
Public
Local
All of them
View Answer
4. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
*
|
#
$
View Answer
5. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[2]
$a[1]
$a[4]
$a[3]
View Answer
6. _________ automatically assign routes to all functions that have been declared in the Resource.
All of Them
Yield
Resource Routing
Requests
View Answer
7. ____________ function in PHP Returns a list of response headers sent (or ready to send)
Header_send()
header()
headers_list()
header_sent()
View Answer
8. What is the difference between echo and print?
They both behave the same.
Print is a function where as echo is not.
Print can take multiple parameters where as echo cannot
Echo can take multiple parameters where as print cannot
View Answer
9. The main reason to use the query builder over writing SQL code manually is because _________.
It uses configuration mode for migration
It is rich in features
It has few SQLite directives
It uses configuration mode for migration
View Answer
10. Laravel uses the ________ design pattern.
None of These
Model-View-Controller
Wordpress
CakePHP
View Answer