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


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

headers_list()
header_sent()
Header_send()
header()

View Answer

All of them
Hosta
Public
Local

View Answer

Used to register a global variable
Used to store variables of the current session
Used to initialize a session.
none of the above

View Answer

strip_str
trim_str
strip
trim

View Answer

Model Events
Event Listener
Eloquent ORM
None of Them

View Answer

< input MyArray[] />
" required /> < input ="MyArray[]" />
" required /> < input name="MyArray[]" />
< input name= MyArray[]/>

View Answer

Print is a function where as echo is not.
They both behave the same.
Print can take multiple parameters where as echo cannot
Echo can take multiple parameters where as print cannot

View Answer

Wordpress
None of These
Model-View-Controller
CakePHP

View Answer

Personal Home Page
Hypeetext pre-processor
Private Home Page
Php pre processor

View Answer