Showing posts with label oDesk. Show all posts
Showing posts with label oDesk. Show all posts

Sunday, July 24, 2011

writeCover letter for ODesk


Dear Sir Hire name ,

Good Day
I’m interested in the position of  "job Title  " you  recently posted. I have been a working as (your position ) for (no of year) years, and am very familiar with PHP, JAVA, Wordpress and joomla. During my "no of year" years as "position" in "your company ", I managed a couple of websites . You can see some of my own writing in my portfolio

http://example.com

“You had mentioned that you were looking for someone with a background in "background of job". I studied it in college, where I majored in Computer Science .

“Moving forward, I can dedicate "no of availabe hour" hours/week to your company, and my daily hours are negotiable. I’m very excited to assist you in making your Sites successful – please feel free to contact me directly to discuss this position further.”

my skype id :  "Your skype Id here"

Regards,
"Your Name"

Thursday, May 26, 2011

oDesk Readiness test answers

oDesk Readiness test answers


Q no 1: If you have not done so please download and install the oDesk Team application. With the client running right click on the oDesk Team icon in the system tray (or doc for Mac users). Which of the following options is listed first? Note that you do NOT have to log into any actual Team Room to answer this question.

A: TeamRoom..


Q 2: Which of the following actions are NOT allowed when applying to job openings?

A: All of the above

Q:3 'How does feedback work on oDesk?'

A: All of the above


Q4: Which of the following break the oDesk user agreement?

A: All of the above

Q5: Which of the following is true of your oDesk timelog?

A: All of the above

odesk javascript solution JavaScript Test Solution

1. What’s relationship between JavaScript and ECMAScript? -
ECMAScript is yet another name for JavaScript (other names include LiveScript).
The current JavaScript that you see supported in browsers is ECMAScript revision 3.
2. What are JavaScript types? -
Number, String, Boolean, Function, Object, Null, Undefined.
3. How do you convert numbers between different bases in JavaScript? -
Use the parseInt() function, that takes a string as the first parameter, and the base as
a second parameter. So to convert hexadecimal 3F to decimal, use parseInt ("3F", 16);
4. What does isNaN function do? -
Return true if the argument is not a number.
5. What is negative infinity? -
It’s a number in JavaScript, derived by dividing negative number by zero.

6. What boolean operators does JavaScript support? -
&&, || and !
7. What does "1"+2+4 evaluate to? -
Since 1 is a string, everything is a string, so the result is 124.
8. How about 2+5+"8"? -
Since 2 and 5 are integers, this is number arithmetic, since 8 is a string, it’s concatenation,
so 78 is the result.
9. What looping structures are there in JavaScript? -
for, while, do-while loops, but no foreach.
10. How do you create a new object in JavaScript? -
var obj = new Object(); or var obj = {};
11. How do you assign object properties? -
obj["age"] = 17 or obj.age = 17.
12. What’s a way to append a value to an array? -
arr[arr.length] = value;
13. What is this keyword? -
It refers to the current object.

oDesk PHP interview questions and answers

PHP interview questions and answers
1. What does a special set of tags do in PHP?
The output is displayed directly to the browser.
2. What the difference is between include and require?
It is how they handle failures. If the file is not found by require(), it will cause a fatal error and halt the execution of the script. If the file is not found by include(), a warning will be issued, but execution will continue.
3. I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?
PHP Interpreter treats numbers beginning with 0 as octal. Look at the similar PHP interview questions for more numeric problems.
4. Would I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars in this example?
In this example it wouldn’t matter, since the variable is all by itself, but if you were to print something like "{$a},000,000 mln dollars", then you definitely need to use the braces.
5. How do you define a constant?
Via define() directive, like
define ("MYCONSTANT", 100);
6. How do you pass a variable by value?
Just like in C++, put an ampersand in front of it, like $a = &$b
7. Will comparison of string "10" and integer 11 work in PHP?
Yes, internally PHP will cast everything to the integer type, so numbers 10 and 11 will be compared.
8. When are you supposed to use endif to end the conditional statement? - When the original if was followed by : and then the code block without braces.
9. Explain the ternary conditional operator in PHP? –
Expression preceding the ? is evaluated, if it’s true, then the expression preceding the : is executed, otherwise, the expression following : is executed.
10. How do I find out the number of parameters passed into function? func_num_args() function returns the number of parameters passed in.

oDesk HTML Tests and Solutions Answers

Which of the following value for the scrolling atribute from the fram tag is not valid?

a. yes
b. default
c. auto
d. no

Q.NO.12.

One of your Web pages named Listing.html you specified a target like this:

Old Listing


How will you make a link to the above target?

a. Check Old Listing as well

b. Check Old Listing as well

b. Check Old Listing as well

b. Check Old Listing as well

Tuesday, April 26, 2011

PHP Test And solutions oDesk

which of the following are used for code reuse?

a. Loops
b. functions
c. Database
d. include files


Solution:

B,D

Question.13.

which of the following is the corect way of specifying default value?

a. Function GetDiscount($Type = "Special") {.........}
b. Function GetDiscount(Type := "Special") {.........}
c. Function GetDiscount($Type: = "Special") {.........}
d. Function GetDiscount($Type : "Special") {.........}

Solution:

Question.14.

Which of the following are ''magic constant'?

a. __LINE__
b. __FILE__
c __PRETTY_FUNCTION__
d __CLASS__
e. __METHOD__

Solution:

Question.15.

you have defined three variables $to, $subject, and $body to send an email. Which of the following methods would you use for sending an email?

a. mail($to, $subject,$body)
b. sendmail($to, $subject,$body)
c. mail(to, subject,body)
d. sendmail(to, subject,body)

Solution: