Relational & Logical Operators

Relational & Logical Operators

University

20 Qs

quiz-placeholder

Similar activities

KT 15P TIN 11 HKI

KT 15P TIN 11 HKI

12th Grade - University

15 Qs

BOOLEAN ALGEBRA

BOOLEAN ALGEBRA

University

20 Qs

C++ Quiz-1

C++ Quiz-1

University

15 Qs

PROGRAMMING CAMP

PROGRAMMING CAMP

University

20 Qs

Basic C++ Programming Questions

Basic C++ Programming Questions

University

20 Qs

Explore JavaScript

Explore JavaScript

University

15 Qs

Recap C++

Recap C++

University

20 Qs

C Programing

C Programing

University

25 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?