A while loop carries on as long as...
Computer Programming 2

Quiz
•
Computers
•
University
•
Medium
John Manuel
Used 4+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The condition in the brackets is true
The condition in the brackets is false
i < 10
the for loop has not ended
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A while loop has the following format:
while (condition)
{
...
}
while
{
...
}
continue while (condition)
{
...
}
while [condition]
[
...;
]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
OUTPUT?
int i = 1;
while (i < 4) {
System.out.println("Hello");
i++;
}
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the complete syntax of creating a class?
public class Main { }
public class Main() { }
public class Main
public class Main()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Methods are declared within a class.
True
False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
static void myMethod(){ }
What is the name of the method?
static void myMethod
void myMethod
static myMethod
myMethod
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Who invented Java?
James Gosling
Taylor Swift
Steve Jobs
Bill Gates
Tim Berners-Lee
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
C- Geniusia

Quiz
•
University
25 questions
JAVA WEEK 7-12

Quiz
•
University
30 questions
Computer Programming 1 Review

Quiz
•
University
33 questions
Midterm Exam - CTCC0323

Quiz
•
University
31 questions
Java/ Фінальний тест

Quiz
•
9th Grade - Professio...
25 questions
Java Quiz

Quiz
•
University
26 questions
String in C Programming

Quiz
•
University
25 questions
Тест на знание C#

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade