+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 is the way to create comments in PHP?
// commented code to end of line
/* commented code here */
# commented code to end of line
all of the above
View Answer
2. What will be the value of $var?
0.2
0
0.5
1
View Answer
3. Laravel uses the ________ design pattern.
CakePHP
None of These
Wordpress
Model-View-Controller
View Answer
4. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Laravel Components
Artisan Tool
Convention
Composer
View Answer
5. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[4]
$a[2]
$a[1]
$a[3]
View Answer
6. What does PHP stand for?
Php pre processor
Hypeetext pre-processor
Personal Home Page
Private Home Page
View Answer
7. _________ automatically assign routes to all functions that have been declared in the Resource.
Yield
Resource Routing
All of Them
Requests
View Answer
8. What gets printed?
33
32
37
38
View Answer
9. How do I create PHP arrays in a HTML
?
< input MyArray[] />
" required /> < input ="MyArray[]" />
< input name= MyArray[]/>
" required /> < input name="MyArray[]" />
View Answer
10. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
$
#
*
|
View Answer