Search Header Logo

UTS DASPRO

Authored by Yasir Muin

Computers

University

Used 1+ times

UTS DASPRO
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

115 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

print() function merupakan function untuk?

Menambahkan 2 buah bilangan

Membuat sebuah string

Menampilkan output pada console

Menampilkan Input pada console

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Berikut cara penulisan print() function yang benar :

print[1]

print(1)

print{1}

print("1")

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Apakah tujuan menambahkan komentar dalam code yang kita buat?

Memberikan informasi berupa maksud dan tujuan dari sintaks kode program yang dibuat pada bagian tertentu untuk sesama programmer dan diri sendiri

Mempercepat proses dari program

Mengurangi size dari program

memberikan catatan kecil

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Sintaks untuk membuat multiple line comment adalah

&&&

$$$

"""

[[[

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Berikut tipe error yang terdapat pada Python

Syntax Error

Close Error

Main Error

Error Reporting

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Salah satu penyebab runtime error adalah?

Menulis kode yang menyimpang dari aturan yang ditetapkan

Tidak memberikan spasi antara kode

Pengguna memasukkan data yang salah

memebrikan spasi antara kode

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Berikut yang bukan termasuk ke dalam tipe data basic pada Python adalah:

Integer

List

Groups

Tuple

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?