![placeholder image to represent content](/_next/image?url=%2Fassets%2Fquiz_default_logo.jpg&w=256&q=75)
programming
Quiz by Emilio García Silva
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
- Q1
Is this code correct? yes or no
class Main {
public static void main(Strings[] args) {
int x3 = 100;
int y3 = 67;
if(x3 > y3) {
System.out.println("This works!");
} else {
System.out.println("The previous condition is false");
}
}
}
Users enter free textType an Answer300s - Q2
Whats a variable?
Users enter free textType an Answer300s - Q3
Whats a function?
a line of code that you can use over and over again, rather than writing it out multiple times.
300s - Q4
name of variable that allows you to store single character
int
text only
char
boolean
300s - Q5
what does else do?
specifies that alternate processing is to take place when the conditions of the matching IF statement are not satisfied.
decides what to do if the condition is False or False
a conditional statement that runs a different set of statements
300s - Q6
if 6<6
system.out.println(¨23¨)
23
error
23
23
300s - Q7
Whats the function of for loop
Users enter free textType an Answer300s - Q8
Less than
>
<
==!
<=
300s - Q9
less than or equal
==<
<<=
<=
=<
300s - Q10
greater than
<!
>!
>=
>
300s - Q11
greater than or equal
<==
>==
>=
<=
300s - Q12
equal to
==
==!
=!
=
300s - Q13
not equal to
==!
=!
!==
!=
300s - Q14
what are all the conditions statements
Users enter free textType an Answer300s - Q15
whats the use of for loop
Users enter free textType an Answer300s