Вы находитесь на странице: 1из 6

Proficiency Tests

Candidate Name:

Kyaw Kyaw Soe

Candidate Contact:

0943151575

(email & mobile number)

Date of test taken:


(DD / MM / YYYY)

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)

Source Code Version tools


Git

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

PHP Proficiency Test


S/N
1

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++;
}

What is the value of $c?


4

$a = '1';
$b = &$a;
$b = "2$a";

What is the value of $a?


21

$a = "abc";
$b = substr($a, 0, -1);

What is the value of $b?


ab

$a = true;
$b = "true";
$c[] = "true";

Which of the above variable's type is


string?
$b

$a = "b";
$b = "a";

What is the value of ${$b}?


a

$a = array("a","b","c");
foreach ($a as $b){
$c++;
}

What is the value of $c?


3

$a = "0";
$b = "0";
if ($a != "1" && $b == "1" || $a != "0" ||
$b != "1" ){
$d = "0";
}else{
$d = "1";
}

What is the value of $d?


0

$a = "post_processed_string";
$b = array("post_", "_");
$c = array("", " ");
$d = ucwords(str_replace($b,$c,$a));

What is the value of $d?


Processed String

10

$a = "<tt>some</tt><b>html</b>";
preg_match("/<\w?>(\w*?)<\/\w?>/",$a,
$b);

What is the value of $b[1]?


?

Result:
3.

/ 10

SQL Proficiency Test


Employees table
id
first_name
1
2

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

Annual Review table


id
employee_i review_date
d
1
2
13th Feb 2014
Please refer to above tables for below questions
Question 1:
Write a SQL query to return all employees still working for the company with the
last name starting with Doe, sorted by last name then first name?
SELECT * FROM Employees WHERE termination_date = NULL AND last_name LIKE
DOE% ORDER BY last_name ASC

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

ERD Proficiency Test


A restaurant manager comes to our company and wants us to build an eMenu
system. In the restaurant, there are many different dishes. Typically in the menu,
the dish is classified in one category and has multiple modifiers. There are 3
different sections, which serves different dishes. One of the sections is drink
corner, which serves only the drinks. One of the other sections is the salad bar,
which serves only salad dishes. The last section is the kitchen, where rest of the
dishes is served from here. Each section has a printer attached so that whenever
there is an order, the eMenu will be able to print out the order to the printer. The
eMenu system also needs to be able to sort the display sequence of the dishes in
the category.
Based on the above scenario, draw out the ERD.

5.

Concept Understanding Proficiency Test


Please answer below questions
Question 1:
Explain what is Model-View-Controller (MVC)? (In text and diagram)

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

Вам также может понравиться