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
26 questions
Pemrograman Berorientasi Objek

Quiz
•
University
25 questions
Python Programming Basics 1

Quiz
•
University
25 questions
Programming Skills C/C++

Quiz
•
University
25 questions
Aptitude Competition(FY)

Quiz
•
University
32 questions
Unit 1 APCSA

Quiz
•
9th Grade - University
25 questions
Java - SET -1

Quiz
•
University
35 questions
CodeChef (Secret Snippet)

Quiz
•
University
30 questions
JAVA PROGRAMMING

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