Professional Documents
Culture Documents
Candidate Name:
Candidate Contact:
0943151575
30/July/2015
Highest Qualification:
English Proficiency:
Rate 1 (poor) to 5
(excellent)
Domain Knowledge:
(e.g. HRMS, POS,
Inventory, eCommerce,
mCommerce, CRM, etc)
Technical Skills:
(Please tick accordingly)
SVN
CVS
Programming Skills
JQuery
AJAX
Laravel
Node.js
PHP
AngularJS
HTML5
Code Igniter
CSS3
YII
Database
SQL
MySQL
MS SQL Server
Other Skills:
PHOTOSHOP and ILLUSTRATOR
1.
LogicProficiency Test
Please answer below questions
Question 1:
Write a factorial function, which accepts a number and return the factorial value of
that number
E.g. how factorial works
1! = 1
2! = 1 x 2 = 2
3! = 1 x 2 x 3 = 6
4! = 1 x 2 x 3 x 4 = 24
Question 2:
Susan has candles and she needs to pass the gate. The gate is too dark and she
used one candle to light up. After she passed through the gate, she sees a temple
and donates half of total quantity of candles. After she passed through five gates
and five temples, only one candle left on her hand. How many candles did she have
originally?
Result:
2.
/2
Question Context
$a .= "a";
$a .= "b";
$a .= "c";
Answer to Question
What is the value of $a?
abc
$a = 4;
for ($b = 0; $b <= $a; $b++) {
$c++;
}
$a = '1';
$b = &$a;
$b = "2$a";
$a = "abc";
$b = substr($a, 0, -1);
$a = true;
$b = "true";
$c[] = "true";
$a = "b";
$b = "a";
$a = array("a","b","c");
foreach ($a as $b){
$c++;
}
$a = "0";
$b = "0";
if ($a != "1" && $b == "1" || $a != "0" ||
$b != "1" ){
$d = "0";
}else{
$d = "1";
}
$a = "post_processed_string";
$b = array("post_", "_");
$c = array("", " ");
$d = ucwords(str_replace($b,$c,$a));
10
$a = "<tt>some</tt><b>html</b>";
preg_match("/<\w?>(\w*?)<\/\w?>/",$a,
$b);
Result:
3.
/ 10
John
Peter
last_nam
e
Doe
Adam
3
4
5
Howard
Mary
Jack
Doe
Doe
Smith
hire_date
13th Jan 2014
23th Mar
2014
7th Apr 2014
3th Jun 2014
5thJul 2014
termination_d
ate
NULL
NULL
13th Jun 2014
NULL
17th Aug 2014
Question 2:
Write a SQL query to return all employees who have never had a review sorted by
HireDate.
SELECT * FROM Employees WHERE hire_date < 13 Jun ORDER BY Hire hire_date ASC
Question 3:
Write a SQL query to calculate the difference (in days) between the most and
least tenured employee still working for the company?
Note: DATEDIFF(day,'2008-06-05','2008-08-05')
Result:
4.
/3
5.
Question 2:
Explain what is Object-Oriented (OO) concept and what are the benefits?
Question 3:
Explain what is Lazy Loading?
Question 4:
Explain what is Agile Methodology? Give some examples
Result:
/4