42 KiB
Atoi
Try with the argument: ""
0
Does the function returns the value above?
Try with the argument: "-"
0
Does the function returns the value above?
Try with the argument: "+"
0
Does the function returns the value above?
Try with the argument: "0"
0
Does the function returns the value above?
Try with the argument: "+0"
0
Does the function returns the value above?
Try with the argument: "-Invalid123"
0
Does the function returns the value above?
Try with the argument: "--123"
0
Does the function returns the value above?
Try with the argument: "1"
1
Does the function returns the value above?
Try with the argument: "-3"
-3
Does the function returns the value above?
Try with the argument: "8292"
8292
Does the function returns the value above?
Try with the argument: "9223372036854775807"
9223372036854775807
Does the function returns the value above?
Try with the argument: "-9223372036854775808"
-9223372036854775808
Does the function returns the value above?
RecursivePower
Try with the arguments: nb = -7 and power = -2
0
Does the function returns the value above?
Try with the arguments: nb = -8 and power = -7
0
Does the function returns the value above?
Try with the arguments: nb = 4 and power = 8
65536
Does the function returns the value above?
Try with the arguments: nb = 1 and power = 3
1
Does the function returns the value above?
Try with the arguments: nb = -1 and power = 1
-1
Does the function returns the value above?
Try with the arguments: nb = -6 and power = 5
-7776
Does the function returns the value above?
Try with the arguments: nb = 0 and power = 9
0
Does the function returns the value above?
Try with the arguments: nb = -6 and power = 6
46656
Does the function returns the value above?
Try with the arguments: nb = 0 and power = 0
1
Does the function returns the value above?
Try with the arguments: nb = 0 and power = 1
0
Does the function returns the value above?
PrintCombN
Try with the argument: n = 1
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Does the function prints the value above?
Try with the argument: n = 2
01, 02, 03, 04, 05, 06, 07, 08, 09, 12, 13, 14, 15, 16, 17, 18, 19, 23, 24, 25, 26, 27, 28, 29, 34, 35, 36, 37, 38, 39, 45, 46, 47, 48, 49, 56, 57, 58, 59, 67, 68, 69, 78, 79, 89
Does the function prints the value above?
Try with the argument: n = 3
012, 013, 014, 015, 016, 017, 018, 019, 023, 024, 025, 026, 027, 028, 029, 034, 035, 036, 037, 038, 039, 045, 046, 047, 048, 049, 056, 057, 058, 059, 067, 068, 069, 078, 079, 089, 123, 124, 125, 126, 127, 128, 129, 134, 135, 136, 137, 138, 139, 145, 146, 147, 148, 149, 156, 157, 158, 159, 167, 168, 169, 178, 179, 189, 234, 235, 236, 237, 238, 239, 245, 246, 247, 248, 249, 256, 257, 258, 259, 267, 268, 269, 278, 279, 289, 345, 346, 347, 348, 349, 356, 357, 358, 359, 367, 368, 369, 378, 379, 389, 456, 457, 458, 459, 467, 468, 469, 478, 479, 489, 567, 568, 569, 578, 579, 589, 678, 679, 689, 789
Does the function prints the value above?
Try with the argument: n = 4
0123, 0124, 0125, 0126, 0127, 0128, 0129, 0134, 0135, 0136, 0137, 0138, 0139, 0145, 0146, 0147, 0148, 0149, 0156, 0157, 0158, 0159, 0167, 0168, 0169, 0178, 0179, 0189, 0234, 0235, 0236, 0237, 0238, 0239, 0245, 0246, 0247, 0248, 0249, 0256, 0257, 0258, 0259, 0267, 0268, 0269, 0278, 0279, 0289, 0345, 0346, 0347, 0348, 0349, 0356, 0357, 0358, 0359, 0367, 0368, 0369, 0378, 0379, 0389, 0456, 0457, 0458, 0459, 0467, 0468, 0469, 0478, 0479, 0489, 0567, 0568, 0569, 0578, 0579, 0589, 0678, 0679, 0689, 0789, 1234, 1235, 1236, 1237, 1238, 1239, 1245, 1246, 1247, 1248, 1249, 1256, 1257, 1258, 1259, 1267, 1268, 1269, 1278, 1279, 1289, 1345, 1346, 1347, 1348, 1349, 1356, 1357, 1358, 1359, 1367, 1368, 1369, 1378, 1379, 1389, 1456, 1457, 1458, 1459, 1467, 1468, 1469, 1478, 1479, 1489, 1567, 1568, 1569, 1578, 1579, 1589, 1678, 1679, 1689, 1789, 2345, 2346, 2347, 2348, 2349, 2356, 2357, 2358, 2359, 2367, 2368, 2369, 2378, 2379, 2389, 2456, 2457, 2458, 2459, 2467, 2468, 2469, 2478, 2479, 2489, 2567, 2568, 2569, 2578, 2579, 2589, 2678, 2679, 2689, 2789, 3456, 3457, 3458, 3459, 3467, 3468, 3469, 3478, 3479, 3489, 3567, 3568, 3569, 3578, 3579, 3589, 3678, 3679, 3689, 3789, 4567, 4568, 4569, 4578, 4579, 4589, 4678, 4679, 4689, 4789, 5678, 5679, 5689, 5789, 6789
Does the function prints the value above?
Try with the argument: n = 5
01234, 01235, 01236, 01237, 01238, 01239, 01245, 01246, 01247, 01248, 01249, 01256, 01257, 01258, 01259, 01267, 01268, 01269, 01278, 01279, 01289, 01345, 01346, 01347, 01348, 01349, 01356, 01357, 01358, 01359, 01367, 01368, 01369, 01378, 01379, 01389, 01456, 01457, 01458, 01459, 01467, 01468, 01469, 01478, 01479, 01489, 01567, 01568, 01569, 01578, 01579, 01589, 01678, 01679, 01689, 01789, 02345, 02346, 02347, 02348, 02349, 02356, 02357, 02358, 02359, 02367, 02368, 02369, 02378, 02379, 02389, 02456, 02457, 02458, 02459, 02467, 02468, 02469, 02478, 02479, 02489, 02567, 02568, 02569, 02578, 02579, 02589, 02678, 02679, 02689, 02789, 03456, 03457, 03458, 03459, 03467, 03468, 03469, 03478, 03479, 03489, 03567, 03568, 03569, 03578, 03579, 03589, 03678, 03679, 03689, 03789, 04567, 04568, 04569, 04578, 04579, 04589, 04678, 04679, 04689, 04789, 05678, 05679, 05689, 05789, 06789, 12345, 12346, 12347, 12348, 12349, 12356, 12357, 12358, 12359, 12367, 12368, 12369, 12378, 12379, 12389, 12456, 12457, 12458, 12459, 12467, 12468, 12469, 12478, 12479, 12489, 12567, 12568, 12569, 12578, 12579, 12589, 12678, 12679, 12689, 12789, 13456, 13457, 13458, 13459, 13467, 13468, 13469, 13478, 13479, 13489, 13567, 13568, 13569, 13578, 13579, 13589, 13678, 13679, 13689, 13789, 14567, 14568, 14569, 14578, 14579, 14589, 14678, 14679, 14689, 14789, 15678, 15679, 15689, 15789, 16789, 23456, 23457, 23458, 23459, 23467, 23468, 23469, 23478, 23479, 23489, 23567, 23568, 23569, 23578, 23579, 23589, 23678, 23679, 23689, 23789, 24567, 24568, 24569, 24578, 24579, 24589, 24678, 24679, 24689, 24789, 25678, 25679, 25689, 25789, 26789, 34567, 34568, 34569, 34578, 34579, 34589, 34678, 34679, 34689, 34789, 35678, 35679, 35689, 35789, 36789, 45678, 45679, 45689, 45789, 46789, 56789
Does the function prints the value above?
Try with the argument: n = 6
012345, 012346, 012347, 012348, 012349, 012356, 012357, 012358, 012359, 012367, 012368, 012369, 012378, 012379, 012389, 012456, 012457, 012458, 012459, 012467, 012468, 012469, 012478, 012479, 012489, 012567, 012568, 012569, 012578, 012579, 012589, 012678, 012679, 012689, 012789, 013456, 013457, 013458, 013459, 013467, 013468, 013469, 013478, 013479, 013489, 013567, 013568, 013569, 013578, 013579, 013589, 013678, 013679, 013689, 013789, 014567, 014568, 014569, 014578, 014579, 014589, 014678, 014679, 014689, 014789, 015678, 015679, 015689, 015789, 016789, 023456, 023457, 023458, 023459, 023467, 023468, 023469, 023478, 023479, 023489, 023567, 023568, 023569, 023578, 023579, 023589, 023678, 023679, 023689, 023789, 024567, 024568, 024569, 024578, 024579, 024589, 024678, 024679, 024689, 024789, 025678, 025679, 025689, 025789, 026789, 034567, 034568, 034569, 034578, 034579, 034589, 034678, 034679, 034689, 034789, 035678, 035679, 035689, 035789, 036789, 045678, 045679, 045689, 045789, 046789, 056789, 123456, 123457, 123458, 123459, 123467, 123468, 123469, 123478, 123479, 123489, 123567, 123568, 123569, 123578, 123579, 123589, 123678, 123679, 123689, 123789, 124567, 124568, 124569, 124578, 124579, 124589, 124678, 124679, 124689, 124789, 125678, 125679, 125689, 125789, 126789, 134567, 134568, 134569, 134578, 134579, 134589, 134678, 134679, 134689, 134789, 135678, 135679, 135689, 135789, 136789, 145678, 145679, 145689, 145789, 146789, 156789, 234567, 234568, 234569, 234578, 234579, 234589, 234678, 234679, 234689, 234789, 235678, 235679, 235689, 235789, 236789, 245678, 245679, 245689, 245789, 246789, 256789, 345678, 345679, 345689, 345789, 346789, 356789, 456789
Does the function prints the value above?
Try with the argument: n = 7
0123456, 0123457, 0123458, 0123459, 0123467, 0123468, 0123469, 0123478, 0123479, 0123489, 0123567, 0123568, 0123569, 0123578, 0123579, 0123589, 0123678, 0123679, 0123689, 0123789, 0124567, 0124568, 0124569, 0124578, 0124579, 0124589, 0124678, 0124679, 0124689, 0124789, 0125678, 0125679, 0125689, 0125789, 0126789, 0134567, 0134568, 0134569, 0134578, 0134579, 0134589, 0134678, 0134679, 0134689, 0134789, 0135678, 0135679, 0135689, 0135789, 0136789, 0145678, 0145679, 0145689, 0145789, 0146789, 0156789, 0234567, 0234568, 0234569, 0234578, 0234579, 0234589, 0234678, 0234679, 0234689, 0234789, 0235678, 0235679, 0235689, 0235789, 0236789, 0245678, 0245679, 0245689, 0245789, 0246789, 0256789, 0345678, 0345679, 0345689, 0345789, 0346789, 0356789, 0456789, 1234567, 1234568, 1234569, 1234578, 1234579, 1234589, 1234678, 1234679, 1234689, 1234789, 1235678, 1235679, 1235689, 1235789, 1236789, 1245678, 1245679, 1245689, 1245789, 1246789, 1256789, 1345678, 1345679, 1345689, 1345789, 1346789, 1356789, 1456789, 2345678p, 2345679, 2345689, 2345789, 2346789, 2356789, 2456789, 3456789
Does the function prints the value above?
Try with the argument: n = 8
01234567, 01234568, 01234569, 01234578, 01234579, 01234589, 01234678, 01234679, 01234689, 01234789, 01235678, 01235679, 01235689, 01235789, 01236789, 01245678, 01245679, 01245689, 01245789, 01246789, 01256789, 01345678, 01345679, 01345689, 01345789, 01346789, 01356789, 01456789, 02345678, 02345679, 02345689, 02345789, 02346789, 02356789, 02456789, 03456789, 12345678, 12345679, 12345689, 12345789, 12346789, 12356789, 12456789, 13456789, 23456789
Does the function prints the value above?
Try with the argument: n = 9
012345678, 012345679, 012345689, 012345789, 012346789, 012356789, 012456789, 013456789, 023456789, 123456789
Does the function prints the value above?
PrintNbrBase
Try with the argument: nbr = 919617 and base = 01
Does the function prints 11100000100001000001
?
Try with the argument: nbr = 753639 and base = CHOUMIisDAcat!
Does the function prints HIDAHI
?
Try with the argument: nbr = -174336 and base = CHOUMIisDAcat!
Does the function prints -MssiD
?
Try with the argument: nbr = -661165 and base = 1
Does the function prints NV
?
Try with the argument: nbr = -839376 and base = choumiChoumi
Does the function prints NV
?
Try with the argument: nbr = -861737 and base = Zone01Zone01
Does the function prints -1111101
?
Try with the argument: nbr = 125 and base = 0123456789ABCDEF
Does the function prints 7D
?
Try with the argument: nbr = -125 and base = choumi
Does the function prints -uoi
?
Try with the argument: nbr = 125 and base = -ab
Does the function prints NV
?
Try with the argument: nbr = -9223372036854775808 and base = 0123456789
Does the function prints -9223372036854775808
?
doop
Try with the arguments: 861 + 870
Does the program prints 1731
?
Try with the arguments: 861 - 870
Does the program prints -9
?
Try with the arguments: 861 * 870
Does the program prints 749070
?
Try with the arguments: 861 / 870
Does the program prints 0
?
Try with the arguments: 861 % 870
Does the program prints 861
?
Try with the arguments: hello + 1
Does the program prints 0
?
Try with the arguments: 1 p 1
Does the program prints 0
?
Try with the arguments: 1 / 0
Does the program prints No division by 0
?
Try with the arguments: 1 % 0
Does the program prints No remainder of division by 0
?
Try with the arguments: 1 * 1
Does the program prints 1
?
Try with the arguments: 2 arguments
Does the program prints ``?
Try with the arguments: 4 arguments so invalid
Does the program prints ``?
Try with the arguments: 9223372036854775807 + 1
Does the program prints 0
?
Try with the arguments: 9223372036854775809 - 3
Does the program prints 0
?
Try with the arguments: 9223372036854775807 * 3
Does the program prints 0
?
Atoibase
Try with the arguments: s = bcbbbbaab and base = abc
Does the function returns 12016
?
Try with the arguments: s = 0001 and base = 01
Does the function returns 1
?
Try with the arguments: s = 00 and base = 01
Does the function returns 0
?
Try with the arguments: s = saDt!I!sI and base = CHOUMIisDAcat!
Does the function returns 11557277891
?
Try with the arguments: s = AAho?Ao and base = WhoAmI?
Does the function returns 406772
?
Try with the arguments: s = thisinputshouldnotmatter and base = abca
Does the function returns 0
?
Try with the arguments: s = 125 and base = 0123456789
Does the function returns 125
?
Try with the arguments: s = 1111101 and base = 01
Does the function returns 125
?
Try with the arguments: s = 7D and base = 0123456789ABCDEF
Does the function returns 125
?
Try with the arguments: s = uoi and base = choumi
Does the function returns 125
?
Try with the arguments: s = bbbbbab and base = -ab
Does the function returns 0
?
splitwhitespaces
Try with the argument: str = "The earliest foundations of what would become computer science predate the invention of the modern digital computer"
[The earliest foundations of what would become computer science predate the invention of the modern digital computer]
Does the function returns the value above?
Try with the argument: str = Machines for calculating fixed numerical tasks such as the abacus have existed since antiquity,
[Machines for calculating fixed numerical tasks such as the abacus have existed since antiquity,]
Does the function returns the value above?
Try with the argument: str = aiding in computations such as multiplication and division .
[aiding in computations such as multiplication and division .]
Does the function returns the value above?
Try with the argument: str = Algorithms for performing computations have existed since antiquity, even before the development of sophisticated computing equipment.
[Algorithms for performing computations have existed since antiquity, even before the development of sophisticated computing equipment.]
Does the function returns the value above?
Try with the argument: str = Wilhelm Schickard designed and constructed the first working mechanical calculator in 1623.[4]
[Wilhelm Schickard designed and constructed the first working mechanical calculator in 1623.[4]]
Does the function returns the value above?
Try with the argument: str = In 1673, Gottfried Leibniz demonstrated a digital mechanical calculator,
[In 1673, Gottfried Leibniz demonstrated a digital mechanical calculator,]
Does the function returns the value above?
Try with the argument: str = called the Stepped Reckoner.[5] He may be considered the first computer scientist and information theorist
[called the Stepped Reckoner.[5] He may be considered the first computer scientist and information theorist]
Does the function returns the value above?
Try with the argument: str = , for, among other reasons, documenting the binary number system.
[, for, among other reasons, documenting the binary number system.]
Does the function returns the value above?
Try with the argument: str = In 1820, Thomas de Colmar launched the mechanical calculator industry[note 1] when he released his simplified arithmometer,
[In 1820, Thomas de Colmar launched the mechanical calculator industry[note 1] when he released his simplified arithmometer,]
Does the function returns the value above?
Try with the argument: str = which was the first calculating machine strong enough and reliable enough to be used daily in an office environment.
[which was the first calculating machine strong enough and reliable enough to be used daily in an office environment.]
Does the function returns the value above?
split
Try with the arguments: str = |=choumi=|which|=choumi=|itself|=choumi=|used|=choumi=|cards|=choumi=|and|=choumi=|a|=choumi=|central|=choumi=|computing|=choumi=|unit.|=choumi=|When|=choumi=|the|=choumi=|machine|=choumi=|was|=choumi=|finished, and charset = |=choumi=|
[ which itself used cards and a central computing unit. When the machine was finished,]
Does the function returns the value above?
Try with the arguments: str = !==!which!==!was!==!making!==!all!==!kinds!==!of!==!punched!==!card!==!equipment!==!and!==!was!==!also!==!in!==!the!==!calculator!==!business[10]!==!to!==!develop!==!his!==!giant!==!programmable!==!calculator, and charset = !==!
[ which was making all kinds of punched card equipment and was also in the calculator business[10] to develop his giant programmable calculator,]
Does the function returns the value above?
Try with the arguments: str = AFJCharlesAFJBabbageAFJstartedAFJtheAFJdesignAFJofAFJtheAFJfirstAFJautomaticAFJmechanicalAFJcalculator, and charset = AFJ
[ Charles Babbage started the design of the first automatic mechanical calculator,]
Does the function returns the value above?
Try with the arguments: str = |=choumi=|Ada|=choumi=|Lovelace|=choumi=|wrote, and charset = |=choumi=|
[ Ada Lovelace wrote,]
Does the function returns the value above?
Try with the arguments: str = !==!the!==!term!==!computer!==!came!==!to!==!refer!==!to!==!the!==!machines!==!rather!==!than!==!their!==!human!==!predecessors.[12]!==!As!==!it!==!became!==!clear!==!that!==!computers!==!could!==!be!==!used!==!for!==!more!==!than!==!just!==!mathematical!==!calculations, and charset = !==!
[ the term computer came to refer to the machines rather than their human predecessors.[12] As it became clear that computers could be used for more than just mathematical calculations,]
Does the function returns the value above?
Try with the arguments: str = <<==123==>>In<<==123==>>1820,<<==123==>>Thomas<<==123==>>de<<==123==>>Colmar<<==123==>>launched<<==123==>>the<<==123==>>mechanical<<==123==>>calculator<<==123==>>industry[note<<==123==>>1]<<==123==>>when<<==123==>>he<<==123==>>released<<==123==>>his<<==123==>>simplified<<==123==>>arithmometer, and charset = <<==123==>>
[ In 1820, Thomas de Colmar launched the mechanical calculator industry[note 1] when he released his simplified arithmometer,]
Does the function returns the value above?
Try with the arguments: str = The!==!earliest!==!foundations!==!of!==!what!==!would!==!become!==!computer!==!science!==!predate!==!the!==!invention!==!of!==!the!==!modern!==!digital!==!computer and charset = !==!
[The earliest foundations of what would become computer science predate the invention of the modern digital computer]
Does the function returns the value above?
Try with the arguments: str = !==!the!==!field!==!of!==!computer!==!science!==!broadened!==!to!==!study!==!computation!==!in!==!general.!==!In!==!1945, and charset = !==!
[ the field of computer science broadened to study computation in general. In 1945,]
Does the function returns the value above?
Try with the arguments: str = !==!which!==!is!==!considered!==!to!==!be!==!the!==!first!==!published!==!algorithm!==!ever!==!specifically!==!tailored!==!for!==!implementation!==!on!==!a!==!computer.[8]!==!Around!==!1885, and charset = !==!
[ which is considered to be the first published algorithm ever specifically tailored for implementation on a computer.[8] Around 1885,]
Does the function returns the value above?
Try with the arguments: str = !=HA=!which!=HA=!is!=HA=!considered!=HA=!to!=HA=!be!=HA=!the!=HA=!first!=HA=!published!=HA=!algorithm!=HA=!ever!=HA=!specifically!=HA=!tailored!=HA=!for!=HA=!implementation!=HA=!on!=HA=!a!=HA=!computer.[8]!=HA=!Around!=HA=!1885, and charset = !=HA=!
[ which is considered to be the first published algorithm ever specifically tailored for implementation on a computer.[8] Around 1885,]
Does the function returns the value above?
convertbase
Try with the arguments: nbr = "10010001000011010000", baseFrom = "01" and baseTo = "0123456789ABCDEF"
"910D0"
Does the function returns the value above?
Try with the arguments: nbr = "4CDC", baseFrom = "0123456789ABCDEF" and baseTo = "WhoAmI?"
"hhhoA
Does the function returns the value above?"?
Try with the arguments: nbr = "o1nonZ0e", baseFrom = "Zone01" and baseTo = "Zone01"
"o1nonZ0e"
Does the function returns the value above?
Try with the arguments: nbr = "719462", baseFrom = "0123456789" and baseTo = "choumi"
"ououcico"
Does the function returns the value above?
Try with the arguments: nbr = "ococcuho", baseFrom = "choumi" and baseTo = "choumi"
"ococcuho"
Does the function returns the value above?
Try with the arguments: nbr = "382230", baseFrom = "0123456789" and baseTo = "abc"
"cabbacacccaa"
Does the function returns the value above?
Try with the arguments: nbr = "2CE0C", baseFrom = "0123456789ABCDEF" and baseTo = "choumi"
"uiuiccm"
Does the function returns the value above?
Try with the arguments: nbr = "uhcoccm", baseFrom = "choumi" and baseTo = "0123456789"
"148180"
Does the function returns the value above?
Try with the arguments: nbr = "IhoWo?I", baseFrom = "WhoAmI?" and baseTo = "abc"
"babaccccacbca"
Does the function returns the value above?
Try with the arguments: nbr = "bababbabaabcb", baseFrom = "abc" and baseTo = "WhoAmI?"
"IWmmImA"
Does the function returns the value above?
rotatevowels
Try the program without any arguments
Does the program displays a new line?
Try executing the program passing as argument: "Hello World"
Does the program returns: Hollo Werld
Try executing the program passing as arguments: "HEllO World" "problem solved"
Does the program returns: Hello Werld problom sOlvEd
Try executing the program passing as argument: "str" "shh" "psst"
Does the program returns: str shh psst
Try executing the program passing as argument: "happy thoughts" "good luck"
Does the program returns: happy thoughts good luck
Try executing the program passing as argument: "al's elEphAnt is overly underweight!"
Does the program returns:
Try executing the program passing as arguments: Machines for calculating fixed numerical tasks such as the abacus
Does the program returns: Muchanas fer calculatang fixed numericil tasks such as tho ebicas
Try executing the program passing as arguments: have existed since antiquity, aiding in computations such as multiplication and division
Does the program returns: hovi ixistad sonci antiqiuty, audong in camputotiins sich as miltuplicatein end divesean
Try executing the program passing as arguments: Algorithms for performing computations have existed since antiquity, even before the development of sophisticated computing equipment
Does the program returns: elgiruthms fer pirfurmong cempatitions hove oxested sence onteqeety, ivun bifare thi devilepment af sophistacutod cimpoteng oqiopmAnt
Try executing the program passing as arguments: Wilhelm Schickard designed and constructed the first working mechanical calculator in 1623. In 1673, Gottfried Leibniz demonstrated a digital mechanical calculator, called the Stepped Reckoner
Does the program returns: Welholm Scheckerd desegned and constractud tha farst wirkang mechanicil calcelator en 1623i in 1673, Gettfreid LoIbn.z dimonstratud a dagital mechinocil celcelutor, called thi Steppad Rickenir
Try executing the program passing as arguments: A crucial step was the adoption of a punched card system derived from the Jacquard loom
Does the program returns: o crocaul stap wes tho edipteen af e punchad cord systom dirovad frem tha Jecqaird luAm
advancedsortwordarr
Try with the arguments array = [X3RvpTTOo b1 RR bTVi iO 3 5Be2id5AY G a t9J4 NP mJoJM ci97 r W 4 WcVVBJc K 9pkpByJ Ebbia 4ox8TWUD inv q3 jPYp7g av HQ O0 Ncmg z 3WLJcrbLB7LoY lVce8L XWgMsw MkOITgWoS SFv] and f = strings.Compare
[ 4 WcVVBJc K HQ O0 Ncmg z 3WLJcrbLB7LoY 4ox8TWUD inv 5Be2id5AY G a 9pkpByJ Ebbia MkOITgWoS SFv RR bTVi iO 3 X3RvpTTOo b1 ci97 r W lVce8L XWgMsw q3 jPYp7g av t9J4 NP mJoJM]
Does the function returns the value above?
Try with the arguments array = [g qRLGp OsCIK SwMSZHN oKqiZ PMorGlQ dPx3F GA6oRAyLtQZ6 aL0JonQwm BZ9 DfUL Dw1 DgDz H ew V kDqyA 8hN i eR 8n 6 tQa9geTu jbO1 qIhPYu ws Tq 54k
[ 54kMdO5 E 1p GA6oRAyLtQZ6 H ew V kDqyA bE PNnGhcR 8hN i eR 8n 6 CKLLpKer bQmH DfUL Dw1 DgDz PMorGlQ dPx3F SwMSZHN oKqiZ aL0JonQwm BZ9 g qRLGp OsCIK qIhPYu ws Tq tQa9geTu jbO1]
O5 E 1p bE PNnGhcR CKLLpKer bQmH] and f = strings.Compare, Does the function returns the value above?
Try with the arguments array = [SqIY alP ap s Tk8pzkNob T E 2VL7j RwSiBO CFYtXOF7 Zom7 He K BIPFjx66 1aSM KmGUikVO P CeC2Jzf24zS RYt8vbzmwRJVO lJKAxZ20mN Nq Lgec4HOsQ8ZOl 6ZExl3cG4f09 og7ny HmWg K u H7pHDcClDLo] and f = strings.Compare
[ 2VL7j RwSiBO 6ZExl3cG4f09 1aSM KmGUikVO CFYtXOF7 Zom7 He K BIPFjx66 Lgec4HOsQ8ZOl P CeC2Jzf24zS RYt8vbzmwRJVO SqIY alP ap s Tk8pzkNob T E lJKAxZ20mN Nq og7ny HmWg K u H7pHDcClDLo]
Does the function returns the value above?
Try with the arguments array = [8UW WGOHl8IE M RZg2Q5h56Tw yUL sCa 4 mcc TA buEFbpWwNL N5p8tO Z w9H P6 WE6fu kO4O e7 RaOu8rt4o B 71u bY H2 KM5 kQlRASJ J mlBG25F 1j g5EOm5is PUOv yV q91Utk2wZu H KFCSi fYe21] and f = strings.Compare
[ B 71u bY H2 J mlBG25F 1j N5p8tO Z w9H e7 RaOu8rt4o 8UW WGOHl8IE H KFCSi fYe21 KM5 kQlRASJ M RZg2Q5h56Tw P6 WE6fu kO4O TA buEFbpWwNL g5EOm5is PUOv yUL sCa 4 mcc yV q91Utk2wZu]
Does the function returns the value above?
Try with the arguments array = [ 4 WcVVBJc K HQ O0 Ncmg z 3WLJcrbLB7LoY 4ox8TWUD inv 5Be2id5AY G a 9pkpByJ Ebbia MkOITgWoS SFv RR bTVi iO 3 X3RvpTTOo b1 ci97 r W lVce8L XWgMsw q3 jPYp7g av t9J4 NP mJoJM] and f = func(a, b string) int {
return strings.Compare(b, a)
}
[t9J4 NP mJoJM q3 jPYp7g av lVce8L XWgMsw ci97 r W X3RvpTTOo b1 RR bTVi iO 3 MkOITgWoS SFv 9pkpByJ Ebbia 5Be2id5AY G a 4ox8TWUD inv 3WLJcrbLB7LoY HQ O0 Ncmg z 4 WcVVBJc K]
Does the function returns the value above?
Try with the arguments array = [ 54k
####### O5 E 1p GA6oRAyLtQZ6 H ew V kDqyA bE PNnGhcR 8hN i eR 8n 6 CKLLpKer bQmH DfUL Dw1 DgDz PMorGlQ dPx3F SwMSZHN oKqiZ aL0JonQwm BZ9 g qRLGp OsCIK qIhPYu ws Tq tQa9geTu jbO1] and f = func(a, b string) int {
return strings.Compare(b, a)
},
[tQa9geTu jbO1 qIhPYu ws Tq g qRLGp OsCIK aL0JonQwm BZ9 SwMSZHN oKqiZ PMorGlQ dPx3F DfUL Dw1 DgDz CKLLpKer bQmH 8hN i eR 8n 6 bE PNnGhcR H ew V kDqyA GA6oRAyLtQZ6 54kMdO5 E 1p]
Does the function returns the value above?
Try with the arguments array = [ 2VL7j RwSiBO 6ZExl3cG4f09 1aSM KmGUikVO CFYtXOF7 Zom7 He K BIPFjx66 Lgec4HOsQ8ZOl P CeC2Jzf24zS RYt8vbzmwRJVO SqIY alP ap s Tk8pzkNob T E lJKAxZ20mN Nq og7ny HmWg K u H7pHDcClDLo] and f = func(a, b string) int {
return strings.Compare(b, a)
}
[u H7pHDcClDLo og7ny HmWg K lJKAxZ20mN Nq Tk8pzkNob T E SqIY alP ap s RYt8vbzmwRJVO P CeC2Jzf24zS Lgec4HOsQ8ZOl He K BIPFjx66 CFYtXOF7 Zom7 1aSM KmGUikVO 6ZExl3cG4f09 2VL7j RwSiBO]
Does the function returns the value above?
Try with the arguments array = [ B 71u bY H2 J mlBG25F 1j N5p8tO Z w9H e7 RaOu8rt4o 8UW WGOHl8IE H KFCSi fYe21 KM5 kQlRASJ M RZg2Q5h56Tw P6 WE6fu kO4O TA buEFbpWwNL g5EOm5is PUOv yUL sCa 4 mcc yV q91Utk2wZu] and f = func(a, b string) int {
return strings.Compare(b, a)
}
[yV q91Utk2wZu yUL sCa 4 mcc g5EOm5is PUOv TA buEFbpWwNL P6 WE6fu kO4O M RZg2Q5h56Tw KM5 kQlRASJ H KFCSi fYe21 8UW WGOHl8IE e7 RaOu8rt4o N5p8tO Z w9H J mlBG25F 1j B 71u bY H2]
Does the function returns the value above?
Try with the arguments array = [ P0K4ol6K Wh 1zoXnSzLqCk vy eDI D 0 0kEpG leAg3 HJ46 Ub2 SwfL KU zIBYD WLqY Q0h 8DYlXruE5 Ub1SC rq8 EFQ c6TtKUylSrbcy e2r r C8 cJ3 obR s0lcvL MA pi8y 7QJbwLq w4 0nY TWgHUo] and f = func(a, b string) int {
return strings.Compare(b, a)
}
[w4 0nY TWgHUo pi8y 7QJbwLq obR s0lcvL MA e2r r C8 cJ3 c6TtKUylSrbcy Ub1SC rq8 EFQ Q0h 8DYlXruE5 KU zIBYD WLqY HJ46 Ub2 SwfL 0 0kEpG leAg3 vy eDI D 1zoXnSzLqCk P0K4ol6K Wh]
Does the function returns the value above?
cat
Run the program without arguments:
write: Hello
Does the program returns: Hello
write: jaflsdfj
Does the program returns: jaflsdfj
write: Computer science (sometimes called computation science or computing science
Does the program returns: Computer science (sometimes called computation science or computing science
Run the program passing the file: quest8.txt as an argument of execution of the program (as shown in the subject)
Does the the program displays the same output as in the readme?
Run the program with the file: quest8T.txt
Does the program displays the content of the file?
Run the program with the files: quest8T.txt and quest8.txt in that order
Does the program displays the content of the file in order?
Run the program with a diferent file and then run the system program cat
with the same file.
Are the outputs identical?
Run both this program and the system program cat
passing as an argument a random string that is not the name of a file
Are the outputs identical?
ztail
Run both ztail and the system command tail
with the following arguments. Substitute for the name of a file
-c 20
-c 23
-c jelrjq 15
-c 11 jfdklsa
11 -c
Are the outputs exactly the same?
activebits
Try with the argument: n = 15
4
Does the function returns the value above?
Try with the argument: n = 17
2
Does the function returns the value above?
Try with the argument: n = 17
2
Does the function returns the value above?
Try with the argument: n = 4
1
Does the function returns the value above?
Try with the argument: n = 11
3
Does the function returns the value above?
Try with the argument: n = 9
2
Does the function returns the value above?
Try with the argument: n = 12
2
Does the function returns the value above?
Try with the argument: n = 11
3
Does the function returns the value above?
Try with the argument: n = 2
1
Does the function returns the value above?
Try with the argument: n = 15
4
Does the function returns the value above?
sortlistinsert
Try with the arguments: l = 0-> <nil> and data_ref = 39
(0-> 39-> <nil>)
Does the function returns the value above?
Try with the arguments: l = 0-> 1-> 2-> 3-> 4-> 5-> 24-> 25-> 54-> <nil> and data_ref = 33
(0-> 1-> 2-> 3-> 4-> 5-> 24-> 25-> 33-> 54-> <nil>)
Does the function returns the value above?
Try with the arguments: l = 0-> 2-> 18-> 33-> 37-> 37-> 39-> 52-> 53-> 57-> <nil> and data_ref = 53
(0-> 2-> 18-> 33-> 37-> 37-> 39-> 52-> 53-> 53-> 57-> <nil>)
Does the function returns the value above?
Try with the arguments: l = 0-> 5-> 18-> 24-> 28-> 35-> 42-> 45-> 52-> <nil> and data_ref = 52
(0-> 5-> 18-> 24-> 28-> 35-> 42-> 45-> 52-> 52-> <nil>)
Does the function returns the value above?
Try with the arguments: l = 0-> 12-> 20-> 23-> 23-> 24-> 30-> 41-> 53-> 57-> 59-> <nil> and data_ref = 38
(0-> 12-> 20-> 23-> 23-> 24-> 30-> 38-> 41-> 53-> 57-> 59-> <nil>)
Does the function returns the value above?
Try with the arguments: l = 0-> 4-> 11-> 15-> 19-> 22-> 23-> 56-> 58-> <nil> and data_ref = 29
(0-> 4-> 11-> 15-> 19-> 22-> 23-> 29-> 56-> 58-> <nil>)
Does the function returns the value above?
Try with the arguments: l = 0-> 18-> 23-> 25-> 33-> 34-> 35-> 37-> 40-> 57-> <nil> and data_ref = 47
(0-> 18-> 23-> 25-> 33-> 34-> 35-> 37-> 40-> 47-> 57-> <nil>)
Does the function returns the value above?
Try with the arguments: l = 0-> 7-> 14-> 17-> 18-> 24-> 28-> 34-> 34-> 37-> 42-> 46-> 49-> <nil> and data_ref = 3
(0-> 3-> 7-> 14-> 17-> 18-> 24-> 28-> 34-> 34-> 37-> 42-> 46-> 49-> <nil>)
Does the function returns the value above?
sortedlistmerge
Try with the arguments: n1 = <nil> and n2 = <nil>
(<nil>)
Does the function returns the value above?
Try with the arguments: n1 = <nil> and n2 = 2-> 2-> 4-> 9-> 12-> 12-> 19-> 20-> <nil>
(2-> 2-> 4-> 9-> 12-> 12-> 19-> 20-> <nil>)
Does the function returns the value above?
Try with the arguments: n1 = 4-> 4-> 6-> 9-> 13-> 18-> 20-> 20-> <nil> and n2 = <nil>
(4-> 4-> 6-> 9-> 13-> 18-> 20-> 20-> <nil>)
Does the function returns the value above?
Try with the arguments: n1 = 0-> 7-> 39-> 92-> 97-> 93-> 91-> 28-> 64-> <nil> and n2 = 80-> 23-> 27-> 30-> 85-> 81-> 75-> 70-> <nil>
(0-> 7-> 39-> 80-> 23-> 27-> 30-> 85-> 81-> 75-> 70-> 92-> 97-> 93-> 91-> 28-> 64-> <nil>)
Does the function returns the value above?
Try with the arguments: n1 =0-> 2-> 11-> 30-> 54-> 56-> 70-> 79-> 99-> <nil> and n2 = 23-> 28-> 38-> 67-> 67-> 79-> 95-> 97-> <nil>
(0-> 2-> 11-> 23-> 28-> 30-> 38-> 54-> 56-> 67-> 67-> 70-> 79-> 79-> 95-> 97-> 99-> <nil>)
Does the function returns the value above?
Try with the arguments: n1 = 0-> 3-> 8-> 8-> 13-> 19-> 34-> 38-> 46-> <nil> and n2 = 7-> 39-> 45-> 53-> 59-> 70-> 76-> 79-> <nil>
(0-> 3-> 7-> 8-> 8-> 13-> 19-> 34-> 38-> 39-> 45-> 46-> 53-> 59-> 70-> 76-> 79-> <nil>)
Does the function returns the value above?
listremoveif
Try with the arguments: l = <nil> and data_ref = 1
(<nil>)
Does the function returns the list above?
Try with the arguments: l = <nil> and data_ref = 96
(<nil>)
Does the function returns the list above?
Try with the arguments: `l = 98-> 98-> 33-> 34-> 33-> 34-> 33-> 89-> 33-> and data_ref = 34
(98-> 98-> 33-> 33-> 33-> 89-> 33-> <nil>)
Does the function returns the list above?
Try with the arguments: `l = 79-> 74-> 99-> 79-> 7-> and data_ref = 99
(79-> 74-> 79-> 7-> <nil>)
Does the function returns the list above?
Try with the arguments: `l = 56-> 93-> 68-> 56-> 87-> 68-> 56-> 68-> and data_ref = 68
(56-> 93-> 56-> 87-> 56-> <nil>)
Does the function returns the list above?
Try with the arguments: `l = mvkUxbqhQve4l-> 4Zc4t hnf SQ-> q2If E8BPuX -> and data_ref = 4Zc4t hnf SQ,
(mvkUxbqhQve4l-> q2If E8BPuX -> <nil>)
Does the function returns the list above?
Try with the arguments: `l = hello1-> hello2-> hello-> hello3-> and data_ref = hello,
(hello1-> hello2-> hello3-> <nil>)
Does the function returns the list above?
Try with the arguments: l = fZfX1 r G9hG-> VRcbreYo4cM -> <nil> and data_ref = VRcbreYo4cM ,
(fZfX1 r G9hG-> <nil>)
Does the function returns the list above?
btreetransplant
Try with the arguments:
root =
01
└── 07
├── 12
│ └── 10
└── 05
└── 02
└── 03
, node = 12 and
repla =
55
├── 60
└── 33
└── 12
└── 15
01
└── 07
├── 55
│ ├── 60
│ └── 33
│ └── 12
│ └── 15
└── 05
└── 02
└── 03
Does the function returns the value above?
Try with the arguments:
root =
33
├── 5
│ └── 52
└── 20
├── 31
└── 13
└── 11
, node = 20 and
repla =
55
├── 60
└── 33
└── 12
└── 15
33
├── 5
│ └── 52
└── 55
├── 60
└── 33
└── 12
└── 15
Does the function returns the value above?
Try with the arguments:
root =
03
└── 39
├── 99
│ └── 44
└── 11
└── 14
└── 11
, node = 11 and
repla =
55
├── 60
└── 33
└── 12
└── 15
03
└── 39
├── 99
│ └── 44
└── 55
├── 60
└── 33
└── 12
└── 15
Does the function returns the value above?
Try with the arguments:
root =
03
├── 03
│ └── 94
│ └── 19
│ ├── 24
│ └── 111
└── 01
, node = 19 and
repla =
55
├── 60
└── 33
└── 12
└── 15
03
├── 03
│ └── 94
│ └── 55
│ ├── 60
│ └── 33
│ └── 12
│ └── 15
└── 01
Does the function returns the value above?
Try with the arguments:
root =
02
├── 03
│ └── 92
│ └── 19
│ ├── 22
│ └── 111
└── 01
, node = 92 and
repla =
55
├── 60
└── 33
└── 12
└── 15
02
├── 03
│ └── 55
│ ├── 60
│ └── 33
│ └── 12
│ └── 15
└── 01
Does the function returns the value above?
Try with the arguments:
root =
00
└── 02
└── 04
└── 53
├── 66
└── 23
└── 21
, node = 21 and
repla =
55
├── 60
└── 33
└── 12
└── 15
00
└── 02
└── 04
└── 53
├── 66
└── 23
└── 55
├── 60
└── 33
└── 12
└── 15
Does the function returns the value above?
Try with the arguments:
root =
02
└── 03
└── 06
└── 09
└── 83
└── 28
└── 24
, node = 06 and
repla =
55
├── 60
└── 33
└── 12
└── 15
02
└── 03
└── 55
├── 60
└── 33
└── 12
└── 15
Does the function returns the value above?
Try with the arguments:
root =
06
├── 07
│ └── 09
│ └── 83
│ └── 68
│ └── 64
└── 01
, node = 06 and
repla =
55
├── 60
└── 33
└── 12
└── 15
55
├── 60
└── 33
└── 12
└── 15
Does the function returns the value above?
btreeapplybylevel
Try with the arguments:
root =
01
└── 07
├── 12
│ └── 10
└── 05
└── 02
└── 03
and f = fmt.Println
01
07
05
12
02
10
03
Does the function prints the value above?
Try with the arguments:
root =
01
└── 07
├── 12
│ └── 10
└── 05
└── 02
└── 03
and f = fmt.Print
01070512021003
Does the function prints the value above?
btreedeletenode
Try with the arguments:
01
└── 07
├── 12
│ └── 10
└── 05
└── 02
└── 03
and node = 02
###### Does the function returns
01
└── 07
├── 12
│ └── 10
└── 05
└── 03
###### Does the function returns the value above?
##### Try with the arguments:
```root =
33
├── 5
│ └── 52
└── 20
├── 31
└── 13
└── 11
and node = 20
###### Does the function returns
33
├── 5
│ └── 52
└── 31
└── 13
└── 11
###### Does the function returns the value above?
##### Try with the arguments:
```root =
03
└── 39
├── 99
│ └── 44
└── 11
└── 14
└── 11
and node = 03
###### Does the function returns
39
├── 99
│ └── 44
└── 11
└── 14
└── 11
###### Does the function returns the value above?
##### Try with the arguments:
root = 03 ├── 03 │ └── 94 │ └── 19 │ ├── 24 │ └── 111 └── 01 and node = 03
Does the function returns
03 ├── 94 │ └── 19 │ ├── 24 │ └── 111 └── 01
Does the function returns the value above?
Try with the arguments:
02
├── 03
│ └── 92
│ └── 19
│ ├── 22
│ └── 111
└── 01
and node = 01
###### Does the function returns the value above?
02
└── 03
└── 92
└── 19
├── 22
└── 111
###### Does the function returns the value above?
##### Try with the arguments:
```root =
00
└── 02
└── 04
└── 53
├── 66
└── 23
└── 21
and node = 00
###### Does the function returns the value above?
02
└── 04
└── 53
├── 66
└── 23
└── 21
###### Does the function returns the value above?
##### Try with the arguments:
root = 02 └── 03 └── 06 └── 09 └── 83 └── 28 └── 24 and node = 03
02 └── 06 └── 09 └── 83 └── 28 └── 24
Does the function returns the value above?
Try with the arguments:
root =
06
├── 07
│ └── 09
│ └── 83
│ └── 68
│ └── 64
└── 01
and node = 09
06
├── 07
│ └── 83
│ └── 68
│ └── 64
└── 01