
Quiz Pemrograman Python
Quiz
•
Computers
•
11th Grade
•
Hard
Tuti Sumaryati
Used 1+ times
FREE Resource
Enhance your content in a minute
77 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Di Python, fungsi input() digunakan untuk:
Menampilkan teks di layar
Menyimpan data ke dalam file
Menerima input dari pengguna
Menghitung panjang teks
Menjalankan perulangan
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Untuk menampilkan teks "Data Analisis" di layar, perintah yang benar adalah:
display("Data Analisis")
output("Data Analisis")
print("Data Analisis")
show("Data Analisis")
input("Data Analisis")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kode berikut akan menghasilkan apa? python Copy code data = input("Masukkan data: ") print(data)
Menampilkan input dari pengguna
Menampilkan "Masukkan data:"
Menampilkan panjang data
Menampilkan data dalam array
Menghapus data pengguna
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mencetak elemen pertama dari array data = [10, 20, 30, 40]?
print(data[0])
print(data[1])
print(data[10])
print(data[-1])
print(data[2])
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari perintah berikut ini yang benar untuk mencetak setiap elemen dalam array data = [1, 2, 3] menggunakan for?
for i of data: print(data)
for i on data: print(data[i])
for i in data: print(i)
for i, data in data: print(i)
for data in i: print(i)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output dari perintah for i in range(5): print(i) adalah:
1, 2, 3, 4, 5
0, 1, 2, 3, 4
0, 1, 2, 3, 4, 5
5 kali "i"
1, 2, 3, 4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menghitung panjang dari array data = [5, 6, 7, 8, 9]?
len(data)
data.length()
count(data)
size(data)
data.size
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
82 questions
tin cuối kỳ 11
Quiz
•
11th Grade
80 questions
IT Startup (ҚАЗ)
Quiz
•
11th Grade
75 questions
Стартовая диагностика
Quiz
•
9th - 12th Grade
72 questions
tin hk2
Quiz
•
11th Grade
75 questions
Review Computer Question
Quiz
•
9th - 12th Grade
77 questions
Functions
Quiz
•
11th Grade
72 questions
TTJS MID TERM 2 EXAM CORRECTION ALL TOPICS
Quiz
•
1st Grade - University
77 questions
AP CSA Semester 1 Review (Mod 1 - 5)
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
13 questions
Halloween Movie Trivia
Quiz
•
9th - 12th Grade
7 questions
Halloween - Myths & Legends
Interactive video
•
10th - 12th Grade
