KUIS-INFORMATIKA: ANALISIS DATA 1

KUIS-INFORMATIKA: ANALISIS DATA 1

7th Grade

10 Qs

quiz-placeholder

Similar activities

Hari 3 - Kuis Coding & Perkenalan AI

Hari 3 - Kuis Coding & Perkenalan AI

1st - 12th Grade

10 Qs

Intro to MSDI

Intro to MSDI

6th - 8th Grade

15 Qs

Mechine Learning

Mechine Learning

7th - 9th Grade

15 Qs

PLTW Design and Modeling Lesson 2 Vocabulary

PLTW Design and Modeling Lesson 2 Vocabulary

6th - 8th Grade

10 Qs

Pointing Input Devices

Pointing Input Devices

7th - 9th Grade

10 Qs

History of Technology

History of Technology

7th - 9th Grade

10 Qs

Teste de Robótica

Teste de Robótica

6th Grade - University

10 Qs

Unit 6 - Photography: Creating & Editing

Unit 6 - Photography: Creating & Editing

7th Grade

10 Qs

KUIS-INFORMATIKA: ANALISIS DATA 1

KUIS-INFORMATIKA: ANALISIS DATA 1

Assessment

Quiz

Instructional Technology

7th Grade

Practice Problem

Hard

Created by

Juhendri Fansyah

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


Hasil perintah kode berikut:

print("Hai, Masa Lalu!")

Hai, Masa Lalu!

Hai Masa Lalu!

Hai, Masa!

Hai Masa Lalu

Hai, Masa Lalu

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sebuah platform gratis dari Google yang memungkinkan kita menulis dan menjalankan kode Python langsung di browser disebut ... .

Google Sheet

Google Word

Google Presentasi

Google Colab

Google Python

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Berikut ini adalah fitur utama google colab, kecuali ... .

Akses Gratis ke GPU

Kolaborasi Mudah

Penyimpanan di Google Drive

Prainstal Paket

Python

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hasil dari kode perintah Python berikut:


# Mendeklarasikan variabel

nama = "Alice"

umur = 30

tinggi = 1.75

is_student = True

# Mencetak variabel ke layar

print("Nama:", nama)

print("Umur:", umur)

print("Tinggi:", tinggi)

print("Mahasiswa:", is_student)

adalah ... .

Nama: Alice
Umur: 30
Tinggi: 1.75
Mahasiswa: True

Nama: Alice
Umur: 30
Tinggi: 1.75
Mahasiswa: False

Nama: Alice
Umur: 30
Tinggi: 7
Mahasiswa: True

Nama: Alice
Umur: 20
Tinggi: 1
Mahasiswa: True

Nama: Alice
Umur: 30
Tinggi: 1
Mahasiswa: False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hasil dari perintah Kode Python:


# Mendefinisikan fungsi

def sapa(nama):

return "Hello, " + nama + "!"

# Menggunakan fungsi

hasil = sapa("Alice")

print(hasil)

# Fungsi dengan lebih dari satu parameter

def tambah(a, b):

return a + b

# Menggunakan fungsi tambah

jumlah = tambah(3, 4)

print("Jumlah:", jumlah)

adalah ... .

Hello, Alice!

Jumlah: 17

Hello, Alex!

Jumlah: 7

Hai, Alice!

Jumlah: 21

Hello, Alice!

Jumlah: 7

Hai, Alice!

Jumlah: 7

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hasil dari kode perintah Python:

import pandas as pd

# Membuat DataFrame dari dictionary

data = {'Name': ['Alice', 'Bob', 'Charlie'], 'Age': [25, 30, 35], 'City': ['New York', 'Los Angeles', 'Chicago']}

df = pd.DataFrame(data)

# Menampilkan DataFrame

print(df)

adalah ... .

Media Image
Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hasil dari perintah kode Python:

import pandas as pd

# Contoh DataFrame

data = {

'City': ['New York', 'Los Angeles', 'New York', 'Chicago'],

'Name': ['Alice', 'Bob', 'Charlie', 'David'],

'Age': [24, 27, 22, 32]

}

df = pd.DataFrame(data)

# Mengelompokkan data berdasarkan kolom 'City' dan menghitung rata-rata hanya pada kolom numerik

grouped_df = df.groupby('City').mean(numeric_only=True)

print(grouped_df)

adalah ...

Media Image
Media Image
Media Image
Media Image
Media Image

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?