+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
Softwares
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. _________ automatically assign routes to all functions that have been declared in the Resource.
Requests
Yield
All of Them
Resource Routing
View Answer
2. Functions that are defined in the model and that replace along chain with a simple one are called _____.
Event Listener
None of Them
Eloquent ORM
Model Events
View Answer
3. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Artisan Tool
Composer
Laravel Components
Convention
View Answer
4. 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
5. Which of the following is used to declare a constant?
const
#pragma
constant
define
View Answer
6. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Public
Hosta
All of them
Local
View Answer
7. What is the strpos() function used for?
Locate position of a string’s first character
Search for character within a string
None of these
Find the last character of a string
View Answer
8. What will be the value of $var?
0.2
1
0.5
0
View Answer
9. How do I create PHP arrays in a HTML
?
< input name= MyArray[]/>
" required /> < input name="MyArray[]" />
< input MyArray[] />
" required /> < input ="MyArray[]" />
View Answer
10. In which variable is the users IP address stored?
$DOMAIN
$GLOBALS
$REMOTE_ADDR
$_ENV
View Answer