মঙ্গলবার, ১৯ মার্চ, ২০১৩

oDesk PHP Test And solutions 25.03.2013


PHP Test And solutions
Question.11.

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:

Question.16.

Which one of the following is turnary operator?

a. &
b. =
c. :?
d. ?:
e. +=
f. &&

Solution

D

Question.17.

What is the result of the following Exprssion?
5+2*4+6

a. 70
b. 19
c. 34
d. 21

Solution:
B

Question.18.

The default value of register global in PHP is:

a. Off
b. On

Solution:

A

Question.19.


What would b the outpur of the following code?

$string = 'good day';
$string = ucword($string);
echo $string;
?>

a. good day
b. GOOD DAY
c. Good Day
d. non of the above

Solution:

C

Question.20.

If you want to pass a value to a function by reference, the correct way is:

a. function ModifyReport(&$Rptfile){}
b. function ModifyReport($Rptfile){}
c. function ModifyReport(ByRef $Rptfile){}
d. function ModifyReport(&Rptfile){}

Solution:

D
Question.21.

What will be the output of the following code?

$a = 10;
echo "Value of a = $a";

a. value of a = 10
b. Value of a = $a
c. Undefind
d. Syntax Error

Solution:

A

Question.22.

Which of the following regualr expressions can be used to check the validity of an email address?

a. ^[^@]+@[^@]+\[^@]+$
b. ^[^@]+@[^@]+[^@]+$
c. $[^@]+@[^@]+\[^@]+^
d. $[^@]+@[^@]+.[^@]+^

Solution:

Question.23.

Which of the following is not represent logical AND operator in PHP?
a. &
b. &&
c. And
d. AND

Solution:
A

Question.24.

Which of the following are file PHP file Upload Related function?

a. upload_file()
b. is_upload_file()
c. move_upload_file()
d. Non of the above

Solution:

D

Question.25.

Does PHP support exceptions?

a. Yes
b. No

Solution:

A

Question.26.

Which of the following functions do you need to implement HTTP Basic Authentication?

a. Authenticate()
b. header()
c. basic_auth()
d. Non of the above

Solution:

D

Question.27.

What will be the output of the following code?

for ($i = 0; $i <>
{if($i == 2)
continoue;
print "$i\n";
}
?>

a. 0
1
2
3
4
5
b. 0
1
2
3
4
c. 2
d. 0
1
2
4
e. non of the above

Solution:

B

Question.28.

What will be the output of the following code?

echo 12 . 6;

a. 12 . 6
b. 126
c. 12.6
d. Error: You cannot add integers through the concatienation operator(.)

Solution:

Question.29.

Which of the following is not supported in PHP5?

a. Type Hinting
b. Reflection
c. Magic Methods
d. Object Cloning

Solution:

Question.30.

Which of the following are valid PHPdata types?

a. resource
b. null
c. boolean
d. string
e. Both a and c
f. b, c and d
g. All of the above

Solution:

রবিবার, ৩ মার্চ, ২০১৩

Odesk english spelling test answers 2013 us version


Odesk english spelling test answers 2013 us version
Question1:
Identify the misspelled word in the list below.
a. Dexterity
b. Desicate
c. Dyeing
d. Desecrate
the answer is: b. Desicate
Question2:
Complete the following sentence by choosing the correct spelling of the missing word.
Sam _________ a successful political campaign.
a. orchestraited
b. orchestrated
c. orchestreated
d. orcestrated
the answer is: b. orchestrated
Question3:
Complete the following sentence by choosing the correct spelling of the missing word.
Helen was surprised by the __________ stature of her blind date.
a. diminutive
b. diminuative
c. deminutive
d. dimminutive
the answer is: a. diminutive
Question4:
Identify the misspelled word in the list below.
a. Parallel
b. Prevalent
c. Prejudice
d. Perserverance
the answer is: d. Perserverance
Question5:
Complete the following sentence by choosing the correct spelling of the missing word.
Sally’s nervous __________ left her standing at the altar.
a. fiancé
b. finance
c. feancé
d. fience
the answer is: b. finance
Question6:
Complete the following sentence by choosing the correct spelling of the missing word.
Arthur spent hours admiring the gothic ____________of all those French cathedrals.
a. architecture
b. arkhitecture
c. arcitecture
d. arckitecture
the answer is: a. architecture
Question7:
Choose the correct spelling of the word from the options below.
a. Priveledge
b. Privilage
c. Privilege
d. Privelege
the answer is: c. Privilege
Question8:
Complete the following sentence by choosing the correct spelling of the missing word.
Let me tie your mittens to your sleeves so you don’t ______________ them.
a. loose
b. looze
c. lose
d. louse
the answer is: c. lose
Question9:
Choose the correct spelling of the word from the options below.
a. Ligitimate
b. Legitimate
c. Legetimate
d. Legitemate
the answer is: b. Legitimate
Question10:
Complete the following sentence by choosing the correct spelling of the missing word.
Peter always makes such a _____________ of himself!
a. nuisance
b. nuisents
c. newsanse
d. nuisince
the answer is: a. nuisance
Question11:
Identify the misspelled word in the list below.
a. Hemorrhage
b. Harass
c. Hankerchief
d. Hypocrisy
the answer is: c. Hankerchief
Question12:
Identify the misspelled word in the list below.
a. Yacht
b. Youthful
c. Yeilding
d. Yesterday
the answer is:
Question13:
Choose the correct spelling of the word from the options below.
a. Embarassment
b. Embrassement
c. Embarrasment
d. Embarrassment
the answer is: a. Embarassment
Question14:
Identify the misspelled word in the list below.
a. Occasion
b. Occurrence
c. Orangutan
d. Opponant
the answer is: d. Opponant
Question15:
Identify the misspelled word in the list below.
a. Quixotic
b. Quite
c. Questionaire
d. Quarantine
the answer is: c. Questionaire
Question16:
Choose the correct spelling of the word from the options below.
a. Adress
b. Addrress
c. Addres
d. Address
the answer is: d. Address
Question17:
Identify the misspelled word in the list below.
a. Sophomore
b. Supersede
c. Susceptable
d. Spontaneous
the answer is: c. Susceptable
Question18:
Identify the misspelled word in the list below.
a. Rhythmical
b. Reminiscence
c. Rheumatism
d. Resevoir
the answer is: d. Resevoir
Question19:
Choose the correct spelling of the word from the options below.
a. Goverment
b. Governmant
c. Government
d. Govermant
the answer is: c. Government
Question20:
Identify the misspelled word in the list below.
a. Cachet
b. Connoisseur
c. Charateristic
d. Catastrophe
the answer is: c. Charateristic
Question21:
Complete the following sentence by choosing the correct spelling of the missing word.
The purpose of your report should be to ___________ the most relevant facts, not to obscure them.
a. illumenate
b. iluminate
c. illuminate
d. elluminate
the answer is: c. illuminate
Question22:
Complete the following sentence by choosing the correct spelling of the missing word.
The protesters hurled ___________ insults at us as we walked by.
a. vicous
b. vicious
c. vicoius
d. vicius
the answer is: b. vicious
Question23:
Choose the correct spelling of the word from the options below.
a. Neccesary
b. Necessary
c. Neccessary
d. Necesary
the answer is: b. Necessary
Question24:
Identify the misspelled word in the list below.
a. Fluorescent
b. Fullfil
c. Facsimile
d. Fictitious
the answer is: b. Fullfil
Question25:
Complete the following sentence by choosing the correct spelling of the missing word.
My father does not believe in ____________ , but my mother does.
a. reincanation
b. reincarenation
c. reincarnation
d. reincantation
the answer is: c. reincarnation
Question26:
Choose the correct spelling of the word from the options below.
a. Heinous
b. Henous
c. Heinus
the answer is: a. Heinous
Question27:
Complete the following sentence by choosing the correct spelling of the missing word.
The church members accused the cult of _______________ practices.
a. sacreligious
b. sacrelegious
c. sacrilegious
d. sacrilgious
the answer is: c. sacrilegious
Question28:
Complete the following sentence by choosing the correct spelling of the missing word.
The judge granted the reluctant witness complete ____________ from prosecution for his part in the crime.
a. amnesty
b. amnasty
c. anmesty
d. emnesty
the answer is: a. amnesty
Question29:
Complete the following sentence by choosing the correct spelling of the missing word.
He __________ a summer house, an exercise bike, and a hamster in the divorce settlement.
a. accquired
b. ecquired
c. acquired
d. akquired
the answer is: c. acquired
Question30:
Complete the following sentence by choosing the correct spelling of the missing word.
The clown’s performance was _______________, to say the least.
a. dissapointing
b. dissappointing
c. disapointing
d. disappointing
the answer is: d. disappointing
Question31:
Identify the misspelled word in the list below.
a. Managable
b. Millennium
c. Minuscule
d. Miscellaneous
the answer is: a. Managable
Question32:
Choose the correct spelling of the word from the options below.
a. Excesive
b. Exccesive
c. Excessive
d. Exceesive
the answer is: c. Excessive
Question33:
Complete the following sentence by choosing the correct spelling of the missing word.
Mrs. Baker took her ______________ class on a field trip to the zoo.
a. kindergarden
b. kindegarten
c. kindergarten
d. kindegarden
the answer is: c. kindergarten
Question34:
Choose the correct spelling of the word from the options below.
a. Pronounciation
b. Pronuciation
c. Pronuncitation
d. Pronunciation
the answer is: d. Pronunciation
Question35:
Choose the correct spelling of the word from the options below.
a. Leiutenant
b. Luietenant
c. Lieutanent
d. Lieutenant
the answer is: d. Lieutenant
Question36:
Complete the following sentence by choosing the correct spelling of the missing word.
On the ____________ day of Christmas, Lucy was annoyed to find her yard full of noisy drummers drumming.
a. twelvth
b. twelfth
c. twelfeth
d. twelth
the answer is: b. twelfth
Question37:
Complete the following sentence by choosing the correct spelling of the missing word.
Their relationship was plagued by __________ problems.
a. perpetual
b. perpechual
c. purpetual
d. perptual
the answer is: a. perpetual
Question38:
Complete the following sentence by choosing the correct spelling of the missing word.
The professor made it clear that ___________ would not be tolerated.
a. plagiarism
b. plagiarizm
c. plagerism
d. plagirism
the answer is: a. plagiarism
Question39:
Choose the correct spelling of the word from the options below.
a. Efficency
b. Efficentsy
c. Efficiensy
d. Efficiency
the answer is: d. Efficiency
Question40:
Choose the correct spelling of the word from the options below.
a. Temperamental
b. Tempermental
c. Temperamentle
d. Temparamental
the answer is: a. Temperamental

Gmail Product Test answer


Gmail Product Test
Score: 5.00
Question: 1
What does Gmail’s AutoComplete feature do?
a. Suggest spelling corrections
b. Suggests the appropriate way to finish your emails
c. Suggests names from your contact list in alphabetical order
d. Suggests names from your contact list in the order of frequency of use
e. All of the above
Answer: d
Question: 2
How many languages is Gmail currently offered in?
a. 40
b. 42
c. 52
d. 117
e. None of the above
Answer: c
Question: 3
The Gmail Notifier is a downloadable application that alerts you whenever you have Gmail messages. Once you install the Notifier, you’ll be able to do all of the following EXCEPT.
a. Automatically check for new messages every two minutes
b. See a snippet of text from up to 30 unread messages
c. Select a sound to indicate when you have new mail
d. Reply to messages without opening a browser
e. Make Gmail you default email application
f. None of the above
Answer: d
Question: 4
Gmail’s spam filter marks a message as Spam but it’s actually something you want to keep. You unmark the message as spam by checking the box next to the sender’s name and clicking “Not Spam” at the top of your Spam mailbox. Which of the following things does NOT happen?
a. The message is moved to your inbox
b. The message is permanently labeled ‘Not Spam’ in your Spam mailbox
c. The sender’s email address is added to your Contacts list
d. All subsequent messages from sender are not marked as ‘Spam’
e. None of the above
Answer: b
Question: 5
Which of the following Gmail keyboard shortcuts will perform this action: Puts your cursor in the Search box?
a. U
b. /
c. R
d. Then
e. None of the above
Answer: b
Question: 6
You’ve invited someone to chat, and they accepted. Which of the following color indicators show they are available to chart?
a. Red
b. Yellow
c. Green
d. Gray
e. None of the above
Answer: c
Question: 7
Which of the following emails should not have any problem sending properly?
a. Email to your mother with a photo of new cat (attachment: JPG file, 24 MB)
b. Email to your grandmother asking for the recipe for her famous cookies
c. Email about an upcoming concert sent you sent to your 600 closets friends
d. Email to your brother with a copy of this really cool downloadable application (attachment: exe file, 6 MB)
e. None of the above
Answer: b
Question: 8
Which of the following features is not available in all of the languages/locales that the Gmail UI is localized into?
a. Labels
b. Check spelling
c. Chat
d. Labs
e. All of the above
Answer: d
Question: 9
I want to add color and be able to underline in my emails. What setting do I need to adjust?
a. In the message view, choose ‘Plain Text’
b. In the message view, choose ‘Rich formatting’
c. In the settings menu, choose UTF-8 for the outgoing message encoding
d. In the setting menu, choose to enable IMAP
e. None of the above
Answer: b
Question: 10
Each time you send a message. Gmail automatically selects an appropriate encoding for the language(s) in which you’ve composed your mail. It’s possible, however, that the recipient may not be able to properly view the message you’ve sent. If your contacts are having trouble viewing messages you’ve sent them, what encoding does Google recommend you use for outgoing mail?
a. ASCII
b. UTF-8 Unicode
c. UTF-16 Unicode
d. Multiple encoding
e. None of the above
Answer: b
Question: 11
Which of the following does not differentiate Gmail from other web-based email programs?
a. Using keywords or the advanced search feature, Gmail users find what they need it.
b. With Infinity +1 storage you can archive, rather than delete, message for later viewing.
c. Each message is grouped with its replies and displayed as a conversation.
d. Gmail is available completely free of charge
e. None of the above
Answer: d
Question: 12
To see all the mail you have archived, what should you do?
a. Go to a message/conversation, click on the arrow next to Reply and click ‘Expand All’
b. Select ‘All Mail’ from the left menu bar
c. Type ‘All’ in the search bar and then click ‘Search Mail’
d. Select ‘Inbox’ form the left menu bar
e. None of the above
Answer: b
Question: 13
A user is upset that Gmail doesn’t have folders. They want to organize their mail into groups and get it out of their inbox. What would you recommend?
a. Suggest tolders via suggestions page: http://mail.google.com/support/bin/request.py?contact_type=sug
b. Switch to Yahoo! Or Hotmail
c. Download your mail to Outlook via POP this is the only way to get folders
d. Combine labels and archiving
e. None of the above
Answer: d
Question: 14
Which of the following Gmail keyboard shortcuts will perform this action, If you are in conversation view, this shortcut will refresh your page and return you to your list of conversations.
a. U
b. /
c. R
d. Then
e. None of the above
Answer: a
Question: 15
You can only join Gmail if you have invitation.
a. True
b. False
Answer: b
Question: 16
How frequent is Gmail’s release cycle?
a. Weekly
b. Bi-weekly
c. Monthly
d. Ad hoc/as needed
e. None of the above
Answer: a
Question: 17
How many times does the Google localization Project Manager (LPM) upload each Gmail UI project?
a. 1
b. 2
c. 3
d. 4
e. None of the above
Answer: c
Question: 18
Which of the following is NOT something you can set a filter to messages?
a. Skip the inbox
b. Get starred
c. Be automatically labeled
d. Be forwarded to another account
e. Be automatically moved to the top of your inbox
f. Be moved to Trash
Answer: e
Question: 19
Why is Gmail faster to navigate than other email services?
a. Uses JavaScript which allows faster navigation with fewer requests to the server
b. Always uses a basic HTML view that is compatible with almost any browser
c. Downloads your mail to your desktop for easy access
d. Combines coding platforms to remain effective in different situations
e. All of the above
Answer: a
Question: 20
Now that you have been using Gmail for a while you have received thousands of emails. You are trying to find your friend Amy’s work phone number to add to your contacts list and you know that either Amy or her husband David sent it to you at some point. What’s the best way to search for it?
a. Use advanced search with the operators from;amy;from;david
b. Use advanced search with the operators from;amy OR from;david
c. Scroll through your inbox to find messages from Amy or David
d. Use advanced search with the operators messages from;amy or messages from;david
e. None of the above
Answer: b
Question: 21
Which of the following should be localized for Gmail help content?
a. External (non-Google) URLs
b. Hotkeys
c. Any URLs that refer to specific KB (Knowledge Base) entries
d. The title field, unless there is a Field title
e. All of the above
Answer: a
Question: 22
Google places targeted ads next to your Gmail inbox. In addition to supplying relevant ad information that is targeted to your needs, this allows Google to:
a. Offer 5 GB storage to users for free
b. Enroll Gmail users in the AdSense program
c. Display Non Family Safe or Porn ads
d. Employ more people matching email content to ads
e. All of the above
Answer: a
Question: 23
In which locales if Gmail called Google Mail?
a. De
b. Fr
c. Ru
d. Tl
e. En-gb
f. None of the above
Answer: a, e
Question: 24
Google may terminate a user’s account in accordance with the terms of service, if the user:
a. Registers for three or more Gmail addresses.
b. Fails to login to account for a period of six months.
c. Fails to login to account for a period of nine months.
d. Uses a personal account for business purposes.
e. None of the above
Answer: c

Popular Posts

অনুসরণকারী

এই ব্লগটি সন্ধান করুন