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....
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.
5.
Berikut software pembuat aplikasi antarmuka, kecuali. . . .
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.
6.
Fungsi yg memanggil dirinya sendiri disebut . . . .
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.
7.
Struktur kontrol yg sering digunakan pada visual basic adalah . . . .
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.
8.
Kumpulan dari variabel-variabel yang sejenis merupakan pengertian dari . . . .
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.
9.
Didalam pemograman terdapat dua jenis interface yaitu CLI dan GUI, dibawah ini yang merupakan kepanjangan dari CLI adalah . . . .
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.
10.
Pada tampilan Visual Basic teradapat Bar Menu yang berfungsi untuk . . . .
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.
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….
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.
12.
Kegunaan utama dari struktur kontrol pada visual studio untuk . . . .
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.
13.
Array bentuk yang paling sederhana adalah array dimensi . . . .
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.
14.
Array yang sering digunakan dalam menerjemahkan matriks pada pemrograman adalah array berdimensi . . . .
Correct Answer
B. 1 dan 2
Explanation
Array yang sering digunakan dalam menerjemahkan matriks pada pemrograman adalah array berdimensi 1 dan 2.
15.
Gambar dibawah ini merupakan flowchart dari struktur . . . .
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.
16.
Dalam suatu percabangan diberikan
If (Nilai > 80) Then
Write “Hebat”
Else
Write “Good”
Interval nilai yang akan menghasilkan output “Good” adalah . . . .
Correct Answer
C. Nilai <= 80
Explanation
The correct answer is "Nilai
17.
Dari program diatas jika di run maka output program tersebut yang benar adalah . . . .
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.
18.
Dibawah ini yang termasuk struktur perulangan adalah . . . .
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.
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 . . . .
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.
20.
Setiap program yang sudah dibuat tentu akan di compile terlebih dahulu sebelum di run. fungsi tool compile tersebut adalah . . . .
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.
21.
Karakter escape \ n dalam penulisan program digunakan untuk . . . .
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.
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++
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.
23.
Kegunaan perangkat lunak Microsoft visual basic 6.0 adalah Menyusun sebuah program dengan memasang objek” grafis dalam sebuah form.
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.
24.
Kotak yang dapat diisi teks atau angka oleh pengguna saat aplikasi dijalankan pada Microsoft Visual Basic 6.0 disebut Combo Box.
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.
25.
Untuk membuat kontrol pilihan berupa radio button yang hanya dapat memilih satu pilihan. Pernyataan berikut merupakan fungsi dari Check Box.
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.