Dadakan quiz 1

Quiz
•
Computers
•
12th Grade
•
Hard
Meicank Minang
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Perhatikan code berikut:
df = pd.read_excel('data_penjualan.xlsx')
print(df)
manakah code yang harus ditambahkan, agar code tersebut bisa bekerja?
import pandas as pd
dfpTahun = dfd.copy()
dfd = df[['Wilayah', ' Tanggal Pesanan','Jumlah', 'Harga']]
summary_data = dfpTahun.groupby(['Wilayah','Tahun'])['TPenerimaan'].sum()
2.
FILL IN THE BLANK QUESTION
1 min • 10 pts
Sintaks apa yang harus ditambahkan untuk menampilkan 5 data awal, pada code python berikut ini:
topdata = dframe._ _ _ _ _ _
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Manakah variabel dalam code berikut ini?
dfdata1 = dfHitung.copy()
dfHitung
copy()
dfdata1
tidak ada variabel
4.
FILL IN THE BLANK QUESTION
1 min • 10 pts
Jelaskan kodingan berikut ini:
dfwil['Wilayah_Initials'] = dfwil['Wilayah'].apply(lambda x: ''.join(word[0] for word in x.split()))
5.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Bagaimana caranya menampilkan judul grafik "Total Penjualan untuk setiap Wilayah"?
plt.title('Total Penjualan untuk setiap Wilayah')
plt.xlabel('Total Penjualan untuk setiap Wilayah')
plt.ylabel('Total Penjualan untuk setiap Wilayah')
plt.show('Total Penjualan untuk setiap Wilayah')
6.
FILL IN THE BLANK QUESTION
1 min • 10 pts
Apa yang akan dihasilkan dari code berikut:
dfwil['TPenerimaan'] = dfwil['Jumlah']*dfwil['Harga']
7.
FILL IN THE BLANK QUESTION
1 min • 10 pts
Code berikut, akan mengubah format tanggal menjadi tahun. Bisakah anda memperbaiki code berikut ini?
dfTahun['Tanggal Pesanan']=pd_ _ _ _ _ _ _ _ _ _ _ _(dfTahun['Tanggal Pesanan'])
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Small Basic (Turtle)

Quiz
•
KG - University
15 questions
Iteration

Quiz
•
9th - 12th Grade
10 questions
Class-XII_IP_Revision-3

Quiz
•
12th Grade
10 questions
Dasar-Dasar Algoritma

Quiz
•
10th - 12th Grade
9 questions
Checkpoint 1 revision

Quiz
•
9th - 12th Grade
10 questions
Pseudocode WHILE Loops

Quiz
•
10th - 12th Grade
10 questions
Edexcel GCSE Computer Science Topic 3: Computers

Quiz
•
12th Grade
13 questions
Scratch Programming

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade