{
    "path": "/home/krm/dev/mimer-academia/programing/js/introduction/Questions/calling.sv.json",
    "s": "Ignor",
    "invert": true,
    "level": 1,
    "title": [
        "Att anropa en funktion"
    ],
    "author": [
        "krm"
    ],
    "created": {
        "year": 2022,
        "month": 9,
        "day": 29
    },
    "status": "alpha",
    "description": [],
    "statments": [],
    "comment": [],
    "cards": [
        {
            "level": 1,
            "index": 1,
            "title": [
                "Vad är en funktion?"
            ],
            "description": [],
            "statments": [
                {
                    "right": true,
                    "description": [
                        "Kod som kan anropas på olika ställen i din kod."
                    ]
                },
                {
                    "description": [
                        "Det användar kör på en dator."
                    ]
                },
                {
                    "description": [
                        "Det som gör beräkningarna i en dator"
                    ]
                },
                {
                    "description": [
                        "En model för hur användaren tänker kring hur ett program fungerar."
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 2,
            "title": [
                "Vad är en parameter?"
            ],
            "description": [],
            "statments": [
                {
                    "right": true,
                    "description": [
                        "Ett värde som skickas via ett anrop till fuktion."
                    ]
                },
                {
                    "description": [
                        "Ett värde som kommer från en funktion när den är klar."
                    ]
                },
                {
                    "description": [
                        "Koden som utgör funktionen."
                    ]
                },
                {
                    "description": [
                        "Resultat av när vi tolkar utrycket utifrån vår definition av språket."
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 3,
            "title": [
                "Vad är en returnvärde?"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "Ett värde som skickas via ett anrop till fuktion."
                    ]
                },
                {
                    "right": true,
                    "description": [
                        "Ett värde som kommer från en funktion när den är klar."
                    ]
                },
                {
                    "description": [
                        "Koden som utgör funktionen."
                    ]
                },
                {
                    "description": [
                        "Resultat av när vi tolkar utrycket utifrån vår definition av språket."
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 4,
            "title": [
                "Vad är en implmentering av en funktion?"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "Ett värde som skickas via ett anrop till fuktion."
                    ]
                },
                {
                    "description": [
                        "Ett värde som kommer från en funktion när den är klar."
                    ]
                },
                {
                    "right": true,
                    "description": [
                        "Koden som utgör funktionen."
                    ]
                },
                {
                    "description": [
                        "Resultat av när vi tolkar utrycket utifrån vår definition av språket."
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 5,
            "title": [
                "Vad är ett värde av ett utryck?"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "Ett värde som skickas via ett anrop till fuktion."
                    ]
                },
                {
                    "description": [
                        "Ett värde som kommer från en funktion när den är klar."
                    ]
                },
                {
                    "description": [
                        "Koden som utgör funktionen."
                    ]
                },
                {
                    "right": true,
                    "description": [
                        "Resultat av när vi tolkar utrycket utifrån vår definition av språket."
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 6,
            "exactly": true,
            "title": [
                "__1+1__"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "2"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 7,
            "exactly": true,
            "title": [
                "__2*3+1__"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "7"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 8,
            "exactly": true,
            "title": [
                "__(1+2)*(2+3)__"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "15"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 9,
            "exactly": true,
            "title": [
                "__2**3__"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "8"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 10,
            "exactly": true,
            "title": [
                "__-2*-3__"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "6"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "title": [
                "🪧  Våra vänner funktionerna"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "double(tal)",
                        " Tar ett _tal_ och gör det dubbelt så stort."
                    ]
                },
                {
                    "description": [
                        "add(a,b)",
                        " Kommer returnera summan av talen _a_ och _b_."
                    ]
                },
                {
                    "description": [
                        "one()",
                        " Returnärar värdet 1."
                    ]
                },
                {
                    "description": [
                        "abs(x)",
                        " Returnärar absolutvärdet av _x_."
                    ]
                }
            ],
            "comment": [],
            "cards": [
                {
                    "level": 2,
                    "index": 11,
                    "exactly": true,
                    "title": [
                        "Vad blir returnvärddet av __double(5)__?"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "10"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 12,
                    "exactly": true,
                    "title": [
                        "Vad blir returnvärddet av __abs(-5)__?"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "5"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 13,
                    "exactly": true,
                    "title": [
                        "Vad blir returnvärddet av __one()__?"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "1"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 14,
                    "exactly": true,
                    "title": [
                        "__one()*3__"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "3"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 15,
                    "exactly": true,
                    "title": [
                        "__add(1,1)__"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "2"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 16,
                    "exactly": true,
                    "title": [
                        "__double(8)*2__"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "32"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 17,
                    "exactly": true,
                    "title": [
                        "__abs(-2)*3__"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": []
                        },
                        {
                            "description": [
                                "6"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 18,
                    "exactly": true,
                    "title": [
                        "Vad blir värddet av __double(double(2))__?"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "8"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 19,
                    "exactly": true,
                    "title": [
                        "Vad blir värddet av __double(add(7,one()))__?"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "16"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 20,
                    "exactly": true,
                    "title": [
                        "Vad blir värddet av __abs(double(add(-2*(3+4),-2*(1+1))))__?"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "32"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 21,
                    "title": [
                        "Vad blir värddet av *one*?"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "void"
                            ]
                        },
                        {
                            "right": true,
                            "description": [
                                "En referens till funktionen \"one\"."
                            ]
                        },
                        {
                            "description": [
                                "Null"
                            ]
                        },
                        {
                            "description": []
                        }
                    ],
                    "comment": []
                }
            ],
            "kind": "question"
        }
    ],
    "kind": "questions"
}