+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?
Composer
Artisan Tool
Convention
Laravel Components
View Answer
2. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[3]
$a[2]
$a[1]
$a[4]
View Answer
3. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
|
$
#
*
View Answer
4. The Update operation is similar to the ______ operation.
Update
None of Them
Edit
Create
View Answer
5. ____________ function in PHP Returns a list of response headers sent (or ready to send)
header()
headers_list()
header_sent()
Header_send()
View Answer
6. _________ automatically assign routes to all functions that have been declared in the Resource.
Resource Routing
All of Them
Yield
Requests
View Answer
7. Which of the following is the way to create comments in PHP?
all of the above
/* commented code here */
// commented code to end of line
# commented code to end of line
View Answer
8. In which variable is the users IP address stored?
$GLOBALS
$REMOTE_ADDR
$_ENV
$DOMAIN
View Answer
9. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Application
Controllers
Models
Views
View Answer
10. How do I create PHP arrays in a HTML
?
" required /> < input ="MyArray[]" />
< input name= MyArray[]/>
< input MyArray[] />
" required /> < input name="MyArray[]" />
View Answer