Hasil perintah kode berikut:
print("Hai, Masa Lalu!")
KUIS-INFORMATIKA: ANALISIS DATA 1
Quiz
•
Instructional Technology
•
7th Grade
•
Hard
Juhendri Fansyah
FREE Resource
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 ... .
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 ...
10 questions
Python
Quiz
•
6th - 11th Grade
5 questions
Gmetrix 2019 PPT Simulation Test 1 Q's 16-20
Quiz
•
6th - 8th Grade
5 questions
Gmetrix 2019 PPT Practice Simulation Test 2 Q's 1-5
Quiz
•
6th - 8th Grade
8 questions
python 7.3.2
Quiz
•
7th Grade
6 questions
Electiva Lógico-Matemático
Quiz
•
1st - 11th Grade
12 questions
Основи Python
Quiz
•
7th - 12th Grade
5 questions
Японские мультики
Quiz
•
6th - 8th Grade
12 questions
Belajar dikit tentang digital marketing ya bapak ibu
Quiz
•
1st - 12th Grade
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
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check
Quiz
•
5th - 7th Grade
10 questions
Identifying equations
Quiz
•
KG - University
44 questions
El fin del año- 7th
Quiz
•
7th - 12th Grade
20 questions
Math Review
Quiz
•
7th Grade
14 questions
Subtracting Integers
Lesson
•
6th - 8th Grade
15 questions
Exponent Properties
Quiz
•
7th - 9th Grade