UNIVERSITI SAINS MALAYSIA. CPT114 Logic & Application [Logik & Aplikasi]

Similar documents
UNIVERSITI SAINS MALAYSIA. CPT114 Logic & Applications [Logik & Aplikasi]

UNIVERSITI SAINS MALAYSIA. CPT114 Logic & Applications [Logik & Aplikasi]

UNIVERSITI SAINS MALAYSIA EEE 320 MIKROPEMPROSES II

HBT 503 SEMINAR SISWAZAH: ISU-ISU PENTERJEMAHAN

UNIVERSITI SAINS MALAYSIA. Peperiksaan Kursus Semasa Cuti Panjang Sidang Akademik 1998/99. April 1999

NOTA 5: PANDUAN MENGHASILKAN LAMAN (SITES) 1.1 Pengenalan

SPM4342 PEMBANGUNAN SISTEM PEMBELAJARAN BERASASKAN WEB PRINSIP ASAS MEREKA BENTUK WEB

PENILAIAN PENGETAHUAN

EVALUATION USABILITY MEASUREMENT INDEX FOR HIGHER EDUCATION INSTITUTE MUHAMMAD ALIIF BIN AHMAD

MANUAL PENGGUNA PENERIMAAN BARANG(ASET/INVENTORI) MELALUI NOTA TERIMAAN BARANG (GRN) MENGGUNAKAN APLIKASI:-

Manual Pengguna. Disediakan Untuk : Audit Korporat

[Perakaunan Islam] AGE464 - lslamic Accounting. [Sila pastikan bahawa kertas peperiksaan ini mengandungi LIMA muka surat

UNIVERSITI TEKNOLOGI MALAYSIA

Laman Web Komuniti PANDUAN ADMINISTRATOR 5R STRATEGIC CONSULTANCY SDN BHD. Version History

Study Guides. Chapter 1 - Basic Training

PERKHIDMATAN UTAMA PRASISWAZAH

SCHOOL OF PHYSICS LOGO DESIGN CONTEST

PERATURAN-PERATURAN PERUBATAN (MENETAPKAN PEPERIKSAAN BAGI PENDAFTARAN SEMENTARA) 2015

HBT 105 KAEDAH PENTERJEMAHAN

SULIT P2115-EKONOMI DARI PERSPEKTIF ISLAM/JAN 08

MANAGEMENT OF VARIATION ORDER IN PUBLIC WORKS DEPARTMENT MALAYSIA CONSTRUCTION PROJECT SHARIL AMRAN BIN AMIR MOHAMED

ABSTRACT Muslim youth face many challenges today due to the huge scientific development. New information technologies can be considered one of the mos

FEAR OF CRIME WITHIN NON-GATED RESIDENTIAL COMMUNITIES IN THE URBAN CONTEXT SITI AISHAH BINTI AHMAD KAMIL

IMPROVING ENERGY SAVING EVALUATION IN LIGHTING USING DAYLIGHT UTILIZATION WITH AREA SEGREGATION TECHNIQUE MOHAMMAD ASIF UL HAQ

Latihan MyMesyuarat -PENGERUSI- DibentangkanOleh

PERATURAN PERMAINAN LAWN BOWLS SUKFAC 2017

AN INVESTIGATION ON VEHICLE OVERLOADING IN MUAR MELAKA ROAD HAZLINA BINTI MARWAN

TERMINATION OF CONTRACT: ABANDONMENT OF WORK MOHD NUR IMAN AL HAFIZ BIN MOHD JAMIL

menjelaskan bahawa ia merujuk kepada doa dan bukan transaksi ekonomi.

SIJIL PELAJARAN MALAYSIA 2OII BIBLE KNOWLEDGE Nov./Dis. z) iam

Bab 1. Konsep Asas Pemikiran Komputasional. Pemikiran komputasional ialah suatu proses. Penggunaan Teknik Leraian dan Menentukan Langkah Secara Tertib

1 Clarion Logic Notes Chapter 4

UNDANG-UNDANG MALAYSIA. Akta 369 AKTA HARI KELEPASAN (1) Akta ini bolehlah dinamakan Akta Hari Kelepasan 1951.

SOALAN NO 3 KERJA KURSUS SENI VISUAL 3 (KERTAS 970/3) SIJIL TINGGI PERSEKOLAHAN MALAYSIA (STPM) 2011

MAJLIS PEPERIKSAAN MALAYSIA

SENARAI PEMERIKSA KURSUS PROGRAM DIPLOMA SEMESTER KEDUA SIDANG AKADEMIK 2015/2016 FE % Bilangan Pelajar

SYLLOGISTIC LOGIC CATEGORICAL PROPOSITIONS

PUSAT PENGAJIAN SAINS PERUBATAN UNIVERSITI SAINS MALAYSIA MS ISO 9001:2008. PENGURUSAN PEMBELIAN BAHAN PAKAI HABIS (VOT 27000) (PPSP/Pent/CP5)

JABATAN KIMIA Kategori Arahan Kerja

PENILAIAN MENENGAH RENDAH

SKRIPSI DEIXIS USED IN ENGLISH TRANSLATION OF SURAH YUSUF

COMMON CONTRACTUAL ISSUES FACED BY MALAYSIAN CONTRACTORS OPERATING IN MIDDLE EAST USING FIDIC FORM OF CONTRACTS

UNIVERSITI PUTRA MALAYSIA QURANIC ONTOLOGY FOR RESOLVING QUERY TRANSLATION DISAMBIGUATION IN ENGLISH-MALAY CROSS-LANGUAGE INFORMATION RETRIEVAL

DOKUMEN TIDAK TERKAWAL

A ROBUST ESTIMATION METHOD OF LOCATION AND SCALE WITH APPLICATION IN MONITORING PROCESS VARIABILITY ROHAYU BT MOHD SALLEH

MOLECULAR PHYLOGENY OF SELECTED MANGO CULTIVARS BASED ON INTERNAL TRANSCRIBED SPACER (ITS) REGION SHAHKILA MOHD ARIF

OPERASI PERKHIDMATAN SOKONGAN

MANUAL PENGGUNA (USER MANUAL) PELUPUSAN ASET/INVENTORI (DISPOSAL ASSET/INVENTORY)

Proses Penyelidikan Tindakan. MTE3133: Penyelidikan Tindakan

وظاي ف الدولة الا سلامية (The Duties And Function Of An Islamic State)

THE PREVAILING PRACTICE IN DECIDING THE PRACTICAL COMPLETION OF CONSTRUCTION WORK. MOHAMMAD HARITH BIN MOHD YUNOS

DOKUMEN TIDAK TERKAWAL

Baronett, Logic (4th ed.) Chapter Guide

(The Human Soul Based on the Opinion of Fakhr al-din al-razi) ELBAHLOUL MOHAMED HUSSEIN* MOHD NASIR OMAR AHMAD SUNAWARI BINLONG MUDASIR BIN ROSDER

reflective thought is the active, careful and persistent examination of any belief or purported form of knowledge, in the light of the grounds that

UTHM/PB/100 6/4/ Jld.2 (1) Tarikh: 02 Januari 2012 PEKELILING BENDAHARI BIL. 1 / 2012

LAWATAN PERKONGSIAN PINTAR JKKPUU BRUNEI DARUSSALAM

Matlamat. Wadah Maklumat. Simposium 2014 Methodologi Pengambilan Ilmu Dalam Islam. Buku. Internet. Ceramah TV/Radio 22/10/14&

PERUNTUKAN MASA PEMBELAJARAN

MATROID STRUCTURE OF DYNAMIC GRAPH MODEL OF EVAPORATION PROCESS IN A BOILER SYSTEM NUR SYAHIDAH BINTI KHAMIS UNIVERSITI TEKNOLOGI MALAYSIA

FLOW IN A PIPELINE WITH LEAKAGE SITI NUR HASEELA BINTI IZANI

UNIVERSITI PERUBATAN ANTARABANGSA INTERNATIONAL MEDICAL UNIVERSITY MALAYSIA

HAK MILIK PmAT mrenajlr.mi mm.u. sum Jl. ! l1hat Sebelah. 'Pe l) tesis

*PMY1NOMFRM* Notification For Appointment Of Nominees And Trustees Pemberitahuan Perlantikan Penama-penama Dan Pemegang-pemegang Amanah.

UNIVERSITY OF NORTH SUMATERA FACULTY OF CULTURE STUDIES DIPLOMA III ENGLISH STUDY PROGRAM MEDAN JUNE 2011

KERTAS PENERANGAN (INFORMATION SHEET)

PRESUPPOSITION IN THE BUSINESS LETTERS AT GRAND CANDI HOTEL JOURNAL ARTICLE

Pengelasan Bahasa Kesat Menggunakan Pemberat Istilah Sebagai Pemilihan Ciri Bagi Kandungan Laman Web

Philosophy 1100: Ethics

WPK 213 Wajah sebenar Psikologi Islam Sifat Psikologi Islam Psikologi Moden Persamaan dan Perbezaan Psikologi Islam & Barat

PARLIMEN MALAYSIA PEMBERITAHU PERTANYAAN DEWAN RAKYAT

Logic Appendix: More detailed instruction in deductive logic

Revisiting the Socrates Example

Oleh. Syed Mohd Solehin bin Wan Sarip ABSTRAK

PENGGUNAAN TEKNIK BERCERITA UNTUK MENINGKATKAN MINAT DAN KEFAHAMAN MURID TAHUN DUA TERHADAP TOPIK CAHAYA DI KUCHING

THE EFFECTS OF TAPERED SLEEVE IN IMPROVING THE ANCHORAGE BOND OF REINFORCEMENT BAR PAMELA ADELINE LO

UNIVERSITY OF MALAYA

Keywords : The Khawarij Religious Views- Purposes of poem Traces of the Quran Characteristics

M2-1: Proses Penyelidikan Tindakan MTE3113: PENYELIDIKAN TINDAKAN

BORANG PENAMAAN / NOMINATION FORM

Sesi taklimat untuk ibu bapa

PERKHIDMATAN UTAMA SISWAZAH

FACTORS THAT AFFECT KNOWLEDGE SHARING AMONG EMPLOYEES IN MULTINATIONAL ORGANIZATION YASER HASSAN HASSAN AL-QADHI UNIVERSITI TEKNOLOGI MALAYSIA

GARIS PANDUAN CPE COSEC LS GARIS PANDUAN PELAKSANAAN MANDATORI SSM CONTINUING PROFESIONAL EDUCATION (CPE) POINTS DAN

PERATURAN-PERATURAN PERKHIDMATAN KUARANTIN DAN PEMERIKSAAN MALAYSIA (PENGELUARAN PERMIT, LESEN DAN PERAKUAN) 2013

JAWAB LISAN DATO' SRI HASAN BIN MALEK [KUALA PILAH]

Sesi taklimat untuk ibu bapa/waris. Jabatan Bahasa Melayu Sekolah Rendah Hougang

KECENDERUNGAN PELAJAR DAN MASYARAKAT ISLAM TERHADAP PENUBUHAN BANK WAKAF

Dr. Carlo Alvaro Reasoning and Argumentation Distribution & Opposition DISTRIBUTION

Deccan Education Society s FERGUSSON COLLEGE, PUNE (AUTONOMOUS) SYLLABUS UNDER AUTONOMY FIRST YEAR B.A. LOGIC SEMESTER I

HBT Pengenalan Teori dan Praktik Terjemahan

Part 2 Module 4: Categorical Syllogisms

TINDAKAN PIHAK BERKUASA NEGERI DAN PIHAK BERKUASA TEMPATAN TERHADAP KES PELANGGARAN SYARAT GUNA TANAH

SYARAT-SYARAT PERTANDINGAN BERCERITA SAINS TAHAP 1 (Bahasa Inggeris) KARNIVAL SAINS DAN TEKNOLOGI PERINGKAT KEBANGSAAN

MODELLING AND VIBRATION CONTROL OF PIEZOELECTRIC ACTUATOR

PERINTAH PENCEGAHAN PENGUBAHAN WANG HARAM DAN PENCEGAHAN PEMBIAYAAN KEGANASAN (PENGISYTIHARAN ENTITI DITENTUKAN DAN KEHENDAK UNTUK MELAPOR) 2014

MESHFREE FORMULATION FOR BUCKLING OF COMPOSITE BEAM WITH SLIP MOHD HAMIDI BIN HARUN UNIVERSITI TEKNOLOGI MALAYSIA

PERKHIDMATAN UTAMA SISWAZAH

Kajian Rintis Penerimaan Mualaf Di Selangor Terhadap Aplikasi Smartsolat

MOSAICKING OF TORN IMAGE USING GRAPH ALGORITHM AND COLOR PIXEL MATCHING IBRAHIM THORIG

Transcription:

UNIVERSITI SAINS MALAYSIA First Semester Examination 2016/2017 Academic Session December 2016 / January 2017 CPT114 Logic & Application [Logik & Aplikasi] Duration : 3 hours [Masa : 3 jam] INSTRUCTIONS TO CANDIDATE: [ARAHAN KEPADA CALON:] Please ensure that this examination paper contains THREE questions in NINE printed pages before you begin the examination. [Sila pastikan bahawa kertas peperiksaan ini mengandungi TIGA soalan di dalam SEMBILAN muka surat yang bercetak sebelum anda memulakan peperiksaan ini.] Answer ALL questions. [Jawab SEMUA soalan.] You may answer the questions either in English or in Bahasa Malaysia. [Anda dibenarkan menjawab soalan sama ada dalam bahasa Inggeris atau bahasa Malaysia.] In the event of any discrepancies, the English version shall be used. [Sekiranya terdapat sebarang percanggahan pada soalan peperiksaan, versi bahasa Inggeris hendaklah diguna pakai.]...2/-

- 2-1. (a) Multiple choice questions. Select the best answer. Soalan pelbagai pilihan. Pilih jawapan yang terbaik. In correct reasoning, all of the propositions are true. the truth of the premises guarantees the truth of the conclusion. the conclusion is never false. the conclusion supports the premises. If undergraduate education in the Humanities is to be successful, students must take courses in a broad range of areas including history, literature, philosophy, and art. This is an example of: an argument. a disjunctive proposition. a conditional proposition. none of the above. (iii) (1) Lawns need constant maintenance, so (2) busy people should hire someone to take care of them. (3) I like a nicely kept lawn. Which sentence is the conclusion? Sentence (1). Sentence (2). Sentence (3). There is no conclusion. (iv) The word home means that place where, when you have to go there, they have to take you in. This definition is best described as a: stipulative definition. precising definition. theoretical definition. lexical definition. (v) No logic problems are valuable experiences. Some logic problems are valuable experiences. How are these two propositions related? They are contradictories. They are contraries. They are corresponding propositions super- or subalterns. They are subcontraries....3/-

- 3 - (vi) In the Boolean interpretation of propositional logic: subalternation is no longer valid. A and I propositions are no longer contraries. the square of opposition is rescued by making the existential presupposition. universal propositions have existential import. (vii) No children are soldiers; some males are soldiers; therefore, some males are not children. Which term in this standard-form syllogism is the middle term? children. soldiers. males. therefore. (viii) Some logic professors are not good speakers. All logic professors are individuals who have nice suits. Therefore, no individuals with nice suits are good speakers. What is the mood of this standard-form syllogism? OAO. AOA. AOE. OAE. (ix) Given the following syllogism, No M are P. All S are M. No S are P. After filling in the Venn diagram, Areas 3, 4, 5, and 6 are shaded. Areas 1, 2, and 3 are shaded. Areas 3, 4, and 5 only are shaded. Areas 2, 3, 6, and 7 are shaded....4/-

- 4 - (x) For the syllogism in problem (ix), the correct answer from the Boolean standpoint is: Invalid, existential fallacy. Invalid, illicit major. Valid, no fallacy. Invalid, undistributed middle. (10/100) (b) For each argument, determine whether or not it is valid. If the argument is not valid, describe the steps to make it valid. Bagi setiap hujah, tentukan sama ada ia adalah sah atau tidak. Jika hujah tersebut tidak sah, terangkan langkah-langkah untuk menjadikannya sah. (iii) If Jane has a cat, then Jane has a pet. Jane has a pet. Therefore, Jane has a cat. If Jane has a cat, then Jane has a pet. It is not the case that Jane has a pet. Therefore, it is not the case that Jane has a cat. If Jane has a cat, then Jane has a pet. It is not the case that Jane has a cat. Therefore, it is not the case that Jane has a pet. (iv) If P, then Q. If not Q, then not P. (v) Either P or Q. Not P. Q. (vi) If P, then Q. If R, then Q. If P, then R. (6/100) (c) Use diagramming technique to analyse the following argument. Gunakan teknik gambar rajah untuk menganalisis hujah berikut. Government mandates for zero-emission vehicles would not work because only electric cars qualify as zero-emission vehicles, and electric cars would not sell. They are too expensive, their range of operation is too limited, and recharging facilities are not generally available. (4/100)...5/-

- 5 - (d) Based on the Square of Opposition and the Immediate Inferences, assume the proposition in Step 1 is true, show the changes of each proposition from Step 2 until Step 7. Determine the truth values, T for true, F for false, or U for undeterminable for each of the step. Berdasarkan Square of Opposition dan Immediate Inferences, dengan membuat anggapan bahawa usul dalam Langkah 1 adalah benar, tunjukkan perubahan setiap usul daripada Langkah 2 hingga Langkah 7. Tentukan nilai kebenaran, T untuk benar, F untuk palsu, atau "U" untuk tidak dapat ditentukan bagi setiap langkah tersebut. 1. No meaningful statements are non-intelligible. 2. Obverse of 1 3. Converse of 1 4. Contrapositive of 2 5. Contradictory of 4 6. Subcontrary of 5 7. Subaltern of 3 You cannot see what is inside a box, but are told that it contains coloured shapes. In each of the following questions, suppose the given sentence is the only information you have about the coloured shapes in the box. Determine whether the other sentences are true (T) or false (F). If the truth value cannot be determined, identify it as undetermined (?). Anda tidak boleh melihat apa yang ada di dalam kotak, tetapi diberitahu bahawa ia mengandungi bentuk-bentuk berwarna. Dalam setiap soalansoalan berikut, katakan kenyataan yang diberikan adalah satu-satunya maklumat yang anda tahu tentang bentuk-bentuk berwarna dalam kotak. Tentukan sama ada kenyataan-kenyataan lain adalah benar (T) atau palsu (F). Jika nilai kebenaran tidak dapat ditentukan, nyatakan sebagai tidak dapat ditentukan (?). Given Some squares are blue. All squares are blue. No squares are blue. Some squares are not blue. Given It is false that all octagons are grey. No octagons are grey. Some octagons are grey. Some octagons are not grey. (9/100)...6/-

- 6 - (e) The figure of a standard categorical syllogism is determined by the positions of the two appearances of the middle term. Which of the following syllogisms is/are not valid in the fourth figure? Bentuk untuk "syllogism" kategori piawai ditentukan oleh kedudukan kedua-dua istilah pertengahannya. Syllogism di bawah yang manakah adalah tidak sah dalam bentuk keempat? AEE IAI EIO OAO Test and explain each syllogism using Venn Diagram to show whether it is valid or invalid. Uji dan terangkan setiap syllogism dengan gambar rajah Venn untuk menunjukkan sama ada ia adalah sah atau tidak sah. Name the fallacy of the invalid syllogism. Namakan kesilapan untuk syllogism yang tidak sah. (6/100) 2. (a) Fill in the blank with the best answer. Isi ruang kosong dengan jawapan yang tepat. A does not contain any other statement as a component. Two statements are if the statement of their material equivalence is a tautology. (2/100) (b) Write the specific form of the following rules of inference. Tulis bentuk spesifik bagi peraturan kesimpulan berikut. Modus Tollens Hypothetical Syllogism (3/100) (c) Provide a truth table of material equivalence. Sedia jadual kebenaran bagi kesetaraan isi. (2/100)...7/-

- 7 - (d) Use a truth table to decide the following biconditional is tautology. Guna jadual kebenaran untuk menentukan pernyataan dwisyarat adalah tautologi. a [ a ( b ~ b)] (5/100) (e) Construct a formal proof of validity using the rules of inference for each of the following arguments. Bina bukti formal kesahihan dengan menggunakan peraturan kesimpulan bagi setiap hujah berikut: 1. A B 2. B C 3. ~ C ~ A ~ B 1. Z B 2. B C 3. C Z 4. Z ~ C ~ Z ~ C (10/100) (f) Prove the invalidity for the following argument by assigning a correct truth values. Buktikan ketaksahan bagi hujah yang berikut dengan meletakkan nilai-nilai kebenaran yang betul. 1.( x)( Ax ~ Bx) 2.( x)( Ax ~ Cx) ( x)( Cx ~ Bx) (3/100)...8/-

- 8 - (g) Construct a formal proof of validity using the rules of inference for the following arguments. Bina bukti formal kesahihan dengan menggunakan peraturan kesimpulan bagi setiap hujah berikut. 1.( x)[ Px ( Ex Ux)] 2.( x)( Px ~ Ux) ( x)( Ex Px) (10/100) 3. (a) Given the following passage: Diberi petikan berikut: Joshua, Bill and Tom are males. Greg and Tom are smokers. Joshua and Tom are vegetarians. Sophie could date anyone if they are male and non-smokers. Sophie could date anyone if they are male and vegetarian. Joshua, Bill dan Tom ialah lelaki. Greg dan Tom ialah perokok. Joshua dan Tom ialah vegetarian. Sophie boleh temu janji dengan sesiapapun sekiranya mereka ialah lelaki dan bukan perokok. Sophie boleh bertemu janji dengan sesiapapun sekiranya mereka ialah lelaki dan vegetarian. Using suitable relations, translate each of the above sentences into Prolog facts and rules. Dengan menggunakan hubungan yang sesuai, terjemahkan setiap ayat di atas ke dalam fakta dan petua Prolog. (8/100) Based on the facts and rules in question 3(a) above, write a Prolog query to find out who is the possible date for Sophie. Berdasarkan fakta dan petua dalam soalan 3(a) di atas, tulis pertanyaan Prolog untuk mencari siapa yang berkemungkinan menjadi pasangan temu janji Sophie. (2/100) (iii) What is the Prolog output in question 3(a)? Apakah output Prolog dalam soalan 3(a)? (2/100)...9/-

- 9 - (b) Given the following knowledge base on river networks: Diberi pangkalan pengetahuan tentang rangkaian sungai seperti berikut: tributary(linggi,pahang). tributary(kolok,linggi). tributary(cerating,endau). tributary(bebar,linggi). tributary(endau,pahang). tributary(jelai,kolok). tributary(mercung,jelai). Write a Prolog recursive rule called drains_to that indicates whether a river flows into another river. For example, given the following Prolog query:?- drains_to(jelai,pahang). Prolog will reply 'yes'. Tulis petua rekursi Prolog dipanggil drains_to yang menentukan sama ada suatu sungai mengalir ke sungai yang berikutnya. Sebagai contoh, diberi pertanyaan Prolog berikut:?- drains_to(jelai,pahang). Prolog akan menjawab 'yes'. (5/100) Draw the search tree for the following Prolog query: Lukis pohon gelintaran untuk pertanyaan Prolog berikut:?- drains_to(jelai,pahang). (5/100) (c) Write a Prolog program called last that prints the last element in a given list. For example, Prolog returns e because it is the last element in the list of [a,b,c,d,e].? last ([a,b,c,d,e]). Last element is : e Tulis atur cara Prolog dipanggil last yang mencetak elemen terakhir dalam sesuatu senarai. Sebagai contoh, Prolog mengembalikan e kerana ia elemen terakhir dalam senarai [a,b,c,d,e].? last ([a,b,c,d,e]). Last element is : e - ooooooo - (8/100)