
Automation test
Quiz
•
Information Technology (IT)
•
Professional Development
•
Medium
linh pham
Used 5+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
18 questions
LÓGICA COM PROPOSIÇÃO, TABELA VERDADE
Quiz
•
Professional Development
20 questions
EXCEL II - EXÁMEN FINAL
Quiz
•
Professional Development
21 questions
MCE SERTIFIKAT
Quiz
•
Professional Development
25 questions
JS-QUIZ
Quiz
•
Professional Development
15 questions
Week 20 Quizzz
Quiz
•
Professional Development
15 questions
POST TEST
Quiz
•
Professional Development
15 questions
Data Analysis and Visualization
Quiz
•
Professional Development
18 questions
Quizz Cérémonie finale
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
How to Email your Teacher
Quiz
•
Professional Development
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
20 questions
Context Clues: Multiple Meaning Words
Quiz
•
Professional Development
18 questions
Do or Does
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...
