Pages

Subscribe:

Ads 468x60px

Featured Posts

Sunday, February 5, 2012

oDesk Java programming test answer

Question 1

What is the java.net.IDN class in 1.6?

Methods to resolve integrated domain names (IDNs), such domain names are special embedded names
Methods to swap bytes between network byte order and host byte order
Methods to convert internationalized domain names (IDNs) between a normal Unicode representation and an ASCII Compatible Encoding (ACE) representation
This class does not exist
None of the above
Question 2

What will be the output of the following program?
public class Test
{
public static void main (String args[]) throws Exception
{
Test o = new Test ();
System.out.println (o.content ());
}
public String content () throws Exception
{
throw new Exception ("This is an exception on this.content ()");
}
private static class B
{
public String content ()
{
return ''B'';
}
}
private static class A extends B
{
public String content ()
{
return ''A'';
}
}
}

The code will fail to compile
The code will compile but throw an exception at runtime
The code will compile and on running, it will print ''A''
The code will compile and on running, it will print ''B''
Question 3

Which of these interfaces are used by implementations of models for JTable?

TableModel
TableColumnModel 

TableSelectionModel
ListModel
Question 4

How many times can classes be nested within a class?

5
8
4
Any number of times

oDesk joomla 1.5 test answer

1) The index.php file is a combination of HTML and PHP code.
Odesk test answer: True

2) What is the default super administrator account for Joomla called?
Odesk test answer: Administrator

3) Which of the following PHP directives are important to Joomla execution to define an alternate compression library if the standard library is not available?
Odesk test answer: extension_dir

4) Which of the following files is archive and contains the actual CB component that you must install into Joomla while downloading CB?
Odesk test answer: com_comprofiler

5) Which option will you choose to set the site metadata for the installed website?
Odesk test answer: Global Configuration

6) What will happen if we set the SSL enabled option to On?
Odesk test answer: This option will make the link from the menu begin with an https://

7) The core editor events apply to plug-ins that provide editor functionality such as TinyMCE or XStandard Lite.
Odesk test answer: True

8) Which PHP file does the index.php file load to provide the menu bar to the administrator interface?
Odesk test answer: Toolbar.php

9) Which of the given database systems is supported by Joomla?
Odesk test answer: Mysql

Sunday, January 29, 2012

Odesk HTML Test 4.01 Answers

Odesk HTML Test 4.01


Question no. 1
Which of the following statements is correct for a blockquote?
a. It make the text a bit bigger for emphasizing.
b. It defines the start of a long quote.
c. It makes the text slightly bolder.
b. It defines the start of a long quote.

Question no. 2
Which of the following is incorrect about the relation between HTML and XHTML?
a. XHTML is a stricter and cleaner version of HTML.
b. XHTML is almost identical to HTML 4.01.
c. XHTML and HTML both are used to generate dynamic content.
d. XHTML brings together the elements of HTML and the syntax of XML.
b. XHTML is almost identical to HTML 4.01.

Question no. 3
Choose the incorrect statement(s):
a. An HTML attribute is additional information included inside a tag.
b. HTML is case sensitive.
c. All the HTML4.01 tags must be paired.
d. Your browser may appear to correctly use newly deprecated code for the present, but its support for deprecated code could be
halted at any time after the browser is updated.
b. HTML is case sensitive.

Question no. 4
Which of the following tags can be used in place of a button tag?
a. legend
b. ol
c. input
d. dl
c. input

Question no. 5
Which of the following is not a valid input type of the form tag?
a. checkbox
b. image
c. hidden
d. button
e. All are valid
e. All are valid




Question no. 6
It is not necessary to give the coordinates for an image or object defined within an area tag, if the value of its shape attribute is:
a. circle
b. poly
c. default
d. rect
c. default

oDesk php 5 test answers

oDesk php 5 test answers


Question 1
The setrawcookie() method of setting cookie is different from php standard method of cookie setting as :
  1. It does not allow expiry time to be set
  2. It can be used only once
  3. It does not url- ENCODE the value on its own
  4. It does not allow domain setting
Ans: C

Question 2

IF visibility is not defined for a method /member then it is treated as public static.

  1. True
  2. False

Ans: B

Question 3

Which of the following is not a valid php connection status?
  1. Aborted
  2. Normal
  3. Open
  4. Timeout

Ans:  C

Question 4

Which of the following statements is not true with regard to abstract classes in php5?

  1. Abstract classes are introduced in php 5
  2. A class with a single abstract method must be declared abstract
  3. Abstract class can contain abstract methods
  4. Abstract method must have method definition and can have optional empty braces following it
Ans : C

Question 5
What will be the result of following operation?
Print 4<<5;

a.       3
b.      128
c.       120
d.      6

Ans: B

Question 6

Which of the following type cast in not correct?

$fig=23;
$varbl=(real)$fig;
$varb2=(double)$fig;
$varb3=(decimal)$fig;
$varb4=(bool)$fig;
?>

  1. real
  2. double
  3. decimal
  4. Boolean

Ans: C

oDesk Microsoft Excel 2010 Test Answers

Microsoft Excel 2010 Test

Syllabus of the Tes
Managing Worksheets
Microsoft Excel 2010 Advanced Features
Analyzing Data- PivotCharts and PivotTables
Web based Co-authoring and Streamlined Communications
Document Customizing-Working with Themes, Language, Images, Ribbon
Microsoft Excel 2010 Documents Security, Privacy and Recovery




Question:If you want to create a citation and fill in the source information later, you should:

a. insert a caption.
b. add a placeholder.
c. add a new source.
d. insert a cross-reference.
Question:To select vertical blocks of text, you would hold down which key while dragging the mouse?
a. Alt
b. Ctrl
c. Shift


Question:If I do not want the contents of one of my fields to automatically update, I would have to do which of the following?

a. Lock the field.
b. Protect the field.
c. Make the field hidden.
d. Turn field shading off.
 

Question:Sarah receives a company turnover summary in the form of an embedded Excel chart (as shown in the above image) in a Microsoft Word 2010 document from her boss. Her boss wants the chart to be sent over to the Public Relations department with a line in the chart showing the variations in the company's turnover, as well as a prediction for the next 2 years. The turnover values for each year also need to be sent separately in an Excel file. What should Linda do to achieve this in the shortest possible time?

a. Take a screenshot of the chart and ask a designer to draw a line showing the trends. She can then type the data manually into an excel sheet.
b. Import the chart into an Excel sheet and change the formatting of the chart to a line chart. She can then copy the corresponding fields into a separate Excel file and send it over.
c. Change chart type to a line chart and type all the values into an Excel file.
d. Use the Trendline feature to create a line showing the trends and copy the data from the 
Excel sheet field which opens up on clicking Edit Data.
 

Question:You want to add an image as the first character in your paragraph. Which type of text wrapping treats your graphic as if it were a character?

a. Through
b. Square
c. In Font of Text
d. In Line with Text
 

Question: Roger was editing a Word document, when his mobile phone rang. By mistake, some button got clicked on the Word 2010 Ribbon area, so that the document's appearance changed from Image A to Image B. Which of the following options could be the cause?


a. Margins were activated on the document.
b. Tables with maximum number of rows and columns was added to the document.
c. Gridlines were enabled from the Page Layout Tab.
d. A preset Watermark was inserted.
 

oDesk MS Word 2007 test answers

Word 2007 Odesk test answer

1.  Which among the following methods would you select when you want to add protection to parts of a template?
Ans:  Go to the Developer tab, click on Properties in the Controls group and then click any of the Locking options in the Content Control Properties dialog box.

2. Which of the following is/are true about phishing?
Ans: All if the above

3. This question is based upon the figure shown below

In some cases, when lists are combined into one "List," the formatting is not updated. Refer to the picture given above. Which among the following options should be used to update this formatting?
Ans: D

4. Which among the following charts do not have axes?
Ans: Doughnut charts

5. Microsoft named two styles that work in Word 2007 as both character and paragraph types as being ______ styles:
Ans: Linked

6. This question is based upon the figure shown below

 Ans: It ensures that the text is not obscured by binding.

7. With the help of which view will the Watermark not be seen?
Ans: Web Layout view

8. This question is based upon the figure shown below

How will the Message Bar alerts be enabled as shown in the given picture?
Ans: Select Word Options from the Microsoft Office Button. Click on Trust Center, then click Trust Center Settings, and then click Message Bar.

Saturday, January 28, 2012

oDesk Dreamweaver CS3 Test Answers







oDesk U.S. English Basic Skills Test Answers

 Q: Choose the series of pronouns that best completes the following sentence.
_______ is the name of the opera, and ______ role did you say Maria would pay?
Ans: c (what, which)

Q: Read the following question and choose the response that uses the correct corresponding verb tense.
Ans: a (No, because by the time I got there all the tickets had already been sold.)
Q: Choose the phrase that best completes the sentence below without creating a run-on sentence.
It’s never too late to learn how to swim ______ you may fall off a boat!
Ans: b (you never know when)
Q: Choose the series of verbs and phrases that best completes the following passage.
This dish ______ too spicy. Why _______ so much pepper?
Ans: e (a and c)
Q: Rearrange the following words to create the most logical and grammatically correct sentence.
With can’t phone, on whenever always to the time spend I speak I my friend, him
Ans: e (Whenever I can’t spend time with my friend. I always speak to him on the phone.
Q: Read the following question and choose the response that uses the correct corresponding verb tense.
Did you hear the weather report for tomorrow?
Ans: b (No, I wasn’t listening to the radio.)
Q: Choose the series of pronouns that best completes the following sentence.
Victor, who stole ______ ideas and used them to make ______ a millionaire, never once offered ______ a word of thanks.
Ans: d (our, himself, us)
Q: Which of the following sentences illustrates correct verb and verb tense usage?
Ans: e (All of the above)
Q: Choose the series of adjectives and adverbs that best completes the following sentences.
While ______ of our relatives live on the _______ hill in the country, ______of our friends live in the ________ area of the valley.
Ans: c (many, windiest, most, protected)

oDesk U.S. Word Usage Test Answers




oDesk Search Engine Optimization Answers

Question: 1
Which of the following search engines or directories provides the directory search results for Yahoo?



a.
Windows Live

b.
Yahoo Directory

c.
Google

d.
Wikipedia

e.
DMOZ
Ans:  B
 Question: 2
Which of the following statements regarding website content are correct?


a.
If you have two versions of a document on your website, Google recommends that you only allow the indexing of the better version

b.
Linking to a page inconsistently does not affect the way Google views the page/s. Examples of inconsistent linking could be http://www.expertrating.com/page/ and http://www.expertrating.com/page and http://www.expertrating.com/page/index.htm

c.
Syndicating your content could lead to Google viewing the material as duplicate

d.
Placeholders for pages which do not have content are never viewed as duplicate content by Google

A

 Question: 3
What is Keyword Density?


a.
The number of times the keyword is used / (DIVIDED BY) the total word count on page - (MINUS)the total words in HTML on the page

b.
The number of times the keyword is used X (MULTIPLIED BY) the total word count on page

c.
The number of times the keyword is used in the page description

d.
The number of times the keyword is used in the page title

e.
The number of times the keyword is used / (DIVIDED BY) the total word count on the page
Ans: D


 Question: 4
Which of the following statements about the Google Sitemap are correct:


a.
Repeated submission of the Sitemap to Google could be penalized

b.
It is possible to create and submit specialized Sitemaps to Google for Video and Mobile content

c.
The Sitemap acceptable to Google follows an XML format
Ans: A

 Question: 5
Are RSS/Atom feeds returned in Google's search results?


a.
Yes

b.
No
Ans: B

 Question: 6
What does the term Keyword Prominence refer to?


a.
It refers to the fact that the importance of choosing high traffic keywords leads to the best return on investment

b.
It refers to the importance attached to getting the right keyword density

c.
It refers to the fact that the keywords placed in important parts of a webpage are given priority by the search engines

d.
It refers to the fact that the keywords in bold font are given priority by the search engines 
 Ans: C

 Question: 7
Which of the following factors does Google take into account while assessing whether or not a website is an authority website?


a.
The frequency with which the content of the website is updated

b.
The number of web pages containing relevant information on the main theme of the website

c.
The number of in-bound natural links related to the website's theme (or keywords)

d.
None of the above
Ans: A,B,C

Total Pageviews