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


|
*
#
$

View Answer

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

View Answer

33
37
38
32

View Answer

strip_str
strip
trim
trim_str

View Answer

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

View Answer

Hosta
All of them
Public
Local

View Answer

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

View Answer

Find the last character of a string
Search for character within a string
Locate position of a string’s first character
None of these

View Answer

define
#pragma
constant
const

View Answer

$GLOBALS
$REMOTE_ADDR
$_ENV
$DOMAIN

View Answer