
KUIS-INFORMATIKA: ANALISIS DATA 1
Quiz
•
Instructional Technology
•
7th Grade
•
Practice Problem
•
Hard
Juhendri Fansyah
FREE Resource
Enhance your content in a minute
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 ...
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
computer science.
Quiz
•
7th - 8th Grade
10 questions
Computer Viruses
Quiz
•
6th - 10th Grade
10 questions
Chèn và điều chỉnh tranh ảnh
Quiz
•
1st - 10th Grade
11 questions
INFORMATIKA KELAS 9
Quiz
•
1st - 10th Grade
15 questions
Types of Computers
Quiz
•
7th Grade
7 questions
Big, Big Data Quiz (7th)
Quiz
•
7th Grade
10 questions
Jaringan Komputer
Quiz
•
7th Grade
10 questions
Computer 7 quiz
Quiz
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
