Search Header Logo

Pretest - Pemrograman Python Trivia Quiz 01

Authored by Rosihan Yuana

Computers

University

Used 26+ times

Pretest - Pemrograman Python Trivia Quiz 01
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Diketahui sebuah ekspresi aritmatika sebagai berikut

4 … 5 … 2 … 2 … 8 … 3 = 100

Operator aritmatika yang tepat untuk melengkapi ekspresi di atas secara berturut-turut supaya hasilnya benar adalah …

**, *, -, +, //

//, *, **, +, -

*, **, +, - , //

+, *, -, **, //

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Operasi perkalian antara dua buah value yang masing-masing bertipe float (real) dan integer akan menghasilkan bilangan bertipe data …

float

integer

complex

error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Di dalam Python, operator yang digunakan untuk menggabungkan dua buah string (string concatenation) adalah ...

concat

++

+

-

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Jika diberikan ekspresi '10' > 5, maka hasilnya adalah ...

True

False

error

null

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output dari ekspresi di atas adalah…

10

12

24

20

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Output dari ekspresi di atas adalah …

False

True

Null

error

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output dari kode Python di atas adalah ...

100

Error

300

200

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?