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


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

View Answer

*
#
$
|

View Answer

CakePHP
Model-View-Controller
Wordpress
None of These

View Answer

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

View Answer

$_ENV
$REMOTE_ADDR
$DOMAIN
$GLOBALS

View Answer

Create
Update
Edit
None of Them

View Answer

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

View Answer

Composer
Artisan Tool
Laravel Components
Convention

View Answer

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

View Answer

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

View Answer

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

View Answer

Resource Routing
Yield
Requests
All of Them

View Answer

Application
Controllers
Views
Models

View Answer

37
33
38
32

View Answer

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

View Answer

0.5
0.2
0
1

View Answer

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

View Answer

trim_str
trim
strip_str
strip

View Answer

const
constant
define
#pragma

View Answer

Model Events
Event Listener
None of Them
Eloquent ORM

View Answer