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
10 questions
Tin học lớp 5 phần mềm Logo
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
15 questions
C PROGRAMMING BASICS-QUIZ-1
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
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
