{
  "translations": {
    "en": {
      ".exerciseTitle": "Binary Search",
      ".instructLabel": "Instructions:",
      ".instructions": "The blue box contains a search key. The array stores values in ascending order, but these are intially hidden from your view. Find the key in the array by clicking on the midpoint positions as they would be calculated by the binary search algorithm. Whenever you click in the array, the value stored there will be displayed. Since midpoint calculation uses interger arithmetic, the position calculation rounds down. This computation is: <tt>int pos = (low + high)/2;</tt>",
      "#about": "About",
      ".avTitle": "Binary Search Proficiency Exercise",
      "av_Authors": "Kasper Hellström",
      "av_find_label": "Find",
      "av_ms_comment1": "Low = {low} and high = {high}, so mid = ( {low} + {high} ) / 2 = <strong>{mid}</strong> (division truncates!)",
      "av_ms_comment2": "<br/>Because {arr_at_mid} is less than {key}, the new low will be <strong>{mid_plus_1}</strong>.",
      "av_ms_comment3": "<br/>Because {arr_at_mid} is greater than {key}, the new high will be <strong>{mid_minus_1}</strong>.",
      "av_ms_comment4": "<br/>The key was found at index {mid}!",
      "av_ms_comment5": "<br/>The key was not found in the table.",
      "av_line": "(line {first})",
      "av_lines": "(lines {first} and {second})"
    },
    "fi": {
      ".exerciseTitle": "Puolitushaku",
      ".instructLabel": "Ohjeet:",
      ".instructions": "Hakuavain on sinisessä ruudussa. Taulukon arvot ovat nousevassa järjestyksessä, mutta ne ovat aluksi piilossa. Löydä etsittävä arvo klikkaamalla mid-muuttujan arvoa vastaavia indeksejä puolitushakualgoritmissa. Taulukon arvot tulevat näkyviin, joka kerta kun taulukon indeksejä klikataan. Muista että kokonaislukumuuttujilla osamäärät pyöristetään alaspäin.",
      "#about": "Lisätietoa",
      "aboutString": "Harjoitustehtävä: Lomitusjärjestäminen\nTekijä: Kasper Hellström\nLuotu osaksi OpenDSA-oppikirjaprojektia.\nLisätietoa osoitteesta http://opendsa.org.\nLähde ja kehityshistoria löytyy osoitteesta https://github.com/OpenDSA/OpenDSA\nJSAV versio: ",
      "av_find_label": "Etsi",
      "av_ms_comment1": "Low = {low} ja high = {high}, joten mid = ( {low} + {high} ) / 2 = <strong>{mid}</strong> (osamäärä pyöristetään alaspäin!)",
      "av_ms_comment2": "<br/>Koska {arr_at_mid} on pienempi kuin {key}, low:n uudeksi arvoksi tulee <strong>{mid_plus_1}</strong>.",
      "av_ms_comment3": "<br/>Koska {arr_at_mid} on suurempi kuin {key}, high:n uudeksi arvoksi tulee <strong>{mid_minus_1}</strong>.",
      "av_ms_comment4": "<br/>Haettava avain löytyi kohdasta {mid}!",
      "av_ms_comment5": "<br/>Avainta ei löytynyt.",
      "av_line": "(rivi {first})",
      "av_lines": "(rivit {first} ja {second})"
    }
  },
  "code": {
    "java": {
      "url": "../../SourceCode/Java/Searching/Bsearch.java",
      "lineNumbers": true,
      "tags": {
        "highlight": 7,
        "tbl_mid_lt_key": 8,
        "tbl_mid_gt_key": 9
      }
    }
  },
  "params": {
    "JXOP-feedback": "continuous"
  }
}
