ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

quiz-placeholder

Similar activities

Year 7 Python Lesson 1 Recap

Year 7 Python Lesson 1 Recap

8th Grade

10 Qs

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

Python Programming

Python Programming

7th - 9th Grade

10 Qs

ASK T2 - Kod Arahan (Python)

ASK T2 - Kod Arahan (Python)

7th Grade - University

20 Qs

BAB 3 KOA ARAHAN T2/1

BAB 3 KOA ARAHAN T2/1

8th Grade

20 Qs

ASK TINGKATAN 3-MENGUJI ATURCARA DAN MEMBAIKI RALAT

ASK TINGKATAN 3-MENGUJI ATURCARA DAN MEMBAIKI RALAT

9th Grade

15 Qs

KUIZ ASK

KUIZ ASK

3rd Grade

16 Qs

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

Assessment

Quiz

Computers

1st Grade - University

Medium

Created by

Nik Hasmawati Nik Ibrahim

Used 1K+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Yang manakah arahan yang memaparkan teks "Hello World!"?

print(Hello World!)

print("Hello World!")

print "Hello World!"

print="Hello World!"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Yang manakah kod arahan yang memerlukan pengguna memasukkan input umur?

age = input("How old are you?")

input("How old are you?") = age

age = input(How old are you?)

How old are you = input()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apakah kod arahan untuk teks?

int()

ord()

str()

chr()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tentukan output untuk arahan ini; print("5" + "3")

8

53

"5" + "3"

"8"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah pernyataan untuk paparan pembolehubah x kurang daripada 20?

if x > 20:

if x == 20:

if x <> 20:

if x < 20:

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pilih pernyataan yang akan memaparkan x sama dengan 'Hello'?

x = "Hello"

x == "Hello"

x != "Hello"

x <> "Hello"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apakah kesan teks yang bertanda dengan # dalam kod aturcara?

Maklumkan Python itu adalah teks penting

Maklumkan Pyhton untuk mengicau ayat tersebut

Python tidak ambil maklum ayat tersebut

Maklumkan Python untuk tidak berbuat apa.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?