SoleQuiz

Läs koden: vad blir resultatet?

Tio korta program att läsa och räkna ut, med variabler, loopar och villkor.

10 questions · Years 7–9 · Technology and IT

The questions on a screen, everyone answers on their phone, without an account. The free demo has room for 10 players for a quarter of an hour.

The questions

  1. Koden är x = 3 och sedan x = x + 4. Vilket värde har x efter det?

    The picture of question 1
    Maksym Kozlenko, CC BY-SA 4.0

    Write the answer

    Show the answer

    7 or sju

  2. summa = 0. Sedan körs raden summa = summa + 2 fem gånger i en loop. Vad är summa efteråt?

    Guess on a scale from 0 to 20

    Show the answer

    10

  3. Programmet säger: om 7 > 5, skriv "ja", annars skriv "nej". Det skriver ut "ja".

    • True
    • False
    Show the answer

    True

7 more questions

Play it for free on a screen, or take it into an account to change it and play it with your class or your colleagues.

The questions, and the bank they are part of, are Solecraft AB's and protected by copyright law.

Fler quiz: Technology and IT

Make the quiz yours

With a free account you change the questions, add your own and see what the room knew.