Informatics JAVA programming

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

how do we say "not"

!

how do we say "is not equal to"

!=

If you want your condition to depend upon two conditions BOTH being true, what is the proper notation to put between the two Boolean statements?

&&

how do we say "and"

&&

"Sum=" + a + b; a = 4 b = 6

46

how do we say "is equal to"

==

Which operator can be used to compare two values?

== (equals to)

Which operator is used to multiply numbers?

*

How do you insert comments in JAVA code?

//This is a comment

The statement S %= i; is equivalent to:

S = S % i

The statement S += i; is equivalent to

S = S + i

The statement S -= i; is equivalent to

S = S - i

How do you say what the system should write if a certain statement is true?

System.out.println("STATEMENT");

A boolean operator:

asks a question (ex: True or False)

Choose the appropriate data type for this value: 5.50

double

An assignment operator:

executes a command (ex: The boy can enter)

How do you start writing an if statement in JAVA?

if(x>y)

Choose the appropriate data type for this value: 6

int

How do you create a variable with the numeric value 5?

int x = 5

how do we say "or"

||

What dype of answer does this symbol require "%" ?

остатъкът при деление

What should the answer be when we use this symbol "/"?

цялото число отговор на делението


संबंधित स्टडी सेट्स

20 first Elements of the Periodic Table 😉

View Set

RPLU 06 Professional Liability Insurance Claims

View Set

ITE Weathering and Caves: Karst Topography and Cave Formation

View Set

Micro econ test 1 correct study guide

View Set

Emily-Tyler Sides Horror Episodic Show

View Set

Basic Electrical Theory: Unit 19 - Power Factor and Efficiency

View Set