
Modul_1(4)
Authored by Fathin Difa
Computers
Professional Development
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pilih yang tepat! Apa perbedaan methods .append() dan .extend() pada Python List?
Append menduplikasi tiap element dalam list, ke posisi paling belakang list. Extend menambah suatu object di akhir list.
Append menambah suatu object di akhir list. Extend menambah tiap element dari suatu iterable ke dalam list
Append menghapus element pada akhir list. Extend menghapus element pada awal list.
Append menambahkan tiap element dari suatu iterable ke dalam list. Extend menambahkan suatu object di akhir sebuah list.
Append menambah element dari depan list. Extend menambah element dari belakang list
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lengkapi kode berikut! Jika terdapat string 'Selamat datang di dunia pemrograman' dan kita ingin mengubahnya menjadi sebuah list ['Selamat', 'Datang', 'Di', 'Dunia', 'Pemrograman'], maka beberapa alternatif kode nya adalah:
Metode apakah yang benar untuk melengkapi kode di atas?
isupper()
istitle()
lower()
upper()
title()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Terdapat code sebagai berikut:
Hasil apa yang akan muncul dari kode di atas?
halo
halo s
halo se
halo sem
error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If Else adalah sebuah metode dalam Python yang mengandalkan terpenuhinya suatu kondisi sebelum suatu kode dieksekusi. Salah satu kondisi yang tersedia dalam If Else adalah Not Equals.
Manakah simbol yang tepat untuk menggambarkan kondisi tersebut?
==
<
>
!=
~=
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Terdapat code sebagai berikut:
Jika code ini kita run apakah yang akan terjadi?
Error karena permasalahan indentation.
Error karena kesalahan deklarasi simbol condition.
Error karena setiap kita selesai mendeklarasi Conditional Statement (if b > a) harus diakhiri ‘=’ bukan ‘:’
Hasil yang muncul adalah Boolean True.
Hasil yang muncul adalah “b is greater than a”.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pernyataan yang salah tentang While Loop?
Pilihlah jawaban yang salah.
While Loop dapat digunakan untuk mengeksekusi kode selama suatu kondisi masih True.
Kita dapat melakukan nested While Loop (While Loop dalam While Loop).
While Loop akan berhenti jika kondisi menjadi False.
While Loop tidak dapat digunakan dengan pernyataan break untuk menghentikan loop.
While Loop dapat menyertakan If Else di dalamnya.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hasil apa yang akan muncul dari kode di atas?
[2, 4, 6]
[3, 5, 7]
[2, 3, 4, 5, 6, 7]
[3, 4, 5, 6, 7]
Access all questions and much more by creating a free account
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
20 questions
SOAL ULANGAN ASJ KELAS XII TKJ
Quiz
•
Professional Development
20 questions
Uji Wawasan Aplikasi Google
Quiz
•
Professional Development
20 questions
class 8
Quiz
•
Professional Development
16 questions
Pretest DDTK-2024
Quiz
•
Professional Development
15 questions
KOMPUTER AKUNTANSI KLS XII-1
Quiz
•
Professional Development
15 questions
Queues
Quiz
•
11th Grade - Professi...
20 questions
Mobile Apps PayKu
Quiz
•
1st Grade - Professio...
20 questions
WORD DASAR TIK
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...