logo

Crowdly

Browser

Add to Chrome

Programmēšana I 10 Trešdiena 8:10

Looking for Programmēšana I 10 Trešdiena 8:10 test answers and solutions? Browse our comprehensive collection of verified answers for Programmēšana I 10 Trešdiena 8:10 at skola.datorium.eu.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Izvēlies pareizo atbildi!

Ko izvadīs sekojošais koda fragments?

View this question

Izvēlies pareizo atbildi!

Ko izvadīs sekojošais koda fragments?

View this question

Izvēlies pareizo atbildi!

Klases ir objektorientētās programmēšanas elements, kas palīdz uzlabot koda uzturēšanu, atkārtojamību un saprotamību.

View this question

Atzīmē pareizo atbildi!

Aplūko koda fragmentu. Ar kādu varbūtību tiks izpildīts print("Notikums A")?

if random.random() <= 0.3:

    print("Notikums A")

View this question

Atzīmē pareizo atbildi!

Kāds ir šī koda rezultāts?

import random

result = random.random() * 100

View this question

Atzīmē pareizo atbildi!

Kāda būs acc2.balance vērtība pēc transfer metodes izsaukšanas ?

class BankAccount:

    def __init__(self, balance):

        self.balance = balance

    

    def transfer(self, other_account, amount):

        self.balance -= amount

        other_account.balance += amount

acc1 = BankAccount(100)

acc2 = BankAccount(50)

acc1.transfer(acc2, 30)

View this question

Savieno funkcijas ar tām atbilstošiem argumentu piemēriem (kas jāraksta iekavās)!

View this question

Savieno darbības ar tām atbilstošām PyGame funkcijām!

View this question

Izvēlies pareizo atbildi!

Kur atradīsies bilde image, pēc šī koda izpildes?

0%
0%
0%
100%
View this question

Izvēlies pareizo atbildi!

Kas ir Pygame?

100%
0%
0%
View this question

Want instant access to all verified answers on skola.datorium.eu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome