{
    "path": "/home/krm/dev/mimer-academia/programing/js/introduction/Questions/mixed.sv.json",
    "s": "Ignor",
    "invert": true,
    "level": 1,
    "title": [
        "Blandade uppgifter"
    ],
    "author": [
        "krm"
    ],
    "created": {
        "year": 2022,
        "month": 10,
        "day": 13
    },
    "status": "alpha",
    "description": [],
    "statments": [],
    "comment": [],
    "cards": [
        {
            "level": 1,
            "index": 1,
            "exactly": true,
            "title": [
                "Vad är värdet av variabeln c?"
            ],
            "description": [],
            "lang": "js",
            "code": "let a = 2;\nlet b = 2*a;\nlet c = b-a;",
            "statments": [
                {
                    "description": [
                        "2"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 2,
            "exactly": true,
            "title": [
                "Vad är värdet av variabeln d?"
            ],
            "description": [],
            "lang": "js",
            "code": "let a = 1;\nlet b = 1;\nlet c = a + b;\nlet d = b + c;",
            "statments": [
                {
                    "description": [
                        "3"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 3,
            "exactly": true,
            "title": [
                "Vad är värdet av variabeln c?"
            ],
            "description": [],
            "lang": "js",
            "code": "let a = \"Hej\";\nlet b = \"då\";\nlet c = a + b+\"1\";",
            "statments": [
                {
                    "description": [
                        "\"Hejdå!\""
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 4,
            "exactly": true,
            "title": [
                "Vad är värdet av variabeln d?"
            ],
            "description": [],
            "lang": "js",
            "code": "let a = 1;\nlet b = \"1\";\nlet c = b+a;\nlet d = \"Titta där är en fager \" + c;",
            "statments": [
                {
                    "description": [
                        "\"Titta där är en fager 11\""
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 5,
            "exactly": true,
            "title": [
                "Vad är väret av variabeln a?"
            ],
            "description": [],
            "lang": "js",
            "code": "let a = 9;\na = Math.sqrt(a);",
            "statments": [
                {
                    "description": [
                        "3"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 6,
            "exactly": true,
            "title": [
                "Vad är värdet av variabeln a,b och c?"
            ],
            "description": [],
            "lang": "sh",
            "code": "let a = Math.floor(1.5);\nlet b = Math.floor(2.1);\nlet c = Math.floor(3.9)",
            "statments": [
                {
                    "description": [
                        "1,2,3"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 7,
            "exactly": true,
            "title": [
                "Vad skriver programmet ut om användare skriver in \"Ponny\"?"
            ],
            "description": [],
            "lang": "js",
            "code": "let animal = propmt(\"Vilket djur gillar du allra mest?\");\nconsole.log(\"❤️ \" + djur)",
            "statments": [
                {
                    "description": [
                        "\"❤️ Ponny\""
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 8,
            "exactly": true,
            "title": [
                "Vad skriver programmet ut om en användare skriver in värdet 7?"
            ],
            "description": [],
            "lang": "js",
            "code": "let luck  = Number(propmt(\"Vilket är ditt lycko tal?\"));\nconsole.log(\"🍀\"+(luck*100+luck*10+luck));",
            "statments": [
                {
                    "description": [
                        "\"🍀777\""
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 9,
            "exactly": true,
            "title": [
                "Vad är värdet av utrycket?"
            ],
            "description": [],
            "lang": "js",
            "code": "true || false && 1 < 3;",
            "statments": [
                {
                    "description": [
                        "true"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 10,
            "exactly": true,
            "title": [
                "Vad är värdet av utrycket?"
            ],
            "description": [],
            "lang": "js",
            "code": "5 < 2 || 2 < 4",
            "statments": [
                {
                    "description": [
                        "true"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 11,
            "exactly": true,
            "title": [
                "Om en användare skriver 1. Vad skriver programmet ut?"
            ],
            "description": [],
            "lang": "js",
            "code": "let selector = prompt(\"Välj inriktning?\")\nlet name;\nif(selector === 1) {\n\tname =  \"Desingare är toppen!\";\n} else if(selector === 2) {\n\tname = \"Byggare Bob\";\n}\nelse if(selector === 3) {\n\tname = \"Trollvetenskap\";\n} else {\n\tname = \"IT\"\n}\nconsole.log(name);",
            "statments": [
                {
                    "description": [
                        "\"Desingare är toppen!\""
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 12,
            "exactly": true,
            "title": [
                "Vad skriver programmet ut om en användare skriver in 7?"
            ],
            "description": [],
            "lang": "js",
            "code": "let num = Number(prompt(\"Skriv ett tal mindre än tio\"))\nif(num < 10) {\n\tconsole.log(\"ja\");\n} else {\n\tconsole.log(\"Neeeeej!!!\");\n}",
            "statments": [
                {
                    "description": [
                        "\"ja\""
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 13,
            "title": [
                "🐾 Vad skriver programmet ut?"
            ],
            "description": [],
            "lang": "js",
            "code": "for(let i = 100; i < 111; i++) {\n\tconsole.log(\"Tal: \" + i);\n}",
            "statments": [],
            "comment": [],
            "cards": [
                {
                    "level": 2,
                    "index": 1,
                    "title": [
                        "Test"
                    ],
                    "description": [],
                    "lang": "test",
                    "code": "Tal: 100\nTal: 101\nTal: 102\nTal: 103\nTal: 104\nTal: 105\nTal: 106\nTal: 107\nTal: 108\nTal: 109\nTal: 110",
                    "statments": [],
                    "comment": []
                }
            ],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 14,
            "title": [
                "🐾 Vad skriver programmet ut?"
            ],
            "description": [],
            "lang": "js",
            "code": "console.log(\"Start\");\nfor(let i = 10; i > -1; i=i-1) {\n\tconsole.log(i);\n}\nconsole.log(\"BOOM\");",
            "statments": [],
            "comment": [],
            "cards": [
                {
                    "level": 2,
                    "index": 1,
                    "title": [
                        "Test"
                    ],
                    "description": [],
                    "lang": "test",
                    "code": "10\n9\n8\n7\n6\n5\n4\n3\n2\n1\nBOOM",
                    "statments": [],
                    "comment": []
                }
            ],
            "kind": "question"
        }
    ],
    "kind": "questions"
}