Ulangan Harian Pemograman Dasar Kelas X Mm

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 Simarmatadesain
S
Simarmatadesain
Community Contributor
Quizzes Created: 2 | Total Attempts: 944
Questions: 25 | Attempts: 467

SettingsSettingsSettings
Ulangan Harian Pemograman Dasar Kelas X Mm - Quiz

Soal ini berisi 18 pilihan berganda, 4 benar/salah, dan 3 Essay. Diharapkan semua peserta wajib menjawab semua soal, tidak ada yang  kosong. =========GOOD LUCK============= 


Questions and Answers
  • 1. 

    Jelaskan perbedaan interface GUI dan CLI, tuliskan kelebihan dan kekurangan beserta contohnya.

  • 2. 

    Tuliskan dan jelaskan 3 jenis array !

  • 3. 

    Buatlah sebuah program percabangan yang kamu ketahui.

  • 4. 

    Suatu blok dalam program yg di rancang untuk mengerjakan tugas tertentu dan letak nya di pisakahkan dari prosedur Utama program merupakan pengertian dari....

    • A.

      Indeks

    • B.

      Kolom

    • C.

      Fungsi

    • D.

      Save

    • E.

      Input

    Correct Answer
    E. Input
    Explanation
    In the given question, the correct answer is "Input". The question is asking for the definition of a block in a program that is designed to perform a specific task and is located separately from the main procedure of the program. This definition aligns with the concept of "Input" in programming, where a block of code is used to gather and process user input in order to perform a specific task.

    Rate this question:

  • 5. 

    Berikut software pembuat aplikasi antarmuka, kecuali. . . .

    • A.

      Ms.Visual Studio

    • B.

      NetBeans

    • C.

      Gambas

    • D.

      Lazarus

    • E.

      Adobe Photoshop

    Correct Answer
    E. Adobe Photoshop
    Explanation
    The given options are software tools used for creating user interfaces for applications. However, Adobe Photoshop is not typically used for this purpose. It is a graphic design software primarily used for editing and manipulating images. Therefore, it is the odd one out among the given options.

    Rate this question:

  • 6. 

    Fungsi yg memanggil dirinya sendiri disebut . . . .

    • A.

      Common

    • B.

      Fungsi global

    • C.

      Fungsi utama

    • D.

      Fungsi vekursi

    • E.

      Fungsi local

    Correct Answer
    D. Fungsi vekursi
    Explanation
    The correct answer is "Fungsi vekursi" because a recursive function is a function that calls itself within its own definition. This allows the function to repeat its operation on smaller and smaller subsets of the original problem until it reaches a base case and returns a result. This technique is commonly used in programming to solve problems that can be broken down into smaller subproblems.

    Rate this question:

  • 7. 

    Struktur kontrol yg sering digunakan pada visual basic adalah . . . .

    • A.

      Tombol

    • B.

      Combo box

    • C.

      List box

    • D.

      Option botton

    • E.

      Text box

    Correct Answer
    A. Tombol
    Explanation
    The correct answer is "Tombol" because tombol (button) is a commonly used control structure in Visual Basic. It allows users to interact with the program by clicking on it, triggering a specific action or event. Buttons are often used to initiate processes, perform calculations, or navigate between different parts of the program.

    Rate this question:

  • 8. 

    Kumpulan dari variabel-variabel yang sejenis merupakan pengertian dari . . . .

    • A.

      Single

    • B.

      Double

    • C.

      Array

    • D.

      Tabel

    • E.

      Logika

    Correct Answer
    C. Array
    Explanation
    An array is a collection of variables of the same data type that are grouped together under one name. It allows for efficient storage and access of multiple values using a single variable. Therefore, the given correct answer, "Array," accurately defines a collection of variables of the same type.

    Rate this question:

  • 9. 

    Didalam pemograman terdapat dua jenis interface yaitu CLI dan GUI, dibawah ini yang merupakan kepanjangan dari CLI adalah . . . .

    • A.

      Command Lite Intruksi

    • B.

      Commandan Line Internasional

    • C.

      Copy Line Interface

    • D.

      Command Line Integer

    • E.

      Command Line Interface

    Correct Answer
    E. Command Line Interface
    Explanation
    The correct answer is "Command Line Interface". This is the correct answer because CLI stands for Command Line Interface, which is a type of interface in programming. CLI allows users to interact with a computer system by typing commands into a terminal or command prompt.

    Rate this question:

  • 10. 

    Pada tampilan Visual Basic teradapat Bar Menu yang berfungsi untuk . . . . 

    • A.

      Kumpulan Tombol yang terletak di bawah bar menu

    • B.

      Mencari teks pada jendela kode

    • C.

      Menyimpan Proyek

    • D.

      Menjalankan Program

    • E.

      Kumpulan menu yang berfungsi untuk menampilkan pilihan menu atau   perintah untuk mengoperasikan visual basic

    Correct Answer
    E. Kumpulan menu yang berfungsi untuk menampilkan pilihan menu atau   perintah untuk mengoperasikan visual basic
    Explanation
    The Bar Menu in Visual Basic is a collection of menus that display options or commands to operate Visual Basic. It provides a set of menu items that allow users to perform various actions, such as opening new projects, saving projects, running programs, and searching for text within the code window. This menu bar is located at the top of the Visual Basic interface and serves as a convenient way for users to access different functionalities and features of the software.

    Rate this question:

  • 11. 

    1. Mengurangi kesalahan pada saat memasukkan data 2.Efisiensi waktu dalam pengolahan data yang dilakukan oleh pengguna 3.Membuat Tampilan Program menjadi sederhana dan lebih menarik ​​​​​​​ Pernyataan diatas merupakan tujuan dari….

    • A.

      Pembuatan Antarmuka Pengguna

    • B.

      Antarmuka Pengguna

    • C.

      Toolbar

    • D.

      Bar menu

    • E.

      Project expoler

    Correct Answer
    B. Antarmuka Pengguna
    Explanation
    The given correct answer is "Antarmuka Pengguna" because the statement mentions reducing errors in data entry, improving efficiency in data processing, and creating a simple and attractive program interface. These are all objectives of user interface design, which focuses on creating interfaces that are user-friendly, visually appealing, and efficient in accomplishing tasks.

    Rate this question:

  • 12. 

    Kegunaan utama dari struktur kontrol pada visual studio untuk . . . .

    • A.

      Membuka aplikasi

    • B.

      Menutup aplikasi

    • C.

      Mengendalikan jalannya aplikasi

    • D.

      Mengolah input dari pengguna aplikasi

    • E.

      Memperlancar jalannya aplikasi

    Correct Answer
    C. Mengendalikan jalannya aplikasi
    Explanation
    The main purpose of control structures in Visual Studio is to control the flow of an application. Control structures allow the programmer to determine the order in which different parts of the code are executed, based on certain conditions or criteria. By using control structures, the programmer can make decisions, repeat certain actions, or skip certain parts of the code, depending on the desired behavior of the application. This helps in controlling the execution and flow of the application, ensuring that it behaves as intended.

    Rate this question:

  • 13. 

    Array bentuk yang paling sederhana adalah array dimensi . . . .

    • A.

      1

    • B.

      2

    • C.

      3

    • D.

      4

    • E.

      5

    Correct Answer
    A. 1
    Explanation
    The given array is a one-dimensional array, also known as a simple array. It consists of a single row or column of elements. In this case, the array is presented in a single row, with each element separated by a line break. Therefore, the correct answer is 1.

    Rate this question:

  • 14. 

    Array yang sering digunakan dalam menerjemahkan matriks pada pemrograman adalah array berdimensi . . . .

    • A.

      1 dan 5

    • B.

      1 dan 2

    • C.

      1 dan 3

    • D.

      2 dan 3

    • E.

      3 dan 4

    Correct Answer
    B. 1 dan 2
    Explanation
    Array yang sering digunakan dalam menerjemahkan matriks pada pemrograman adalah array berdimensi 1 dan 2.

    Rate this question:

  • 15. 

    Gambar dibawah ini merupakan flowchart dari struktur . . . .

    • A.

      Array

    • B.

      Percabangan IF

    • C.

      Perulangan FOR

    • D.

      Perulangan while-do

    • E.

      Percabangan IF-Else

    Correct Answer
    E. Percabangan IF-Else
    Explanation
    The given flowchart represents the structure of the "percabangan IF-Else". This structure is used to make decisions in a program. It checks a condition, and if the condition is true, it executes a set of statements. If the condition is false, it executes a different set of statements. The flowchart shows the flow of control based on the condition being evaluated.

    Rate this question:

  • 16. 

    Dalam suatu percabangan diberikan If (Nilai > 80) Then Write  “Hebat” Else Write  “Good” Interval nilai yang akan menghasilkan output “Good” adalah . . . .

    • A.

      Nilai>= 0

    • B.

      Nilai >70

    • C.

      Nilai <= 80

    • D.

      Nilai <=70

    • E.

      Nilai < 80

    Correct Answer
    C. Nilai <= 80
    Explanation
    The correct answer is "Nilai

    Rate this question:

  • 17. 

    Dari program diatas jika di run maka output program tersebut yang benar adalah . . . .

    • A.

      Berapa Usia Anda?? 12 Anda dewasa

    • B.

      Berapa Usia Anda?? 17 Anda belum dewasa

    • C.

      Berapa Usia Anda?? 15 Anda remaja

    • D.

      Berapa Usia Anda?? 15 Anda belum dewasa

    • E.

      Berapa Usia Anda?? 18 Anda anak-anak

    Correct Answer
    D. Berapa Usia Anda?? 15 Anda belum dewasa
    Explanation
    The correct answer is "Anda belum dewasa" because the program checks the user's age and provides different outputs based on the age entered. In this case, since the age entered is 15, the output "Anda belum dewasa" is displayed.

    Rate this question:

  • 18. 

    Dibawah ini yang termasuk struktur perulangan adalah . . . .

    • A.

      FOR

    • B.

      WHILE

    • C.

      DO-WHILE

    • D.

      FOR-THEN

    • E.

      NESTED-IF

    Correct Answer
    E. NESTED-IF
    Explanation
    The given options are different types of loop structures used in programming. "FOR", "WHILE", and "DO-WHILE" are commonly used loop structures. However, "FOR-THEN" is not a valid loop structure. "NESTED-IF" is not a loop structure, but a conditional statement used within a loop to check for additional conditions. Therefore, the correct answer is "NESTED-IF" as it is the only option that is related to looping in some way.

    Rate this question:

  • 19. 

    Instruksi yang digunakan untuk mengulang suatu statement selama kondisi syarat yang diberikan bernilai benar. Apabila kondisi bernilai salah maka perintah tidak akan diulang disebut  struktur . . . .

    • A.

      Array

    • B.

      Perulangan for

    • C.

      Percabangan for

    • D.

      Perulangan while

    • E.

      Percabangan if-else

    Correct Answer
    D. Perulangan while
    Explanation
    The correct answer is "perulangan while". The explanation for this is that the "while" loop is used to repeat a statement as long as a certain condition is true. If the condition is false from the beginning, the statement will not be executed at all. This is different from other looping structures like "for" or "do-while" where the statement is executed at least once before checking the condition.

    Rate this question:

  • 20. 

    Setiap program yang sudah dibuat tentu akan di compile terlebih dahulu sebelum di run. fungsi tool compile tersebut adalah  . . . .

    • A.

      Sebagi alat bantu dalam pengetikan cepat bahasa program

    • B.

      Menyediakan layanan untuk memberi warna pada tulisan, huruf dan ukuran tulisan

    • C.

      Memberikan kapasitas penyimpanan setiap program yang sudah dibuat dan dijadikan template

    • D.

      Proses menterjemahkan program, melakukan proses linking, membuat file eksekusi (.exe) dan sekaligus menjalankan program

    • E.

      Suatu proses menterjemahkan program dari bahasa manusia kedalam bahasa yang dipahami oleh komputer (diterjemahkan kedalam bahasa mesin) dan mengecek error atau tidaknya program yang dibuat

    Correct Answer
    E. Suatu proses menterjemahkan program dari bahasa manusia kedalam bahasa yang dipahami oleh komputer (diterjemahkan kedalam bahasa mesin) dan mengecek error atau tidaknya program yang dibuat
    Explanation
    The correct answer explains that the function of the compile tool is to translate a program from human language into a language that the computer can understand (machine language) and check for any errors in the program.

    Rate this question:

  • 21. 

    Karakter escape \ n dalam penulisan program digunakan untuk . . . .

    • A.

      Pindah baris

    • B.

      Pindah halaman

    • C.

      Nilai kosong

    • D.

      Mempertebal tulisan

    • E.

      Pembanding

    Correct Answer
    A. Pindah baris
    Explanation
    The character escape \n in programming is used to indicate a new line or to move the cursor to the next line. This allows for better formatting and readability of the code.

    Rate this question:

  • 22. 

    GUI adalah salah satu interface yang digunakan oleh programmer untuk melakukan penulisan bahasa program, yang mana GUI merupakan interface yang berbasis grafis contohnya adalah mesin ATM, CMD dan Dev C++

    • A.

      Benar

    • B.

      Salah

    Correct Answer
    B. Salah
    Explanation
    The given answer is incorrect. The statement mentions that GUI is one of the interfaces used by programmers to write programming languages, and gives examples such as ATM machines, CMD, and Dev C++. However, this is not true. GUI stands for Graphical User Interface, and it is a type of interface that allows users to interact with electronic devices through graphical elements such as icons, buttons, and menus. It is not specifically used by programmers to write programming languages.

    Rate this question:

  • 23. 

    Kegunaan perangkat lunak Microsoft visual basic 6.0 adalah Menyusun sebuah program dengan memasang objek” grafis dalam sebuah form.

    • A.

      Benar

    • B.

      Salah

    Correct Answer
    A. Benar
    Explanation
    The correct answer is "Benar" because Microsoft Visual Basic 6.0 is a software that is used for developing programs by adding graphical objects to a form. This software allows users to create user-friendly interfaces and design interactive applications.

    Rate this question:

  • 24. 

    Kotak yang dapat diisi teks atau angka oleh pengguna saat aplikasi dijalankan pada Microsoft Visual Basic 6.0 disebut Combo Box.

    • A.

      Benar

    • B.

      Salah

    Correct Answer
    B. Salah
    Explanation
    The given statement is incorrect. The correct answer is "Salah" which means "False" in English. The correct term for a box that can be filled with text or numbers by the user when the application is running in Microsoft Visual Basic 6.0 is TextBox, not Combo Box.

    Rate this question:

  • 25. 

    Untuk membuat kontrol pilihan berupa radio button yang hanya dapat memilih satu pilihan. Pernyataan berikut merupakan fungsi dari Check Box.

    • A.

      Benar

    • B.

      Salah

    Correct Answer
    B. Salah
    Explanation
    The given answer is "Salah" because the statement is incorrect. The correct answer is "Benar" (True) because the function of a check box is to allow multiple selections, while a radio button allows only one selection.

    Rate this question:

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.