+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
Softwares
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. ____________ function in PHP Returns a list of response headers sent (or ready to send)
header()
Header_send()
headers_list()
header_sent()
View Answer
2. How do I create PHP arrays in a HTML
?
" required /> < input ="MyArray[]" />
" required /> < input name="MyArray[]" />
< input name= MyArray[]/>
< input MyArray[] />
View Answer
3. What is the purpose of $_SESSION[]?
Used to register a global variable
none of the above
Used to initialize a session.
Used to store variables of the current session
View Answer
4. What is the difference between echo and print?
They both behave the same.
Print is a function where as echo is not.
Print can take multiple parameters where as echo cannot
Echo can take multiple parameters where as print cannot
View Answer
5. _________ automatically assign routes to all functions that have been declared in the Resource.
Requests
Resource Routing
All of Them
Yield
View Answer
6. Laravel uses the ________ design pattern.
Model-View-Controller
CakePHP
None of These
Wordpress
View Answer
7. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
All of them
Local
Public
Hosta
View Answer
8. What gets printed?
38
33
37
32
View Answer
9. In which variable is the users IP address stored?
$_ENV
$GLOBALS
$DOMAIN
$REMOTE_ADDR
View Answer
10. Functions that are defined in the model and that replace along chain with a simple one are called _____.
None of Them
Model Events
Eloquent ORM
Event Listener
View Answer