What does a variable store in a program?, Only numbers, Data that can change, Only text, A fixed value, What is an algorithm?, A type of data type, A step-by-step set of instructions, A programming error, A variable name, Which of the following is NOT a data type in Python?, Integer, String, Real, Fraction, What does the operator == do in Python?, Assigns a value, Adds numbers, Compares two values, Checks for inequality, What is the purpose of an if statement?, To repeat code, To make a decision, To define a function, To create a list, What keyword is used to start a loop that repeats a fixed number of times?, while, repeat, for, loop, What is a syntax error?, When the code runs forever, When the program crashes during use, When the code breaks programming rules, When output is wrong, What does the command input() do?, Outputs text, Ends the program, Adds two numbers, Gets text from the user, What is a Boolean value?, True or False, Yes or No, 1 or 0, All of the above, What symbol starts a comment in Python?, //, #, /*, --, What is a constant?, A value that stays the same, A variable that changes, A loop name, A function name, What is a data type?, Type of computer, Type of input device, Type of data a variable can hold, Type of loop, What does print() do in Python?, Receives input, Displays output, Adds numbers, Creates a list, What happens when you use input() in Python?, Program ends, Data is printed, A list is created, User is asked to type something, What is a data value?, The actual piece of information stored in memory, The name of a variable, A function, The syntax of a statement, What does the not operator do?, Checks if both are true, Reverses a condition, Joins two conditions, Adds numbers, What keyword lets you add another condition after an if?, elif, else if, also, if, What keyword runs code if no other condition is true?, if, elif, else, endif.
0%
Programming Fundamentals
Del
Del
Del
etter
Hvalli
Rediger innhold
Skriv ut
Innebygd
Mer
Tildelinger
Ledertavle
Vis mer
Vis mindre
Denne ledertavlen er for øyeblikket privat. Klikk
Share
for å gjøre den offentlig.
Denne ledertavlen er deaktivert av ressurseieren.
Denne ledertavlen er deaktivert fordi alternativene er forskjellige fra ressurseieren.
Alternativer for tilbakestilling
Flygende frukt
er en åpen mal. Det genererer ikke poengsummer for en ledertavle.
Pålogging kreves
Visuell stil
Skrifter
Krever abonnement
Alternativer
Bytt mal
Vis alle
Flere formater vises når du spiller av aktiviteten.
Åpne resultater
Kopier kobling
QR-kode
Slette
Gjenopprett automatisk lagring:
?