Relational & Logical Operators

Relational & Logical Operators

University

20 Qs

quiz-placeholder

Similar activities

Basics of Java

Basics of Java

University - Professional Development

20 Qs

AP Computer Science A Post Unit 2 Check

AP Computer Science A Post Unit 2 Check

10th Grade - University

18 Qs

C++ Quiz

C++ Quiz

University

20 Qs

Java Básico

Java Básico

University

20 Qs

Java Programming

Java Programming

University

20 Qs

Java - Revisão I

Java - Revisão I

University

20 Qs

Object Oriented BTech

Object Oriented BTech

University

15 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Relational & Logical Operators

Relational & Logical Operators

Assessment

Quiz

Computers

University

Medium

Created by

Chad Dela Cruz

Used 139+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Evaluate. If a=3, b=9, c=-4, what is the boolean value of x?


x = a<b&&c>b&&a<c

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Evaluate. If a=3, b=9, c=-4, what is the boolean value of x?


x = a<b||c>b&&a<c

TRUE

FALSE

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Evaluate. If a=3, b=9, c=-4, what is the boolean value of x?


x = a<b&&c>b||a<c

TRUE

FALSE

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Evaluate. If a=3, b=9, c=-4, what is the boolean value of x?


x = a<b||c>b||a<c

TRUE

FALSE

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Evaluate. If a=0, b=-1, c=12, what is the boolean value of x?


x = a<=b&&c>b&&a<c

TRUE

FALSE

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Evaluate. If a=0, b=-1, c=12, what is the boolean value of x?


x = a<b||c>b&&a<=c

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Evaluate. If a=0, b=-1, c=12, what is the boolean value of x?


x = a<b||c>=b||a<c

TRUE

FALSE

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?