
UTS ALPRO
Quiz
•
Computers
•
University
•
Hard
Faris Hakim
Used 1+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Indentasi dalam Python sangat penting karena:
Mempermudah pembacaan kode tetapi tidak berpengaruh pada eksekusi program.
Menentukan struktur blok kode seperti dalam loop, fungsi, atau kondisi.
Membuat kode lebih cepat dieksekusi.
Hanya digunakan untuk mendekorasi kode agar terlihat rapi.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dalam Python komentar ditandai dengan:
# untuk komentar satu baris.
// untuk komentar satu baris.
‘’’ untuk komentar multi-baris.
A dan C benar.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dari kodingan tersebut dapat kita simpulkan bahwa:
Tidak ada masalah.
print("Looping") memiliki indentasi yang tidak konsisten.
Loop for tidak dideklarasikan dengan benar.
Fungsi print salah digunakan di dalam loop.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dalam mendeklarasikan variabel di Python yang benar adalah:
Variabel harus diawali dengan angka.
Hanya boleh menggunakan huruf dan angka.
Nama variabel tidak boleh mengandung spasi.
Semua jawaban salah.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pernyataan yang benar tentang penamaan variabel:
Nama variabel harus diawali dengan angka.
Nama variabel dapat menggunakan spasi.
Nama variabel bisa dimulai dengan huruf atau underscore (_).
Nama variabel harus selalu menggunakan huruf kapital.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu variabel dalam Python?
Sebuah konstanta yang nilainya tidak dapat diubah.
Sebuah nama yang mengacu pada lokasi penyimpanan dalam memori.
Sebuah fungsi yang mengembalikan nilai.
Sebuah jenis data yang tidak memiliki tipe.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
5
10
15
error
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Type data python
Quiz
•
9th Grade - University
15 questions
Quiz Alpro Modul 4 Anjay
Quiz
•
University
13 questions
UAS Prinsip Bahasa Pemrograman
Quiz
•
University
20 questions
Python Strings
Quiz
•
University
15 questions
Quiz 142 - Python inputs and outputs
Quiz
•
9th Grade - University
15 questions
Exam 1 Practice
Quiz
•
University
21 questions
Básicos Python
Quiz
•
University
20 questions
Python Recap
Quiz
•
7th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University