++92 313 8389893
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. What is the strpos() function used for?
Find the last character of a string
None of these
Locate position of a string’s first character
Search for character within a string
View Answer
2. Functions that are defined in the model and that replace along chain with a simple one are called _____.
Event Listener
Eloquent ORM
Model Events
None of Them
View Answer
3. In which variable is the users IP address stored?
$REMOTE_ADDR
$GLOBALS
$_ENV
$DOMAIN
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. What is the purpose of $_SESSION[]?
Used to initialize a session.
Used to store variables of the current session
Used to register a global variable
none of the above
View Answer
6. What gets printed?
37
33
38
32
View Answer
7. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
*
#
$
|
View Answer
8. What does PHP stand for?
Personal Home Page
Hypeetext pre-processor
Php pre processor
Private Home Page
View Answer
9. Laravel uses the ________ design pattern.
Wordpress
None of These
Model-View-Controller
CakePHP
View Answer
10. How do I create PHP arrays in a HTML
?
" required /> < input ="MyArray[]" />
" required /> < input name="MyArray[]" />
< input name= MyArray[]/>
< input MyArray[] />
View Answer