Quiz Struktur Data P1

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Henilei
H
Henilei
Community Contributor
Quizzes Created: 5 | Total Attempts: 2,413
Questions: 10 | Attempts: 588

SettingsSettingsSettings
Quiz Struktur Data P1 - Quiz


Questions and Answers
  • 1. 

    Suatu koleksi atau kelompok data yang dapat dikarakteristikan oleh organisasi serta operasi yang didefinisikan terhadapnya adalah definisi array

    • A.

      Array

    • B.

      Struktur data

    • C.

      Tipe data sederhana

    • D.

      Multidimensional array

    • E.

      Multidimensional array

    Correct Answer
    B. Struktur data
    Explanation
    The given statement describes an array as a collection or group of data that can be characterized by its organization and defined operations. This aligns with the definition of a data structure, which refers to the way data is organized, stored, and accessed in a computer system. Therefore, the correct answer is "struktur data."

    Rate this question:

  • 2. 

    Pemakaian Struktur Data yang tepat didalam proses pemrograman, akan menghasilkan Algoritma yang lebih jelas dan tepat sehingga menjadikan program secara keseluruhan lebih ...

    • A.

      Kompleks

    • B.

      Banyak

    • C.

      Sederhana

    • D.

      Besar

    Correct Answer
    C. Sederhana
    Explanation
    The use of appropriate data structures in programming processes will result in clearer and more accurate algorithms, making the overall program simpler.

    Rate this question:

  • 3. 

    Tipe data boolean/logika bernilai true/1 dan false/0. Tipe data ini dapat dioperasikan dengan operasi yang nama nya sama yaitu boolean/logika. Operator boolean yaitu

    • A.

      Not or and

    • B.

      + - * /

    • C.

      = > < >= <= 

    • D.

      Lower, upper

    Correct Answer
    A. Not or and
    Explanation
    The given answer lists the boolean/logical operators that can be used with boolean data types. The "not" operator is used to negate a boolean value, the "or" operator returns true if at least one of the operands is true, and the "and" operator returns true only if both operands are true. The other operators and terms listed are not boolean operators, but rather arithmetic operators (+ - * /) and comparison operators (= > < >=

    Rate this question:

  • 4. 

    Stack, Queue dan Linear Linked List adalah 

    • A.

      Tipe data sedernana tunggal

    • B.

      Tipe data sedernaha majemuk

    • C.

      Struktur data majemuk non linier

    • D.

      Struktur data majemuk linier

    Correct Answer
    D. Struktur data majemuk linier
    Explanation
    Stack, Queue, and Linear Linked List are examples of linear data structures. A linear data structure is a type of data structure where elements are arranged in a sequential manner. In a linear data structure, each element has a unique successor and predecessor except for the first and last elements. Stack and Queue are both linear data structures where elements are added and removed in a specific order. Linear Linked List is also a linear data structure where elements are connected through pointers. Therefore, the correct answer is "struktur data majemuk linier".

    Rate this question:

  • 5. 

    Struktur data majemuk non linier

    • A.

      Array

    • B.

      Record

    • C.

      Linked list

    • D.

      Tree

    Correct Answer
    D. Tree
    Explanation
    A tree is a compound data structure that is non-linear and consists of nodes connected by edges. It is a hierarchical structure where each node has a parent and zero or more children. The nodes in a tree can be connected in different ways, such as a binary tree or a balanced tree. Trees are commonly used in computer science and data structures for organizing and storing data efficiently. They are particularly useful for representing hierarchical relationships and can be used for tasks like organizing file systems, representing organization structures, or implementing search algorithms.

    Rate this question:

  • 6. 

    Pernyataan yang salah tentang array

    • A.

      Array dapat didefinisikan sebagai suatu himpunan hingga elemen yang terurut

    • B.

      Array dapat didefinisikan sebagai suatu himpunan hingga elemen yang  homogen

    • C.

      Sebuah Array dapat mempunyai elemen yang seluruhnya berupa integer atau character atau String 

    • D.

      Suatu Array tidak dapat mempunyai elemen berupa Array

    Correct Answer
    D. Suatu Array tidak dapat mempunyai elemen berupa Array
    Explanation
    The statement that is incorrect about arrays is that an array cannot have elements that are arrays. This is not true because arrays can have elements that are themselves arrays. This is known as a multidimensional array, where each element of the array can be another array.

    Rate this question:

  • 7. 

    Karakteristik Array

    • A.

       pemesanan alokasi memory tak terbatas 3. Dapat Diakses Secara Aca

    • B.

      Type datanya  heterogen

    • C.

      Dapat diakses secara acak

    • D.

      Harus diakses berurutan

    Correct Answer
    C. Dapat diakses secara acak
    Explanation
    The characteristic of an array mentioned in the given question is that it can be accessed randomly. This means that the elements of the array can be accessed in any order, without having to go through them sequentially. This is different from some other data structures where elements can only be accessed in a specific order. Additionally, the question mentions that the type of data in the array is heterogeneous, meaning that it can store different types of data.

    Rate this question:

  • 8. 

    Dalam array  berikut mobil = ["Ford", "Volvo", "BMW"] kata mobil adalah

    • A.

      Type data array

    • B.

      Nama variabel array

    • C.

      Subskrip array

    • D.

      Index array

    Correct Answer
    B. Nama variabel array
    Explanation
    The given correct answer is "Nama variabel array". In the given array, "mobil" is the name of the variable that represents the array. The variable name is used to refer to the array and access its elements.

    Rate this question:

  • 9. 

    Penulisan array dengan list pada python untuk dua dimensi yang benar yaitu

    • A.

      Data_siswa=[[132,133,134], [1,1,3]]

    • B.

      Data_siswa=([132,133,134], [1,1,3])

    • C.

      Data_siswa=[132,133,134], [1,1,3]

    • D.

      Data_siswa=(132,133,134), (1,1,3)

    Correct Answer
    A. Data_siswa=[[132,133,134], [1,1,3]]
    Explanation
    The correct answer is "data_siswa=[[132,133,134], [1,1,3]]" because it correctly represents a two-dimensional array in Python using lists. The outer brackets denote the main list, and each inner bracket represents a separate list within the main list. This structure allows for easy indexing and manipulation of the data within the array.

    Rate this question:

  • 10. 

    Pernyataan yang benar yaitu

    • A.

      Tipe data integer memerlukan memori 4 byte

    • B.

      Tipe data float memerlukan memori 2 byte

    • C.

      Tipe data char memerlukan memori 1 byte

    • D.

      Tipe data char memerlukan memori 2 byte

    Correct Answer
    C. Tipe data char memerlukan memori 1 byte
    Explanation
    The correct answer is that the data type char requires 1 byte of memory.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Apr 30, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 26, 2020
    Quiz Created by
    Henilei
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.