
Sumatif Python
Quiz
•
Information Technology (IT)
•
6th - 8th Grade
•
Practice Problem
•
Medium
ZAKIYA LATIFAH
Used 3+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang membedakan sintaks Python dari bahasa pemrograman lain seperti C++ atau Java?
Python menggunakan tanda titik koma di setiap akhir baris kode.
Python menggunakan indentasi (spasi) untuk menandai blok kode.
Python tidak memerlukan fungsi untuk menampilkan output.
Python memiliki sintaks yang lebih sulit dipahami.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi print() dalam Python digunakan untuk ....
Menampilkan output di layar
Menghitung nilai variabel
Mengubah tipe data
Menyimpan data dalam variabel
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mengapa sintaks dasar Python dianggap mudah dipelajari oleh pemula?
Karena Python memiliki aturan penulisan kode yang sangat kompleks.
Karena Python menggunakan fungsi dan operator yang sulit digunakan.
Karena Python memiliki struktur kode yang bersih dan sederhana.
Karena Python tidak memiliki aturan sintaks yang ketat.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi utama dari variabel dalam Python?
Untuk menampilkan data pada layar
Untuk menyimpan dan mengelola data dengan nama tertentu.
Untuk menghitung nilai numerik
Untuk mengubah tipe data
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika sebuah variabel berisi data “25.6”, maka tipe data yang sesuai adalah ....
integer
String
float
boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mengapa tipe data penting dalam Python?
Karena setiap tipe data memerlukan variabel yang berbeda.
Karena setiap tipe data memiliki cara penyimpanan data yang berbeda.
Karena tipe data hanya digunakan untuk teks.
Karena tipe data tidak memengaruhi nilai variabel.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Anda membuat sebuah variabel bernama umur yang menyimpan angka 15. Anda ingin menampilkan kalimat “Umur saya adalah 15” dengan cara yang paling efisien menggunakan Python. Manakah kode yang paling tepat?
print("Umur saya adalah" umur)
print("Umur saya adalah" + umur)
print("Umur saya adalah", umur)
print("Umur saya adalah" + "umur")
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
15 questions
Kegiatan Ramadhan dan Kesehatan
Quiz
•
4th Grade - University
18 questions
Google Spreadsheet
Quiz
•
7th Grade
20 questions
PENILAIAN SUMATIF 1
Quiz
•
7th Grade
15 questions
Quiz Pengelolaan Folder dan File
Quiz
•
7th Grade
20 questions
Latihan Soal Bab 1 dan 2
Quiz
•
8th Grade
20 questions
BERPIKIR KOMPUTASIONAL INFORMATIKA KELAS VIII
Quiz
•
6th - 8th Grade
15 questions
UH 2 INFORMATIKA 8
Quiz
•
8th Grade
15 questions
INFORMATIKA KELAS 7A DAN TB
Quiz
•
7th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
12 questions
Hallway & Bathroom Expectations
Lesson
•
6th - 8th Grade
21 questions
Convert Fractions, Decimals, and Percents
Quiz
•
6th Grade
20 questions
Solving Systems of Equations by Graphing
Quiz
•
8th Grade
20 questions
Exponents
Quiz
•
6th Grade
20 questions
Christmas Song Emojis
Quiz
•
8th Grade
