+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. What will be the value of $var?
0
0.5
0.2
1
View Answer
2. What is the difference between echo and print?
They both behave the same.
Print can take multiple parameters where as echo cannot
Print is a function where as echo is not.
Echo can take multiple parameters where as print cannot
View Answer
3. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Views
Controllers
Models
Application
View Answer
4. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
|
*
#
$
View Answer
5. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[1]
$a[2]
$a[4]
$a[3]
View Answer
6. How do I create PHP arrays in a HTML
?
" required /> < input ="MyArray[]" />
" required /> < input name="MyArray[]" />
< input name= MyArray[]/>
< input MyArray[] />
View Answer
7. _________ automatically assign routes to all functions that have been declared in the Resource.
Yield
All of Them
Resource Routing
Requests
View Answer
8. In which variable is the users IP address stored?
$GLOBALS
$_ENV
$REMOTE_ADDR
$DOMAIN
View Answer
9. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Public
Hosta
Local
All of them
View Answer
10. ____________ function in PHP Returns a list of response headers sent (or ready to send)
header_sent()
header()
Header_send()
headers_list()
View Answer