
java core (Kiem tra lan 1)

Quiz
•
Instructional Technology
•
University
•
Medium
HuyPP2
Used 8+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
R6_2.N_LC_3TRI_Métodos String Lógica Computacional

Quiz
•
9th Grade - University
10 questions
Kiểm tra 1.2

Quiz
•
University
10 questions
SQL Quiz

Quiz
•
University
11 questions
Go Pointers

Quiz
•
University
10 questions
Apo 1 if,for,arreglos

Quiz
•
University
10 questions
Swift: Funciones, arrays y variables

Quiz
•
University
10 questions
DATASTRUCT-ASSMNT

Quiz
•
University
8 questions
Pengenalan Pemrograman dan JavaScript

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade