Saturday, October 23, 2010

Search Engine Optimization Test Solution

Search Engine Optimization Test Solution

Which of the following can be termed as a good keyword selection and placement strategies?

a* Targeting synonyms of the main keyword (ans) A & D
b.Targeting the highest searched keywords only
c.Copying competitor keywords
d.Optimizing 5 or more keywords per page

Ans: D

Thursday, October 21, 2010

Odesk Wordpress Test Solutions

 Odesk Wordpress Test Solutions

What is the function of Widgets in Wordpress?

·         It is used to display the site in proper design
·         It is used to create a sitemap of the sit e
·         It is used to add additional components to the site
·         It helps in easy and fast searching
You want to show the number of spam comments that have been caught by the akismet ? . Which of the following code is used to display the statistics in the version 2.5.1?

From Which section in the Wordpress admin can you add a calendar to your website /
·         Themes sections
·         Manage sections
·         Plug-in sections
·         Widgets section
·         None of the above

How can you hook a new function into the version 2.5.1?

·         Add_action(“hook_name’,your_funtion’,[priority,][accepted-args]);
·         Add_action(“your_funtion_name’,hook_name’[priority],[accepted_args];
·         New functions can’t be hooked
·         None of the above
From which of the following blog sites does Wordpress provide the feature to import posts?
·         Blogger
·         Live journal
·         Technorati
·         Wordpress

Under the admin manage section of the version 2.5.1, you can ___?

·         Manage user roles
·         Manage topic categories and tags
·         Manage theme templates
·         Manage published and unpublished post

What is the purpose of the meta Widget in Wordpress?
·         To show meta –tag information about the website
·         To show the log in and logout menus
·         To show the admin page link
·         To handle Rss Feeds

Which type of media files can be uploaded to

·         .Wma
·         .jpg
·         .odt
·         .doc

In which file do you specify the database name in the version 2.5.1?
·         Wp-config-sample.php
·         Wp-config.php
·         Wp-index.php
·         Wp-index-sample.php
·         Wp-setting.php

In you can add third party plugins to your blogs.

·         True
·         False

In wordpess akismet falls under the category of ___?

·         Themes
·         Widgets
·         Plugins
·         Permalinks
·         None of the above

In 2.5.1 the sidebar is under to display __
·         Widgets
·         Plugins
·         User profiles
·         None of the above

Answers will be on the blog shortly

Sunday, October 17, 2010

Cover letter Sample

Dear Hiring Manager ,

Good Day
I’m interested in the position of  "job name here " you  recently posted. I have been a working as (your position ) for (no of year) years, and am very familiar with 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

“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"

"Your Name"

Friday, October 15, 2010

Joomla Odesk Test Solutions

joomla 1.5 test oDesk

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

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

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

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

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

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://

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

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

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

Which of the following is the default editor of Joomla?
Odesk test answer: TinyMCE

Joomla provides an abstracted method called getEscaped() that returns the escaped string regardless of the target database.
Odesk test answer: False

From which package are the classes (i.e JSite, JAdministrator and JInstallation) which make up the Joomla CMS application extended?
Odesk test answer: Installer

What is not true about JoomlaXplorer?
Odesk test answer: None of the above

Which of the following is a system event?
Odesk test answer: OnDisplay

Which Joomla file provides the central logic of the template, including any module and component display?
Odesk test answer: Index.php

When will you use SMTP authentication mail settings?
Odesk test answer: When you want to use an internal mail server

What do you understand by the type of error?
Odesk test answer: It means that STRICT_ALL_TABLES is enabled

Which path variable holds the path of the currently executing application?
Odesk test answer: All of the above

Which user events occur with plug-ins that are installed for the front end of the system?
Odesk test answer: Both a and b

Which type of positioning elements define a concrete area such as a p, td, div or table in a CSS file?
Odesk test answer: Block elements

Which of the following files does the "/includes" directory not contain?
Odesk test answer: None of the above

Which option will you select to install or to add the module to your website?
Odesk test answer: C

Why does Joomla use templateDetails.xml files?
Odesk test answer: All of the above

Which of the following events is activated after content rendering is complete for content type plug-ins?
Odesk test answer: OnAfterDisplayContent

All the Joomla settings are contained within a PHP class called JConfig.
Odesk test answer: True

In which PHP file is the central configuration data for Joomla contained?
Odesk test answer: configuration.php

What is not true about the MD5 hash value?
Odesk test answer: Each password in Joomla is stored as a MD5 hash value

There are two root classes for the Joomla framework: JFactory and JVersion.
Odesk test answer: True

Which option will you select to find unpublished articles?
Odesk test answer: Article manager

What do you understand from the following code?
Odesk test answer: SQL statement is executed against the Joomla database to find empty data fields

 Which SEO settings will you activate to make Joomla article URL shown in picture A appear as shown in picture B?
Odesk test answer: B

In which option are errors, warnings and references logged?
Odesk test answer: None of the above

Which type of files can media manager not upload?
Odesk test answer: None of the above

Which among the following switches display the current version of PHP?
Odesk test answer: -v

The Joomap extension uses the style-sheets from the currently selected default template to display the sitemap in the site style.
Odesk test answer: True

Which type of server technology is used by Joomla?
Odesk test answer: All of the above

Which of the following is not true about the FrontPage Manager?
Odesk test answer: You cannot select your content for the FrontPage from all the contents

What happens if the Text Separator Field is left empty while using the breadcrumbs module in the module manager?
Odesk test answer: None of the above

Which of the following support libraries must you include when you are doing a manual compile of PHP to use with Joomla?
Odesk test answer:  All of the above

What is the role of the template metadata file in the system?
Odesk test answer: It contains the basic authorship information

Monday, October 4, 2010

php test Question Answer

                            odesk Php Test Solution part 1 

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?


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

Ans: C

Question 7

What is the result of the following expression?

  1. 70
  2. 19
  3. 34
  4. 21

Ans: B

Question 8

The classes are defined as follows
Abstract class BaseCls(
Protected abstract function getName();
Class childCls extends BaseCls{
Which of the following implementations of getName() in invalid in childCls?

a.       Protected function getName(){}
b.      Function getName(){}
c.       Private function getName(){}
d.      Public function getName(){}

Ans: D

Question 9

Multiple select/load is possible with:
  1. checkbox
  2. select
  3. file
  4. all of the above

Ans : A

Question 10

State whether true or false

Paamayim nekudotayim operator allows access only to the static members of a class?

a.       True
b.      False

Ans: A

Question 11

What is the output of the following code?

echo $a % 2 * $b;

  1. 100
  2. 200
  3. 500
  4. 0
  5. Syntax error

Ans: D

Question 12

You need to heck the size of a file in php function .
which function will suitable replace “X”?

  1. Filesize
  2. Size
  3. sizeofFile
  4. getSize

Ans: A

Question 14
Which of the following is not true for a persistent connection?

  1. these are not closed even after the execution of the script
  2. these are mainly used to increase the efficiency of the system
  3. These can’t be converted to non-persistent connections
  4. These are preferable not used in the scripts involving transactions

Ans: D

Question 15

Which one is correct?

  1. $s=fwrite(“a string here”);
  2. $s=fwrite($fp,”a string here”);
  3. $s=fwrite(“a string here ”,$fp);
  4. none of the above

Ans B

Question 16
Which of the following in not a correct way of printing text in php 5

echo “plain text”
d.      <#
echo “plain text”

Ans: C

Question 17

Which will be the output of the following code?


print “$a\n”;
if ($a==1.0)
print “equals”;
print “not equals”;
  1. 0.9
Not Equals
  1. 1
  1. 1
not Equals
  1. 1.1

Ans: C

Question 18

Which of the following attribute is needed for file upload via form?

  1. Enctype=”multipart/form-date”
  2. Enctype=”singlepart/date”
  3. Enctype=”file”
  4. Enctype=”form-data/file”

Ans: A

Question 19

Late php versions support remote file accessing for the functions:

  1. Include()
  2. Include_once()
  3. Require_once()
  4. All of the above

Ans : D

Question 20

Given below is a small php script:

class person {
function getSal()
class emp extends person {
fucniton getSal()
the getSal() of emp has to behave exacltyle as getSal() of person . Which of the following lines of code would you use to replace the “???”?

  1. Parent:: getSal();
  2. Person::getSal();
  3. Parent::getsal;
  4. Person::getSal;

Ans: A