Kuis Pengenalan Bahasa Pemrograman

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 Belajarpd
B
Belajarpd
Community Contributor
Quizzes Created: 1 | Total Attempts: 943
Questions: 27 | Attempts: 943

SettingsSettingsSettings
Kuis Pengenalan Bahasa Pemrograman - Quiz


Questions and Answers
  • 1. 

    Bahasa komputer yang digunakan dalam menulis program dinamakan.....

    • A.

      Bahasa pemrograman

    • B.

      Pemrograman

    • C.

      Program

    • D.

      Algoritma pemrograman

    Correct Answer
    A. Bahasa pemrograman
    Explanation
    *##*Bahasa komputer yang digunakan untuk menulis program dinamakan bahasa pemrograman*##*

    Rate this question:

  • 2. 

    Maksud dari program adalah.............

    • A.

      Kegiatan merancang dan menulis program

    • B.

      Bahasa komputer yang digunakan untuk menulis program

    • C.

      Algoritma yang ditulis dalam bahasa komputer

    • D.

      Orang yang membuat program komputer

    Correct Answer
    C. Algoritma yang ditulis dalam bahasa komputer
    Explanation
    Program atau program komputer merupakan algoritma yang ditulis dengan bahasa komputer.

    Rate this question:

  • 3. 

    Orang yang menuliskan program dinamakan...........

    • A.

      Compiler

    • B.

      Programmer

    • C.

      Pemrograman

    • D.

      Interpreter

    Correct Answer
    B. Programmer
    Explanation
    The correct answer is "Programmer" because a programmer is the person who writes code and creates programs. They use programming languages and tools to develop software and applications. A compiler is a program that translates source code into machine code, while an interpreter executes code line by line. Pemrograman means programming in Indonesian, but it is not the term used to describe the person who writes the program.

    Rate this question:

  • 4. 

    Tingkatan paling rendah suatu bahasa pemrogaman adalah…

    • A.

      Algoritma

    • B.

      Bahasa Pemrogaman

    • C.

      Bahasa Mesin

    • D.

      Bahasa Assembly

    Correct Answer
    C. Bahasa Mesin
    Explanation
    Tingkatan bahasa pemrograman

    Bahasa mesin : rangkaian instruksi yang terdiri dari kode biner
    Bahasa Tingkat Rendah : rangkaian instruksi menggunakan kode-kode singkat (kodemnemonic) contohnya bahasa Assembly
    Bahasa Tingkat Menengah : rangkaian instruksi gabungan antara bahasa manusia dengan kode-kode simbolik, contohnya {,},?,&&,$,
    Bahasa Tigkat Tinggi : rangkaian instruksi yang menggunakan unsur kata-kata
    manusia sehingga lebih mudah untuk dimengerti contohnya begin, end, if, for, while, and, or

    Rate this question:

  • 5. 

    Tingkatan bahasa pemrogaman yang menggunakan unsur kata-kata manusia adalah…

    • A.

      Bahasa Mesin

    • B.

      Bahasa Biner

    • C.

      Bahasa Tingkat Tinggi

    • D.

      Bahasa Tingkat Rendah

    Correct Answer
    C. Bahasa Tingkat Tinggi
    Explanation
    Bahasa tingkat tinggi adalah tingkatan bahasa pemrograman yang menggunakan unsur kata-kata manusia. Ini berarti bahasa ini lebih mudah dipahami oleh manusia karena menggunakan sintaks yang mirip dengan bahasa manusia sehari-hari. Contoh bahasa pemrograman tingkat tinggi termasuk Python, Java, dan C++. Bahasa ini memungkinkan programmer untuk mengekspresikan instruksi dengan lebih mudah dan lebih efisien daripada bahasa tingkat rendah seperti bahasa mesin atau bahasa biner.

    Rate this question:

  • 6. 

    Tingkat bahasa pemrogaman yang menggunakan gabungan antara bahasa manusiadengan kode-kode simbolik adalah…

    • A.

      Bahasa Mesin

    • B.

      Bahasa Biner

    • C.

      Bahasa Tingkat Menengah

    • D.

      Bahasa Tingkat Rendah

    Correct Answer
    C. Bahasa Tingkat Menengah
    Explanation
    The question is asking for the programming language that combines human language with symbolic codes. The correct answer is "Bahasa Tingkat Menengah" which translates to "High-level language" in English. High-level languages are programming languages that are closer to human language and use symbolic codes to write programs. Examples of high-level languages include Java, C++, and Python.

    Rate this question:

  • 7. 

    Berikut ini contoh bahasa pemrogaman tingkat tinggi kecuali…

    • A.

      Pascal

    • B.

      PHP

    • C.

      Java

    • D.

      C

    Correct Answer
    D. C
    Explanation
    Contoh-contoh tingkatan bahasa pemrograman:Bahasa mesinBahasa tingkat rendah: bahasa AssemblyBahasa tingkat menengah: bahasa CBahasa tingkat tinggi: Pascal. Basic

    Rate this question:

  • 8. 

    Tool yang digunakan untuk menerjemahkan bahasa tinggi ke bahasa yang dimengerti oleh komputer adalah.........

    • A.

      Compiler

    • B.

      Programmer

    • C.

      Cracker

    • D.

      Kompilasi

    Correct Answer
    A. Compiler
    Explanation
    Compiler adalah tool yang digunakan untuk menerjemahkan kode bahasa tinggi yang dimengerti oleh manusia ke dalam bahasa mesin yang dapat dimengerti oleh komputer. Dengan menggunakan compiler, programmer dapat menulis kode dalam bahasa tinggi seperti C++, Java, atau Python, dan kemudian compiler akan menerjemahkan kode tersebut menjadi instruksi-instruksi bahasa mesin yang dapat dieksekusi oleh komputer. Sehingga, compiler memungkinkan komputer untuk memahami dan menjalankan program yang ditulis oleh programmer.

    Rate this question:

  • 9. 

    Bahasa pascal ditemukan oleh..........

    • A.

      Al-Khawarizmi

    • B.

      Blaise pascal

    • C.

      Niklaus Wirth

    • D.

      Bill gates

    Correct Answer
    C. Niklaus Wirth
    Explanation
    Niklaus Wirth is the correct answer because he is the Swiss computer scientist who created the Pascal programming language. Pascal was designed in the late 1960s and early 1970s as a language suitable for teaching programming and for writing software systems. Wirth's goal was to create a language that was efficient, easy to read, and reliable. Pascal became widely used in academia and industry and had a significant influence on the development of programming languages.

    Rate this question:

  • 10. 

    Berikut ini termasuk tools atau framework pengembangan pascal kecuali…

    • A.

      Free Pascal

    • B.

      Neat Beans

    • C.

      Delphi

    • D.

      Dev Pascal

    Correct Answer
    B. Neat Beans
    Explanation
    The given options are Free Pascal, Neat Beans, Delphi, and Dev Pascal. The question asks for the tool or framework that is not related to Pascal development. Free Pascal, Delphi, and Dev Pascal are all tools or frameworks commonly used for Pascal development. However, Neat Beans is not related to Pascal development. Therefore, Neat Beans is the correct answer.

    Rate this question:

  • 11. 

    Untuk melakukan kompilasi program dengan free pascal dapat menggunakan shortcut......

    • A.

      Alt+f9

    • B.

      Ctrl+f9

    • C.

      Shift+insert

    • D.

      F3

    Correct Answer
    A. Alt+f9
    Explanation
    The correct answer for compiling a program with Free Pascal is Alt+f9.

    Rate this question:

  • 12. 

    Untuk menjalankan program dengan free pascal dapat menggunakan shortcut......

    • A.

      Alt+f9

    • B.

      Ctrl+f9

    • C.

      Shift+insert

    • D.

      F3

    Correct Answer
    B. Ctrl+f9
    Explanation
    To run a program with Free Pascal, the correct shortcut is Ctrl+f9. This shortcut combination allows the user to quickly execute the program without having to navigate through multiple menus or options. Using this shortcut saves time and makes the process more efficient.

    Rate this question:

  • 13. 

    Berikut ini bagian dari struktur pasccal yang berfungsi untuk mengidentifikasikan namaprogram adalah…

    • A.

      Judul Program

    • B.

      Header Program

    • C.

      Footer Program

    • D.

      Deklarasi

    Correct Answer
    A. Judul Program
    Explanation
    The correct answer is "Judul Program". In a Pascal program, the "Judul Program" or program title is used to identify the name of the program. It is typically placed at the beginning of the program and serves as a brief description or title for the program. This helps to easily identify and distinguish the program from others. The other options listed, such as "Header Program", "Footer Program", and "Deklarasi" are not specifically used for identifying the name of the program.

    Rate this question:

  • 14. 

    Bagian dari struktur pasccal yang berfungsi untuk urutan-urutan instruksi yang perludieksekusi oleh program adalah…

    • A.

      Deklarasi

    • B.

      Judul Program

    • C.

      Statement

    • D.

      Header

    Correct Answer
    C. Statement
    Explanation
    Statement is the correct answer because it refers to the part of the Pascal structure that is responsible for defining the sequence of instructions that need to be executed by the program. The statement section contains the actual instructions or actions that the program will perform. It is an essential component in programming languages to ensure that the program executes the desired tasks in the correct order.

    Rate this question:

  • 15. 

    Bagian dari struktur pasccal yang berfungsi untuk mengenalkan berbagai pengenaladalah…

    • A.

      Deklasrasi

    • B.

      Statement

    • C.

      Judul Program

    • D.

      Content

    Correct Answer
    A. Deklasrasi
    Explanation
    The correct answer is "Deklarasi." In Pascal programming language, "deklarasi" refers to the part of the program structure that is used to introduce various identifiers or variables. It is where the programmer declares or defines the variables that will be used in the program. This step is important as it allows the program to allocate memory for the variables and specify their data types.

    Rate this question:

  • 16. 

    Begin pada struktur pascal berfungsi untuk…

    • A.

      Mengulangi Program

    • B.

      Memulai eksekusi statement

    • C.

      Mengakhiri eksekusi

    • D.

      Menghapus Program

    Correct Answer
    B. Memulai eksekusi statement
    Explanation
    The correct answer is "Memulai eksekusi statement." In Pascal, the "begin" keyword is used to indicate the start of a block of code or a sequence of statements. It is followed by one or more statements that will be executed in order. The "begin" keyword is necessary to specify the beginning of the code execution and to ensure that the statements within the block are executed as intended.

    Rate this question:

  • 17. 

    Tanda semicolon ( ; ) pada struktur bahasa pascal digunakan untuk…

    • A.

      Mendeklarasikan tipe data variable

    • B.

      Mendeklarasikan nilai suatu variable

    • C.

      Menutup statement

    • D.

      Memulai Program

    Correct Answer
    C. Menutup statement
    Explanation
    The semicolon (;) in the Pascal language is used to indicate the end of a statement. It is placed after each line of code to separate multiple statements within a block of code. The semicolon allows the compiler to identify the end of one statement and the beginning of the next. It is important to include the semicolon at the end of each statement to ensure that the code is syntactically correct and can be compiled without errors.

    Rate this question:

  • 18. 

    Kode pascal yang digunakan untuk menampilkan data ke layar tanpa disertai mencetakbaris baru adalah…

    • A.

      Write

    • B.

      Writeln

    • C.

      Read

    • D.

      Readln

    Correct Answer
    A. Write
    Explanation
    The correct answer is "Write" because the Write statement in Pascal is used to display data on the screen without printing a new line.

    Rate this question:

  • 19. 

    Kode pascal yang digunakan untuk menampilkan data ke layar disertai mencetak barisbaru adalah…

    • A.

      Createln

    • B.

      Readln

    • C.

      Write

    • D.

      Writeln

    Correct Answer
    D. Writeln
    Explanation
    The correct answer is Writeln. In Pascal, the Writeln function is used to display data on the screen and automatically moves the cursor to the next line after printing the output. This function is commonly used when we want to print data with a line break after each print.

    Rate this question:

  • 20. 

    Kode pascal yang digunakan untuk mengambil/membaca nilai dari layar dan kursor tetap pada baris input adalah…

    • A.

      Readln

    • B.

      Read

    • C.

      Create

    • D.

      Createln

    Correct Answer
    B. Read
    Explanation
    The correct answer is "Read". In Pascal, the "Read" function is used to read input from the user and store it in a variable. It allows the program to take input from the screen and the cursor remains on the same line for further input. The "Readln" function, on the other hand, is used to read input and move the cursor to the next line. The "Create" and "Createln" options are not valid functions in Pascal for reading input.

    Rate this question:

  • 21. 

    Kode pascal yang digunakan untuk mengambil/membaca nilai dari layar dan kursor tetap pada baris input dan kursor turun pada baris berikutnya adalah…

    • A.

      Read

    • B.

      Readln

    • C.

      Write

    • D.

      Writeln

    Correct Answer
    B. Readln
    Explanation
    The correct answer is Readln. In Pascal, the Readln command is used to read input from the user and move the cursor to the next line. It allows the program to read values entered by the user and store them in variables, while also automatically moving the cursor to the next line for the next input.

    Rate this question:

  • 22. 

    Untuk menampilkan kata Nama Saya maka kode yang benar dalam bahasa pascal adalah…

    • A.

      Read(“Nama Saya”);

    • B.

      Write(Nama Saya);

    • C.

      Write(‘Nama Saya’);

    • D.

      Writeln(Nama Saya).

    Correct Answer
    C. Write(‘Nama Saya’);
    Explanation
    The correct answer is "Write('Nama Saya');". In Pascal, the Write function is used to display text or variables without a new line. In this case, 'Nama Saya' is a string literal, so it needs to be enclosed in single quotes. Therefore, the correct code to display the text "Nama Saya" is Write('Nama Saya').

    Rate this question:

  • 23. 

    Untuk meminta inputan dari keyboard yang akan disimpan dalam varaibel a dan kursor tetap berada pada garis input, penulisan statement dalam pascal yang benar adalah...........

    • A.

      Read(a);

    • B.

      Read(‘a’);

    • C.

      Readln(a);

    • D.

      Readln(‘a’);

    Correct Answer
    A. Read(a);
    Explanation
    The correct statement in Pascal to read input from the keyboard and store it in variable a while keeping the cursor on the same input line is "Read(a)". This statement will read the input value and assign it to the variable a without moving the cursor to the next line. The other options, "Read('a')", "Readln(a)", and "Readln('a')" are incorrect as they either use incorrect syntax or move the cursor to the next line after reading the input.

    Rate this question:

  • 24. 

    Proses untuk menerjemahkan kode program dalam bahasa pemrograman ke bahasa mesin sehingga kode dapat dimenegerti oleh komputer dinamakan......

    • A.

      Kompilasi

    • B.

      Kompilator

    • C.

      Tranlasi

    • D.

      Linking

    Correct Answer
    A. Kompilasi
    Explanation
    Kompilasi adalah proses untuk menerjemahkan kode program dalam bahasa pemrograman ke bahasa mesin sehingga kode dapat dimengerti oleh komputer. Pada proses kompilasi, kompiler akan mengubah kode program menjadi bentuk yang dapat dieksekusi oleh komputer.

    Rate this question:

  • 25. 

    Jenis kesalahan dimana lupa memberikan tipe data pada variabel dinamakan......

    • A.

      Syntaks error

    • B.

      Run-time error

    • C.

      Logical error

    • D.

      Algoritmik error

    Correct Answer
    A. Syntaks error
    Explanation
    The given correct answer is "Syntaks error". A syntax error occurs when there is a mistake in the programming language syntax, such as missing a semicolon or using incorrect keywords. This type of error is detected by the compiler during the compilation process and prevents the program from running. It is different from runtime errors, logical errors, and algorithmic errors, which occur during program execution and affect the program's behavior or output.

    Rate this question:

  • 26. 

    Jenis kesalahan dimana user salah dalam menginputkan nilai penyebut dalam operasi pembagian, memberikan nilai 0, padahal pembagian dengan 0 akan menyebabkan program error, kesalahan ini disebut

    • A.

      Syntak error

    • B.

      Runtime error

    • C.

      Logical error

    • D.

      Algoritmik error

    Correct Answer
    B. Runtime error
    Explanation
    The given question is asking for the type of error that occurs when a user mistakenly inputs a value of 0 as the denominator in a division operation, which causes the program to encounter an error. This type of error is known as a runtime error, as it occurs during the execution of the program.

    Rate this question:

  • 27. 

    Kesalahan program yang sulit untuk dilacak karena compiler messege tidak emmberikan pesan kesalahan dinamakan

    • A.

      Syntak error

    • B.

      Runtime error

    • C.

      Logical error

    • D.

      Algoritmik error

    Correct Answer
    C. Logical error
    Explanation
    A logical error refers to a mistake in the program's logic or reasoning, which leads to incorrect output or unexpected behavior. Unlike syntax errors, which can be easily identified and fixed by the compiler, logical errors are more challenging to track down. They occur when the program's code is valid and runs without any error messages, but the output does not match the intended result. These errors often require careful examination and debugging of the program's code to identify and correct the faulty logic.

    Rate this question:

Quiz Review Timeline +

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

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Apr 30, 2017
    Quiz Created by
    Belajarpd
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.