
Kiểm tra kiến thức về Java
Authored by Lê cường
Mathematics
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?
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