Automation test

Automation test

Professional Development

20 Qs

quiz-placeholder

Similar activities

Review of Application Software

Review of Application Software

Professional Development

20 Qs

Pertanyaan Dasar Laboran

Pertanyaan Dasar Laboran

Professional Development

20 Qs

Panel Interview

Panel Interview

Professional Development

15 Qs

MIC Customs Solutions Quiz

MIC Customs Solutions Quiz

Professional Development

15 Qs

CompTIA A+ Flash Cards (ONT-XSS)

CompTIA A+ Flash Cards (ONT-XSS)

Professional Development

20 Qs

VietNam Gameverse ngày 1

VietNam Gameverse ngày 1

Professional Development

15 Qs

Structured Cabling and Networking Quiz

Structured Cabling and Networking Quiz

Professional Development

20 Qs

La cybersécurité, j’assure … vraiment ?

La cybersécurité, j’assure … vraiment ?

Professional Development

20 Qs

Automation test

Automation test

Assessment

Quiz

Information Technology (IT)

Professional Development

Practice Problem

Medium

Created by

linh pham

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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ố?

B. Math.greater()

C. Math.high()

D. Math.max()

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Information Technology (IT)