
Codelysis Demo
Abhi
| 1607355608520
Test Name::
Codelysis Demo
Overall Status:
Completed
Detailed Status:
Test-taker Completed
Test Finish Time:
1607355608520
A
A
Abhi
abhi@mettl.com
Test-Taker ID: - 12963604
Plagiarism :
NA
Overall Summary
100
Marks Scored
out of 100
100
%
100
percentile
out of 9 Test Takers
13m
10s
Time taken
of 30mins
Marks Scored
Attempt Summary
Distribution of questions attempted in a total of 1 question(s).
Section-Wise Details
Section 1
Coding
question(s)
1 Q.
Time taken
13m 10s
(Untimed)
Marks Scored
100 / 100
Marks Scored
Attempt Summary
Distribution of questions attempted in a total of 1 question(s).
Question-Wise Details
Section 1
Coding
1
question(s)
13m 10s
Time taken
100/100
Marks Scored
Question
Caesar Cipher
Given a ciphertext encrypted with Caesar cipher, find the corresponding plaintext. Encryption is done by replacing each letter with the letter at 3 positions to the left.
You need to fill in a function that takes as input a string, the cipher text and sets the output variable to the corresponding plaintext. The ciphertext contains only lowercase alphabets.
Example
Given a ciphertext encrypted with Caesar cipher, find the corresponding plaintext. Encryption is done by replacing each letter with the letter at 3 positions to the left.
e.g. 'a' is replaced with 'x', 'b' with 'y', ..., 'd' with 'a' and so on.
You need to fill in a function that takes as input a string, the cipher text and sets the output variable to the corresponding plaintext. The ciphertext contains only lowercase alphabets.
Input Specification
input1: the ciphertext |
Output Specification
Return the corresponding plaintext. |
Example
input1: nrfzh |
Output: quick
|
Explanation:
Since encryption is done by replacing each letter with the letter at 3 positions to the left, therefore to decrypt, we need to find letters at 3 positions to the right.
The alphabet at 3 positions to the right of 'n' is 'p'.
Similarly, the alphabets at 3 positions to the right of 'r', 'f', 'z' and 'h' are 'u', 'i', 'c' and 'k' respectively.
Therfore, "nrfzh" is decrypted as "quick".
❤
Response
Compilation
Successful
Time Taken
13m
10s
Marks Scored
100
Out of
100
Language
CSHARP
Plagiarism
NA
Plagiarism score not available
CSHARP
00:00:00
/
00:00:00
Sample Test Case Timestamp
Graded Test Case Timestamp
Graded Test Case Code Compilation :
7
Successful
13
Attempt
Sample Test Case Code Compilation :
7
Successful
13
Attempt
Code complexity
:
0
Total no. of Testcase :
15
Total Passed :
15
Test Case
Marks
Cpu (ms)
Processing (ms)
Memory (KB)
Inputs
Expected output
Actual output
Error Message
Default Test Case
0
0
227
103732
nrfzh
quick
quick
NA
Basic Testcase 1
7.14
0
1081
103732
phqgh
sktjk
sktjk
NA
Basic Testcase 2
7.14
0
1233
103732
umeaylnlfd
xphdboqoig
xphdboqoig
NA
Basic Testcase 3
7.14
0
946
103732
xfircvscxggbwkfnqdux
ailufyvfajjezniqtgxa
ailufyvfajjezniqtgxa
NA
Basic Testcase 4
7.14
0
1009
103732
wfnfozvsrtkjprepggxrpnrvystmwcysyycqpevikeffmznimk
ziqircyvuwnmsuhsjjausquybvwpzfbvbbftshylnhiipcqlpn
ziqircyvuwnmsuhsjjausquybvwpzfbvbbftshylnhiipcqlpn
NA
Necessary Testcase 1
7.14
0
1002
102324
kasvwsrenzkycxfxtlsgypsfadpooefxzbcoejuvpvaboygpoeylfpbnpljvrvipyamyeh
ndvyzvuhqcnbfaiawovjbsvidgsrrhiacefrhmxysyderbjsrhboiseqsomyuylsbdpbhk
ndvyzvuhqcnbfaiawovjbsvidgsrrhiacefrhmxysyderbjsrhboiseqsomyuylsbdpbhk
NA
Necessary Testcase 2
7.14
0
1024
103732
wqnqrqpmxujjloovaowuxwhmsncbxcoksfzkvatxdknlyjyhfixjswnkkufnuxxzrzbmnmgqooketlyhnkoaugzqrcddiuteiojw
ztqtutspaxmmorrydrzxazkpvqfeafrnvicnydwagnqobmbkilamvzqnnxiqxaacucepqpjtrrnhwobkqnrdxjctufgglxwhlrmz
ztqtutspaxmmorrydrzxazkpvqfeafrnvicnydwagnqobmbkilamvzqnnxiqxaacucepqpjtrrnhwobkqnrdxjctufgglxwhlrmz
NA
Necessary Testcase 3
7.14
0
1002
103732
ayyzpvscmpsajlfvgubfaaovlzylntrkdcpwsrtesjwhdizcobzcnfwlqijtvdwvxhrcbldvgylwgbusbmborxtlhcsmpxohgmgnkeufdxotogbgxpeyanfetcukepzshkljugggekjdqzjenpevqg
...
dbbcsyvfpsvdmoiyjxeiddryocboqwungfszvuwhvmzkglcfrecfqizotlmwygzyakufeogyjbozjexveperuawokfvpsarkjpjqnhxigarwrjejashbdqihwfxnhscvknomxjjjhnmgtcmhqshytj
...
dbbcsyvfpsvdmoiyjxeiddryocboqwungfszvuwhvmzkglcfrecfqizotlmwygzyakufeogyjbozjexveperuawokfvpsarkjpjqnhxigarwrjejashbdqihwfxnhscvknomxjjjhnmgtcmhqshytj
...
NA
Necessary Testcase 4
7.14
0
1134
103732
qdcyzjeeuhmsrqcozijipfioneeddpszrnavymmtatbdzqsoemuvnpppsuacbazuxmhecthlegrpunkdmbppweqtgjoparmowzdqyoxytjbbhawdydcprjbxphoohpkwqyuhrqzhnbnfuvqnqqlrzj
...
tgfbcmhhxkpvutfrclmlsilrqhhggsvcuqdybppwdwegctvrhpxyqsssvxdfedcxapkhfwkohjusxqngpesszhtwjmrsduprzcgtbrabwmeekdzgbgfsumeaskrrksnztbxkutckqeqixytqttoucm
...
tgfbcmhhxkpvutfrclmlsilrqhhggsvcuqdybppwdwegctvrhpxyqsssvxdfedcxapkhfwkohjusxqngpesszhtwjmrsduprzcgtbrabwmeekdzgbgfsumeaskrrksnztbxkutckqeqixytqttoucm
...
NA
Necessary Testcase 5
7.14
0
890
103732
ceyhjugixwtbvtrehbbcpxifbxvfbcgkcfqckcotzgkubmjrmbsztsshfroefwsjrxjhguzyupzwweiqurpixiqflduuveoowqcudhnefnjhaimuczfskuiduburiswtbrecuykabfcvkdzeztoidu
...
fhbkmxjlazweywuhkeefsalieayiefjnfitfnfrwcjnxepmupevcwvvkiurhizvmuamkjxcbxsczzhltxuslaltiogxxyhrrztfxgkqhiqmkdlpxfcivnxlgxexulvzweuhfxbndeifyngchcwrlgx
...
fhbkmxjlazweywuhkeefsalieayiefjnfitfnfrwcjnxepmupevcwvvkiurhizvmuamkjxcbxsczzhltxuslaltiogxxyhrrztfxgkqhiqmkdlpxfcivnxlgxexulvzweuhfxbndeifyngchcwrlgx
...
NA
Necessary Testcase 6
7.14
0
972
103732
cdwracgfmzkgipdfodkjmjqwiqpuoqhimvfvuzwyvijgfullkjduhsjafbtlkmfqrmyjfjnhhssqctydteamdcjbprhtnegyiwxgcjwlgrsmeaearwtvjsjbaoiojlwhypnvruihoswkifygtydhac
...
fgzudfjipcnjlsgirgnmpmtzltsxrtklpyiyxczbylmjixoonmgxkvmdiewonpitupbmimqkkvvtfwbgwhdpgfmesukwqhjblzajfmzojuvphdhduzwymvmedrlrmozkbsqyuxlkrvznlibjwbgkdf
...
fgzudfjipcnjlsgirgnmpmtzltsxrtklpyiyxczbylmjixoonmgxkvmdiewonpitupbmimqkkvvtfwbgwhdpgfmesukwqhjblzajfmzojuvphdhduzwymvmedrlrmozkbsqyuxlkrvznlibjwbgkdf
...
NA
Corner Testcase 1
7.14
0
1375
103732
smvnonwafxwhgbibabvqopqfoviussqfqwehtxdzujtlntxmrjxxwtlggkytbiolydnilqadojskkvfxahhjmbocljarintdwcldvdxropbyjzwyyojuothwmlvrglfzdzdbtubxuoffvncrswsazn
...
vpyqrqzdiazkjeledeytrstirylxvvtitzhkwagcxmwoqwapumaazwojjnbwelrobgqlotdgrmvnnyiadkkmperfomdulqwgzfogygaursebmczbbrmxrwkzpoyujoicgcgewxeaxriiyqfuvzvdcq
...
vpyqrqzdiazkjeledeytrstirylxvvtitzhkwagcxmwoqwapumaazwojjnbwelrobgqlotdgrmvnnyiadkkmperfomdulqwgzfogygaursebmczbbrmxrwkzpoyujoicgcgewxeaxriiyqfuvzvdcq
...
NA
Corner Testcase 2
7.14
0
843
102324
gzmbintattnhodtonpyzwotkgnguphpkxeatowzabsdnvqhkfcmofisfrfqgvpmvorpjfzslzmpjjnehrykxjzubuacclfkcyzobghtuoxrajvprecwgxxpswcgmmvedewdmfnqwcuqdsciliqecih
...
jcpelqwdwwqkrgwrqsbczrwnjqjxsksnahdwrzcdevgqytknifprilviuitjyspyrusmicvocpsmmqhkubnamcxexdffoinfbcrejkwxraudmysuhfzjaasvzfjppyhghzgpiqtzfxtgvflolthflk
...
jcpelqwdwwqkrgwrqsbczrwnjqjxsksnahdwrzcdevgqytknifprilviuitjyspyrusmicvocpsmmqhkubnamcxexdffoinfbcrejkwxraudmysuhfzjaasvzfjppyhghzgpiqtzfxtgvflolthflk
...
NA
Time Complexity Testcase 1
7.14
0
1118
103732
euvczvicthrxsxclprgdlwxfaigayrueicufdiamhtkbxotdirxxgvzqmeyrovfichqnivfjzauqfdftgmopsrgpugxtuhlcvspihazrssfszwxbqmurwmxcdbhumrgjqmvnkyrtnsjvwzxssqxnjo
...
hxyfcylfwkuavafosujgozaidljdbuxhlfxigldpkwnearwgluaajyctphburyilfktqlyimcdxtigiwjprsvujsxjawxkofyvslkdcuvvivczaetpxuzpafgekxpujmtpyqnbuwqvmyzcavvtaqmr
...
hxyfcylfwkuavafosujgozaidljdbuxhlfxigldpkwnearwgluaajyctphburyilfktqlyimcdxtigiwjprsvujsxjawxkofyvslkdcuvvivczaetpxuzpafgekxpujmtpyqnbuwqvmyzcavvtaqmr
...
NA
Time Complexity Testcase 2
7.14
0
983
103732
nfhdaxphbsywztpwjngjncpxrjvbvccefkbemgsdymzmmkwdehfkruqbyvecmpesromdxllubryyeshqlzmrewqnkqitxgiigquskwtcznlterxbltzydyzvahnkixjwzztdjpqsuowkvfccockvrj
...
qikgdaskevbzcwszmqjmqfsaumyeyffhinehpjvgbpcppnzghkinuxtebyhfpshvurpgaooxeubbhvktocpuhztqntlwajlljtxvnzwfcqowhuaeowcbgbcydkqnlamzccwgmstvxrznyiffrfnyum
...
qikgdaskevbzcwszmqjmqfsaumyeyffhinehpjvgbpcppnzghkinuxtebyhfpshvurpgaooxeubbhvktocpuhztqntlwajlljtxvnzwfcqowhuaeowcbgbcydkqnlamzccwgmstvxrznyiffrfnyum
...
NA
Test Log
18 Aug,2017
About the Report
This Report is generated electronically on the basis of the inputs received from the assessment takers. This Report including the AI flags that are generated in case of availing of proctoring services, should not be solely used/relied on for making any business, selection, entrance, or employment-related decisions. Mettl accepts no liability from the use of or any action taken or refrained from or for any and all business decisions taken as a result of or reliance upon anything, including, without limitation, information, advice, or AI flags contained in this Report or sources of information used or referred to in this Report.