
LẬP TRÌNH HĐT - BÀI 8
Passage
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
English Sunny
Used 1+ times
FREE Resource
Enhance your content in a minute
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp nào dùng để khai báo và khởi tạo một mảng số nguyên có tên là numbers và có kích thước 20?
int[] numbers = new int[20];
int [20] numbers;
int numbers = new int[20];
int numbers[] = new int(20);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào trong lớp Object được sử dụng để so sánh hai đối tượng có bằng nhau hay không?
compare()
compareTo()
equals()
isEquals()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tính căn bậc hai của một số trong java, phương thức nào trong lớp Math được sử dụng?
Math.square()
Math.sqrt()
Math.pow()
Math.root()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều gì xảy ra khi chúng ta khởi tạo mảng với kích thước âm?
Chương trình có lỗi thực thi
Mảng sẽ có kích thước mặc định là 1
Chương trình có lỗi cú pháp
Mảng sẽ được tạo với kích thước 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
int[] arr = {0, 1, 2, 3};
System.out.println(arr.length);
4
Lỗi biên dịch
3
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm phần tử vào ArrayList, chúng ta sử dụng phương thức nào?
insert()
put()
add()
append()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
Python
C++
Java
Lỗi khi thực hiện chương trình
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
30 questions
K11. Ôn tập chủ đề A, C
Quiz
•
11th Grade - University
30 questions
Computer Science
Quiz
•
University
29 questions
KIẾN TRÚC MÁY TÍNH - BÀI 8
Quiz
•
University
29 questions
Kuis di PostgreSQL
Quiz
•
University
39 questions
KIỂM TRA GIỮA HỌC KÌ 1 - TIN HỌC 1O
Quiz
•
10th Grade - University
29 questions
Câu hỏi về mạng máy tính
Quiz
•
University
30 questions
Form 4 - CSEC Information Technology Quiz
Quiz
•
10th Grade - University
30 questions
ÔN TẬP TIN HỌC 5 HK1
Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
