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


Edit
Create
None of Them
Update

View Answer

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

View Answer

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

View Answer

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

View Answer

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

View Answer

$DOMAIN
$_ENV
$REMOTE_ADDR
$GLOBALS

View Answer

0.2
0
1
0.5

View Answer

Artisan Tool
Convention
Composer
Laravel Components

View Answer

#
*
|
$

View Answer

38
33
37
32

View Answer

CakePHP
Wordpress
None of These
Model-View-Controller

View Answer

Public
All of them
Hosta
Local

View Answer

define
const
#pragma
constant

View Answer

strip_str
trim_str
strip
trim

View Answer

Event Listener
Model Events
None of Them
Eloquent ORM

View Answer

Controllers
Models
Application
Views

View Answer

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

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

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

View Answer

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

View Answer