Apa yang dilakukan fungsi `print()` dalam Python?

Soal Pilihan Ganda Pemrograman Python (1)

Quiz
•
Science
•
University
•
Hard
Fatkhul Huda
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Menyimpan data ke dalam file
Menampilkan data di layar
Menghitung nilai rata-rata
Menghapus data dari memori
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mendeklarasikan variabel `x` dengan nilai 10 dalam Python?
`int x = 10`
`x = 10`
`let x = 10`
`var x = 10`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi mana yang digunakan untuk mengubah string menjadi huruf kapital dalam Python?
`capitalize()`
`upper()`
`title()`
`lower()`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari ekspresi `3**2` dalam Python?
6
9
8
12
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara membuat list kosong dalam Python?
`[]`
`()`
`{}`
`list()`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari berikut ini yang merupakan metode string untuk menghapus spasi dari awal dan akhir string?
`strip()`
`trim()`
`remove()`
`delete()`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut: `print([1, 2, 3] + [4, 5])`?
`[1, 2, 3, 4, 5]`
`[1, 2, 3] [4, 5]`
`[1, 2, 3, [4, 5]]`
`[4, 5, 1, 2, 3]`
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Quiz Pengenalan Kultur Jaringan Tanaman

Quiz
•
12th Grade - University
10 questions
KELAS PPGD & SAR

Quiz
•
University
10 questions
Pengetahuan AI

Quiz
•
University
15 questions
Peran Multimedia dalam Kesehatan

Quiz
•
University
15 questions
Evaluasi Multimedia dalam Politik

Quiz
•
University
10 questions
Quiz tentang Machine Learning untuk Konservasi

Quiz
•
University
13 questions
Kearifan Lokal dan Globalisasi

Quiz
•
7th Grade - University
10 questions
HE_Food Biodiv

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade