9 Fungsi

9 Fungsi

University

20 Qs

quiz-placeholder

Similar activities

Kuis 1 Praktik KWU

Kuis 1 Praktik KWU

University

20 Qs

TPVQ12

TPVQ12

University

15 Qs

QUIZ INFORMATIKA BAB 3

QUIZ INFORMATIKA BAB 3

9th Grade - University

20 Qs

UAS Komunikasi Bisnis dan Keterampilan

UAS Komunikasi Bisnis dan Keterampilan

University

20 Qs

dasar_html

dasar_html

10th Grade - University

20 Qs

Soal STS TIK Kelas 5 Semester 2

Soal STS TIK Kelas 5 Semester 2

5th Grade - University

20 Qs

REMID PTS AK1

REMID PTS AK1

10th Grade - University

15 Qs

BAB 5 ANALISIS DATA B. Data dalam Bentuk Diagram KELAS 4

BAB 5 ANALISIS DATA B. Data dalam Bentuk Diagram KELAS 4

4th Grade - University

20 Qs

9 Fungsi

9 Fungsi

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

Shynta Ayu Dwi Darmawan

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang dimaksud dengan fungsi dalam pemrograman?

Kumpulan variabel yang disimpan bersama
Blok kode yang dirancang untuk menjalankan tugas tertentu
Tipe data untuk menyimpan angka
Perulangan dalam program

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Manakah dari berikut ini yang BUKAN komponen utama dari sebuah fungsi?

Nama fungsi
Parameter
Return value
Compiler

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang dimaksud dengan parameter dalam fungsi?

Nilai yang dikembalikan fungsi
Input yang diterima oleh fungsi
Variabel global
Error message

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa output dari kode berikut? def tambah(a, b): return a + b print(tambah(3, 5))

35
8
15
Error

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Apa yang dimaksud dengan return value?

Input fungsi
Nilai yang dikembalikan fungsi setelah diproses
Nama fungsi
Jenis parameter

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Variabel yang hanya dapat diakses dalam fungsi disebut variabel...

Global
Lokal
Public
Private

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa output dari kode berikut? x = 10 def contoh(): x = 5 return x print(contoh()) print(x)

5 10
10 5
10 10
5 5

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?