Manakah metode pathlib yang digunakan untuk menulis teks ke file
UAS SISOP

Quiz
•
Computers
•
University
•
Easy
Yusriel Ardian
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
write_file()
write_text()
write_content()
save_text()
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa fungsi Path.exists()
Membuat file baru
Menghapus direktori
Membuat direktori baru
Mengecek apakah path ada
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Manakah yang benar tentang Path.is_dir()?
Mengecek apakah path adalah direktori
Membuat direktori baru
Mengecek apakah path adalah file
Menghapus direktori
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Metode apa yang digunakan untuk menghapus file di pathlib?
erase()
delete()
remove()
unlink()
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa yang terjadi jika Path.write_text() dipanggil pada file yang sudah ada?
File dihapus dan dibuat ulang
File ditimpa dengan teks baru
Error terjadi
File ditambahkan teks baru
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Modul apa yang digunakan untuk socket programming di Python?
network
socketio
socket
connection
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa fungsi socket.socket()?
Membuat objek socket baru
Menutup koneksi socket
Mengirim data
Menerima data
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Quiz 1 Teori Graf dan Analisis Jejaring Sosial

Quiz
•
University
15 questions
Quis Keamanan Data

Quiz
•
10th Grade - University
20 questions
Layers Security

Quiz
•
University
15 questions
Soal TCP/IP, UDP

Quiz
•
University
15 questions
Fitur-Fitur Web Browser

Quiz
•
9th Grade - University
20 questions
Informatika Kelas 7 Bab 3 Sistem Komputer

Quiz
•
7th Grade - University
20 questions
Linux Directory Structures

Quiz
•
10th Grade - University
20 questions
Pretest GCE Level 1

Quiz
•
8th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade