Search Header Logo

Alpro Percabangan-Perulangan

Authored by Aldy Prayogo

Information Technology (IT)

1st Grade

Used 6+ times

Alpro Percabangan-Perulangan
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Algoritma percabangan 1 kondisi menggunakan perintah...

If

If-else

If-else-if

If-else-if-else

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If (x>=85)

Cout << "Anda lulus";

Return 0;

Jika kita menginputkan x = 70, maka outputnya adalah...

70

Tidak ada outputnya

Anda tidak lulus

Anda lulus

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Int x;

Cin >> x;

Switch (__) {

Opsi yang tepat untuk mengisi bagian yang kosong adalah...

X = 0

X >= 10

X

Case

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Berikut yang bukan perintah pada algoritma perulangan pada bahasa C++ adalah...

For

While

Do-while

Repeat

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For(int x = 0; x <= 10 ; x++){

Cout << x;

Output dari kode tersebut adalah...

10

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9 10

X

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?