Show:
Questions
Responses
Print
EVALUATE THE STRING
WRITE ALL STATEMENTS THAT...
WHAT IS THE OUTPUT
IT'S A MIXUP
100
“Patrick” + “ why” + “are you” + “here?”
Patrick whyare youhere?
100
Increases the current value of x by 150
x = x + 150; x += 150;
100
int x = 1; x += 3; System.out.println(“The value of x is “ + x);
The value of x is 4
100
EVALUATE THE STRING: "Rainb"+0+" Dash"+" is a " + "#" + 1 +" flyer in Equestria!"
Rainb0 Dash is a #1 flyer in Equestria!
200
2+" words: "+"Na. Chos."
2 words: Na. Chos.
200
Decreases the current value of y by 9
y = y - 9; y -= 9;
200
1 + 1 + 1 + "1" + 1 + 1 + 1
31111
200
WHAT IS THE OUTPUT: int number = 5; number++; System.out.println(“My new variable value” + “is the ” + “number ” + number);
My new variable valueis the number 6
300
“Friendship ” + 1 + “$” + “ magic!”
Friendship 1$ magic!
300
Multiplies the current value of z by 5
z = z * 5; z *= 5;
300
int y = 2; y /= 2; System.out.println(“1 + “ + y + “is how much again?”);
1 + 1is how much again?
300
WRITE ALL STATEMENTS THAT: Decrements x by 1
x--; --x; x = x – 1; x -= 1;
400
“Twilight” + “Sparkle “ + “is the best” + “ P” + 0 + “ny!”
TwilightSparkle is the best P0ny!
400
Divides the current value of q by 14
q = q / 14; q /= 14;
400
110 – 10 + “ flip it ” + 0 + 0 + 1
100 flip it 001
400
EVALUATE THE STRING: "YOU" + "'re" + " #"+ 0 + 0 +1 + " in MY heart"
YOU're #001 in MY heart
500
"Pikachu, pika pika" + "peeeeeeeeka" + " ch" +0+0+ "!"
Pikachu, pika pikapeeeeeeeeka ch00!
500
Increments x by 1
x++; ++x; x = x + 1; x += 1;
500
“100 – 10” + “ flip it ” + 0 + “0+1”
100 – 10 flip it 00+1
500
WHAT IS THE OUTPUT: int i = 3; i++; --i; System.out.println("i has a value" + " of " + i);
i has a value of 3