Search Header Logo

Logical operator Class IX

Authored by Neeraj Kumar

Computers

9th Grade

Used 2+ times

Logical operator Class IX
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x= 100;

int y = 50

System.out.print( x<12 && y>=50);

False

True

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x= 100;

int y = 50

System.out.print(!(x<12 || y>=50));

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

___________ operator is used to compare two quantities.

relational

logical

assignment

bitwise

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

___________ operator is used to form compound conditions by combining two or more relations

relational

logical

assignment

bitwise

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a = 2, b = 2, c = 0;

double d = 30.1;


Find answer for = (a > b) &&(( c <d) || (c!=a))

35.9

80

true

false

6.

MULTIPLE CHOICE QUESTION

30 sec • 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

7.

MULTIPLE CHOICE QUESTION

30 sec • 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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?