
Data Type and Structure Part 2
Authored by PO Bootcamp
Science
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa library yang paling umum digunakan untuk membuat DataFrame di Python?
matplotlib
pandas
seaborn
numpy
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Bagaimana cara membuat DataFrame dari dictionary di Python menggunakan pandas?
df = pandas.DataFrame({"col1": [1, 2], "col2": [3, 4]})
df = pandas.DataFrame([1, 2], [3, 4])
df = pandas.Series({"col1": [1, 2], "col2": [3, 4]})
df = pandas.Array({"col1": [1, 2], "col2": [3, 4]})
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Manakah dari berikut ini yang merupakan contoh data kontinu?
Jenis kelamin
Tinggi badan
Warna mata
Kota tempat tinggal
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Manakah yang termasuk dalam kategori data kategorikal?
Berat badan
Usia
Kode pos
Suhu
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa jenis perulangan (loop) yang digunakan untuk mengulang sejumlah langkah yang pasti diketahui jumlahnya?
while loop
do-while loop
for loop
switch loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa yang akan terjadi jika kita lupa memperbarui kondisi di dalam sebuah while loop?
Loop akan berjalan sekali saja
Loop akan berjalan selamanya
Loop akan melewati blok kode
Loop tidak akan dieksekusi sama sekali
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Manakah cara yang benar untuk mendeklarasikan fungsi lambda di Python?
f = lambda x: x + 1
f(x) = lambda: x + 1
lambda f: x + 1
lambda x: x, 1 + x
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?
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Science
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...