27. Making decision with operators - Part 1

27. Making decision with operators - Part 1

Professional Development

43 Qs

quiz-placeholder

Similar activities

Lvl 1 Introduction DBMS (QB)

Lvl 1 Introduction DBMS (QB)

Professional Development

39 Qs

Java Feature

Java Feature

Professional Development

42 Qs

DBMS

DBMS

University - Professional Development

45 Qs

OH MY ECMA

OH MY ECMA

University - Professional Development

44 Qs

Relational Database Quiz

Relational Database Quiz

Professional Development

39 Qs

polymorphism, exception and packages

polymorphism, exception and packages

Professional Development

40 Qs

Java Script

Java Script

9th Grade - Professional Development

39 Qs

35. Switch case - Part 2

35. Switch case - Part 2

Professional Development

44 Qs

27. Making decision with operators - Part 1

27. Making decision with operators - Part 1

Assessment

Quiz

Computers

Professional Development

Hard

Created by

ANIL KUMAR

FREE Resource

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

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?