Search Header Logo

27. Making decision with operators - Part 1

Authored by ANIL KUMAR

Computers

Professional Development

27. Making decision with operators - Part 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

43 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you make decision making in Java?

Using loops and conditions
Using mathematical calculations
Using file handling operations
Using string manipulation

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a Java program using decision making statements?

Program for sorting data
Program for database connectivity
Program for handling exceptions
Program that selects execution paths based on conditions or variable values

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is the two way decision operator in Java?

&& (logical AND)
|| (logical OR)
^ (bitwise XOR)
?: (ternary operator)

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Why is decision making important in Java?

It simplifies code structure
It reduces code duplication
It allows selecting multiple paths based on conditions or variable values
It improves code performance

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are 5 ways to make a decision?

Identify goal, gather information, consider consequences, make decision, evaluate
Create loops, use conditions, perform calculations, handle exceptions, access databases
Define classes, create objects, write methods, handle I/O operations, manage memory
Design interfaces, implement inheritance, apply polymorphism, handle events, control flow

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is decision-making in JavaScript?

Execution of asynchronous tasks
Manipulation of HTML elements
Selection of actions based on conditions or variables
Parsing and validating user input

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the operators available in Java?

Arithmetic, assignment, comparison, logical, bitwise
String concatenation, regular expression, bitwise, assignment
Relational, logical, bitwise, conditional, assignment
Increment, decrement, assignment, logical, bitwise

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?