summaryrefslogtreecommitdiff
path: root/yaksh/selenium_test/test_questions.json
blob: f1cf02fb6ce9d6d7c74c6a930853ba8fb77576b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[
  {
    "snippet": "", 
    "testcase": [
      {
        "test_case": "assert is_palindrome(\"hello\") == False"
      }, 
      {
        "test_case": "assert is_palindrome(\"nitin\") == True"
      }
    ], 
    "points": 3.0, 
    "test_case_type": "standardtestcase", 
    "description": "Write a function <code>is_palindrome(arg)</code> which will take one string argument. Return true if the argument is palindrome & false otherwise.\r\n<br><br>\r\nFor Example:\r\n<br>\r\n<code>is_palindrome(\"Hello\")</code> should return <code>False</code>\r\n<br>\r\n<br><br>", 
    "language": "python", 
    "active": true, 
    "type": "code", 
    "summary": "Python, check palindrome (Code)"
  }, 
  {
    "snippet": "#!/bin/bash", 
    "testcase": [
      {
        "test_case": "/src/yaksh/bash_files/sample.sh,/src/yaksh/bash_files/sample.args"
      }
    ], 
    "points": 1.0, 
    "test_case_type": "standardtestcase", 
    "description": "Write a bash script that takes exactly two arguments and returns the sum of the numbers", 
    "language": "bash", 
    "active": true, 
    "type": "code", 
    "summary": "Bash Question Concatenate Files(Code)"
  }, 
  {
    "snippet": "", 
    "testcase": [
      {
        "test_case": "c_cpp_files/main2.c"
      }
    ], 
    "points": 1.0, 
    "test_case_type": "standardtestcase", 
    "description": "Write a program to add 3 nos", 
    "language": "c", 
    "active": true, 
    "type": "code", 
    "summary": "selenium test"
  }
]