Pelajarilah tentang teori probabilitas yang akan di upload
pada pak dan kerjakan tugas berikut ini pada kertas double folio dan
dikumpulkan pada hari Kamis, 3 Maret 2011 paling lambat pukul 15.00 di program
studi Teknik Informatika.
1.
A collection of 100 computer programs was
examined for various types of errors (bugs). It was found that 20 of them had
syntax errors, 10 had input/output (I/O) errors that were not syntactical, five
had other types of errors, six programs had both syntax errors and I/O errors,
three had both syntax errors and other errors, two had both I/O errors and
other errors , while one had all three types of error. A program is selected at
random from this collection, that is, selected in such a way that each programs
was equally likely to be chosen. Let S be the event that the selected programs
has errors in syntax, I be the event it has I/O errors, and O the event that it
has other errors. Since the program was randomly selected, Table gives the
probabilities associated with some of the event.
2nd die
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
|
1st die
|
2.
Suppose a survey of 100 computer installations
in a certain city shows that 75 of them have at least one brand x computer. If
three of these installations are chosen at random, without replacement, what is
the probability that each of them has at least one brand x machine?
3.
At the completion of a programming project five
programmers from a team submit a collection of subrountines to an acceptance
testing group. Each programmer has certified each that each subrountine has
been carefully tested and is free from errors. Tabel 2.4.1 shows how many
routines each programmer I will pass the acceptance tests, i = 1,2,3,4,5, based
on historical data. After the acceaptance testing is completed, one of the
subrountines is selected at random and it is found to have failed the tests.
Assuming the probabilities in the third column of Tabel 2.4.1 have not changed,
what is the probability that the subrountine was written by the first
programmer?By the fifth?
terjemahan
1.
A collection of 100 program komputer diperiksa untuk
berbagai jenis kesalahan (bug). Ditemukan bahwa 20 dari mereka memiliki
kesalahan sintaks, 10 telah input / output (I / O) kesalahan yang tidak
sintaksis, lima memiliki jenis kesalahan, enam program telah baik kesalahan
sintaks dan I / O error, tiga telah sintaks baik kesalahan dan kesalahan
lainnya, dua sama-sama I / O error dan kesalahan lainnya, sementara satu orang
ketiga jenis kesalahan. Suatu program dipilih secara acak dari koleksi ini,
yaitu, dipilih sedemikian rupa sehingga setiap program yang sama mungkin dipilih.
Biarkan S menjadi hal program yang dipilih memiliki kesalahan sintaks, saya
akan acara itu telah I / O error, dan O peristiwa yang telah kesalahan lainnya.
Sejak program itu secara acak dipilih, Tabel memberikan probabilitas yang
terkait dengan beberapa acara
2. Misalkan sebuah survei terhadap 100 instalasi komputer di sebuah kota tertentu menunjukkan bahwa 75 dari mereka memiliki setidaknya satu merek x komputer. Jika tiga dari instalasi ini dipilih secara acak, tanpa penggantian, apa probabilitas bahwa masing-masing memiliki setidaknya satu merek x mesin?
3. Pada penyelesaian proyek pemrograman lima programmer dari tim menyerahkan koleksi subrountines ke grup pengujian penerimaan. Programmer Masing-masing memiliki sertifikasi setiap yang subrountine masing-masing telah diuji hati-hati dan bebas dari kesalahan. Tabel 2.4.1 menunjukkan berapa banyak programmer rutinitas setiap saya akan lulus tes penerimaan, i = 1,2,3,4,5, berdasarkan data historis. Setelah pengujian acceaptance selesai, salah satu subrountines dipilih secara acak dan ditemukan telah gagal tes. Dengan asumsi probabilitas pada kolom ketiga Tabel 2.4.1 tidak berubah, apa probabilitas bahwa subrountine itu ditulis oleh programmer pertama? Pada kelima?
jawabannya silahkan cari sendiri.
0 komentar:
Posting Komentar
komen aja sesuka loe...
OK!!!