placeholder image to represent content

programming

Quiz by Emilio García Silva

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
15 questions
Show answers
  • Q1

    Is this code correct? yes or no

    class Main {

        public static void main(Strings[] args) {

           int x3 = 100;

           int y3 = 67;

           if(x3 > y3) {

                System.out.println("This works!");

           }   else   {

                System.out.println("The previous condition is false");

           }

         }

    }

    Users enter free text
    Type an Answer
    300s
  • Q2

    Whats a variable?

    Users enter free text
    Type an Answer
    300s
  • Q3

    Whats a function?

     a line of code that you can use over and over again, rather than writing it out multiple times.

    300s
  • Q4

    name of variable that allows you to store single character

    int

    text only

    char

    boolean

    300s
  • Q5

    what does else do?

    specifies that alternate processing is to take place when the conditions of the matching IF statement are not satisfied.

    decides what to do if the condition is False or False

    a conditional statement that runs a different set of statements

    300s
  • Q6

    if  6<6 

        system.out.println(¨23¨)

    23

    error

    23

    23

    300s
  • Q7

    Whats the function of for loop

    Users enter free text
    Type an Answer
    300s
  • Q8

    Less than

    >

    <

    ==!

    <=

    300s
  • Q9

    less than or equal

    ==<

    <<=

    <=

    =<

    300s
  • Q10

    greater than 

    <!

    >!

    >=

    >

    300s
  • Q11

    greater than or equal

    <==

    >==

    >=

    <=

    300s
  • Q12

    equal to

    ==

    ==!

    =!

    =

    300s
  • Q13

    not equal to

    ==!

    =!

    !==

    !=

    300s
  • Q14

    what are all the conditions statements

    Users enter free text
    Type an Answer
    300s
  • Q15

    whats the use of for loop

    Users enter free text
    Type an Answer
    300s

Teachers give this quiz to your class