placeholder image to represent content

variables, math methods, loops in java

Quiz by Kaur

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
7 questions
Show answers
  • Q1
    In Java, this mathematical method returns the absolute value of a specified float number.
    sqrt
    sin
    abs
    cos
    30s
  • Q2
    What term refers to a sequence of statements executed repeatedly until a certain condition is met?
    Variable
    Switch case
    Loop
    if else
    30s
  • Q3
    Which term in Java refers to a named memory location that stores a value?
    java
    string
    double
    variable
    30s
  • Q4
    What term in Java describes a block of code that performs a specific task?
    char
    Method
    variable
    for loop
    30s
  • Q5
    What term in Java refers to a control statement that allows a program to make decisions based on a condition?
    while loop
    for loop
    Switch - case
    if
    30s
  • Q6
    What term in Java refers to a statement that is used to exit from a loop before its normal termination?
    break
    continue
    variable
    class
    30s
  • Q7
    Which term in Java refers to a statement that allows you to skip the current iteration of a loop and continue with the next iteration?
    for loop
    if -else
    continue
    while
    30s

Teachers give this quiz to your class