Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
16 questions
Show answers
  • Q1
    Explain what is meant by string length?
    It's the amount of integers in a string
    It's the amount of characters in a string
    It takes snippets of text of a string value
    It returns the value of a character based on a integer
    45s
    3.2.8
  • Q2
    State the output from the following piece of code: word = "Hello Word" LEN(word)
    9
    8
    10
    11
    45s
    3.2.8
  • Q3
    What is the psuedocode to check if the length of the password is at least 8 characters?
    Question Image
    IF LEN(password) <= 8:
    IF LEN(password) == 8:
    IF (password) >= 8:
    IF LEN(password) >= 8:
    45s
    3.2.8
  • Q4
    Which position is 'P' is in?
    Question Image
    1
    2
    3
    0
    45s
    3.2.8
  • Q5
    What is the output of this function POSITION("Hello World", "e")?
    1
    0
    2
    3
    45s
    3.2.8
  • Q6
    Which function will find the position of the '@' character?
    POSITION( '@',email)
    POSITION(email, '@')
    POSITION(@, '@')
    (email, '@')
    45s
    3.2.8
  • Q7
    What is the purpose of a SUBSTRING?
    It finds the length of a string
    It finds the position of the character
    It converts the string value to an integer
    It takes snippets of text from a string
    45s
    3.2.8
  • Q8
    Which function will take the first three letters of the individuals first name?
    Question Image
    username <-- SUBSTRING(0, 3, firstname)
    username <-- SUBSTRING(0, firstname)
    username <-- SUBSTRING(0, 3)
    username <-- SUBSTRING(3, 3, firstname)
    60s
    3.2.8
  • Q9
    Which line of code will output the first initial of this name?
    Question Image
    name <-- SUBSTRING(0, 1, "Carmen")
    name <-- SUBSTRING(0, 3, "Carmen")
    name <-- SUBSTRING(1, 1, "Carmen")
    name <-- SUBSTRING(1, 1, "Carmen")
    60s
    3.2.8
  • Q10
    What is meant by concatenation?
    Finds the position in the string.
    Chains two or more strings together
    Checks the length of the string.
    Takes snippets out of the string.
    45s
    3.2.8
  • Q11
    Which code will concatenate the first initial of the first name with the surname?
    username <-- SUBSTRING(1, 1, firstName) & lastName
    username <-- firstName) + lastName
    username <-- SUBSTRING(0, 1, firstName) + lastName
    username <-- SUBSTRING(1, 1, firstName) - lastName
    60s
    3.2.8
  • Q12
    Which symbol will concatenate two strings together?
    ,
    -
    &
    +
    45s
    3.2.8
  • Q13
    What is meant by CHAR_TO_CODE?
    Converts from ASCII/Unicode to alphanumeric
    Converts from alphanumeric to ASCII/Unicode
    Finds the position of the character
    States the length of the string
    45s
    3.2.8
  • Q14
    What is meant by CODE_TO_CHAR?
    Finds the position of the character
    Converts from ASCII/Unicode to alphanumeric
    States the length of the string
    Converts from alphanumeric to ASCII/Unicode
    45s
    3.2.8
  • Q15
    What is the output of the following piece of code? STRING_TO_INT("45")
    -
    "45"
    45
    INT_TO_STRING("45")
    45s
    3.2.8

Teachers give this quiz to your class