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


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

View Answer

Application
Controllers
Views
Models

View Answer

# commented code to end of line
all of the above
/* commented code here */
// commented code to end of line

View Answer

It uses configuration mode for migration
It is rich in features
It has few SQLite directives
It uses configuration mode for migration

View Answer

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

View Answer

strip_str
strip
trim_str
trim

View Answer

None of Them
Event Listener
Eloquent ORM
Model Events

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

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

View Answer

define
#pragma
constant
const

View Answer