Quiz Pemrograman Dasar Smk Manusa Ajb

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 Cita Puspitasari
C
Cita Puspitasari
Community Contributor
Quizzes Created: 1 | Total Attempts: 631
Questions: 16 | Attempts: 631

SettingsSettingsSettings
Quiz Pemrograman Dasar Smk Manusa Ajb - Quiz


Questions and Answers
  • 1. 

    Metode penulisan algoritma yang menggunakan simbol atau gambar dalam penulisannya disebut ….

    • A.

      Flowchart

    • B.

      Pseudocode

    • C.

      Natural language

    • D.

      Bahasa alami

    Correct Answer
    A. Flowchart
    Explanation
    Flowchart is a method of writing algorithms that uses symbols or diagrams to represent the steps and flow of a process. It visually represents the sequence of operations and decisions in a clear and concise manner. Flowcharts are commonly used in programming and problem-solving to design and analyze algorithms before implementing them in a programming language.

    Rate this question:

  • 2. 

    Penulisan pseudocode dalam algoritma menggunakan ….

    • A.

      Bahasa Inggris

    • B.

      Bahasa Indonesia

    • C.

      Simbol

    • D.

      Bahasa yang mirip bahasa pemrograman

    Correct Answer
    D. Bahasa yang mirip bahasa pemrograman
    Explanation
    The correct answer is "Bahasa yang mirip bahasa pemrograman". Pseudocode is a way of representing an algorithm using a mix of natural language and programming language-like constructs. It is not a specific programming language, but rather a general way of expressing algorithms that is easily understandable by both humans and computers. Pseudocode borrows syntax and conventions from programming languages, making it similar to a programming language but not an actual programming language itself.

    Rate this question:

  • 3. 

    Tipe data integer adalah jenis tipe data yang ….

    • A.

      Tidak memiliki nilai pecahan

    • B.

      Mengandung nilai pecahan

    • C.

      Terdiri dari beberapa karakter

    • D.

      Terdiri dari beberapa huruf

    Correct Answer
    A. Tidak memiliki nilai pecahan
    Explanation
    The correct answer is "Tidak memiliki nilai pecahan" because the question is asking about the characteristics of the integer data type. Integer data type is used to store whole numbers without any fractional or decimal part. It does not contain any fractional values or decimal points, hence it does not have any values with fractions or decimals.

    Rate this question:

  • 4. 

    Simbol pada flowchart yang disebut terminator mempunyai fungsi ….

    • A.

      Proses pendeklarasian

    • B.

      Menunjukan arah liran proses

    • C.

      Menandakan awal (start) atau akhir (end) program

    • D.

      Menunjukkan proses yang dilakukan mesin komputer

    Correct Answer
    C. Menandakan awal (start) atau akhir (end) program
    Explanation
    The terminator symbol in a flowchart is used to indicate the start or end of a program. It marks the beginning or the end point of the flowchart, showing where the program starts or ends.

    Rate this question:

  • 5. 

    Berikut ini yang merupakan pengertian dari variabel adalah ….

    • A.

      Algoritma yang menggunakan bahasa alami

    • B.

      Jenis data yang dapat diolah oleh komputer

    • C.

      Simbol yang digunakan untuk menyusun suatu ekspresi

    • D.

      Objek data yang dapat diubah-ubah atau dimanipulasi harga dan nilainya

    Correct Answer
    D. Objek data yang dapat diubah-ubah atau dimanipulasi harga dan nilainya
    Explanation
    A variable is an object data that can be changed or manipulated in terms of its value or price. It is a storage location in a computer's memory that holds a value. Variables allow programmers to store and manipulate data in a program. They can be assigned different values and can be used to perform calculations or store information. In programming, variables are used to store and retrieve data, making them an essential concept in computer programming.

    Rate this question:

  • 6. 

    Jenis bagan alir yang digunakan untuk menjelaskan urutan setiap prosedur yang terdapat pada sistem disebut ….

    • A.

      Bagan alir proses

    • B.

      Bagan alir program

    • C.

      Bagan alir dokumen

    • D.

      Bagan alir sistem

    Correct Answer
    D. Bagan alir sistem
    Explanation
    The correct answer is "Bagan alir sistem". This term refers to a flowchart that is used to explain the sequence of procedures in a system. It is a visual representation that shows the steps and decision points in a system, allowing for a better understanding of the overall process. This type of flowchart is commonly used in various fields, such as business, engineering, and computer programming, to analyze and improve systems.

    Rate this question:

  • 7. 

    Operator logika yang menampilkan nilai false apabila salah satu operand bernilai false disebut ….

    • A.

      OR

    • B.

      NOT

    • C.

      AND

    • D.

      NOR

    Correct Answer
    C. AND
    Explanation
    Operator logika yang menampilkan nilai false apabila salah satu operand bernilai false disebut AND. Dalam operator AND, kedua operand harus bernilai true agar hasilnya true. Jika salah satu atau kedua operand bernilai false, maka hasilnya akan false.

    Rate this question:

  • 8. 

    Bagian yang merupakan tahap pernyataan dan penentuan berbagai jenis variabel, konstanta dan tipe data yang selanjutnya akan digunakan pada badan algoritma disebut bagian ….

    • A.

      Kepala

    • B.

      Header

    • C.

      Pendeklarasian

    • D.

      Badan algoritma

    Correct Answer
    C. Pendeklarasian
    Explanation
    The correct answer is "Pendeklarasian". Pendeklarasian refers to the part of the algorithm where various types of variables, constants, and data types are declared and defined before they are used in the body of the algorithm. This step is important as it allows the algorithm to allocate memory and assign initial values to the variables that will be used in the subsequent steps of the algorithm.

    Rate this question:

  • 9. 

    Flowchart berikut ini merupakan bentuk flowchart percabangan ….

    • A.

      Satu kondisi

    • B.

      Dua kondisi

    • C.

      Lebih dari 2 kondisi

    • D.

      Bersarang

    Correct Answer
    A. Satu kondisi
    Explanation
    The given correct answer is "Satu kondisi". This suggests that the flowchart in question represents a situation where there is only one condition to be evaluated. In other words, there is a single decision point in the flowchart where a choice is made based on a specific condition.

    Rate this question:

  • 10. 

    Struktur perulangan yang merupakan bentuk unconditional looping dan telah menetapkan jumlah perulangan sebelum perulangan tersebut dilakukan merupakan konstruksi ….

    • A.

      For …. Do

    • B.

      Do …. For

    • C.

      While …. Do

    • D.

      Do …. While

    Correct Answer
    A. For …. Do
    Explanation
    The given correct answer "For .... Do" is the correct explanation. It is a structure that represents an unconditional looping and specifies the number of iterations before the loop is executed. The "For .... Do" construct is commonly used in programming languages to iterate over a specific range or sequence of values. It allows the programmer to control the number of iterations and perform a set of statements repeatedly until the specified condition is met.

    Rate this question:

  • 11. 

    Struktur perulangan yang selalu melihat kondisi perulangan apakah sudah terpenuhi atau belum, jika kondisi terpenuhi (bernilai true), akan mengerjakan aksi, disebut …

    • A.

      For …. Do

    • B.

      Do …. For

    • C.

      While …. Do

    • D.

      Do …. While

    Correct Answer
    C. While …. Do
    Explanation
    The correct answer is "While .... Do" because a while loop continuously checks the condition before executing the action. If the condition is true, the action is performed.

    Rate this question:

  • 12. 

    Konstruksi for dapat digunakan untuk melakkan pencacahan naik, yaitu melakukan perulangan dengan kondisi pencacah ….

    • A.

      Menurun

    • B.

      Menaik

    • C.

      Naik turun

    • D.

      Dilanjutkan

    Correct Answer
    B. Menaik
    Explanation
    The correct answer is "Menaik" because the given statement mentions that the "for" construction can be used for performing an upward count, which means it is used for looping with an increasing counter. Therefore, "Menaik" is the appropriate choice as it means "upward" or "ascending" in English.

    Rate this question:

  • 13. 

    Pada algoritma perulangan terdapat empat komponen yaitu sebagai  berikut, kecuali ….

    • A.

      Inisialisasi

    • B.

      Kondisi

    • C.

      Aksi atau proses

    • D.

      Percabangan

    Correct Answer
    D. Percabangan
    Explanation
    The given answer is "Percabangan". In the context of loop algorithms, there are four components: initialization, condition, action or process, and branching. The branching component is not part of the loop algorithm. Branching refers to conditional statements that determine the flow of the program based on certain conditions. In loop algorithms, the branching component is not necessary as the loop will continue until the condition is no longer met.

    Rate this question:

  • 14. 

    Aksi yang dilakukan setelah peruangan selesai disebut ….

    • A.

      Inisialisasi

    • B.

      Terminasi

    • C.

      Kondisi

    • D.

      Aksi

    Correct Answer
    B. Terminasi
    Explanation
    The correct answer is "Terminasi". After a battle or combat is finished, the action that is taken is called "terminasi" or termination. This term refers to the act of ending or concluding the battle, indicating that the battle has come to an end and there will be no further actions or engagements.

    Rate this question:

  • 15. 

    Pada perulangan sebagai pencacah, tipe data yang boleh digunakan adalah ….

    • A.

      String

    • B.

      Boolean

    • C.

      Integer

    • D.

      Real

    Correct Answer
    C. Integer
    Explanation
    Pada perulangan sebagai pencacah, tipe data yang boleh digunakan adalah Integer. Integer digunakan untuk menyimpan bilangan bulat, yang sesuai untuk digunakan sebagai pencacah dalam perulangan. Tipe data String digunakan untuk menyimpan teks, tipe data Boolean digunakan untuk menyimpan nilai kebenaran (true atau false), dan tipe data Real digunakan untuk menyimpan bilangan desimal. Namun, dalam konteks perulangan sebagai pencacah, tipe data yang paling sesuai adalah Integer.

    Rate this question:

  • 16. 

    Perhatikan algoritma dibawahh ini!  Algoritma perulangann angkaDeklarasi  f : integeralgoritma  f <-- 1 {inisialisasi}  while f <= 5 do      write (‘A’)      f <-- f + 1  end while         algoritma di atas akan memiliki output ….

    • A.

      0 1 2 3 4 5

    • B.

      0 1 2 3 4 5 6

    • C.

      A A A A A A A

    • D.

      A A A A A

    Correct Answer
    D. A A A A A
    Explanation
    The algorithm initializes a variable f with the value 1. Then, it enters a while loop that continues as long as f is less than or equal to 5. Inside the loop, it prints the letter 'A' and increments f by 1. Therefore, the output of the algorithm will be 'A A A A A'.

    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.