
Quiz Pemrograman Python

Quiz
•
Computers
•
11th Grade
•
Hard
Tuti Sumaryati
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
82 questions
Microsoft Power Point

Quiz
•
9th - 12th Grade
75 questions
Grade XI Full Syllabus Quiz

Quiz
•
11th Grade
72 questions
Python Basics

Quiz
•
9th - 12th Grade
74 questions
PRETEST 10

Quiz
•
10th Grade - University
72 questions
7-кл, Python тілінде алгоритмдерді программалау

Quiz
•
11th Grade
76 questions
2.2 Programming Techniques

Quiz
•
10th - 12th Grade
80 questions
MICROSOFT EXCEL 2010

Quiz
•
11th Grade
76 questions
IT fundamentals Practice quiz 1

Quiz
•
11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade