Search Header Logo

Quiz Pemrograman Python dan HTML

Authored by ARIEF RIZKY

Information Technology (IT)

12th Grade

Used 2+ times

Quiz Pemrograman Python dan HTML
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

41 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Manakah pernyataan yang benar untuk menampilkan teks Hello World di Python?

echo("Hello World")

print("Hello World")

printf("Hello World")

System.out.println("Hello World")

console.log("Hello World")

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Jika kita ingin memeriksa apakah nilai variabel x lebih besar dari 10, maka sintaks Python yang tepat adalah:

if x > 10 then:

if (x > 10)

if x > 10:

if x => 10:

if x >= 10 then

3.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Diberikan kode berikut: nilai = 75 if nilai >= 80: print("A") elif nilai >= 70: print("B") else: print("C") Apa output yang dihasilkan?

A

B

C

75

Tidak ada output

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Di Python, operator logika yang digunakan untuk menyatakan "dan" adalah:

&&

AND

and

&

All

5.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Perhatikan kode berikut: x = 5 if x % 2 == 0: print("Genap") else: print("Ganjil") Output yang dihasilkan adalah:

0

Genap

Ganjil

5

Error

6.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Komponen utama komputer yang berfungsi untuk melakukan pemrosesan data adalah …

Harddisk

RAM

CPU

Monitor

Keyboard

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Sistem operasi yang umum digunakan untuk menginstal XAMPP adalah …

Android

Windows, Linux, dan macOS

iOS

DOS saja

ChromeOS

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?