Soal Pemrograman Dasar Kelas X

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 Andi Saputro
Andi Saputro, Multimedia
Andi, an enthusiastic multimedia teacher in Karanganyar, Central Java, Indonesia, is committed to pioneering innovative educational practices. Focused on cultivating and sharing knowledge to benefit both colleagues and the broader educational community, Andi thrives on making a meaningful impact through dedication and creativity.
Quizzes Created: 3 | Total Attempts: 10,383
| Attempts: 6,696 | Pertanyaan: 20
Please wait...
Konsep AlgoritmaStruktur AlgoritmaVariabelTipe DataFlowchart
Question 1 / 20
0 %
0/100
Score 0/100
1.
  1. 1. Menulis Surat
  2. 2. Surat dimasukkan kedalam amplop tertutup
  3. 3. Amplop ditempeli perangko secukupnya
  4. 4. Pergi Ke Kantor Pos terdekat untuk mengirimkannya
Algoritma diatas merupakan algoritma

Explanation

The given correct answer is "Mengirim Surat". The algorithm mentioned in the question describes the steps involved in sending a letter. The first step is to write the letter, then put it in a sealed envelope. The next step is to affix the necessary postage stamps on the envelope. Finally, the letter is sent by going to the nearest post office. Therefore, the correct answer "Mengirim Surat" accurately represents the final step in the algorithm, which is sending the letter.

Submit
Please wait...
About This Quiz
Soal Pemrograman Dasar Kelas X - Quiz

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. Operator yang digunakan untuk melakukan operasi penjumlahan, pengurangan, pembagian, dan perkalian disebut dengan operator …

Explanation

The correct answer is "Aritmatika". The question asks for the operator used for addition, subtraction, division, and multiplication. The term "Aritmatika" is the Indonesian word for "Arithmetic", which is the branch of mathematics that deals with these operations.

Submit
3. Contoh penggunaan tipe data Boolean …

Explanation

The given answer "Laki-Laki, Perempuan" suggests that the question is asking for the possible values of a Boolean data type. However, the given options are not valid Boolean values as they represent gender categories. Therefore, the question is incomplete or not properly formatted, and it is not possible to provide a valid explanation for the given answer.

Submit
4. Dari suatu algoritma berbunyi $x % $y, jika x bernilai 6 dan y bernilai 4 maka hasil dari algoritma tersebut adalah …

Explanation

Algoritma $x % $y
x bernilai 6 dan y bernilai 4 atau x = 6 dan y=4
6 % 4 atau 6 MOD 4 (Karena tanda 5 dipemrograman merupakan lambah operator SISA HASIL BAGI)
6 dibagi 4 adalah 1 dan SISA HASIL BAGINYA adalah 2

Submit
5. Kata Algortima berasal dari nama Abu Ja'far Mohammed Ibn Musa al-Khowarizmi merupakan seorang ilmuan yang menulis kitab al jabr w'al-muqobala. Beliau merupakan seorang berkebangsaan …

Explanation

The correct answer is Persia because the question states that the word "algorithm" originates from the name Abu Ja'far Mohammed Ibn Musa al-Khowarizmi, who was a Persian scientist. This suggests that the correct answer is Persia, as al-Khowarizmi's nationality was Persian.

Submit
6. Ekspresi yang hasil ekspresinya bernilai true dan false disebut dengan …

Explanation

An expression that evaluates to both true and false is called a boolean expression. In programming, boolean expressions are commonly used in conditional statements to determine the flow of a program. They can be used to compare values, check conditions, or perform logical operations. The boolean data type represents two possible values: true and false. Therefore, the correct answer for this question is "boolean".

Submit
7. Simbol yang merupakan pengambilan keputusan dalam suatu kondisi tertentu dilambangkan dengan …

Explanation

Simbol yang digunakan untuk pengambilan keputusan dalam suatu kondisi tertentu adalah simbol "if".

Submit
8. Algoritma yang mempunyai fungsi mempertukarkan masing-masing isi variabel sedemikian sehingga nilai dari setiap variabel akan bertukar merupakan konsep …

Explanation

The correct answer is "Algoritma Pertukaran". This is because the question is asking for the concept of an algorithm that swaps the values of variables. "Algoritma Pertukaran" translates to "Swap Algorithm" in English, which accurately describes the concept being referred to.

Submit
9. Suatu besaran yang dapat diubah atau berubah sehingga mempengaruhi peristiwa atau hasil penelitian disebut dengan …

Explanation

A variable is a quantity or factor that can be changed or varied in a way that affects an event or the outcome of a research study. In research, variables are manipulated or measured to determine their impact on the dependent variable. Therefore, a variable fits the definition provided in the question.

Submit
10. Dalam Operator Relasi pernyataan 17 < 13 akan bernilai …

Explanation

Dalam operasi relasi angka 17 bukan lebih kecil dari 13, karena bukan maka pernyataan tersebut bernilai SALAH atau FALSE

Submit
11. Nilai P=0, Q=5, R=10 jika diketahui nilai PQR adalah seperti yang tersebut dan algoritmanya adalah nilai P=Q, Q=R maka nilai PQR adalah?

Explanation

The algorithm states that the value of P is equal to the value of Q, and the value of Q is equal to the value of R. Therefore, if P=Q and Q=R, then the value of P, Q, and R should be the same. In the given options, only option P=5, Q=10, R=10 satisfies this condition, as both P and Q are equal to 10, and R is also equal to 10.

Submit
12. Yang merupakan ekspresi boolean 1 kondisi dan 1 pernyataan …

Explanation

The given answer is the correct one because it follows the structure of a boolean expression with one condition (Jika hari hujan) and one statement (maka saya tidak keluar rumah). The condition states that if it is raining, then the person will not leave the house. This is a valid boolean expression as it follows the format of "if [condition] then [statement]".

Submit
13. Berikut ini merupakan tipe dari bilangan real …

Explanation

The correct answer is "Single dan Double". This is because Single and Double are both types of real numbers in programming. Single is a 32-bit floating-point number, while Double is a 64-bit floating-point number. Both types can represent decimal numbers with varying precision and range. Integer and Long, on the other hand, are types of whole numbers without decimal points. Therefore, the combination of Single and Double represents the correct types of real numbers.

Submit
14. Diagram dengan simbol-simbol yang menyatakan aliran atau proses langkah-langkah yang disimbolkan dalam bentuk tertentu disebut dengan …

Explanation

A diagram alir is a diagram that uses symbols to represent the flow or sequence of steps in a process. It visually represents the steps or actions that need to be taken in a specific order to achieve a desired outcome. This type of diagram is commonly used in various fields such as computer programming, business process management, and problem-solving. It helps to provide a clear and organized representation of the steps involved in a process, making it easier to understand and follow.

Submit
15. dari pernyataan disamping merupakan salah satu pernyataan bertipe …

Explanation

The given statement "dari pernyataan disamping merupakan salah satu pernyataan bertipe bersarang" suggests that the statement is of the type "bersarang" or "nested". This means that the statement contains one or more statements within it, creating a nested structure.

Submit
16. Diketahui 2 Peubah K = 10 dan L = 20. Jika satu buah peubah variabel dikodekan dengan T maka langkah yang tepat untuk mempertukarkan isi K dan L adalah …

Explanation

K = 10 dan L = 20 ditambah T = 0
Nilai T di isi Nilai dari K sehingga T = K, T = 10 dan K = 0
Nilai K di isi Nilai dari L sehingga K = L, K = 20 dan L = 0
Nilai L di isi Nilai dari T sehingga L = T, L = 10 dan T = 0
Sehingga nilai akhir K = 20 dan L = 10 dan T = 0 maka nilai K dan L sudah bertukar

Submit
17.
  1. 1. Start
  2. 2. Input Panjang
  3. 3. Input Lebar
  4. 4. Luas = panjang x Lebar
  5. 5. Print Luas
  6. 6. End
dari urutan pseudocode diatas dapat dianalisa bahwa

Explanation

The explanation for the given correct answer is that the pseudocode provided has a mistake in the variable name "panjang". It should be corrected to "Panjang" to match the correct capitalization. The pseudocode represents the calculation of the area of a rectangle, where the area is equal to the length multiplied by the width. The pseudocode consists of 6 steps, starting with inputting the length and width, calculating the area, and printing the result. The answer correctly identifies the mistake in the variable name.

Submit
18. Perhatikan pernyataan berikut ini!Jika nilai ujian lebih besar atau sama dengan 75, maka ujian dinyatakan lulus tetapi jika nilai ujian kurang dari 75, maka ujian dinyatakan gagalYang merupakan kondisi 2 dan pernyataan 1 adalah … 

Explanation

not-available-via-ai

Submit
19. gambar disamping pernyataan yang bisa diambil …

Explanation

The correct answer is based on the given statements: "Jika B tidak lebih besar dari A maka akan tercetak B." This means that if B is not greater than A, then B will be printed.

Submit
20. Gambar berikut ini merupakan alur yang sesuai untuk menentukan bilangan ganjil genap adalah …

Explanation

not-available-via-ai

Submit
View My Results

Quiz Review Timeline (Updated): Jul 22, 2024 +

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

  • Current Version
  • Jul 22, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Dec 01, 2014
    Quiz Created by
    Andi Saputro
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
1. Menulis Surat2. Surat dimasukkan kedalam amplop tertutup3. Amplop...
Operator yang digunakan untuk melakukan operasi penjumlahan,...
Contoh penggunaan tipe data Boolean …
Dari suatu algoritma berbunyi $x % $y, jika x bernilai 6 dan y...
Kata Algortima berasal dari nama Abu Ja'far Mohammed Ibn Musa...
Ekspresi yang hasil ekspresinya bernilai true dan false disebut dengan...
Simbol yang merupakan pengambilan keputusan dalam suatu kondisi...
Algoritma yang mempunyai fungsi mempertukarkan masing-masing isi...
Suatu besaran yang dapat diubah atau berubah sehingga mempengaruhi...
Dalam Operator Relasi pernyataan 17 < 13 akan bernilai …
Nilai P=0, Q=5, R=10 jika diketahui nilai PQR adalah seperti yang...
Yang merupakan ekspresi boolean 1 kondisi dan 1 pernyataan …
Berikut ini merupakan tipe dari bilangan real …
Diagram dengan simbol-simbol yang menyatakan aliran atau proses...
Dari pernyataan disamping merupakan salah satu pernyataan bertipe...
Diketahui 2 Peubah K = 10 dan L = 20. Jika satu buah peubah variabel...
1. Start2. Input Panjang3. Input Lebar4. Luas = panjang x Lebar5....
Perhatikan pernyataan berikut ini!Jika nilai ujian lebih besar atau...
Gambar disamping pernyataan yang bisa diambil …
Gambar berikut ini merupakan alur yang sesuai untuk menentukan...
Alert!

Advertisement