
Quiz Pemrograman Python
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
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
79 questions
Kiến thức về hệ điều hành
Quiz
•
11th Grade
75 questions
Bài 10: Lưu trữ dữ liệu và khai thác thông tin phục vụ quản lí
Quiz
•
11th Grade
75 questions
ARTIFICIAL INTELLIGENCE AI RPL SMK KELAS 11 12 PTS PAS SUMATIF
Quiz
•
11th Grade
78 questions
Công nghệ L11 CKII
Quiz
•
11th Grade
73 questions
Soal Latihan Untuk USBN
Quiz
•
9th Grade - University
80 questions
Chapter 18 - 21 Video Game Programming
Quiz
•
9th - 12th Grade
73 questions
HIgher - Development Methodologies
Quiz
•
11th Grade
81 questions
Kiến thức về ảnh số
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
