
Java Data Structures 1
Quiz by Mickey Langlois
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
Sort the following.
What will be the output of this code?
for(int i = 0; i<3 ; i++) {
System.out.print(i);
}
What will be the output of this code?
for(int i = 0; i>2 ; i++) {
System.out.print(i);
}
What will be the output of this code?
for(int i = 10; i>0 ; i++) {
System.out.print(i + "Â ");
}
What will be the output of this code?
for(int i = 5; i>0 ; i--) {
System.out.print(i);
}
What will be the output of this code?
for(int i = 5; i>0 ; i--) {
System.out.print(i);
What will be the output of this code?
for( i = 5; i>0 ; i--) {
System.out.print(i);
}
What will be the output of this code?
for( int x = 5; x>0 ; x--) {
System.out.print(i);
}
What will be the output of this code?
String i = "*";
for( int x = 5; x>0 ; x--) {
System.out.print(i);
}