
Automation test
Authored by linh pham
Information Technology (IT)
Professional Development
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phương thức static có thể truy cập các thành phần nào trong lớp?
A. Chỉ truy cập các biến và phương thức static
B. Có thể truy cập bất kỳ biến và phương thức nào
C. Chỉ truy cập các biến non-static
D. Không thể truy cập gì trong lớp
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Trong Java, vòng lặp while dừng khi nào?
A. Khi điều kiện lặp trả về true
B. Khi điều kiện lặp trả về false
C. Sau khi lặp đủ số lần đã định
D. Sau khi điều kiện bị thay đổi
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Câu lệnh nào sau đây là một vòng lặp for đúng trong Java?
A. for (int i = 0; i < 5; i++) { System.out.println(i); }
B. for (i = 0, i++, i < 5) { System.out.println(i); }
C. for (i = 0; i++) { System.out.println(i); }
D. for (int i = 0; i < 5) { System.out.println(i); }
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Từ khóa nào trong Java dùng để dừng một vòng lặp sớm?
A. stop
B. return
C. exit
D. break
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Đối với câu lệnh switch, nếu không có từ khóa break trong một case, điều gì sẽ xảy ra?
A. Chỉ thực thi case hiện tại
B. Chương trình sẽ dừng ngay lập tức
C. Chương trình tiếp tục thực thi tất cả các case tiếp theo cho đến khi gặp break hoặc hết case
D. Chương trình ném ra ngoại lệ
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phương thức nào trả về giá trị lớn nhất trong hai số?
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Câu lệnh return trong Java dùng để làm gì?
A. Thoát khỏi chương trình
B. Trả về giá trị từ phương thức và kết thúc phương thức
C. Dừng vòng lặp hiện tại
D. Tiếp tục vòng lặp từ đầu
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
20 questions
First Exam - Prime Infrastructure
Quiz
•
Professional Development
15 questions
Nusantara Knowledge Forum
Quiz
•
Professional Development
18 questions
Основы C++: Константы и Операторы
Quiz
•
Professional Development
21 questions
Kiến thức về phần cứng và phần mềm
Quiz
•
Professional Development
19 questions
JavaWeb - Session08
Quiz
•
Professional Development
15 questions
AAKI SKKNI Fase 1
Quiz
•
Professional Development
19 questions
Windows Interfaces
Quiz
•
Professional Development
21 questions
Try Out L0
Quiz
•
Professional Development
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...