
Pretest Minggu 4

Quiz
•
Information Technology (IT)
•
University
•
Hard
Koci Potopotochat
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tipe data apakah yang cocok digunakan untuk menyimpan sekumpulan nilai yang tidak dapat diubah setelah dideklarasikan?
Tuple
Set
Dictionary
List
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut ?
[1, 2, 3, 4, 5, 6]
[1, 2, 3, 4, [5, 6]]
[1, 2, 3, 4, (5, 6)]
[1, 2, 3, 4, {5, 6}]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang membedakan antara List dan Tuple dalam Python?
Tuple dapat diubah, List tidak
List dapat diubah, Tuple tidak
List menggunakan tanda kurung (), sedangkan Tuple menggunakan []
List hanya bisa berisi angka, sedangkan Tuple bisa berisi berbagai tipe data
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mengakses elemen terakhir dari list
my_list = [10, 20, 30, 40]?
my_list[0]
my_list[len(my_list)]
my_list[1]
my_list[-1]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah pernyataan yang benar tentang SET dalam Python?
Set harus berisi elemen bertipe sama
Set dapat menyimpan elemen duplikat
Set tidak memiliki urutan indeks
Set dapat diakses menggunakan indeks seperti list
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa Output dari kode berikut?
(1, 2, 3)
(1, 2, 3, 4)
(2, 3, 4)
(1, 4)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa Fungsi built in dictionary dibawah ini??
values()
Mengembalikan semua key dalam dictionary
Mengembalikan semua nilai dalam dictionary
Mengembalikan semua pasangan key-value
Menghapus item dengan key x
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Hash Table

Quiz
•
University
5 questions
AJIR

Quiz
•
9th Grade - University
10 questions
Python_Quiz_1

Quiz
•
University
10 questions
Pretest Digitalisasi Pelestarian Budaya

Quiz
•
10th Grade - University
15 questions
DSA (Quiz 1) Arrays and Linked Lists

Quiz
•
University
15 questions
STP_Integrasi aplikasi

Quiz
•
9th Grade - University
10 questions
Computer Programming 4

Quiz
•
University
15 questions
Python_MCQ_2

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
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
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University