odesk email etiquette certification


Odesk email etiquette certification test answers :

 Question:
On a social networking site, which of the following is important to consider — in a personal way - when uploading photographs?


            a.         How many images you can upload as fast as possible.
            b.         Consider the feelings and reputation of the person whose image you are uploading, especially if the image is compromising in some way.
            c.         Whether it is clear that you are the one uploading the images or not.
            d.         None of the above

Question:
What is a very useful last thing to do before sending out any e-mail?


            a.         Read the e-mail through for spelling and grammatical errors, to simplify the message if possible, and to check the recipient's e-mail address.
            b.         Nothing, the quicker you send it, the quicker they will receive it.
            c.         Copy the e-mail at least twice into a word document, as a double precaution.
            d.         Check the time, so you can remember when you sent it, in case they call.
            e.         All of the above


Question:
What does the phrase 'lurk before you leap' commonly mean on internet sites?


            a.         That you should set up a virtual online presence and scare people when they log-in.
            b.         That you should familiarize yourself with a website's contents — its purpose, its FAQ, its community — before making a contribution.
            c.         a and b
            d.         That you should contribute quickly before anyone discovers that you are an unwelcome presence, or only tenously connected to the site and its online community.


Question:
Which of the following are good tips for creating an impressive webpage?


            a.         Make the content informative and entertaining, but easy to read
            b.         Imitate other appealing sites in terms of their visual and textual content, but do not plagiarize.
            c.         Test all the links to make sure they work and connect to their intended new page.
            d.         Edit, edit, edit to ensure there are no mistakes in the content, as factual, grammar, typographical and spelling errors look unprofessional.
            e.         All of the above


Question:
Why is it important to be careful with formatting when sending an e-mail message?


            a.         It's not - you can format in any style you like, as the recipient will find a way to understand the message.
            b.         Because the recipient may not be able to read certain fonts or formats on his or her computer.
            c.         It is polite, and looks neater, especially if you use pretty colors.
            d.         Sometimes computers have been known to blow up when used with the wrong fonts.
            e.         None of the above


Question:


Which of the following is the best technique for sending a large e-mail attachment?


            a.         Just attach it and send it.
            b.         Email the other party directly first and make sure their connection can handle a large download.
            c.         Try and break it up into several smaller downloads, or 'zip' the file if possible.
            d.         Send part of it, and wait to see if they request the remaining part.
            e.         b and c


Question:
Which of the following could be considered as not being 'virtual events,' so you may wish to respond using a more direct reply or regular mail?


            a.         Weddings, funerals, engagements, birthdays.
            b.         After hours get-togethers.
            c.         Casual meetings related to school or work.
            d.         A local prize draw.
            e.         A coffee morning at a nearby school.



Question:
What does it mean when you type an e-mail in all capitals?


            a.         The e-mail is important
            b.         The e-mail is an emergency
            c.         The e-mail is classified information
            d.         The effect is that you are shouting
            e.         b and c

Question:
Which of the following is not a good practice for reacting to virus hoaxes and chain letters?


            a.         Forwarding them to your friends, as often advised by the e-mail hoax itself.
            b.         Discarding or deleting them immediately.
            c.         Considering them, and allowing them to send to your entire contacts list, for other people to decide about their authenticity.
            d.         Printing them out and sending hard copies to a local internet watchdog or awareness group.


Question:
If you are chatting with someone via the instant messenger and text 'BRB', what have you said?


            a.         Been Ready Buddy
            b.         Been Really Busy
            c.         Being Really Busy
            d.         Be Right Back



Question:
What is the purpose of icon-emotions or so-called 'emoticons' in email communication?


            a.         They contain important information such as credit card number.
            b.         They indicate that the email is urgent.
            c.         They are meant for fun and entertainment value.
            d.         They act as a signature which is added at the end of each sent mail.

Question:
Why is it always good to use proper grammar and correct spelling in internet postings like message boards?


            a.         People who are non-native English speakers will understand your writing easily.
            b.         Good grammar and spelling keep ambiguity to a minimum, thereby communicating the message more clearly.
            c.         You do not want to be embarrassed.
            d.         It is good manners, and you can be proud of yourself.
            e.         You are always morally judged by how many typos you make.



Question:
What does it mean to 'respect somebody else's bandwidth'?


            a.         To measure the width of the desktop PC in comparison to a laptop of the same brand.
            b.         To open doors for them to fit through, a reference specifically to the real rather than the virtual world.
            c.         To be conscious of how much storage space you are controlling in any given communication, since everyone only has limited space.
            d.         To allow them two communications for every single communication of your own.
            e.         None of the above


Question:
What is a business 'welcome page' and how can it be useful?



            a.         It's not: welcome pages are always distracting and take too long to load.
            b.         It can give an impression of professionalism, as well as introduce the company brand, logo and overall interests.
            c.         It's the same as the home page.
            d.         It's the same as the goodbye page.
            e.         None of the above

Question:
Which of the following are important differences between face-to-face meetings and online information?



            a.         You are virtually invisible online, so you can get away with a lot more.
            b.         Your face cannot be seen, so it is harder to convey your thoughts and easier to be misunderstood online.
            c.         Written communication should always be more polished and formal than real life spoken communication.
            d.         While cursing is okay in real life, it is strictly prohibited online.





Odesk Jquery test



Odesk Jquery test answers :


Q.What is jQuery?
Answer: jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML.............
Q.Advantages of jQuery
Answer: The advantages of using jQuery are: JavaScript enhancement without the overhead of learning new syntax............

Q.Explain the features of jQuery.
Answer: Features of jQuery are :
  • Effects and animations
  • Ajax
  • Extensibility.............
Q.Explain the concepts of "$ function" in jQuery with an example.
Answer: The type of a function is "function".
There are a lot of anonymous functions is jquery...............

Q.Why is jQuery better than javascript?
Answer: jQuery is great library for developing ajax based application.
It helps the programmers to keep code simple and concise and reusable..............

Q.Explain how jQuery Works.
Answer: <html>
     <head>
     <script type="text/javascript" src="jquery.js"></script>
     <script type="text/javascript">................
Q.When can you use jQuery? 
Answer: JQuery can be used to
apply CSS
call functions on events
traverse the documents...................


Q.What were the biggest challenges of getting the 1.7 release out there?
A.Our test coverage is still incomplete, and with every fixed bug, we introduced 2 others, which made the arrival at a stable level extremely difficult. Every week, there were some 50-100 bugs entered in the bugtracker, and there was literally no end. Luckily, we were able to triage the bugs to critical and blockers and solve these in time for a release. You have to have a lot of guts to push out a release that’s still imperfect - but an imperfect release is better than one that gets delayed for months. You can always roll out 1.7.1.

Q.Jumping off of jQuery UI for a second, Do you “release early, release often” with all of your projects? What are your thoughts on that strategy?
A.Speaking for myself, I often release too early. That has been a problem in the past, when we released versions as stable that weren’t, for instance. So it’s important to find a combination of both - a stable release must be stable, while development cannot be halted or blocked through stubborn processes. A labs section is great in that way - it allows developers to contribute freely and plan on an open canvas, with early preview releases, and the work can later be merged back.

Q.Have any of your startup projects failed dismally - if so, why and how did you learn from them?
A.A lot of my side projects failed, as a matter of fact, while others succeeded. Usually, the reason why some project fails is not a technical one, but the fact that one didn’t build meta data around it. That means a dedicated site, documentation, instructions.

Q.Mac, Windows or Linux? Why do you love this platform while using jQuery?
A.I switched to Mac hardware around a year ago and I’m totally in love with it. All components work together nicely, and so far, I never had to return my Macbook Pro to the Apple Store because of an issue. However, I’m still using Windows through Parallels because OSX, while visually nice and stable, has fundamental usability flaws.One of these flaws is the Finder. I r
 ecently worked on the jQuery UI Selectables in the labs version, and once again saw that the Finder had great flaws when it comes down to selection. For instance, if you select multiple items and click on one of them, the multiple selection isn’t cleared. Also, my tools that I love for windows simply don’t have an alternative yet .


Q.What are your tools of choice to get the jQuery job done?
A.For editing files, I love the e texteditor (yep, the name is “e”). It basically started as a textmate clone for windows, but since then grew into something much greater. One of the features I can’t live without now is there great multiple selection support. Hold down CTRL, select a couple words through double clicking and then type over all of them.On a sidenote, on one of my talks in Japan the audience asked why I’m so insane to use a Textmate clone through an emulated Windows on OSX - I showed them this exact feature, and they were all amazed.

Q.Back onto jQuery UI… Can you see jQuery UI making more of an impression in the future, lead by the current successes of jQuery?
A.jQuery, other than jQuery UI, can be useful almost everytime. jQuery UI gives you a specific set of user interface widgets and behaviours, and many people think of it as loosing a kind of freedom. On the other hand, there’s definitely some connection - if you’re using Prototype already, and you’re looking for an UI framework, your choice is most often script.aculo.us. If you’re using jQuery, why not use the official side project?

Q.Whats next on the hitlist with jQuery UI?
A.There’s a lot of movement right now. We finally pushed out 1.7 3 days ago, which we believe is a solid foundation for everything that’s coming in in the next couple of months. While 1.7 was a stability and foundation release, the next releases will concentrate around features, so expect to see many more components soon. Some examples are the colorpicker, menu, grid, tooltip and tree widgets.

Q.Is it too early to discuss jQuery UI 1.8?
A.There’s a lot on our list for the year. Filament Group did a great job to start a list of all widgets they could imagine being part of jQuery UI, which can be found and discussed in the jQuery UI planning wiki at http://wiki.jqueryui.com. There’s no definite roadmap for 1.8 yet, but some components are likely to make it into the next release. For instance, widgets that are already being worked on (grid, menu), as well as widgets that we had to kick out of 1.6/1.7 because they weren’t stable enough (spinner, colorpicker, autocomplete). It will be a huge feature release!

Q.If you could give one tip to any new budding jQuery UI developers, what would it be?
A. For jQuery UI, we’re trying to take the same path than jQuery, and people that are restricted to thinking in classical OOP patterns will have a problem. If you think about it freely and give the functional, event-driven and progressive approach a try, you’ll find yourself getting the work done with jQuery UI in a fraction of the time needed than with other frameworks.

Q.what is jQuery connect?
A.It is a jquery plugin which enables us to connect a function to another function. It is like assigning a handler for another function. This situation happens when you are using any javascript plugins and you want to execute some function when ever some function is executed from the plugin. This we can solve using jquery connect function.

Q.Different ways of using $.connect function in jQuery?
A.The syntax of connect function is
$.connect(sourceObj/*object*/, sourceFunc/*string*/, callObj/*object*/, callFunc/*string or Func*/)
sourceObj(optional) is the object of the source function to which we want to connect
sourceFunc is the function name to which we want to connect
callObj(optional) is the object which we want to use for the handler function
callFunc is the function that we want to execute when sourceFunc is executed.

Here sourceObj, callObj are optional for the global functions.
suppose if your sourceFunc is global function then no need to pass the sourceObj or you can use null or self
suppose if your callObj is global function then no need to pass the callObj or you can use null or self

ex:
// fun1, fun2 are global functions
1. $.connect('fun1',fun2)
2. $.connect(null,'fun1',fun2)
3. $.connect(self,'fun1',fun2)
4. $.connect('fun1',null,fun2)
5. $.connect('fun1',self,fun2)
6. $.connect(self,'fun1',null,fun2)

Q.Explain the features of jQuery?
A.Features of jQuery are :

1.Effects and animations
2.Ajax
3.Extensibility
4.DOM element selections functions
5.Events
6.CSS manipulation
7.Utilities - such as browser version and the each function.
8.avaScript Plugins
9.DOM traversal and modification

Q.Explain the concepts of "$ function" in jQuery with an example?
A.The type of a function is "function".
There are a lot of anonymous functions is jquery.

$(document).ready(function() {});
$("a").click(function() {});

$.ajax({
url: "someurl.php",
success: function() {}
});

Q.Why is jQuery better than JavaScript?
A.
1.JQuery is great library for developing ajax based application.
2.It helps the programmers to keep code simple and concise and reusable.
3.jQuery library simplifies the process of traversal of HTML DOM tree.
4.jQuery can also handle events, perform animation, and add the Ajax support in web applications.

Q.When can you use jQuery?
A.JQuery can be used to
1.apply CSS
2.call functions on events
3.traverse the documents
4.manipulation purpose and
5.to add effects too.

Q.What are the advantages of jQuery.
A.The advantages of using jQuery are:
1.JavaScript enhancement without the overhead of learning new syntax
2.Ability to keep the code simple, clear, readable and reusable
3.Eradication of the requirement of writing repetitious and complex loops and DOM scripting library calls 

Odesk C programming


ODesk C programming test answers :


1.A header file contains macros, structure declaration and function prototypes.
A.
True(answer)
B.
False



2.There exists a way to prevent the same file from getting #included twice in the same program.
A.
True(answer)
B.
False



3.Preprocessor directive #undef can be used only on a macro that has been #define earlier
A.
True(answer)
B.
False



4.Which of the following is suitable data type for the variable a in the statement given below?
(datatype) a = 23.45;
A.
float(answer)
B.
double
C.
long double
D.
long float



5.What will be the output of the program ? 
#include<stdio.h>

    struct course
    {
        int courseno;
        char coursename[25];
    };
int main()
{
    struct course c[] = { {102, "Java"}, 
                          {103, "PHP"}, 
                          {104, "DotNet"}     };

    printf("%d", c[1].courseno);
    printf("%s\n", (*(c+2)).coursename);
    return 0;
}
A.
103 Dotnet(answer)
B.
102 Java
C.
103 PHP
D.
104 DotNet



6.What will be the output of the program? 
#include<stdio.h>
int main()
{
    char ch;
    ch = 'A';
    printf("The letter is");
    printf("%c", ch >= 'A' && ch <= 'Z' ? ch + 'a' - 'A':ch);
    printf("Now the letter is");
    printf("%c\n", ch >= 'A' && ch <= 'Z' ? ch : ch + 'a' - 'A');
    return 0;
}
A.
The letter is a
Now the letter is A(answer)
B.
The letter is A
Now the letter is a
C.
Error
D.
None of above


7.Is there any difference between the two statements?
char *ch = "IndiaBIX";
char ch[] = "IndiaBIX";
A.
Yes(answer)
B.
No


8.Which header file should be included to use functions like malloc() and calloc()?
A.
memory.h
B.
stdlib.h(answer)
C.
string.h
D.
dos.h


9.By default a real number is treated as a
A.
float
B.
double(answer)
C.
long double
D.
far double


10.What will be the output of the program ? 
#include<stdio.h>

int main()
{
    static char mess[6][30] = {"Don't walk in front of me...", 
                               "I may not follow;", 
                               "Don't walk behind me...", 
                               "Just walk beside me...", 
                               "And be my friend." };

    printf("%c, %c\n", *(mess[2]+9), *(*(mess+2)+9));
    return 0;
}
A.
t, t
B.
k, k(answer)
C.
n, k
D.
m, f


11.What will be the output of the program? 
#include<stdio.h>

int main()
{
    const int x=5;
    const int *ptrx;
    ptrx = &x;
    *ptrx = 10;
    printf("%d\n", x);
    return 0;
}
A.
5
B.
10
C.
Error(answer)
D.
Garbage value


12.Bitwise can be used to generate a random number.
A.
Yes
B.
No


13.Which of the following function is used to find the first occurrence of a given string in another string?
A.
strchr()
B.
strrchr()(answer)
C.
strstr()(answer)
D.
strnset()


14.If scanf() is used to store a value in a char variable then along with the value a carriage return(\r) also gets stored it.
A.
True
B.
False(answer)


15.What will be the output of the program? 
#include<stdio.h>
int reverse(int);

int main()
{
    int no=5;
    reverse(no);
    return 0;
}
int reverse(int no)
{
    if(no == 0)
        return 0;
    else
        printf("%d,", no);
    reverse (no--);
}
A.
Print 5, 4, 3, 2, 1
B.
Print 1, 2, 3, 4, 5
C.
Print 5, 4, 3, 2, 1, 0
D.
Infinite loop(answer)


16.What will be the output of the program? 
#include<stdio.h>

int main()
{
    int i=1;
    if(!i)
        printf("IndiaBIX,");
    else
    {
        i=0;
        printf("C-Program");
        main();
    }
    return 0;
}
A.
prints "IndiaBIX, C-Program" infinitely
B.
prints "C-Program" infinetly(answer)
C.
prints "C-Program, IndiaBIX" infinitely
D.
Error: main() should not inside elsestatement


17.The expression of the right hand side of || operators doesn't get evaluated if the left hand side determines the outcome.
A.
True(answer)
B.
False


18.What will be the output of the program ? 
#include<stdio.h>

int main()
{
    char *p;
    p="%d\n";
    p++;
    p++;
    printf(p-2, 23);
    return 0;
}
A.
21
B.
23(answer)
C.
Error
D.
No output


19.A function cannot be defined inside another function
A.
True(answer)
B.
False



20.What will be the output of the program (myprog.c) given below if it is executed from the command line?
cmd> myprog friday tuesday sunday 

/* myprog.c */
#include<stdio.h>

int main(int argc, char *argv[])
{
    printf("%c", *++argv[1]);
    return 0;
}
A.
r(answer)
B.
f
C.
m
D.
y


Tell us your feedback in comments