subject

Extra give good !
when comparing the comparison operator “equal” to the java assignment operator, what is the main difference?
the comparison operator is == and the java assignment operator is =.
the comparison operator is = and the java assignment operator is ==.
the comparison operator is =+ and the java assignment operator is =.
the comparison operator is = and the java assignment operator is =+.

which term best represents the set of rules that govern the use of words and punctuation in a language?
order of operations
variable
syntax
code

you are declaring a variable that will store text. which data type could be used for the new variable? choose the best answer.
boolean
string
int
real

analyze the following code, which is correct for a conditional operator?
(myage> =yourage)? myage-yourage: yourage-myage
(myage> =yourage): myage-yourage: yourage-myage
(myage> =yourage)? myage-yourage? yourage-myage
(myage> =yourage); myage-yourage; yourage-myage

which of the following characters is not allowed for java variable names?
backslash
dollar sign
capital a
underscore

you purchase moving boxes and mark them with labels to indicate the contents they will store. which action describes the labeling of the boxes?
declaring variables
allocating memory
writing a program
compiling code

which of the following symbols would not be seen in the syntax for java variables, methods, or arguments?
{}
()
? ?
[]

which comparison operator is used for “not equal to”?
! =
%=
#=
*=

why would you not use a char to store the phrase “super100”?
a char only stores uppercase letters from a to z.
a char only stores lowercase letters from a to z.
a char only stores one letter, number, or symbol.
a char only stores uppercase and lowercase letters.

what does the boolean data type store?
0s or 1s
letters
numbers
colors

you are writing a payroll program in java that needs to assign the value of 25 percent as a tax rate. which statement represents the best construct of this assignment?
int taxrate == 0.25;
float taxrate = 0.25;
float taxrate ! = 0.25;
long taxrate = 25;

you are writing a program that needs to calculate gross pay for an employee based on variables grosspay, payrate, and hrsworked. which statement represents the best construct of this assignment?
grosspay = payrate – hrsworked;
grosspay = payrate / hrsworked;
grosspay = payrate – hrsworked;
grosspay = hrsworked * payrate;

which operation comes before d in pemdmas?
modulus
multiplication
addition
subtraction

which java syntax describes the mathematical expression “3 is not equal to 9”?
3< > 9
3! =9
3==9
3 not=9

which data type can be used to store decimal numbers in java?
short
byte
float
int

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 03:00, jarteria0
State 7 common key's for every keyboard
Answers: 1
image
Computers and Technology, 24.06.2019 02:30, cardsqueen
Which option completes the explanation for conflict of interest in an organization
Answers: 1
image
Computers and Technology, 24.06.2019 06:30, titalili0204
Adrawing that places all lines parallel to the z axis at an angle from the horizon is 99 ! a. an oblique drawing b. a perspective drawing c. an auxiliary view d. a one-point perspective drawing
Answers: 2
image
Computers and Technology, 24.06.2019 10:50, latresyn
In 2009 to 2010, how many social network users were reported as being victims of online abuse? a. 1 in 10 b. 100% c.1 in 100 d. 50%
Answers: 2
You know the right answer?
Extra give good !
when comparing the comparison operator “equal” to the java assignment ope...

Questions in other subjects: