Bagaimana cara mendeklarasikan fungsi menggunakan Function Declaration?
Evaluasi dan Refleksi - 6

Quiz
•
Computers
•
12th Grade
•
Hard
Titik Dian
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
declare function myFunction() {}
function myFunction() {}
function = myFunction() {}
createFunction myFunction() {}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang harus dilakukan sebelum memanggil fungsi yang dideklarasikan menggunakan Function Declaration?
Menggunakan tanda kurung () setelah nama fungsi
Menggunakan tanda titik koma ; setelah nama fungsi
Menggunakan tanda dolar $ sebelum nama fungsi.
Tidak perlu melakukan apa-apa
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara memberikan parameter pada Function Declaration?
function myFunction(parameter) {}
function myFunction = (parameter) => {}
function myFunction() {parameter}
function(parameter) myFunction {}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dikembalikan oleh pernyataan return dalam suatu fungsi?
Nilai yang diterima sebagai parameter
Hasil output dari fungsi.
Daftar parameter fungsi
Nama fungsi yang dipanggil
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara memanggil fungsi yang telah dideklarasikan menggunakan Function Declaration?
call myFunction();
invoke myFunction();
myFunction();
execute myFunction();
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah fungsi yang dideklarasikan menggunakan Function Declaration dapat dipanggil sebelum deklarasinya?
Tidak, harus dipanggil setelah deklarasi
Ya, dapat dipanggil sebelum atau setelah deklarasi
Tergantung pada browser yang digunakan
Hanya dapat dipanggil setelah deklarasi
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menambahkan komentar pada Function Declaration?
// This is a comment
/* This is a comment */
# This is a comment
-- This is a comment
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
PCEP Section 4B: the function and its environment

Quiz
•
12th Grade
10 questions
Code.org Unit 5 Vocab Quiz 1

Quiz
•
9th - 12th Grade
10 questions
PreTest Method

Quiz
•
12th Grade
10 questions
Functions and Parameters Summative preview

Quiz
•
9th - 12th Grade
15 questions
TING 3 - 4.2.1 FUNCTION & PROCEDURE

Quiz
•
12th Grade
10 questions
XII RPL 1 - Ulangan Harian 1 - Android

Quiz
•
12th Grade
15 questions
Chapter 3 Review

Quiz
•
9th - 12th Grade
10 questions
Wk 20 Function with Parameters

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University