Review Dasar Pemrograman

Review Dasar Pemrograman

University

10 Qs

quiz-placeholder

Similar activities

UAS Audit Sistem Informasi

UAS Audit Sistem Informasi

University

10 Qs

UTP Cable

UTP Cable

12th Grade - University

10 Qs

Bermain Gambar

Bermain Gambar

1st Grade - Professional Development

15 Qs

Quiz CodeIgniter 4

Quiz CodeIgniter 4

University

10 Qs

PROBLEM SOLVING USING R  UNIT I  MCQS

PROBLEM SOLVING USING R UNIT I MCQS

University

15 Qs

Prak MC

Prak MC

University

15 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

Review Dasar Pemrograman

Review Dasar Pemrograman

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Ade Maulana

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Apa fungsi dari range() dalam Python?

Membuat daftar

Membuat tuple

Membuat rentang nilai

Membuat string

Answer explanation

The range() function in Python is used to create a range of values. It is commonly used to iterate over a sequence of numbers or to create a list of numbers within a specified range.

2.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Apa metode yang digunakan untuk membaca input dari pengguna di Python?

input()

read()

getInput()

userInput()

Answer explanation

The method used to read input from the user in Python is input().

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Apa fungsi dari pernyataan if dalam Python?

Menampilkan output

Melakukan iterasi

Mengambil input pengguna

Melakukan pengecekan kondisi

4.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Apa yang terjadi ketika Anda mencoba mengubah isi dari tuple di Python?

Bisa diubah

Hanya beberapa elemen yang bisa diubah

Tidak bisa diubah

Bergantung pada ukuran tuple

Answer explanation

Tuples in Python cannot be modified. They are immutable, meaning their elements cannot be changed once created. Therefore, the correct answer is 'Tidak bisa diubah'.

5.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Media Image

Apa output yang dihasilkan dari pernyataan berikut?

HelloWorld

Hello World

Hello+World

Hello World!

6.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Media Image

Apa hasil keluaran dari kode Python berikut?

5

7

10

52

7.

MULTIPLE CHOICE QUESTION

2 mins • 10 pts

Media Image


  1. Berapa kali iterasi akan dilakukan dalam loop while berikut?

1

2

3

4

Create a free account and access millions of resources

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?