// Numbas version: finer_feedback_settings {"name": "BIP-158 kompakt filtre kod uzunlu\u011fu", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "BIP-158 kompakt filtre kod uzunlu\u011fu", "tags": ["BIP-158", "Bitcoin", "blockchain", "compact filters", "Golomb-Rice", "protocol accounting"], "metadata": {"description": "
BIP-158 Golomb–Rice bölüm ve kalan kodlamas\u0131na dayal\u0131, tek bir kompakt filtre fark de\u011ferinin tam bit uzunlu\u011funu hesaplayan deterministik al\u0131\u015ft\u0131rma.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Bir BIP-158 temel blok filtresinde P = 19 kullan\u0131l\u0131yor. Golomb–Rice ile kodlanacak fark de\u011feri x = 1 234 567 olsun. q = floor(x / 2^P) bölümü, q tane 1 ve ard\u0131ndan bir 0 ile kodlan\u0131r; kalan ise tam P bitle kodlan\u0131r. Bayt dolgusu uygulanmadan önce bu tek fark de\u011ferinin kodu kaç bittir? Yaln\u0131zca tamsay\u0131y\u0131 girin.
", "advice": "Çözüm
\n2^19 = 524 288 ve q = floor(1 234 567 / 524 288) = 2. Tekli bölüm kodu q + 1 = 3 bit, kalan alan\u0131 19 bittir. Toplam 3 + 19 = 22 bittir.
\nBölümün sonland\u0131r\u0131c\u0131 0 biti unutulmamal\u0131d\u0131r; tekli kod iki de\u011fil, üç bit sürer.
\nBirincil belirtim: BIP-158 — https://github.com/bitcoin/bips/blob/master/bip-0158.mediawiki
\nBa\u011f\u0131ms\u0131z e\u011fitim kayna\u011f\u0131 Mushegh Manukyan, ARMCP Founder & CEO taraf\u0131ndan haz\u0131rlanm\u0131\u015ft\u0131r — https://armcp.net/. CC BY 4.0. Yat\u0131r\u0131m tavsiyesi de\u011fildir.
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Golomb\u2013Rice kod uzunlu\u011fu (bit)", "marks": "10", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "Tam bit say\u0131s\u0131n\u0131 girin.
", "minValue": "22", "maxValue": "22", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "22", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "showAllParts": false, "contributors": [{"name": "Mushegh Manukyan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/39968/"}], "resources": []}]}], "contributors": [{"name": "Mushegh Manukyan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/39968/"}]}