
Kiểm tra kiến thức về Java

Quiz
•
Mathematics
•
Professional Development
•
Easy
Lê cường
Used 1+ times
FREE Resource
57 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Source code của java có tên mở rộng là:
.class
.java
.com
Tất cả đều sai.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đặc điểm của OOP:
Diễn đạt thiếu tự nhiên
Chương trình là sự hoạt động của đối tượng
Khó mô tả những quan hệ phức tạp
Bảo mật kém
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ưu điểm của OOP :
Dễ mô tả các quan hệ phân cấp trong thế giới thực
Có tính bảo mật cao
Câu A, B đúng
Câu A, B sai
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả của đoạn code sau: Java public class Demo { public static void main(String [] args) { int x = 5, y = 2; System.out.println(x + x % y); } }
6
0
5
Lỗi cú pháp
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả của đoạn code sau: Java public class Rand { public static void main(String [] args) { int iRand; iRand = Math.random(); System.out.println(iRand); } }
Lỗi biên dịch (Compile time error referring to a cast problem)
Xuất ra số ngẫu nhiên từ 1 đến 10
Xuất ra số ngẫu nhiên từ 0 đến 1
Lỗi khi chạy chương trình
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ngôn ngữ nào hỗ trợ OOP:
Ngôn ngữ C++
Ngôn ngữ C#
Câu A, B đúng
Ngôn ngữ C
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả của đoạn code sau: Java public class Demo { public static void main(String [] args) { boolean x = true, y = false; System.out.println(x && y); } }
true false
true
false
Lỗi cú pháp
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade