Safcode | Code Your Ideas by Sir Safder


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


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

View Answer

37
33
38
32

View Answer

Artisan Tool
Convention
Laravel Components
Composer

View Answer

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

View Answer

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

View Answer

$DOMAIN
$GLOBALS
$REMOTE_ADDR
$_ENV

View Answer

Local
Hosta
All of them
Public

View Answer

constant
define
const
#pragma

View Answer

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

View Answer

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

1
0.5
0
0.2

View Answer

None of These
Model-View-Controller
Wordpress
CakePHP

View Answer

None of Them
Eloquent ORM
Model Events
Event Listener

View Answer

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

View Answer

$a[4]
$a[1]
$a[2]
$a[3]

View Answer

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

View Answer

strip_str
trim_str
trim
strip

View Answer

*
$
#
|

View Answer

Create
Edit
Update
None of Them

View Answer

Resource Routing
Requests
All of Them
Yield

View Answer