Dadakan quiz 1
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Meicank Minang
FREE Resource
Enhance your content in a minute
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
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
10 questions
Edexcel Algorithm Key Terminology
Quiz
•
10th - 12th Grade
10 questions
Python with DataScience
Quiz
•
7th Grade - University
10 questions
Pseudocode WHILE Loops
Quiz
•
10th - 12th Grade
14 questions
ITGS - IT Systems (Hardware)
Quiz
•
10th - 12th Grade
9 questions
Keterampilan generik
Quiz
•
9th - 12th Grade
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
14 questions
BTEC National ICT U2 - Data Types and Validation
Quiz
•
12th Grade
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
