+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. _________ automatically assign routes to all functions that have been declared in the Resource.
Resource Routing
All of Them
Yield
Requests
View Answer
2. What is the difference between echo and print?
Echo can take multiple parameters where as print cannot
They both behave the same.
Print can take multiple parameters where as echo cannot
Print is a function where as echo is not.
View Answer
3. What does PHP stand for?
Hypeetext pre-processor
Personal Home Page
Php pre processor
Private Home Page
View Answer
4. What is the strpos() function used for?
Locate position of a string’s first character
Search for character within a string
Find the last character of a string
None of these
View Answer
5. What will be the value of $var?
0
0.5
0.2
1
View Answer
6. How do I create PHP arrays in a HTML
?
< input MyArray[] />
< input name= MyArray[]/>
" required /> < input name="MyArray[]" />
" required /> < input ="MyArray[]" />
View Answer
7. The Update operation is similar to the ______ operation.
Create
None of Them
Edit
Update
View Answer
8. 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
9. Functions that are defined in the model and that replace along chain with a simple one are called _____.
Model Events
Eloquent ORM
Event Listener
None of Them
View Answer
10. Which of the following is the way to create comments in PHP?
/* commented code here */
all of the above
# commented code to end of line
// commented code to end of line
View Answer