Comparison Operators Quiz
3 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What does the operator "==" do?

  • Checks if the values of two operands are not equal
  • Checks if the values of two operands are equal (correct)
  • Checks if the value of left operand is greater than the value of right operand
  • Checks if the value of left operand is less than the value of right operand
  • What does the operator "<=" do?

  • Checks if the values of two operands are equal
  • Checks if the values of two operands are not equal
  • Checks if the value of left operand is greater than the value of right operand
  • Checks if the value of left operand is less than or equal to the value of right operand (correct)
  • What does the operator ">" do?

  • Checks if the values of two operands are not equal
  • Checks if the values of two operands are equal
  • Checks if the value of left operand is greater than the value of right operand (correct)
  • Checks if the value of left operand is less than the value of right operand
  • More Like This

    Operators in Programming
    18 questions

    Operators in Programming

    HeartwarmingDystopia avatar
    HeartwarmingDystopia
    Programming Operators Quiz
    37 questions
    Use Quizgecko on...
    Browser
    Browser