Skip links

Good luck!

Pass Gaper’s programming tests and get matched to long-term remote American software job opportunities!

Welcome to your Gaper Test

Email
Phone No
Please select the language in which you want to write code for this test?
Which method of the Class.class is used to determine the name of a class represented by the class object as a String?
In which process, a local variable has the same name as one of the instance variables?
What do you mean by nameless objects?
Given a string s = “Welcome”, which of the following code is incorrect?
What is “closure” in javascript? Provide an example?
What is meant by the classes and objects that dependents on each other?
What will be the output of the following code?

var x = { foo : 1};


var output = (function() {
delete x.foo;
return x.foo;
})();

console.log(output);
What will be the output of the following Python code?
class father:
    def __init__(self, param):
        self.o1 = param

class child(father):
    def __init__(self, param):
        self.o2 = param

>>>obj = child(22)
>>>print "%d %d" % (obj.o1, obj.o2)
What will be the output of the following Python code?

example = "snow world
example[3] = 's'
print example