
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
24 questions
Quiz de Teclas de Atalho
Quiz
•
Professional Development
20 questions
Quiz sobre Sistemas Operacionais e Linux
Quiz
•
Professional Development
20 questions
Quiz 1.
Quiz
•
Professional Development
18 questions
Quiz-Sesion2
Quiz
•
Professional Development
15 questions
Chuyển đổi số và ứng dụng CNTT trong Giáo dục
Quiz
•
Professional Development
18 questions
Quizz Navideño
Quiz
•
Professional Development
15 questions
Manipulação de Arrays em React Native
Quiz
•
Professional Development
20 questions
Chapter 10: Incident Detection and Analysis
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
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
Discover more resources for Information Technology (IT)
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development