1.
Suatu lab komputer akan dipasang 16 unit komputer dengan daya masing-masing komputer 250 watt. Jadi daya yang memenuhi persyaratan untuk laboratorium komputer tersebut adalah....
Correct Answer
E. 6 kW
Explanation
The lab will have 16 computers, each with a power of 250 watts. To calculate the total power needed for the lab, we multiply the power of each computer (250 watts) by the number of computers (16). 250 watts x 16 computers = 4000 watts, which is equivalent to 4 kilowatts (kW). However, the closest option to this value is 6 kW, so that is the correct answer.
2.
Ekivalen bilangan heksadesimal dengan bilangan heksadesimal 1FD(16) adalah....
Correct Answer
A. 0001 1111 1100(2)
Explanation
The equivalent hexadecimal number to hexadecimal number 1FD(16) is 0001 1111 1100(2) because it matches the given hexadecimal number.
3.
Tes yang dilakukan oleh PC pada saat booting untuk mengecek apakah fungsi komponen pendukung PC bekerja dengan baik adalah....
Correct Answer
B. POST
Explanation
The correct answer is "POST". During the booting process, the PC performs a Power-On Self Test (POST) to check if all the supporting components of the PC are functioning properly. This test helps to identify any hardware issues that may prevent the computer from starting up successfully.
4.
Urutan perintah untuk mengecek konektivitas pada jaringan adalah....
Correct Answer
D. Run > ketik cmd > ketik ping [IP address] pada MS DOS prompt
Explanation
The correct answer is "Run > ketik cmd > ketik ping [IP address] pada MS DOS prompt" because the command "ping" is used to check the connectivity between two devices on a network. By typing the IP address after the "ping" command, it sends a request to the specified IP address and waits for a response. If a response is received, it means that the device is connected and reachable. This command is commonly used to troubleshoot network connectivity issues.
5.
Software yang berfungsi sebagai jembatan komunikasi antara komputer dengan device tertentu dengan kerja sistem yang maksimal adalah....
Correct Answer
A. Driver
Explanation
A driver is software that acts as a bridge between a computer and a specific device, allowing them to communicate effectively. It ensures that the device functions optimally by enabling the computer to understand and utilize its features. Without a driver, the computer may not be able to recognize or interact with the device properly, resulting in limited or inefficient functionality. Therefore, a driver is essential for achieving maximum system performance when connecting a computer to a specific device.
6.
Berikut ini adalah algoritma menghitung luas segitiga yang sangat sederhana.
1) start
2) baca data alas dan tinggi
3) luas adalah alas kali tinggi kali 0,5
4) tampilkan luas
5) stop
Bila kita membuat pseudo code dengan bahasa BASIC menjadi....
Correct Answer
B. read alas, tinggi
print alas, tinggi
luas = 0.5*alas*tinggi
print luas
Explanation
The correct answer is "read alas, tinggi
print alas, tinggi
luas = 0.5*alas*tinggi
print luas". This is the correct sequence of steps to calculate the area of a triangle. It starts by reading the values of the base (alas) and height (tinggi), then it prints these values. Next, it calculates the area by multiplying the base, height, and 0.5, and assigns it to the variable luas. Finally, it prints the value of luas, which is the area of the triangle.
7.
Simbol siagram alir (flowchart) yang digunakan untuk mempersiapkan penyimpanan yang akan digunakan sebagai tempat pengolahan didalam storage adalah....
Correct Answer
E.
Explanation
The correct answer for this question is "Data storage symbol". A flowchart is a visual representation of a process, and in this case, it is used to prepare the storage that will be used for processing data. The data storage symbol in a flowchart represents a location where data can be stored and accessed during the processing. This symbol typically looks like a rectangle with rounded corners. By using this symbol in the flowchart, it indicates that the process involves preparing the storage for data processing.
8.
Syntax untuk menjalankan suatu pernyataan secara kondisional adalah....
Correct Answer
C. If... then... do
Explanation
The correct syntax for executing a statement conditionally is "if... then... do". This syntax is used to check a condition, and if it is true, then the specified action or block of code is executed.
9.
Flow chart tersebut dengan alur “ya” merupakan bilangan....
Correct Answer
B. Merupakan kelipatan 11
Explanation
The correct answer is "Merupakan kelipatan 11." This is because the flow chart is indicating that the given number should be a multiple of 11. The flow chart is designed to check if a number is divisible by 11 by subtracting 11 from the input repeatedly until the number becomes zero or negative. If the number becomes zero, it means that the input is a multiple of 11. Therefore, the correct answer is that the flow chart represents numbers that are multiples of 11.
10.
Untuk menampilkan isi halaman HTML dituliskan pada tag....
Correct Answer
B.
Explanation
The correct answer is <body>. The <body> tag is used to define the main content of an HTML document. It contains all the visible content such as text, images, links, etc. The content within the <body> tag is what is displayed on the web page.
11.
Program tag HTML untuk menggambar tabel adalah....
Correct Answer
E.
Explanation
The correct answer is . This is because the tag is used to create a table in HTML. The other options provided, such as colspan=3, do not represent HTML tags and are used for specifying the number of columns a cell should span in a table.
12.
Tag <script></script> didalam file HTML biasanya merupakan client-side script. Bahasa pemrograman yang ditulis diantara tag <script> adalah....
Correct Answer
D. JavaScript
Explanation
The correct answer for this question is JavaScript because the question states that the tag in an HTML file is usually used for client-side scripting. JavaScript is a widely used client-side scripting language that is commonly written between the tags in HTML files to add interactivity and dynamic functionality to web pages.
13.
Untuk membuat table pada MS. Access menggunakan panduan langkah-langkah dapat dilakukan dengan fasilitas....
Correct Answer
E. Hyperlink
Explanation
To create a table in MS Access using step-by-step instructions, the appropriate facility to use is a hyperlink. This suggests that the process involves linking or connecting different elements or steps together, which is a common feature of hyperlinks. The other options listed (HTML, URL, FTP, SMTP) do not directly relate to creating a table in MS Access.
14.
Untuk membuat table pada MS. Access menggunakan panduan perintah dapat dilakukan dengan fasilitas....
Correct Answer
B. Create table using wizard
Explanation
To create a table in MS Access, one can use the wizard feature provided by the software. The wizard guides the user through the process of creating a table by providing step-by-step instructions and options to define the table structure, field names, data types, and other properties. This makes it easier for users who are not familiar with the database design process to create tables efficiently.
15.
Fungsi sintax UNION digunakan untuk menghubungkan....
Correct Answer
B. Antara tabel yang satu dengan tabel yang lain
Explanation
The correct answer is "antara tabel yang satu dengan tabel yang lain." The UNION syntax function is used to combine the result sets of two or more SELECT statements into a single result set. In this case, it is specifically used to connect tables together, allowing for the combination of data from different tables into one result set.
16.
Untuk membuat form pada MS. Access menggunakan panduan langkah demi langkah dapat menggunakan fasilitas....
Correct Answer
D. Create form by using wizard
Explanation
The correct answer is "create form by using wizard". This option allows users to easily create a form in MS Access by following a step-by-step guide. The wizard provides a user-friendly interface and prompts the user to select the desired table and fields to include in the form. It simplifies the process of form creation by automating many of the steps involved.
17.
Perintah untuk menampilkan data siswa dari tabel siswa yang terdiri dari field N I S, nama siswa, dan tanggal lahir dengan urutan siswa yang tertua, adalah....
Correct Answer
C. select NIS, nama_siswa, tanggal_lahir from siswa order by tanggal_lahir ascending
Explanation
The correct answer is "select NIS, nama_siswa, tanggal_lahir from siswa order by tanggal_lahir ascending". This query selects the NIS, nama_siswa, and tanggal_lahir fields from the siswa table and orders the results in ascending order based on the tanggal_lahir field. This will display the data of the students in the table in the order of the oldest student first.
18.
Untuk mengkoneksikan data base dalam aplikasi visual basic 6.0. menggunakan komponen....
Correct Answer
D. ADODB
Explanation
The correct answer is ADODB. ADODB stands for ActiveX Data Objects Database. It is a component used to connect and manipulate databases in Visual Basic 6.0. ADODB provides a set of objects and methods that allow easy access to various database systems, such as Microsoft Access, SQL Server, and Oracle. It simplifies the process of connecting to a database, executing queries, and retrieving or updating data.
19.
Pernyataan koneksi basis data pada program aplikasi menggunakan....
Correct Answer
D. Biblio.mdb
Explanation
The correct answer is "biblio.mdb". This is because "mdb" is a file extension commonly used for Microsoft Access databases, and "biblio" suggests that this database contains bibliographic information. Therefore, it is likely that the program application connects to the "biblio.mdb" database to retrieve or store data.
20.
Agar menjadi file executable yang mandiri (stand alone) pada kode program haruslah dilakukan proses....
Correct Answer
D. Kompilasi
Explanation
The correct answer is "kompilasi". In order for a code program to become a standalone executable file, it needs to go through the process of compilation. Compilation is the process of translating the source code into machine code that can be understood and executed by the computer. This process involves checking for syntax errors, converting the code into a lower-level language, and generating an executable file.
21.
Perintah SQL untuk menambah kolom baru pada posisi awal table adalah....
Correct Answer
A. ALTER TABLE [table] ADD [field]
Explanation
The correct answer is "ALTER TABLE [table] ADD [field]". This SQL command is used to add a new column to a table. The "ALTER TABLE" keyword is used to modify the structure of the table, "ADD" is used to specify that a new column is being added, "[table]" is the name of the table to which the column is being added, and "[field]" is the name of the new column.
22.
Perintah SQL untuk membuat index baru yang unik dengan nama indeks_siswa adalah....
Correct Answer
A. CREATE INDEX indeks_siswa ON siswa (nama)
Explanation
The correct answer is "CREATE INDEX indeks_siswa ON siswa (nama)". This SQL command creates a new index named "indeks_siswa" on the table "siswa" with the column "nama". It does not specify the uniqueness of the index, so it can contain duplicate values.
23.
Obyek yang bekerja bersama sebuah tabel dan digunakan untuk memeriksa sebuah operasi atau kejadian tertentu pada suatu tabel disebut....
Correct Answer
C. TRIGGER
Explanation
A trigger is an object that works together with a table and is used to check a specific operation or event on a table. Triggers are commonly used in databases to enforce data integrity or perform certain actions when certain events occur, such as inserting, updating, or deleting data in a table. They can be programmed to automatically execute a set of actions in response to specific events, providing a way to enforce business rules or perform complex calculations.
24.
Perintah untuk memanggil file dalam pHP, misalnya akan memanggil file config.php yang ada pada folder common....
Correct Answer
B. include("/common/config.pHp");
Explanation
The correct answer is "include("/common/config.php");". This is because the include() function in PHP is used to include and evaluate the specified file. In this case, the file being called is "config.php" which is located in the "common" folder. The correct syntax for including a file is to use the include keyword followed by the file path in quotation marks.
25.
Untuk keamanan transportasi pada ketika up load maupun download diperlukan....
Correct Answer
C. firewall
Explanation
A firewall is necessary for the security of transportation during both upload and download processes. Firewalls act as a barrier between a secure internal network and the external untrusted network, filtering incoming and outgoing network traffic based on predetermined security rules. By monitoring and controlling network traffic, firewalls help prevent unauthorized access, protect against malicious attacks, and ensure the confidentiality, integrity, and availability of data. Therefore, a firewall is an essential component for maintaining the security of transportation during upload and download processes.
26.
Perintah untuk mengakhiri pemrograman dengan pHP adalah dengan tanda....
Correct Answer
C. ?>
Explanation
The correct answer is ">". In PHP, the closing tag to end a block of PHP code is "?>". This is used to indicate the end of the PHP script and return to HTML or other non-PHP code.
27.
Function IsiSingkat($isi){
$isiaingkat = "";
$isi1 = substr($isi,0,500);
$isi1 = explode(" ",substr($isi,500,100));
$isi = $isi1.$isi2[0]."...";
$isisingkat = $isi;
return $isisingkat;
}
Fungsi Isi Singkat ( ) diatas merupakan script pHP yang berfungsi untuk....
Correct Answer
A. mengambil data teks sebanak 500 karakter plus beberapa karakter hingga bertemu spasi
Explanation
The function "IsiSingkat" in the given code is designed to take a text input and shorten it to a maximum of 500 characters, including some additional characters until it reaches a space. This means that it will extract the first 500 characters of the input string, and if there are additional characters after the 500th character until the next space, those will also be included in the shortened version. Therefore, the correct answer is "mengambil data teks sebanak 500 karakter plus beberapa karakter hingga bertemu spasi".
28.
Tipe data yang mempunyai dua kemungkinan dipemrograman Java adalah....
Correct Answer
C. Boolean
Explanation
Boolean is a data type in Java that represents two possible values: true or false. It is used to store logical values and is commonly used for decision-making in programming. In Java, the boolean data type is used to control the flow of statements and to determine whether a certain condition is true or false. It is often used in conditional statements, loops, and boolean expressions.
29.
Berikut adalah beberapa script program OOP menggunakan class, yang benar sesuai kaidah adalah....
Correct Answer
A. Class personil{
String nip;
String nama;
String alamat;
String usia;
}
Explanation
The correct answer is the first option: class personil{
String nip;
String nama;
String alamat;
String usia;
}
This is the correct format for declaring a class in object-oriented programming (OOP). Each variable is declared on a separate line and is given a specific data type. In this case, the variables nip, nama, alamat, and usia are all declared as strings. This format follows the standard conventions for readability and maintainability in OOP.
30.
Memberi komentar dua baris pada program Java menggunakan tanda....
Correct Answer
C. /*
Explanation
The correct answer is /*. This is because in Java, the /* symbol is used to start a multi-line comment. This means that anything between /* and */ will be ignored by the compiler and will not be executed as part of the program. This is useful for adding comments or explanations to the code without affecting its functionality.
31.
Menyembunyikan detail dari sebah class terhadap obyek adalah....
Correct Answer
B. Enkapsulasi
Explanation
Enkapsulasi adalah proses menyembunyikan detail dari sebuah class terhadap objek. Dalam enkapsulasi, data dan metode yang terkait dengan objek dikemas bersama dan diakses melalui metode-metode yang ditentukan. Hal ini dilakukan untuk melindungi data dari akses langsung dan memastikan bahwa data hanya dapat diubah melalui metode-metode yang telah ditentukan. Dengan demikian, enkapsulasi membantu dalam menjaga keamanan dan integritas data serta mempermudah perubahan implementasi di masa depan.
32.
Perintah untuk mengontrol aliran program pada pemrograman obyek berbasis Java adalah....
Correct Answer
D. Thread
Explanation
The correct answer is "thread". In object-oriented programming, a thread is a sequence of instructions that can be executed independently of other code. Threads allow for concurrent execution of multiple tasks within a program, enabling efficient use of system resources and improving overall performance. By using threads, developers can control the flow of program execution and manage multiple operations simultaneously.
33.
Dari program berikut ini yang termasuk pointer adalah....
int main(){
long *Alamat;
long *Alamat1;
Alamat = NULL;
cout<<"Alamat memori yang ditunjuk dengan NULL"<<Alamat<<endl;
cout<<"Alamat memori yang ditunjuk tanpa NULL"<<Alamat<<endl;
return 0;
}
Correct Answer
B. long*alamat; long*alamat;
Explanation
The correct answer is "long*alamat; long*alamat;". This is because in the given program, two variables "Alamat" and "Alamat1" are declared as pointers to a long data type. Pointers are variables that store memory addresses. In this case, both "Alamat" and "Alamat1" are declared as pointers without any specific memory address assigned to them. So, they are initialized with NULL, which represents a null pointer that does not point to any valid memory address. The program then prints the value of "Alamat" twice, once with the NULL value and once without it.
34.
Dari program berikut class Persegi Panjang mempunyai variabel anggota yaitu....
class Persegi Panjang{int x, ;
public;
vois set_nilai (int,int);
int luas() {return (x*);}};
void PersegiPanjang::set_nilai (int a, int b){
x = a;
y = b;
}
int main(){
PersegiPanjang pp1, pp2;
pp1.set_nilai(3,4);
pp2.set_nilai(7,12);
cout<<"Luas pp1:"<<pp1.luas()<<endl;
cout<<"Luas pp2:"<<pp2.luas()<<endl;
return 0;
}
Correct Answer
D. X dan y
Explanation
The correct answer is x dan y. In the given program, the class Persegi Panjang has two member variables, x and y. These variables are used in the set_nilai() function to set the values of x and y. The luas() function calculates the area of the rectangle using the value of x. In the main function, the set_nilai() function is called for objects pp1 and pp2 to set the values of x and y. Finally, the luas() function is called for pp1 and pp2 to calculate and display their respective areas.
35.
Perintah SQL yang berfungsi untuk memperbaharui atau mengubah sebuah data dalam table adalah....
Correct Answer
D. UPDATE
Explanation
The correct answer is UPDATE. The UPDATE command in SQL is used to modify or change existing data in a table. It allows you to update specific columns or rows in a table based on certain conditions. This command is essential for making changes to data in a database without having to delete and re-insert the entire record.
36.
Suatu variabel x="1970010011995022001". Karakter ke-15 dari variabel x menunjukkan gender seseorang. Untuk mendapatkan karakter tersebut dalam SQL procedure menggunakan perintah....
Correct Answer
D. Mid(x,15,1)
Explanation
The given variable x contains a string of characters "1970010011995022001". The question asks for the 15th character of the variable, which represents the gender of a person. The SQL procedure command "mid(x,15,1)" will extract a substring from the variable x starting from the 15th character and with a length of 1 character, which will give us the desired gender character.
37.
Koneksi antar table biasa disebut dengan....
Correct Answer
A. Relation
Explanation
The correct answer is "Relation". In database management systems, the connection between tables is commonly referred to as a relation. This refers to the way the tables are linked or related to each other through common fields or keys. The relation allows for the retrieval and manipulation of data across multiple tables, enabling efficient data management and analysis.
38.
Perintah SQL untuk menambahkan data yang datanya sebagian diambil dari table lain adalah....
Correct Answer
C. insert into siswa values select*from siswa 1 where tgl_in>"2002-01-02";
Explanation
The correct answer is "insert into siswa values select*from siswa 1 where tgl_in>"2002-01-02";". This SQL command is used to insert data into the table "siswa" by selecting data from the same table where the "tgl_in" column is greater than "2002-01-02". The "insert into" statement is used to specify the table name and the "values select*from" statement is used to select the data to be inserted.
39.
Script system.out.println ("hasil akar pangkat 3="+a). Script ini merupakan perintah dasar....
Correct Answer
E. Java
Explanation
The given script is written in the Java programming language. The "system.out.println" command is used to print the result of the calculation, which is the cube root of a number. Java is a widely used programming language that is known for its versatility and platform independence. It is commonly used for developing various applications and software.
40.
Pada setting jaringan di MS Windows, setting default gateway menentukan …
Correct Answer
A. IP address komputer/perangkat jaringan yang menjadi gerbang ke jaringan lain
Explanation
The default gateway setting in MS Windows determines the IP address of the computer/network device that serves as the gateway to other networks. This means that the default gateway is responsible for routing network traffic between different networks, allowing devices to communicate with each other.