+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. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Convention
Laravel Components
Composer
Artisan Tool
View Answer
3. How do I create PHP arrays in a HTML
?
" required /> < input name="MyArray[]" />
< input MyArray[] />
< input name= MyArray[]/>
" required /> < input ="MyArray[]" />
View Answer
4. What does PHP stand for?
Private Home Page
Php pre processor
Hypeetext pre-processor
Personal Home Page
View Answer
5. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[1]
$a[4]
$a[3]
$a[2]
View Answer
6. Laravel uses the ________ design pattern.
None of These
CakePHP
Wordpress
Model-View-Controller
View Answer
7. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
|
#
$
*
View Answer
8. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Hosta
All of them
Public
Local
View Answer
9. Functions that are defined in the model and that replace along chain with a simple one are called _____.
Model Events
Event Listener
None of Them
Eloquent ORM
View Answer
10. What is the difference between echo and print?
Print is a function where as echo is not.
Echo can take multiple parameters where as print cannot
Print can take multiple parameters where as echo cannot
They both behave the same.
View Answer