6. Method
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Lê Thành
Used 10+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khai báo một hàm có hai tham số đầu vào lần lượt thuộc kiểu chuỗi và số nguyên, có kiểu trả về là số thực thì cách khai báo nào là đúng?
public static void func1(String a, int b)
public static double func2(int a, String b)
public static double func3(String a, int b)
public static int func4(String a, int b)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Từ khóa return có chức năng gì đối với một hàm?
Trả về giá trị của hàm
Ngắt hàm
Ngắt các vòng lặp trong hàm
Không có chức năng gì hết
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Một hàm có kiểu trả về là void thì hàm này có được phép sử dụng từ khóa return hay không, và mục đích để sử dụng từ khóa return là gì đối với hàm này?
Có, để trả về giá trị của hàm
Không
Có, để ngắt hàm
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trên màn hình console sẽ in ra thông tin gì?
[2, 4, 6, 8]
-10
[-10, 2, 4, 6, 8]
[-10, 4, 6, 8]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trên màn hình console sẽ in ra thông tin gì?
[-10]
[-10, 2, 4, 6, 8]
[-10, 4, 6, 8]
-10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trên màn hình console sẽ in ra thông tin gì?
20
1
21
Thông báo lỗi
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Trên màn hình console sẽ in ra thông tin gì?
20
1
21
Thông báo lỗi
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
13 questions
Repaso
Quiz
•
Professional Development
10 questions
L6 Bài 16 Cấu trúc điều khiển
Quiz
•
Professional Development
15 questions
Web Technology - Web Essentials
Quiz
•
Professional Development
10 questions
Bài 19. Tạo và làm việc với bảng
Quiz
•
Professional Development
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
Đố vui 2
Quiz
•
8th Grade - Professio...
11 questions
Pretest
Quiz
•
Professional Development
10 questions
Tin học lớp 5 phần mềm Logo
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 Computers
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...
