[Module 1] 14. Hàm

[Module 1] 14. Hàm

Professional Development

10 Qs

quiz-placeholder

Similar activities

Semiconductor Electronics : Class 3

Semiconductor Electronics : Class 3

Professional Development

12 Qs

dataStructure

dataStructure

Professional Development

14 Qs

Nursing:The New You!!

Nursing:The New You!!

Professional Development

15 Qs

Advance MS Excel Tips and Tricks

Advance MS Excel Tips and Tricks

Professional Development

10 Qs

BJT - BASICS

BJT - BASICS

Professional Development

15 Qs

Circulatory System

Circulatory System

Professional Development

10 Qs

Presenting with Purpose

Presenting with Purpose

Professional Development

10 Qs

Chapter 2

Chapter 2

Professional Development

15 Qs

[Module 1] 14. Hàm

[Module 1] 14. Hàm

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Medium

Created by

Anh Nguyễn Bá Tuấn

Used 36+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp khai báo hàm nào đúng?

  • function myFunction { }

  • function myFunction() { }

  • function = myFunction() { }

  • let myFunction: function() { }

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn mã sau là gì?

23

5

undefined

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Hàm sau trả về giá trị gì?

"Hello, Alice!"

undefined

Hello, Alice!

"result"

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Những lợi ích của việc sử dụng hàm là gì?

  • Giảm lặp lại mã nguồn

Làm chương trình dễ bảo trì hơn

Tăng hiệu suất trình duyệt

Cải thiện khả năng đọc mã

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn mã sau là gì?

12

7

NaN

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong JavaScript, phạm vi của một biến được khai báo bên trong một hàm là gì?

Phạm vi toàn cục (Global scope)

Phạm vi khối lệnh (Block scope)

Phạm vi hàm (Function scope)

Không có phạm vi (No scope)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn mã sau là gì?

"This won't run"

undefined

null

Error

Access all questions and much more by creating a free account

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?