Kuis Online Pemrograman Visual

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 Nurh4y
N
Nurh4y
Community Contributor
Quizzes Created: 1 | Total Attempts: 163
Questions: 15 | Attempts: 163

SettingsSettingsSettings
Kuis Online Pemrograman Visual - Quiz

Berdoalah sebelum mengerjakan Pilihlah diantara a, b, c, dan d jawaban yang menurut anda paling benar Semoga Sukses


Questions and Answers
  • 1. 

    Berikut ini adalah urutan struktur dari program VB. Net, kecuali ...

    • A.

      Option statements

    • B.

      Imports statements

    • C.

      Main procedure

    • D.

      Option Explicit

    Correct Answer
    D. Option Explicit
    Explanation
    The given answer is "Option Explicit". In VB.Net, Option Explicit is used to require explicit declaration of all variables before they can be used. It helps in avoiding typographical errors and enhances code readability. The other options mentioned in the question are all essential components of a VB.Net program. Option statements are used to set various compiler options, Imports statements are used to import namespaces, and Main procedure is the entry point of the program.

    Rate this question:

  • 2. 

    Pada saat kompilasi tidak terjadi kesalahan, tetapi pada runtime akan menimbulkan runtime error System.OverflowException), karena ...

    • A.

      Variable a bertipe data short

    • B.

      Variable a bertipe data integer

    • C.

      Variable b bertipe data short

    • D.

      Variable b bertipe data integer

    Correct Answer
    A. Variable a bertipe data short
    Explanation
    The correct answer is "Variable a bertipe data short". This is because when the variable a is declared as a short data type, it can only store integer values within a limited range (-32,768 to 32,767). If a value outside this range is assigned to variable a, it will cause a runtime error called System.OverflowException.

    Rate this question:

  • 3. 

    Berikut adalah IDE Main Window pada VB.Net, kecuali ...

    • A.

      Toolbars

    • B.

      Document Window

    • C.

      Windows Form Application

    • D.

      Form Designer

    Correct Answer
    C. Windows Form Application
    Explanation
    The given options are different components of the IDE Main Window in VB.Net. The "Windows Form Application" is not a part of the IDE Main Window. It is a project template that can be used to create a new project in VB.Net. The other options, such as Toolbars, Document Window, and Form Designer, are all components that are typically found in the IDE Main Window.

    Rate this question:

  • 4. 

    a dan b secara berturut-turut adalah ...

    • A.

      Class list, Method list

    • B.

      Declarations Section, Class list

    • C.

      Method list, Declaration list

    • D.

      Method list, Class list

    Correct Answer
    D. Method list, Class list
    Explanation
    The correct answer is "Method list, Class list". This is because in object-oriented programming, methods are defined within a class. Therefore, the method list comes before the class list in the order of declaration.

    Rate this question:

  • 5. 

    Berikut adalah Correct any Errors dan Rerun kecuali, ...

    • A.

      Compile Errors

    • B.

      Runtime Errors

    • C.

      Logic Errors

    • D.

      Debug Menu

    Correct Answer
    D. Debug Menu
    Explanation
    The given answer "Debug Menu" is correct because it is the only option that is related to fixing errors and rerunning the program. The other options, "Compile Errors," "Runtime Errors," and "Logic Errors," refer to different types of errors that can occur in a program. However, the "Debug Menu" is a tool or feature that allows developers to identify and fix errors in their code during the debugging process.

    Rate this question:

  • 6. 

    Apakah fungsi dari Cint() ...

    • A.

      Pembulatan nilai desimal 0.5 dan lebih ke integer yang lebih dekat

    • B.

      Pemotongan suatu nilai desimal menjadi integer

    • C.

      Pembulatan ke bawah suatu nilai desimal

    • D.

      Pembulatan nilai desimal yang lebih 0.5 ke integer yang lebih dekat

    Correct Answer
    A. Pembulatan nilai desimal 0.5 dan lebih ke integer yang lebih dekat
    Explanation
    The correct answer is "Pembulatan nilai desimal 0.5 dan lebih ke integer yang lebih dekat" which means rounding decimal values of 0.5 and above to the nearest integer. This function is used to round off decimal values to the nearest whole number.

    Rate this question:

  • 7. 

    Apakah toolbox dari x ...

    • A.

      CheckBox

    • B.

      ComboBox

    • C.

      RadioBox

    • D.

      ListView

    Correct Answer
    A. CheckBox
    Explanation
    The correct answer is CheckBox. A CheckBox is a graphical user interface element that allows the user to select one or more options from a set of choices. It is commonly used to present a list of options where the user can select multiple items. In the context of the question, the toolbox of "x" likely refers to the available options or tools that can be used in a software or application development environment, and CheckBox is one of those options.

    Rate this question:

  • 8. 

    Struktur keputusan di dalam VB.Net, kecuali ...

    • A.

      If...Then

    • B.

      Select...Case

    • C.

      Do...While

    • D.

      If ... Then ... Else

    Correct Answer
    C. Do...While
    Explanation
    The given answer, "Do...While," is the correct choice because it represents a loop structure in VB.Net. The "Do...While" loop will continue executing a block of code as long as a specified condition is true. This loop structure is commonly used when you want to repeat a set of instructions until a certain condition is met. The other options listed, "If...Then," "Select...Case," and "If...Then...Else," are all conditional statements rather than loop structures.

    Rate this question:

  • 9. 

    Value range dari tipe data Single ...

    • A.

      -3.4028235E+38 s/d -1.401298E-45

    • B.

      -32,768 s/d 32,767

    • C.

      1.401298 s/d 3.4028235

    • D.

      0 s/d 2 Milyar

    Correct Answer
    A. -3.4028235E+38 s/d -1.401298E-45
    Explanation
    The correct answer is "-3.4028235E+38 s/d -1.401298E-45". This range represents the value range of the Single data type, which is a floating-point data type in programming languages. The range starts from the smallest negative value (-3.4028235E+38) and goes up to the smallest positive value (-1.401298E-45) that can be represented by this data type.

    Rate this question:

  • 10. 

    Struktue array di dalam VB.Net, kecuali ...

    • A.

      For...Next

    • B.

      Do While ...

    • C.

      Do Until ...

    • D.

      If ... Then

    Correct Answer
    D. If ... Then
    Explanation
    The structure array in VB.Net does not include the "If ... Then" statement. The "If ... Then" statement is used for conditional execution, where a certain block of code is executed only if a specified condition is true. It allows the program to make decisions based on the evaluation of a condition. However, it is not a part of the structure array in VB.Net, which is used to store multiple values of the same data type in a single variable.

    Rate this question:

  • 11. 

    Hasil eksekusi di atas dapat diperbaiki menjadi ...

    • A.

      System.Convert.ToInt16(a)

    • B.

      System.OverflowException(a)

    • C.

      System.Convert.ToDouble16(a)

    • D.

      System.Convert.ToLongInt16(a)

    Correct Answer
    A. System.Convert.ToInt16(a)
    Explanation
    The correct answer is System.Convert.ToInt16(a) because the code is trying to convert the variable 'a' to a 16-bit signed integer. The Convert.ToInt16() method is specifically designed for this purpose and will throw an OverflowException if the value of 'a' is outside the range of a 16-bit signed integer. The other options listed are not valid methods for converting a variable to a 16-bit signed integer.

    Rate this question:

  • 12. 

    Program yang menggunakan basis teks pada lingkungan Command Prompt adalah ...

    • A.

      Windows Forms Aplication

    • B.

      Program Console

    • C.

      Class Library

    • D.

      Console Application

    Correct Answer
    B. Program Console
    Explanation
    Program Console adalah program yang menggunakan basis teks pada lingkungan Command Prompt. Dalam program ini, pengguna berinteraksi dengan program melalui baris perintah yang diberikan di Command Prompt. Program Console biasanya digunakan untuk menjalankan perintah dan skrip sederhana, serta melakukan tugas-tugas dasar melalui antarmuka teks.

    Rate this question:

  • 13. 

    Option Explicit On Import System Public Module Lingkaran Const PI As Single = 3.14     Sub Main() Dim R As Single Dim Luas As Double Console.Write(“Masukkan Jari-jari : “) R = Console.ReadLine() Luas = PI * R^2 Console.WriteLine(“Luas : {0, 10:f2}”, Luas)’10 tempat 2 desimal End Sub End Module Jika R = 14 maka Luas = ...

    • A.

      615,44

    • B.

      616

    • C.

      4312

    • D.

      600

    Correct Answer
    A. 615,44
    Explanation
    The given code is written in Visual Basic and calculates the area of a circle. The value of the radius (R) is taken as input from the user. The formula used to calculate the area is PI * R^2, where PI is a constant with a value of 3.14.

    In this case, the value of R is given as 14. Substituting this value into the formula, the calculation becomes 3.14 * 14^2 = 3.14 * 196 = 615.44. Therefore, the correct answer is 615.44.

    Rate this question:

  • 14. 

    Hasil Output program di bawah ini, kecuali ...

    • A.

      Arr(0) = 0

    • B.

      Arr(1) = 1

    • C.

      Arr(2) = 2

    • D.

      Arr(3) = 9

    Correct Answer
    C. Arr(2) = 2
    Explanation
    The program outputs the values of the array "Arr". The values at index 0, 1, and 3 are 0, 1, and 9 respectively. Therefore, the value at index 2 is 2.

    Rate this question:

  • 15. 

    Fungsi yang digunakan untuk mengembalikan index yang terbesar dari suatu dimensi pada array disebut ...

    • A.

      Fungsi Ubound

    • B.

      Fungsi IsArray

    • C.

      Fungsi Erase

    • D.

      Fungsi Lbound

    Correct Answer
    A. Fungsi Ubound
    Explanation
    The correct answer is "Fungsi Ubound." Ubound is a function used to return the largest index of a specified dimension in an array. This function is commonly used in programming to determine the size or length of an array.

    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.