# MAT181 Programming For Scientific Applications [Pengaturcaraan Untuk Penggunaan Sains]

Size: px
Start display at page:

Transcription

1 UNIVERSITI SAINS MALAYSIA Second Semester Examination 016/017 Academic Session June 017 MAT181 Programming For Scientific Applications [Pengaturcaraan Untuk Penggunaan Sains] Duration : 3 hours [Masa : 3 jam] Please check that this examination paper consists of EIGHT pages of printed material before you begin the examination. [Sila pastikan bahawa kertas peperiksaan ini mengandungi LAPAN muka surat yang bercetak sebelum anda memulakan peperiksaan ini.] Instructions: Answer all FOUR (4) questions. All answers must be written on the answer script papers provided. [Arahan: Jawab semua EMPAT (4) soalan. Semua jawapan mestilah dituliskan pada kertas skrip jawapan yang disediakan.] 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 Question (a) Write the following algebraic expressions as C++ assignment statements. Assume that all variables are declared correctly and necessary header files are already included. a (i) A a/ 4.5 b5.0 (ii) w 5 4ac z x y x y (b) Given the following declarations: int a, b, c; double d, e, f, g, x, y, z; and the current values of each variable are as follows: a = -10,b = 5,c = 3,d=5.5,e=3.75,f=14.8, g=1.0; x =.3, y = 8.5, z = 1.6; What is the output of each of the following statements in the ordering as shown? cout << (a%(int)e - f ); cout << endl << (pow (d, c%abs(a++))); cout << endl << (a/b + 1/c); cout << endl << (g += 1.5 * g); cout << endl << (z < y+x z - 15 < x*y); (c) Combine the following four if statements to produce only ONE nested if else statement without compound conditions (i.e. conditions without the && operator) if ((ch == 'F') && (pay > 1000)) x + = 1; if ((ch == 'F') && (pay <= 1000)) x + = ; if ((ch == 'M') && (pay > 1000)) x + = 3; if ((ch == 'M') && (pay <= 1000)) x + = 5; (d) Refer to the following program segment for parts (i), (ii) and (iii). : #define SIZE 100 void main() { int V[SIZE]; void Read_in(...); void Sort(...); void Repeating(...); // For question (1)(d)(i) // For question (1)(d)(ii) // For question (1)(d)(iii)...3/-

3 - 3 - } Read_in(...); Sort(...); Repeating(...); // function definitions : (i) (ii) Write the function definition Read_in which reads in 100 values to the array V[] from a text file called input.txt. The file needs to be processed according to the complete file processing steps; declaration of file, opening of file, verification of file, closing of file, etc. must be within this function. Write the function definition Sort which sorts V[] according to the bubble sort algorithm and prints the sorted values on the screen in descending order. (iii) Write the function definition Repeating which determines whether there are repeated values in the array. If there are, the function should return the value 1. If not, the function should return the value 0. This value should be returned via reference parameter. The execution of this function should be terminated when the first repeated value is encountered. Soalan 1 (a) Tulis ungkapan-ungkapan aljabar berikut sebagai pernyataan umpukan C++. Anggapkan semua pembolehubah telah diisytiharkan dengan betul dan semua fail pengepala yang diperlukan telahpun disertakan. a i. A a/ 4.5 b5.0 ii. w 5 4ac z x y x y (b) Diberi pengisytiharan-pengisytiharan berikut: int a, b, c; double d, e, f, g, x, y, z; dan nilai-nilai terkini bagi setiap pembolehubah adalah seperti berikut: a = -10,b = 5,c = 3,d=5.5,e=3.75,f=14.8, g=1.0; x =.3, y = 8.5, z = 1.6; Apakah output bagi setiap pernyataan berikut mengikut tertib yang ditunjukkan? cout << (a%(int)e - f ); cout << endl << (pow (d, c%abs(a++))); cout << endl << (a/b + 1/c); cout << endl << (g += 1.5 * g); cout << endl << (z < y+x z - 15 < x*y);...4/-

4 (c) Gabungkan empat pernyataan if berikut untuk menghasilkan hanya SATU pernyataan if else tersarang tanpa syarat-syarat kompaun (i.e. syarat-syarat tanpa operator &&) if ((ch == 'F') && (pay > 1000)) x + = 1; if ((ch == 'F') && (pay <= 1000)) x + = ; if ((ch == 'M') && (pay > 1000)) x + = 3; if ((ch == 'M') && (pay <= 1000)) x + = 5; (d) Rujuk kepada segmen program berikut bagi bahagian (i), (ii) dan (iii). : #define SIZE 100 void main() { int V[SIZE]; void Read_in(...); void Sort(...); void Repeating(...); // Bagi soalan (1)(d)(i) // Bagi soalan (1)(d)(ii) // Bagi soalan (1)(d)(iii) } Read_in(...); Sort(...); Repeating(...); // definisi fungsi : (i) (ii) Tulis definisi fungsi Read_in yang membaca 100 nilai kepada tatasusunan V[] dari satu fail teks bernama input.txt. Fail ini perlu diproses mengikut langkah-langkah pemprosesan fail lengkap; pengisytiharan fail, pembukaan fail, pengesahan fail, penutupan fail, dsb, perlu dibuat dalam fungsi ini. Tulis definisi fungsi Sort yang mengisih V[] mengikut algoritma isih buih dan mencetak nilai-nilai diisih itu pada skrin dalam tertib menurun. (iii) Tulis definisi fungsi Repeating yang menentukan sama ada terdapat nilainilai berulang dalam tatasusunan tersebut. Sekiranya ada, fungsi ini perlu mengembalikan nilai 1. Sekiranya tiada, fungsi ini perlu mengembalikan nilai 0. Nilai ini perlulah dikembalikan melalui parameter rujukan. Pelaksanaan fungsi ini perlu dihentikan apabila nilai berulang pertama ditemui. Question Write a complete C++ program to compute the value p m i1 i n j j....5/-

6 - 6 - Based on these statements, state whether the following expressions are TRUE, FALSE or ILLEGAL. Assume that the starting address of array iarray[] is 00AFE0, and the data of type int occupies 4 bytes of memory space. (i) num == *ptr_num (ii) num == &ptr_num (iii) ptr_num == *num (iv) ptr_i == &iarray[0] (v) iarray[4] == ptr_i + (vi) (ptr_i + 1)== 00AFEC (vii) &*ptr_i == 00AFE8 (viii) &ptr_num == &num (ix) *(iarray + 4) == *ptr_i + (x) *(ptr_i + 1)== -10 (b) A record of 50 students consists of the following information: matric number (6 digits) name (maximum 0 characters) gender ( F or M ) CGPA (e.g..0, 3.5, etc.) marks (e.g. 34.4, 78.6, etc.) Write a C++ declaration of an array of structure for the above record. In addition, write a C++ program segment which initializes all the students marks to 0.0. (c) Consider a two dimensional array which is declared as follows: int Matrix[5][6]; Write a nested for loop that will assign the elements in the array Matrix[][] in the position as displayed in the following rows and columns: (d) What will be printed by the following statement? char char1[0] = "PRST"; char char[10]; char char3[10] = "UVW"; double P = ; double Q = ; strcat_s(char1,char3); strncpy_s(char, char1, 6);...7/-

7 - 7 - cout << setiosflags(ios::left) << setiosflags(ios::fixed)<< setw(10)<< setprecision(4) << setfill('*') << P << setw(10) << char << resetiosflags(ios::left) << setw(1) << Q; Soalan 3 (a) Pertimbangkan pernyataan-pernyataan pengisytiharan dan umpukan berikut: int num=100, iarray[6]={10,15,30,-10,-15,-30}; int *ptr_num, *ptr_i; ptr_i = iarray + ; ptr_num = &num; Berdasarkan pernyataan-pernyataan ini, nyatakan sama ada ungkapan-ungkapan berikut adalah BENAR, SALAH atau TIDAK SAH. Anggapkan alamat mula bagi tatasusunan iarray[] adalah 00AFE0, dan data berjenis int mengisi 4 bait ruang ingatan. (i) num == *ptr_num (ii) num == &ptr_num (iii) ptr_num == *num (iv) ptr_i == &iarray[0] (v) iarray[4] == ptr_i + (vi) (ptr_i + 1)== 00AFEC (vii) &*ptr_i == 00AFE8 (viii) &ptr_num == &num (ix) *(iarray + 4) == *ptr_i + (x) *(ptr_i + 1)== -10 (b) Satu rekod 50 orang pelajar mengandungi maklumat berikut: - nombor matrik (6 digit) - nama (maksimum 0 aksara) - jantina ( F atau M ) - PNGK (e.g..0, 3.5, dsb.) - markah (e.g. 34.4, 78.6, dsb.) Tulis satu pengisytiharan C++ untuk satu tatasusunan struktur bagi rekod di atas. Secara tambahan, tulis satu segmen program C++ yang menilai awalkan semua markah pelajar kepada 0.0. (c) Pertimbangkan tatasusunan dua dimensi yang diisytiharkan seperti berikut: int Matrix[5][6];...8/-

8 - 8 - Tulis satu gelung for tersarang yang akan mengumpukkan elemen-elemen dalam tatasusunan Matrix[][] pada posisi seperti yang paparkan dalam baris dan lajur berikut: (d) Apakah yang akan dicetak oleh segmen berikut? char char1[0] = "PRST"; char char[10]; char char3[10] = "UVW"; double P = ; double Q = ; strcat_s(char1,char3); strncpy_s(char, char1, 6); cout << setiosflags(ios::left) << setiosflags(ios::fixed)<< setw(10)<< setprecision(4) << setfill('*') << P << setw(10) << char << resetiosflags(ios::left) << setw(1) << Q; Question 4 Write a C++ program to enter any positive integer and check whether the number is a Strong number or not. A Strong number is a number whose sum of factorial of digits is equal to the original number. For example, 145 is a Strong number since 1! + 4! + 5! = 145 Examples of Strong numbers: 1,, 145, Soalan 4 Tulis satu program C++ untuk memasukkan sebarang integer positif dan semak sama ada nombor tersebut satu nombor Strong atau tidak. Nombor Strong ialah nombor yang hasiltambah tertisi digitnya bersamaan dengan nombor yang asal. Contohnya, 145 ialah nombor Strong kerana 1! + 4! + 5! = 145 Contoh nombor-nombor Strong: 1,, 145, ooo 0 ooo - (100 marks) (100 markah)...9/-

### MAT 181 Programming For Scientific Applications [Pengaturcaraan Untuk Penggunaan Sains]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2015/2016 Academic Session December 2015/January 2016 MAT 181 Programming For Scientific Applications [Pengaturcaraan Untuk Penggunaan Sains] Duration

### UNIVERSITI SAINS MALAYSIA. CPT113 Programming Methodology & Data Structures [Metodologi Pengaturcaraan & Struktur Data]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2016/2017 Academic Session December 2016 / January 2017 CPT113 Programming Methodology & Data Structures [Metodologi Pengaturcaraan & Struktur Data]

### MAT 181 Programming for Scientific Applications [Pengaturcaraan untuk Penggunaan Sains]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2015/2016 Academic Session June 2016 MAT 181 Programming for Scientific Applications [Pengaturcaraan untuk Penggunaan Sains] Duration 3 hours [Masa

### UNIVERSITI SAINS MALAYSIA. CPT111/CPM111 Principles of Programming [Prinsip Pengaturcaraan]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2014/2015 Academic Session June 2015 CPT111/CPM111 Principles of Programming [Prinsip Pengaturcaraan] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS

### MAT 181 Programming For Scientific Applications [Pengaturcaraan Untuk Penggunaan Sains]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2009/2010 Academic Session April/May 2010 MAT 181 Programming For Scientific Applications [Pengaturcaraan Untuk Penggunaan Sains] Duration : 3 hours

### INSTRUCTION: This section consists of FOUR (4) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi EMPAT (4) soalan. Jawab SEMUA soalan.

SECTION B: 70 MARKS BAHAGIAN B: 70 MARKAH INSTRUCTION: This section consists of FOUR (4) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi EMPAT (4) soalan. Jawab SEMUA soalan. QUESTION

### UNIVERSITI SAINS MALAYSIA

UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik 2004/2005 Oktober 2004 CPT103/CPM211- Struktur Data & Paradigma Pengaturcaraan Masa : 2 jam ARAHAN KEPADA CALON : Sila pastikan bahawa

### UNIVERSITI SAINS MALAYSIA. CPT111 Principles of Programming [Prinsip Pengaturcaraan]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2014/2015 Academic Session December 2014/January 2015 CPT111 Principles of Programming [Prinsip Pengaturcaraan] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS

### MSS 317 Coding Theory [Teori Pengekodan]

` UNIVERSITI SAINS MALAYSIA First Semester Examination 01/01 Academic Session January 01 MSS 17 Coding Theory [Teori Pengekodan] Duration : hours [Masa : jam] Please check that this examination paper consists

### MAT 181 Programming For Scientific Applications [Pengaturcaraan Untuk Penggunaan Sains]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2009/2010 Academic Session November 2009 MAT 181 Programming For Scientific Applications [Pengaturcaraan Untuk Penggunaan Sains] Duration : 3 hours

### CPT111/CPM111 Principles of Programming [Prinsip Pengaturcaraan]

Second Semester Examination 2016/2017 Academic Session June 2017 CPT111/CPM111 Principles of Programming [Prinsip Pengaturcaraan] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS TO CANDIDATE: [ARAHAN KEPADA

### UNIVERSITI SAINS MALAYSIA. CST333 Distributed & Grid Computing [Perkomputeran Teragih & Grid]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2014/2015 Academic Session December 2014/January 2015 CST333 Distributed & Grid Computing [Perkomputeran Teragih & Grid] Duration : 2 hours [Masa :

### UNIVERSITI SAINS MALAYSIA. CST232 Operating Systems [Sistem Pengendalian]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2014/2015 Academic Session December 2014/January 2015 CST232 Operating Systems [Sistem Pengendalian] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS

### UNIVERSITI SAINS MALAYSIA. CMT322/CMM323 Web Engineering & Technologies [Kejuruteraan & Teknologi Web]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2014/2015 Academic Session December 2014/January 2015 CMT322/CMM323 Web Engineering & Technologies [Kejuruteraan & Teknologi Web] Duration : 2 hours

### UNIVERSITI SAINS MALAYSIA. CPT211-CPM313 Programming Language Concepts & Paradigm [Konsep & Paradigma Bahasa Pengaturcaraan]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2015/2016 Academic Session June 2016 CPT211-CPM313 Programming Language Concepts & Paradigm [Konsep & Paradigma Bahasa Pengaturcaraan] Duration : 2

### INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions.

SECTION B : 55 MARKS BAHAGIAN B : 55 MARKAH INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi DUA (2) soalan berstruktur. Jawab

### UNIVERSITI SAINS MALAYSIA. CCS521 Advanced Distributed Systems Concepts and Design [Konsep dan Reka Bentuk Sistem Teragih Maju]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2011/2012 Academic Session January 2012 CCS521 Advanced Distributed Systems Concepts and Design [Konsep dan Reka Bentuk Sistem Teragih Maju] Duration

### UNIVERSITI SAINS MALAYSIA. CST332 Internet Protocols. Architecture & Routing [Protokol, Seni Bina & Penghalaan Internet]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2016/2017 Academic Session December 2016 / January 2017 CST332 Internet Protocols. Architecture & Routing [Protokol, Seni Bina & Penghalaan Internet]

### UNIVERSITI SAINS MALAYSIA. CST131 Computer Organisation [Organisasi Komputer]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2015/2016 Academic Session December 2015/January 2016 CST131 Computer Organisation [Organisasi Komputer] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS

### UNIVERSITI SAINS MALAYSIA. CST331 Principles of Parallel & Distributed Programming [Prinsip Pengaturcaraan Selari & Teragih]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2011/2012 Academic Session January 2012 CST331 Principles of Parallel & Distributed Programming [Prinsip Pengaturcaraan Selari & Teragih] Duration :

### UNIVERSITI SAINS MALAYSIA. CPT103/ CPM211 Struktur Data & Paradigma Pengaturcaraan

UNIVERSITI SAINS MALAYSIA Peperiksaan Kursus Semasa Cuti Panjang Sidang Akademik 2001/2002 April 2002 CPT103/ CPM211 Struktur Data & Paradigma Pengaturcaraan Masa : 3 jam ARAHAN KEPADA CALON: Sila pastikan

### UNIVERSITI SAINS MALAYSIA. CPT344 Computer Vision & Image Processing [Penglihatan Komputer & Pemprosesan Imej]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2014/2015 Academic Session December 2014/January 2015 CPT344 Computer Vision & Image Processing [Penglihatan Komputer & Pemprosesan Imej] Duration :

### UNIVERSITI SAINS MALAYSIA. CST131 Computer Organisation [Organisasi Komputer]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2014/2015 Academic Session December 2014/January 2015 CST131 Computer Organisation [Organisasi Komputer] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS

### UNIVERSITI SAINS MALAYSIA. CST331 Principles of Parallel & Distributed Programming [Prinsip Pengaturcaraan Selari & Teragih]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2015/2016 Academic Session December 2015/January 2016 CST331 Principles of Parallel & Distributed Programming [Prinsip Pengaturcaraan Selari & Teragih]

### MSS 318 Discrete Mathematics [Matematik Diskret]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2009/2010 Academic Session April/May 2010 MSS 318 Discrete Mathematics [Matematik Diskret] Duration : 3 hours [Masa : 3 jam] Please check that this

### UNIVERSITI SAINS MALAYSIA. CCS522 Advanced Data Communication & Computer Networks [Rangkaian Komputer & Komunikasi Data Lanjutan]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2015/2016 Academic Session December 2015/January 2016 CCS522 Advanced Data Communication & Computer Networks [Rangkaian Komputer & Komunikasi Data Lanjutan]

### UNIVERSITI SAINS MALAYSIA. CST131 Computer Organisation [Organisasi Komputer]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2016/2017 Academic Session December 2016 / January 2017 CST131 Computer Organisation [Organisasi Komputer] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS

### ...a- JEE ELEKTRONIK DIGIT II. UNlVERSlTl SAINS MALAYSIA. Peperiksaan Semester Kedua Sidang Akademik FebruarVMac 2003.

UNlVERSlTl SAINS MALAYSIA Peperiksaan Semester Kedua Sidang Akademik 200212003 FebruarVMac 2003 JEE 230 - ELEKTRONIK DIGIT II Masa : 3 jam ARAHAN KEPADA CALON: Sila pastikan bahawa kertas peperiksaan ini

### UNIVERSITI SAINS MALAYSIA. CPT101 Prinsip-Prinsip Pengaturcaraan

UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik 2003/2004 September/Oktober 2003 CPT101 Prinsip-Prinsip Pengaturcaraan Masa : 3 jam ARAHAN KEPADA CALON: Sila pastikan bahawa kertas

### COMBINING TABLES. Akademi Audit Negara. CAATs ASAS ACL / 1

COMBINING TABLES CAATs ASAS ACL / 1 OBJEKTIF MODUL Mempelajari kaedah menggabung dan menghubungkan dua atau lebih table bagi mencapai objektif Audit. Mempelajari kaedah menggunakan maklumat yang sedia

### UNIVERSITI SAINS MALAYSIA. CPT101 Prinsip-Prinsip Pengaturcaraan

UNIVERSITI SAINS MALAYSIA Peperiksaan Kursus Semasa Cuti Panjang Sidang Akademik 2001/2002 April 2002 CPT101 Prinsip-Prinsip Pengaturcaraan Masa : 3 jam ARAHAN KEPADA CALON: Sila pastikan bahawa kertas

### UNIVERSITI SAINS MALAYSIA. Peperiksaan Semester Pertama Sidang Akademik 2003/2004. September/Oktober 2003

UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik 2003/2004 September/Oktober 2003 EEE 348E - PENGANTAR REKABENTUK LITAR BERSEPADU Masa: 3jam ARAHAN KEPADA CALON: Sila pastikan bahawa

### UNIVERSITI SAINS MALAYSIA. CPT103 Struktur Data & Paradigma Pengaturcaraan

UNIVERSITI SAINS MALAYSIA Peperiksaan Kursus Semasa Cuti Panjang Sidang Akademik 2002/2003 April 2003 CPT103 Struktur Data & Paradigma Pengaturcaraan Masa : 3 jam ARAHAN KEPADA CALON: Sila pastikan bahawa

### UNIVERSITI SAINS MALAYSIA. CCS522 Advanced Data Communication and Computer Networks [Rangkaian Komputer dan Komunikasi Data Lanjutan]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2014/2015 Academic Session December 2014/January 2015 CCS522 Advanced Data Communication and Computer Networks [Rangkaian Komputer dan Komunikasi Data

### EEE 428 SISTEM KOMPUTER

UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik 2007/2008 Oktober/November 2007 EEE 428 SISTEM KOMPUTER Masa : 3 jam ARAHAN KEPADA CALON: Sila pastikan bahawa kertas peperiksaan

### CPT211/CPM313 Programming Language Concepts & Paradigms [Konsep & Paradigma Bahasa Pengaturcaraan]

Second Semester Examination 2016/2017 Academic Session June 2017 CPT211/CPM313 Programming Language Concepts & Paradigms [Konsep & Paradigma Bahasa Pengaturcaraan] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS

### UNIVERSITI SAINS MALAYSIA. CPT101 Prinsip-Prinsip Pengaturcaraan

UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik 2004/2005 Oktober 2004 CPT101 Prinsip-Prinsip Pengaturcaraan Masa : 2 jam ARAHAN KEPADA CALON: Sila pastikan bahawa kertas peperiksaan

### EEE 348 PENGANTAR REKABENTUK LITAR BERSEPADU

UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik 2007/2008 Oktober/November 2007 EEE 348 PENGANTAR REKABENTUK LITAR BERSEPADU Masa : 3 Jam Sila pastikan kertas peperiksaan ini mengandungi

### ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11

ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11 PENILAIAN & KULIAH Kuliah Tugasan Ujian Teori Ujian Amali Isi kandungan 4.8 Menunjukkan asas pengiraan o Subnet Mask o

### CPT212 Design & Analysis of Algorithms [Reka Bentuk & Analisis Algoritma]

Second Semester Examination 2016/2017 Academic Session June 2017 CPT212 Design & Analysis of Algorithms [Reka Bentuk & Analisis Algoritma] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS TO CANDIDATE: [ARAHAN

### UNIVERSITI MALAYSIA PERLIS. DNT 126 Basic Computer Programming [Asas Pengaturcaraan Komputer]

UNIVERSITI MALAYSIA PERLIS Peperiksaan Semester Kedua Sidang Akademik 2015/2016 March 2016 DNT 126 Basic Computer Programming [Asas Pengaturcaraan Komputer] Masa: 3 jam Please make sure that this question

### UNIVERSITI SAINS MALAYSIA. CPT103/CPM211 Struktur Data & Paradigma Pengaturcaraan

UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik 2001/2002 September 2001 CPT103/CPM211 Struktur Data & Paradigma Pengaturcaraan Masa : 3 jam ARAHAN KEPADA CALON: Sila pastikan bahawa

### PART A SULIT (EKT 221) BAHAGIAN A. Answer ALL questions. Question 1. a) Briefly explain the concept of Clock Gating.

PART A BAHAGIAN A Answer ALL questions. Jawab SEMUA soalan. Question Soalan a) Briefly explain the concept of Clock Gating. [Terangkan secara ringkas konsep Selakan Denyut.] [2 Marks/Markah] b) Define

### BORANG PENCALONAN HADIAH UNIVERSITI NOMINATION FORM FOR UNIVERSITY AWARD

BORANG PENCALONAN HADIAH UNIVERSITI NOMINATION FORM FOR UNIVERSITY AWARD PERIHAL HADIAH DESCRIPTION OF AWARD Nama Hadiah (Name of Award) Spesifikasi Hadiah (Specification of Award) Syarat Kurniaan (Condition

### INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions.

SECTION B: 55 MARKS BAHAGIAN B: 55 MARKAH INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi DUA (2) soalan berstruktur. Jawab SEMUA

### UNIVERSITI SAINS MALAYSIA. CMT422 Multimedia Information Systems & Management [Sistem & Pengurusan Maklumat Multimedia]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2014/2015 Academic Session June 2015 CMT422 Multimedia Information Systems & Management [Sistem & Pengurusan Maklumat Multimedia] Duration : 2 hours

### PANDUAN PENGGUNA (SUPPLIER) e-purchase ORDER FOR SERVICES

PANDUAN PENGGUNA (SUPPLIER) e-purchase ORDER FOR SERVICES SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) DISEDIAKAN OLEH: UNIT SUPPLY CHAIN MANAGEMENT (SCM) JABATAN SOURCING CONTROLLER

### UNIVERSITI SAINS MALAYSIA. CST334 Network Monitoring & Security [Pengawasan & Keselamatan Rangkaian]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2014/2015 Academic Session December 2014/January 2015 CST334 Network Monitoring & Security [Pengawasan & Keselamatan Rangkaian] Duration : 2 hours [Masa

### INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions.

SECTION A: 60 MARKS BAHAGIAN A: 60 MARKAH INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi EMPAT (4) soalan berstruktur. Jawab

### MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

STUDENT IDENTIFICATION NO MULTIMEDIA COLLEGE JALAN GURNEY KIRI 54100 KUALA LUMPUR FIRST TRIMESTER FINAL EXAMINATION, 2013 SESSION PSD2133 INTRODUCTION TO PROGRAMMING 1 DSEW-E-F-1/13, DMTW-E-F-1/12 24 SEPTEMBER

### INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions.

SECTION B : 55 MARKS BAHAGIAN B : 55 MARKAH INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi TWO (2) soalan berstruktur. Jawab

### Panduan Pengguna Autodesk Education Community

Panduan Pengguna Autodesk Education Community ISI KANDUNGAN 1. Mendaftar Akaun Autodesk Education bagi Pelajar, Kakitangan dan Institusi Akademik...1 2. Muat Turun Perisian dan Lesen Autodesk Education

### UNIVERSITI MALAYSIA PERLIS. EKT 120 Pengaturcaraan Komputer [Computer Programming]

UNIVERSITI MALAYSIA PERLIS Peperiksaan Akhir Semester Pertama Sidang Akademik 2016/2017 Disember 2016 dan Januari 2017 EKT 120 Pengaturcaraan Komputer [Computer Programming] Masa : 3 jam Please make sure

### INSTRUCTION: This section consists of TWO (2) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi DUA (2) soalan. Jawab SEMUA soalan.

SECTION B: 55 MARKS BAHAGIAN B: 55 MARKAH INSTRUCTION: This section consists of TWO (2) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi DUA (2) soalan. Jawab SEMUA soalan. QUESTION 1

### EEE348 INTRODUCTION TO INTEGRATED CIRCUIT DESIGN (PENGANTAR REKABENTUK LITAR BERSEPADU)

Second Semester Examination 2017/2018 Academic Session May/June 2018 INTRODUCTION TO INTEGRATED CIRCUIT DESIGN (PENGANTAR REKABENTUK LITAR BERSEPADU) Duration : 3 hours (Masa : 3 jam) Please ensure that

### MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

STUDENT IDENTIFICATION NO MULTIMEDIA COLLEGE JALAN GURNEY KIRI 54100 KUALA LUMPUR THIRD, FOURTH, EIGHTH TRIMESTER FINAL EXAMINATION, 2013 SESSION MMD2193 MULTIMEDIA AUTHORING I DMTW-E-F-2/12, DMTW-E-F-1/12,

### Pengenalan Sistem Maklumat Dalam Pendidikan

Pengenalan Sistem Maklumat Dalam Pendidikan 1 RELATIONSHIP & QUERY DALAM MICROSOFT ACCESS Kandungan Definisi Relationship (Hubungan) Jenis Relationship Membina Relationship Definisi Query dan Fungsi Query

### KOLEJ MULTIMEDIA JALAN GURNEY KIRI KUALA LUMPUR

KOLEJ MULTIMEDIA JALAN GURNEY KIRI 54100 KUALA LUMPUR SECOND SEMESTER EXAMINATION, 2010/ 2011 SESSION PSD 2143 INTRODUCTION TO PROGRAMMING II NOR QUSIAH ABDUL RAZAK / ZAKRI MD SALLEH / AZNANI DAUD INSTRUCTION

### CREATING USER ID AND PASSWORD : NOTA PENTING NOTA PENTING SEBELUM MEMULAKAN PROSES CREATE USER ID & PASSWORD

CREATING USER ID AND PASSWORD : NOTA PENTING NOTA PENTING SEBELUM MEMULAKAN PROSES CREATE USER ID & PASSWORD Sebelum meneruskan proses untuk Create User ID & Password sila pastikan anda menggunakan Internet

### INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions.

SECTION B : 60 MARKS BAHAGIAN B : 60 MARKAH INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi EMPAT (4) soalan berstruktur. Jawab

### PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS)

PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) DISEDIAKAN OLEH: SUPPLY CHAIN MANAGEMENT (SCM) BAHAGIAN ICT PROCESS

### PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS)

PANDUAN PENGGUNA (SUPPLIER) MAINTAIN CERTIFICATES/SUPPLIER DETAILS SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) DISEDIAKAN OLEH: SUPPLY CHAIN MANAGEMENT (SCM) BAHAGIAN ICT PROCESS

### FIRST TIME LOGIN & SELF REGISTRATION USER GUIDE LOG MASUK KALI PERTAMA & PENDAFTARAN SENDIRI PANDUAN PENGGUNA

FIRST TIME LOGIN & SELF REGISTRATION USER GUIDE LOG MASUK KALI PERTAMA & PENDAFTARAN SENDIRI PANDUAN PENGGUNA Getting Started Step by Step Guide to Supplier First Time Login and Self Registration Persediaan

### MANAGE COURSE RESOURCES LABEL TEXT PAGE URL BOOK FILE FOLDER IMS CONTENT PACKAGE

MANAGE COURSE RESOURCES LABEL TEXT PAGE URL BOOK FILE FOLDER IMS CONTENT PACKAGE Edit summary Edit tajuk Ke kanan Ke atas/bawah NOTA: Klik untuk sembunyikan isi kandungan. Klik untuk padam/menghapus isi

### EEM 312 ROBOTIK & PENGLIHATAN MESIN

UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik 2009/2010 April 2010 EEM 312 ROBOTIK & PENGLIHATAN MESIN Masa : 3 jam ARAHAN KEPADA CALON: Sila pastikan bahawa kertas peperiksaan

### UNIVERSITI SAINS MALAYSIA. CST234 Network Programming [Pengaturcaraan Rangkaian]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2015/2016 Academic Session June 2016 CST234 Network Programming [Pengaturcaraan Rangkaian] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS TO CANDIDATE:

### CCS592 Advanced Algorithms and Complexity [Algoritma Lanjutan & Kekompleksan]

Second Semester Examination 2016/2017 Academic Session June 2017 CCS592 Advanced Algorithms and Complexity [Algoritma Lanutan & Kekompleksan] Duration : 2 hours [Masa : 2 am] INSTRUCTIONS TO CANDIDATE:

### UNIVERSITI SAINS MALAYSIA. CPT113/CPM213 Programming Methodology & Data Structures [Metodologi Pengaturcaraan & Struktur Data]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2014/2015 Academic Session June 2015 CPT113/CPM213 Programming Methodology & Data Structures [Metodologi Pengaturcaraan & Struktur Data] Duration :

### UNIVERSITI SAINS MALAYSIA. CCS513 Computer Vision and Image Analysis [Penglihatan Komputer dan Analisis Imej]

UNIVERSITI SAINS MALAYSIA First Semester Examination 204/205 Academic Session December 204/January 205 CCS53 Computer Vision and Image Analysis [Penglihatan Komputer dan Analisis Ime] Duration : 2 hours

### Lab 4 : Sorting Techniques

Lab 4 : Sorting Techniques Objectives Write source codes for the implementation of simple sort algorithms : Bubble Sort, Insertion Sort and Selection Sort. [Tulis aturcara dengan melaksanakan isihan mudah

### INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions.

SECTION B : 55 MARKS BAHAGIAN B : 55 MARKAH INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi DUA (2) soalan berstruktur. Jawab

### Panduan Menggunakan Autoresponder FreeAutobot.com

Panduan Menggunakan Autoresponder FreeAutobot.com Dengan memperolehi e-book ini, anda mempunyai kebenaran untuk memberi secara percuma kepada pelanggan anda atau tawarkan sebagai bonus kepada pembelian

### UNIVERSITI SAINS MALAYSIA. CST432 Microprocessors & Embedded Systems [Mikropemproses & Sistem Terbenam]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2015/2016 Academic Session June 2016 CST432 Microprocessors & Embedded Systems [Mikropemproses & Sistem Terbenam] Duration : 2 hours [Masa : 2 jam]

### UNIVERSITI SAINS MALAYSIA. CMT324 Computer Graphics & Visual Computing [Grafik Komputer & Perkomputeran Visual]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2015/2016 Academic Session December 2015/January 2016 CMT324 Computer Graphics & Visual Computing [Grafik Komputer & Perkomputeran Visual] Duration

### MICROSOFT EXCEL. Membina Hamparan Elektronik Fungsi Hamparan Elektronik

MICROSOFT EXCEL Membina Hamparan Elektronik Fungsi Hamparan Elektronik Microsoft Excel 2010 Kandungan Penggunaan Asas Excel Memformat Sel, Lembaran dan Buku Kerja (Work Book) Penggunaan Asas Excel Fail

### UNIVERSITI MALAYSIA PERLIS. EKT 120 Pengaturcaraan Komputer [Computer Programming]

UNIVERSITI MALAYSIA PERLIS Peperiksaan Semester Pertama Sidang Akademik 2015/2016 Januari 2016 EKT 120 Pengaturcaraan Komputer [Computer Programming] Masa : 3 jam Duration : 3 hours Please make sure that

### YAYASAN KUOK BERHAD Arahan Permohonan

YAYASAN KUOK BERHAD Arahan Permohonan (Klik sini untuk Application Instructions dalam Bahasa Inggeris) 1. Pendaftaran Akaun (Pemohon Baru) 2. Log Masuk 3. Permohonan Atas Talian & Penghantaran 4. Penghantaran

### MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

MULTIMEDIA COLLEGE JALAN GURNEY KIRI 54100 KUALA LUMPUR FIRST SEMESTER EXAMINATION, 2013 SESSION DMGW-E-F 3/12, DMGA-E-F 3/12, DMGQ-E-F 3/12, DMGS-E-F 3/12 ITC2093 OFFICE AUTOMATION ROZITA BINTI YAAKOB,

### UNIVERSITI SAINS MALAYSIA. CPT212 Design & Analysis of Algorithms [Reka Bentuk & Analisis Algoritma]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2015/2016 Academic Session June 2016 CPT212 Design & Analysis of Algorithms [Reka Bentuk & Analisis Algoritma] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS

### DOKUMEN TIDAK TERKAWAL

Halaman: 1/12 Tujuan : Arahan kerja ini adalah untuk menerangkan tatacara pendaftaran ID Pengguna di dalam Sistem Kewangan SAGA (Standard Accounting for Government Agencies) Universiti Putra Malaysia bagi

### UNIVERSITI SAINS MALAYSIA. CST231/CSM331 Data Communications & Networks [Komunikasi Data & Rangkaian]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2015/2016 Academic Session December 2015/January 2016 CST231/CSM331 Data Communications & Networks [Komunikasi Data & Rangkaian] Duration : 2 hours

### Manual Pengguna. PCN Online Service Fulfillment System

System 1 Subjek Muka Surat 1) CARTA ALIR SISTEM 2 2) PERMOHONAN OLEH AGENSI 3 3) PENGESAHAN PERMOHONAN OLEH MAMPU 8 4) LAMPIRAN 13 2 Carta alir sistem 3 PERMOHONAN OLEH AGENSI 4 Membuat permohonan baru

### UNIVERSITI SAINS MALAYSIA. CCS523 Computer Security & Cryptography [Keselamatan Komputer & Kriptografi]

UNIVERSITI SAINS MALAYSIA First Semester Examination 2016/2017 Academic Session December 2016 / January 2017 CCS523 Computer Security & Cryptography [Keselamatan Komputer & Kriptografi] Duration : 2 hours

### INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions.

SECTION B: 60 MARKS BAHAGIAN B: 60 MARKAH INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi EMPAT (4) soalan berstruktur. Jawab

### CST432 Microprocessors & Embedded Systems [Mikropemproses & Sistem Terbenam]

Second Semester Examination 2016/2017 Academic Session June 2017 CST432 Microprocessors & Embedded Systems [Mikropemproses & Sistem Terbenam] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS TO CANDIDATE:

### INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions.

SECTION B : 50 MARKS BAHAGIAN B : 50 MARKAH INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi DUA (2) soalan berstruktur. Jawab

### INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions.

SECTION B : 50 MARKS BAHAGIAN B : 50 MARKAH INSTRUCTION: This section consists of TWO (2) structured questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi DUA (2) soalan berstruktur. Jawab

### INSTRUCTION: This section consists of TWO (2) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi DUA (2) soalan. Jawab SEMUA soalan.

SECTION B: 55 MARKS BAHAGIAN B: 55 MARKAH INSTRUCTION: This section consists of TWO (2) questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi DUA (2) soalan. Jawab SEMUA soalan. QUESTION 1

### M2U MANUAL PENGGUNA USER MANUAL M2UNHJ. 0 P a g e BAHAGIAN SIMPANAN DAN PENGELUARAN JABATAN KHIDMAT PENDEPOSIT DAN OPERASI LEMBAGA TABUNG HAJI

M2U MANUAL PENGGUNA USER MANUAL M2UNHJ 0 P a g e BAHAGIAN SIMPANAN DAN PENGELUARAN JABATAN KHIDMAT PENDEPOSIT DAN OPERASI LEMBAGA TABUNG HAJI KANDUNGAN (TABLE OF CONTENTS) BIL PERKARA HALAMAN 1 TERMA DAN

### UNIVERSITI SAINS MALAYSIA. CMT224/CMM221 Multimedia Systems [Sistem Multimedia]

UNIVERSITI SAINS MALAYSIA Second Semester Examination 2015/2016 Academic Session June 2016 CMT224/CMM221 Multimedia Systems [Sistem Multimedia] Duration : 2 hours [Masa : 2 jam] INSTRUCTIONS TO CANDIDATE:

### Visitor Management System

WWW.VALLINME.COM Visitor Management System Ver 1.0 Mohd Noor Azam 18-03-2015 [Type the abstract of the document here. The abstract is typically a short summary of the contents of the document. Type the

### UNIVERSITI MALAYSIA SARAWAK KOTA SAMARAHAN SARAWAK

UNIVERSITI MALAYSIA SARAWAK 94300 KOTA SAMARAHAN SARAWAK FAKULTI SAINS KOMPUTER & TEKNOLOGI MAKLUMAT (Faculty of Computer Science & Information Technology) Diploma in Multimedia Technology EIGHT & TEN

### INSTRUCTION: This section consists of TEN (10) structured questions. Answer ALL questions.

SECTION B : 30 MARKS BAHAGIAN B : 30 MARKAH INSTRUCTION: This section consists of TEN (10) structured questions. Answer ALL questions. ARAHAN: Bahagian ini mengandungi SEPULUH (10) soalan berstruktur.

### PENGENALAN KEPADA ALGORITMA & STRUKTUR DATA

UNIT 1 PENGENALAN KEPADA ALGORITMA & STRUKTUR DATA Konsep Algoritma Struktur Data Dalam Pengaturcaraan Definisi Struktur Menyatakan Ahli Suatu Struktur Tatasusunan Struktur Struktur Bersarang 1.1 Konsep

### Panduan Guru Maker UNO/ Arduino

Panduan Guru Maker UNO/ Arduino Ditulis khas berdasarkan dokumen standard kandungan prestasi subjek Reka Bentuk Teknologi Tingkatan Dua PENDAHULUAN ISI KANDUNGAN ISI KANDUNGAN CADANGAN PENGAGIHAN MASA

### PANDUAN PENGGUNA (SUPPLIER) SINGLE ENVELOPE TENDER

PANDUAN PENGGUNA (SUPPLIER) SINGLE ENVELOPE TENDER SUPPLIER RELATIONSHIP MANAGEMENT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) DISEDIAKAN OLEH: UNIT SUPPLY CHAIN MANAGEMENT SYSTEM (SCMS) JABATAN SOURCING CONTROLLER