Vladimir Podatev has successfully passed the test by scoring 78%. The passing score for this test is 50%.
The details of the score are mentioned below:
Score attained by Vladimir
:
140 out of a maximum possible of 200 (78%)
Average score for this test
:
110 out of 200 (55%). Vladimir's performance was above average.
Time taken for completing the test
:
51 minutes (the average time for completing this test is 48 minutes)
Relative performance
:
(percentile : 80) Vladimir's score is better than 80% of the people who took this test.
Below are the details of the problems encountered in the test along with the code submitted by the test taker. 4 example problems have been shown below, in the actual test, all 10 problems will be shown.
Problem No:
1
Problem Text:
Write a function GeneratePassword which accepts two arguments, an integer and a character string consisting of letters (a-z) and digits (0-9).
When GeneratePassword(5,'abc0123') is called, it should return a random string of 5 characters taken from 'abc0123'.
For Example :
GeneratePassword(7,'abczxc012394') could return any of the following outputs :
2c00acb 2c23z93 030b2a4
Time taken to solve this problem:
03:28 (mm:ss)
Pass rate for this question:
35% (35% of the people who attempted this question could get it right)
Create a function named 'sortsalary' which will accept an XML string as input. The XML string contains the data related to employees of the company. The following is the structure of the XML string.
You are required to sort the employee's salary in decreasing order and display the name along with the salary in pairs separated by a hyphen (-). All records must be comma separated.
Here is an example. Suppose the above mentioned XML string is passed to the function 'sortsalary' in the following manner:
Create a function Permutation_st() which will accept a word and then return the various combinations of characters present in the word. The function should return the words in the form of an alphabetically sorted array.
Suppose we take the example of the word 'cat'. The function Permutation_st()should return an array containing the following words (in alphabetical order).
act,atc,cat,cta,tac,tca
One thing to keep in mind is that if a character is repeated in the word, the array returned should not contain duplicate elements. For example, if the word 'yyy' is sent to the function, Permutation_st("yyy") should return 'yyy' only.
Time taken to solve this problem:
05:23 (mm:ss)
Pass rate for this question:
55% (55% of the people who attempted this question could get it right)
Write a standard SQL query which retrieves the second lowest value of "id" from the "students" table. The value returned should be represented using the column name "id".
Time taken to solve this problem:
05:23 (mm:ss)
Pass rate for this question:
72% (72% of the people who attempted this question could get it right)
Average time for solving this problem:
6 mins
Result:
(Accepted Solution)
Code submitted:
SELECT MIN(id) as id FROM students where id>(SELECT MIN(id) FROM students)