Soal Un Teori Kejuruan Rpl

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Catherine Halcomb
Catherine Halcomb
Community Contributor
Quizzes Created: 1443 | Total Attempts: 6,713,877
| Attempts: 7,023 | Soalan: 40
Please wait...

Question 1 / 40
0 %
0/100
Score 0/100
1. Perintah untuk mengakhiri pemrograman dengan PHP adalah dengan tanda....  

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.

Submit
Please wait...
About This Quiz
Soal Un Teori Kejuruan Rpl - Quiz

2. Tag <script></script> didalam file HTML biasanya merupakan client-side script. Bahasa pemrograman yang ditulis diantara tag <script> adalah....

Explanation

The correct answer for this question is JavaScript because the question states that the

Submit
3. Tipe data yang mempunyai dua kemungkinan dipemrograman Java adalah....  

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.

Submit
4. Perintah SQL yang berfungsi untuk memperbaharui atau mengubah sebuah data dalam table adalah....  

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.

Submit
5. Perintah untuk memanggil file dalam PHP, misalnya akan memanggil file config.php yang ada pada folder common....  

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.

Submit
6. Koneksi antar table biasa disebut dengan....  

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.

Submit
7. Script system.out.println ("hasil akar pangkat 3="+a). Script ini merupakan perintah dasar....  

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.

Submit
8. Software yang berfungsi sebagai jembatan komunikasi antara komputer dengan device tertentu dengan kerja sistem yang maksimal adalah.... 

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.

Submit
9. Memberi komentar dua baris pada program Java menggunakan tanda....  

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.

Submit
10. Untuk membuat table pada MSAccess menggunakan panduan perintah dapat dilakukan dengan fasilitas....

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.

Submit
11. Untuk membuat form pada MS. Access menggunakan panduan langkah demi langkah dapat menggunakan fasilitas....

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.

Submit
12. Ekivalen bilangan heksadesimal dengan bilangan heksadesimal 1FD(16) adalah....

Explanation

The equivalent hexadecimal number to hexadecimal number 1FD(16) is 0001 1111 1100(2) because it matches the given hexadecimal number.

Submit
13.  Urutan perintah untuk mengecek konektivitas pada jaringan adalah.... 

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.

Submit
14. Untuk mengkoneksikan data base dalam aplikasi visual basic 6.0. menggunakan komponen....

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.

Submit
15.  Untuk keamanan transportasi pada ketika up load maupun download diperlukan....  

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.

Submit
16. Menyembunyikan detail dari sebah class terhadap obyek adalah....  

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.

Submit
17. Perintah SQL untuk menambah kolom baru pada posisi awal table adalah....

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.

Submit
18. Simbol siagram alir (flowchart) yang digunakan untuk mempersiapkan penyimpanan yang akan digunakan sebagai tempat pengolahan didalam storage adalah....   

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.

Submit
19. Syntax untuk menjalankan suatu pernyataan secara kondisional adalah.... 

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.

Submit
20. Untuk membuat table pada MS. Access menggunakan panduan langkah-langkah dapat dilakukan dengan fasilitas....

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.

Submit
21. 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.... 

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.

Submit
22. Tes yang dilakukan oleh PC pada saat booting untuk mengecek apakah fungsi komponen pendukung PC bekerja dengan baik adalah.... 

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.

Submit
23.  Fungsi sintax UNION digunakan untuk menghubungkan....

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.

Submit
24. Obyek yang bekerja bersama sebuah tabel dan digunakan untuk memeriksa sebuah operasi atau kejadian tertentu pada suatu tabel disebut....

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.

Submit
25. 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....  

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".

Submit
26. Flow chart tersebut dengan alur "ya" merupakan bilangan.... 

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.

Submit
27. Berikut adalah beberapa script program OOP menggunakan class, yang benar sesuai kaidah adalah....   

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.

Submit
28. Perintah untuk mengontrol aliran program pada pemrograman obyek berbasis Java adalah....  

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.

Submit
29. Perintah SQL untuk membuat index baru yang unik dengan nama indeks_siswa adalah....

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.

Submit
30. Pada setting jaringan di MS Windows, setting default gateway menentukan … 

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.

Submit
31. 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....   

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.

Submit
32. 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; }  

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.

Submit
33.  Pernyataan koneksi basis data pada program aplikasi menggunakan....

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.

Submit
34. Suatu variabel x="1970010011995022001". Karakter ke-15 dari variabel x menunjukkan gender seseorang. Untuk mendapatkan karakter tersebut dalam SQL procedure menggunakan perintah....  

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.

Submit
35. Untuk menampilkan isi halaman HTML dituliskan pada tag....

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.

Submit
36. Agar menjadi file executable yang mandiri (stand alone) pada kode program haruslah dilakukan proses....

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.

Submit
37. Perintah SQL untuk menambahkan data yang datanya sebagian diambil dari table lain adalah....  

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.

Submit
38. 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; }  

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.

Submit
39. 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....

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.

Submit
40. Program tag HTML untuk menggambar tabel  adalah....

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.
Submit
View My Results

Quiz Review Timeline (Updated): Mar 22, 2023 +

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

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 18, 2018
    Quiz Created by
    Catherine Halcomb
Cancel
  • All
    All (40)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Perintah untuk mengakhiri pemrograman dengan PHP adalah dengan...
Tag <script></script> didalam file HTML biasanya...
Tipe data yang mempunyai dua kemungkinan dipemrograman Java...
Perintah SQL yang berfungsi untuk memperbaharui atau mengubah sebuah...
Perintah untuk memanggil file dalam PHP, misalnya akan memanggil file...
Koneksi antar table biasa disebut dengan....  
Script system.out.println ("hasil akar pangkat 3="+a)....
Software yang berfungsi sebagai jembatan komunikasi antara...
Memberi komentar dua baris pada program Java menggunakan tanda.... ...
Untuk membuat table pada MS. Access menggunakan panduan...
Untuk membuat form pada MS. Access menggunakan panduan...
Ekivalen bilangan heksadesimal dengan bilangan heksadesimal 1FD(16)...
 Urutan perintah untuk mengecek konektivitas pada jaringan...
Untuk mengkoneksikan data base dalam aplikasi visual basic 6.0....
 Untuk keamanan transportasi pada ketika up...
Menyembunyikan detail dari sebah class terhadap obyek...
Perintah SQL untuk menambah kolom baru pada posisi...
Simbol siagram alir (flowchart) yang digunakan untuk mempersiapkan...
Syntax untuk menjalankan suatu pernyataan secara kondisional...
Untuk membuat table pada MS. Access menggunakan panduan...
Suatu lab komputer akan dipasang 16 unit komputer dengan daya...
Tes yang dilakukan oleh PC pada saat booting untuk mengecek apakah...
 Fungsi sintax UNION digunakan untuk menghubungkan....
Obyek yang bekerja bersama sebuah tabel dan digunakan untuk memeriksa...
Function IsiSingkat($isi){ ...
Flow chart tersebut dengan alur "ya" merupakan bilangan.... 
Berikut adalah...
Perintah untuk mengontrol aliran program pada pemrograman obyek...
Perintah SQL untuk membuat index baru yang unik dengan nama...
Pada setting jaringan di MS Windows, setting default gateway...
Berikut ini adalah algoritma menghitung luas segitiga yang sangat...
Dari program berikut class Persegi Panjang mempunyai...
 Pernyataan koneksi basis data pada program aplikasi...
Suatu variabel x="1970010011995022001". Karakter ke-15 dari...
Untuk menampilkan isi halaman HTML dituliskan pada tag....
Agar menjadi file executable yang mandiri (stand...
Perintah SQL untuk menambahkan data yang datanya sebagian diambil...
Dari program berikut ini yang termasuk pointer adalah.... ...
Perintah untuk menampilkan data siswa dari tabel siswa yang terdiri...
Program tag HTML untuk menggambar tabel  adalah....
Alert!

Advertisement