6. Method
Quiz
•
Computers
•
Professional Development
•
Medium
Lê Thành
Used 10+ times
FREE Resource
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
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
12 questions
R081 Pre-production documents
Quiz
•
11th Grade - Professi...
15 questions
Big Data Analytics Quiz based on Unit 1 and 2
Quiz
•
Professional Development
10 questions
Python-Quiz-Basic-Datatypes
Quiz
•
12th Grade - Professi...
15 questions
C Language Quiz-1
Quiz
•
University - Professi...
10 questions
C Programming
Quiz
•
Professional Development
10 questions
CHỦ ĐỀ: CẤU TRÚC RẼ NHÁNH
Quiz
•
Professional Development
10 questions
C Programming
Quiz
•
Professional Development
10 questions
Tập huấn trực tuyến CT Tư duy thời đại số
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
21 questions
October 25
Quiz
•
Professional Development
10 questions
October Monthly Quiz
Quiz
•
Professional Development
20 questions
There is There are
Quiz
•
Professional Development
5 questions
SSUSH13
Interactive video
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
