Log in
Sign up for FREE
arrow_back
Library
if quiz review
By Myra Deister
star
star
star
star
star
Share
share
Last updated almost 7 years ago
6 questions
Add this activity
Note from the author:
Processing Review for if
1
Question 1
1.
1
1
1
1
1
What is the output:
println (17/6);
Question 2
2.
What is the output:
println(17%6)
Question 3
3.
Question 4
4.
Write a statement that will declare a float named myNum.
Question 5
5.
What is the output?
int
i=3;
if
(i<10)
println("hello");
println("goodbye");
Question 6
6.
int
b=3, c=14;
if
(b<10)
println("hello");
if
(c<10)
println("howdy");
println("goodbye");
Select the legal variable names:
31Dollars
GiveMeAnA
A/B
Q$R
println
_blank
C3PO
X-