ptscod

Quiz
•
Computers
•
8th Grade
•
Medium
Rizky Inzhagi
Used 8+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Penulisan komentar pada python yang tidak akan tercetak saat di RUN adalah menggunakan tanda ...
' ' ' (triple aposthrope)
: (colon)
; (semicolon)
== (double equivalent)
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa fungsi dari tanda colon ( : ) dalam bahasa pemrograman Python?
Untuk menandai akhir dari sebuah baris kode IF, WHILE, atau FOR.
Untuk menandai awal dari sebuah blok kode.
Untuk menggabungkan dua string.
Untuk menandai akhir dari sebuah PRINT.
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Pilihlah contoh penulisan variabel pada Python yang salah di bawah ini!
_nama
AGE
if
NamaSiswa
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa yang akan terjadi jika sebuah variabel diawali dengan angka dalam bahasa pemrograman Python?
Program akan error.
Variabel tersebut akan dianggap sebagai string.
Variabel tersebut akan dianggap sebagai integer.
Variabel tersebut akan dianggap sebagai float.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Struktur bercabang pada bahasa Python dapat menggunakan function ...
IF, WHILE, atau FOR
FOR, PRINT, atau INPUT
IMPORT, RANDOM, atau FOR
INPUT, PRINT, atau BREAK
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Berikut ini yang dimaksud dalam perulangan FOR dalam bahasa pemrograman Python? kecuali ...
Perulangan yang digunakan untuk menghitung jumlah karakter dalam sebuah string.
Perulangan yang digunakan untuk mengeksekusi blok kode selama kondisi tertentu terpenuhi.
Perulangan yang digunakan untuk menghitung jumlah dalam range.
Perulangan yang digunakan untuk menghentikan program secara paksa dalam jangkauan tertentu.
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa yang dimaksud dengan tipe data STRING dalam bahasa pemrograman Python?
Tipe data yang digunakan untuk menyimpan bilangan bulat.
Tipe data yang digunakan untuk menyimpan angka desimal.
Tipe data yang digunakan untuk menyimpan teks atau karakter.
Tipe data yang digunakan untuk menyimpan nilai kebenaran (True/False).
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Scratch Grade 3

Quiz
•
3rd Grade - University
20 questions
Python_9

Quiz
•
8th Grade
20 questions
Class 8A Unit 9.1 Python Basic

Quiz
•
6th - 8th Grade
22 questions
Algoritma dan Pemrograman Kelas 8

Quiz
•
8th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
25 questions
KISI KISI SAS INFORMATIKA KLS 8 TP.2024/2025

Quiz
•
8th Grade
20 questions
Basics Python

Quiz
•
8th - 10th Grade
15 questions
Программируем на Python

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade