1) Select the option that can only be an example of the string data type. a) True b) 5.1 c) 5 d) "Five" 2) Select the option that can only be an example of the integer data type. a) Five b) 5 c) 5.1 d) False 3) A program needs to store the number of books a student borrows from a library. Which of the following is the correct data type? a) STRING b) BOOLEAN c) INTEGER d) REAL 4) Which of the following statements correctly assigns the value 35 to a variable named Age? a) age = 35 b) age TO 35 c) Age ← 35 d) All of the above 5) Assume score= 35 a) Pass b) Fail c) Error d) Nothing 6) Which of the following contains an error in variable declaration? a) DECLARE Age : INTEGER b) DECLARE Name : STRING c) DECLARE Temperature : BOOLEAN d) DECLARE Price : REAL 7) What will be the value of result after this pseudocode runs? a) High b) Low c) 10 d) X>5 8) Which of the following pseudocode examples contains a logical error? a) b) c) d) DECLARE Price:REAL 9) What is the value of the variable number once the code has finished executing? a) 5 b) 10 c) 8 d) 9
0%
Pseudocode basics quiz
Delen
Delen
Delen
door
Srschooltechtoo
Inhoud Bewerken
Afdrukken
Embedden
Meer
Toewijzingen
Scorebord
Meer weergeven
Minder weergeven
Dit scoreboard is momenteel privé. Klik op
Delen
om het publiek te maken.
Dit scoreboard is uitgeschakeld door de eigenaar.
Dit scoreboard is uitgeschakeld omdat uw opties anders zijn dan die van de eigenaar.
Opties Herstellen
Quiz
is een open template. Het genereert geen scores voor een scoreboard.
Inloggen vereist
Visuele stijl
Lettertypen
Abonnement vereist
Opties
Template wisselen
Alles weergeven
Er zullen meer templates verschijnen terwijl je de activiteit gebruikt.
Open resultaten
Kopieer link
QR-code
Verwijderen
Automatisch opgeslagen activiteit "
" herstellen?