
java core (Kiem tra lan 1)
Quiz
•
Instructional Technology
•
University
•
Practice Problem
•
Medium
HuyPP2
Used 8+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the correct syntax for java main method?
public void main(String[] args)
public static void main(string[] args)
public static void main()
none of the above
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Choose the appropriate data type for this field: isSwimmer
double
boolean
string
Int
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
If you want your condition to depend upon two conditions BOTH being true, What is the proper notation to put
between the two Boolean statements
!
||
&&
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Choose the appropriate data type for this value: 5.5
int
double
boolean
String
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is an assignment statement ?
Adding a number to an int
Assigning a multiplication
Assigning a name to a variable
Assigning a value to a variable
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Can you compare a boolean to an integer?
Yes
No
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
public static void main(String[] args) {
int a = 5;
int b = 25;
int c = 35;
int d = 123;
System.out.print(a++ + ++b - ++c + d++);
}
what is the result in that code?
117
118
119
120
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
PHP BASIC
Quiz
•
University
10 questions
Digital Mindfulness
Quiz
•
University
10 questions
Pre Test Modul 4 Kelas B
Quiz
•
University
10 questions
Quiz 6 Teori Bahasa dan Otomata 2020-2
Quiz
•
University
12 questions
M2M Robustel
Quiz
•
University - Professi...
13 questions
W9 - Quiz on Mobile Learning Design
Quiz
•
University
10 questions
Online Professionalism
Quiz
•
University - Professi...
10 questions
Sec. 12: Managing File Ownership and Permission
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
