7/31/2009
09/10 ACADEMIC CALENDAR
Kalender Akademik untuk sesi 2009/2010 Semester 1,2 dan Pendek. Di sini adalah perkara-perkara yang perlu para pelajar ambil perhatian.
1. Mid-Semester Break : masa untuk para pelajar mengulangkaji bab-bab yang telah dipelajari. Pelajar-pelajar yang lemah seharusnya menggunakan masa ini sebaik mungkin.
2. Revision : masa untuk membuat persediaan menempuh peperiksaan akhir.
3.Final Examination : 2 minggu di peruntukan. Tidak menghadiri peperiksaan akhir akan menyebabkan para pelajar gagal untuk subjek tersebut, walaupun 'carry marks' sudah melepasi 40.
4. Vacation : Sebelum bercuti, elok sekiranya pelajar sahkan dengan pensyarah bahawa semua hutang-hutang akademik ( Kuiz, Tugasan, Test dsb) telah di terima oleh pensyarah.
5.Senate Meeting : Sekiranya terdapat kesilapan pensyarah dalam memberi markah terhadap pelajar, ia perlu di perbetulkan sebelum mesyuarat senat. Senat adalah pemutus untuk 'result' anda (pelajar).
Klik di sini untuk Kalender Akademik
7/30/2009
Penipuan Kedai Baikpulih Komputer
Hati-hati memilih kedai baikpulih komputer, kerana mungkin tidak semuanya jujur kepada kita. Satu tinjaun telah di buat di UK bagi menguji kejujuran pihak kedai.
Cara Menguji
Satu komputer telah dirosakkan dengan sengaja (dengan melonggarkan Cip Ingatan Utama (RAM)) oleh pemilik dan di hantar kepada kedai, di dalam komputer tersebut juga telah di masukkan program yang boleh merekodkan setiap aktiviti yang berlaku keatas komputer berkenaan seperti program apa yang di buka, fail apa yang di salin.
Kejujuran Kedai Servis
Hanya 1 kedai secara jujur memberitahu bahawa komputer pelanggannya hanya mengalami masalah kecil dan di baiki tanpa bayaran.
Hampir lima (5) kedai membuat penipuan seperti memaklumkan bahawa Papan Ibu (motherboard) perlu di tukar (RM 200 - RM 600), membuka dan menyalin fail sulit pelanggan, mencari data bank dan sebagainya.
Saranan
Bila PC anda mengalami kerosakan, tanyalah rakan-rakan sebelum menghantarnya ke kedai. Terdapat rakan-rakan pelajar anda yang mempunyai kemahiran dalam membaikpulih komputer atau sekurang-kurangnya menentukan komponen mana yang rosak. Biasanya masalah yang berkaitan dengan perisian dapat di selesaikan dengan mudah samada membuat 'installation' semula atau paling 'teruk' ialah format cakera keras (hard disk). Pastikan anda sentiasa membuat backup fail-fail penting.
Sumber
http://www.zaharuddin.net/content/view/854/72/
http://www.fivetvonline.tv/news.php?news=1846
Cara Menguji
Satu komputer telah dirosakkan dengan sengaja (dengan melonggarkan Cip Ingatan Utama (RAM)) oleh pemilik dan di hantar kepada kedai, di dalam komputer tersebut juga telah di masukkan program yang boleh merekodkan setiap aktiviti yang berlaku keatas komputer berkenaan seperti program apa yang di buka, fail apa yang di salin.
Kejujuran Kedai Servis
Hanya 1 kedai secara jujur memberitahu bahawa komputer pelanggannya hanya mengalami masalah kecil dan di baiki tanpa bayaran.
Hampir lima (5) kedai membuat penipuan seperti memaklumkan bahawa Papan Ibu (motherboard) perlu di tukar (RM 200 - RM 600), membuka dan menyalin fail sulit pelanggan, mencari data bank dan sebagainya.
Saranan
Bila PC anda mengalami kerosakan, tanyalah rakan-rakan sebelum menghantarnya ke kedai. Terdapat rakan-rakan pelajar anda yang mempunyai kemahiran dalam membaikpulih komputer atau sekurang-kurangnya menentukan komponen mana yang rosak. Biasanya masalah yang berkaitan dengan perisian dapat di selesaikan dengan mudah samada membuat 'installation' semula atau paling 'teruk' ialah format cakera keras (hard disk). Pastikan anda sentiasa membuat backup fail-fail penting.
Sumber
http://www.zaharuddin.net/content/view/854/72/
http://www.fivetvonline.tv/news.php?news=1846
7/28/2009
09/10 SEM 1 DCT1033 Slides/Notes
Students are advised to make a hardcopy (print) of the following teaching materials.
Title
1. Steps to run Microsoft Visual C++
2. Algorithma
2.1 Pseudocode
2.2 Flowchart
Sources: Lecturer's Note
Title
Chapter 0 : An Overview of Computers and Programming Languages
Chapter 1: Basic Elements of C++
Chapter 2: Input / Output
Chapter 3: Control Structures 1 (Selection)
Chapter 4: Control Structures 1 (Repetition)
Chapter 5: User Define Functions
Chapter 6: Arrays
Sources:Books: Introduction to C++ Programming, Brief Edition By D.S. Malik
Title
1. Steps to run Microsoft Visual C++
2. Algorithma
2.1 Pseudocode
2.2 Flowchart
Sources: Lecturer's Note
Title
Chapter 0 : An Overview of Computers and Programming Languages
Chapter 1: Basic Elements of C++
Chapter 2: Input / Output
Chapter 3: Control Structures 1 (Selection)
Chapter 4: Control Structures 1 (Repetition)
Chapter 5: User Define Functions
Chapter 6: Arrays
Sources:Books: Introduction to C++ Programming, Brief Edition By D.S. Malik
7/23/2009
Self Test :An Overview of Computers and Programming Languages
An Overview of Computers and Programming Languages
INSTRUCTIONS: Answer each question below. Click the 'Grade Test' button to receive a graded study guide. You will not get a grade until all questions are answered.
1. Devices that the computer uses to display results are called ____.
1. A: memory cells
2. B: output devices
3. C: input devices
4. D: registers
2.A hard disk is an example of ____.
1. A: temporary memory
2. B: secondary storage
3. C: main memory
4. D: cell storage
3 A ____ is a set of statements whose objective is to accomplish something.
1. A: function
2. B: mnemonic
3. C: loader
4. D: linker
4 A ____ is equivalent to 1,024 bytes.
1. A: terabyte
2. B: gigabyte
3. C: kilobyte
4. D: megabyte
5 The C++ statement,____, allows you to use the cout object and the endl manipulator.
1. A: return 0;
2. B: using namespace std;
3. C: int main()
4. D: #include
6 Devices that feed data and programs into computers are called ____.
1. A: memory cells
2. B: output devices
3. C: input devices
4. D: registers
7 ____ signals represent information with a sequence of 0s and 1s.
1. A: Source
2. B: Processor
3. C: Analog
4. D: Digital
8 A sequence of eight bits is called a(n) ____.
1. A: gigabyte
2. B: kilobyte
3. C: octabit
4. D: byte
9 ____ signals are continuous wave forms used to represent such things as sound.
1. A: Digital
2. B: Binary
3. C: Analog
4. D: Source
10 The C++ statement, ____, returns the value 0 to the operating system when the program terminates.
1. A: endl 0;
2. B: return 0;
3. C: cout << 0;
4. D: int main()
11 The ____ component of the CPU carries out all arithmetic and logical operations.
1. A: CU
2. B: ALU
3. C: IR
4. D: PC
12 A(n) ____ combines an object program with other programs in the SDK library.
1. A: assembler
2. B: compiler
3. C: linker
4. D: loader
13 The language of a computer is called ____.
1. A: source code
2. B: assembly language
3. C: system code
4. D: machine language
14 To store a character belonging to Unicode, you need ____ bytes.
1. A: one
2. B: two
3. C: seven
4. D: eight
15 The ____ component of the CPU points to the next instruction to be executed.
1. A: PC
2. B: IR
3. C: ALU
4. D: CU
16 The ____ component of the CPU holds the instruction currently being executed.
1. A: CU
2. B: ALU
3. C: PC
4. D: IR
17 Main memory is also referred to as ____.
1. A: RAM
2. B: ALU
3. C: CPU
4. D: IR
18 A(n) ____ loads an executable program into main memory for execution.
1. A: assembler
2. B: compiler
3. C: linker
4. D: loader
19 In C++, the stream insertion operator is ____.
1. A: //
2. B: ::
3. C: <<
4. D: ;
20 A(n) ____ is a unique location in main memory for each cell.
1. A: register
2. B: counter
3. C: signal
4. D: address
INSTRUCTIONS: Answer each question below. Click the 'Grade Test' button to receive a graded study guide. You will not get a grade until all questions are answered.
1. Devices that the computer uses to display results are called ____.
1. A: memory cells
2. B: output devices
3. C: input devices
4. D: registers
2.A hard disk is an example of ____.
1. A: temporary memory
2. B: secondary storage
3. C: main memory
4. D: cell storage
3 A ____ is a set of statements whose objective is to accomplish something.
1. A: function
2. B: mnemonic
3. C: loader
4. D: linker
4 A ____ is equivalent to 1,024 bytes.
1. A: terabyte
2. B: gigabyte
3. C: kilobyte
4. D: megabyte
5 The C++ statement,____, allows you to use the cout object and the endl manipulator.
1. A: return 0;
2. B: using namespace std;
3. C: int main()
4. D: #include
6 Devices that feed data and programs into computers are called ____.
1. A: memory cells
2. B: output devices
3. C: input devices
4. D: registers
7 ____ signals represent information with a sequence of 0s and 1s.
1. A: Source
2. B: Processor
3. C: Analog
4. D: Digital
8 A sequence of eight bits is called a(n) ____.
1. A: gigabyte
2. B: kilobyte
3. C: octabit
4. D: byte
9 ____ signals are continuous wave forms used to represent such things as sound.
1. A: Digital
2. B: Binary
3. C: Analog
4. D: Source
10 The C++ statement, ____, returns the value 0 to the operating system when the program terminates.
1. A: endl 0;
2. B: return 0;
3. C: cout << 0;
4. D: int main()
11 The ____ component of the CPU carries out all arithmetic and logical operations.
1. A: CU
2. B: ALU
3. C: IR
4. D: PC
12 A(n) ____ combines an object program with other programs in the SDK library.
1. A: assembler
2. B: compiler
3. C: linker
4. D: loader
13 The language of a computer is called ____.
1. A: source code
2. B: assembly language
3. C: system code
4. D: machine language
14 To store a character belonging to Unicode, you need ____ bytes.
1. A: one
2. B: two
3. C: seven
4. D: eight
15 The ____ component of the CPU points to the next instruction to be executed.
1. A: PC
2. B: IR
3. C: ALU
4. D: CU
16 The ____ component of the CPU holds the instruction currently being executed.
1. A: CU
2. B: ALU
3. C: PC
4. D: IR
17 Main memory is also referred to as ____.
1. A: RAM
2. B: ALU
3. C: CPU
4. D: IR
18 A(n) ____ loads an executable program into main memory for execution.
1. A: assembler
2. B: compiler
3. C: linker
4. D: loader
19 In C++, the stream insertion operator is ____.
1. A: //
2. B: ::
3. C: <<
4. D: ;
20 A(n) ____ is a unique location in main memory for each cell.
1. A: register
2. B: counter
3. C: signal
4. D: address
7/22/2009
Apakah dia Programming?
1. Apakah dia Programming?
Programming dalam bahasa melayu di sebut pengaturcaraan ialah proses 'bercakap' dengan komputer.
2. Bolehkan bercakap dengan komputer?
Anda bercakap dengan rakan dengan menggunakan bahasa melayu , inggeris atau lain-lainnya. Orang pekak pula bercakap menggunakan bahasa isyarat. Apa-apa saja bahasa boleh digunakan, asalkan boleh di fahami oleh penerimanya.
3. Bahasa apakah yang boleh di fahami oleh komputer?
Komputer adalah mesin yang hidup dengan kuasa elektrik. Kuasa elektrik pula hanyalah boleh berstatus on dan off. Jadi bahasa asal komputer hanyalah 1 dan 0 iaitu perwakilan kepada on dan off. Ia dikenali sebagai Bahasa Mesin (machine language).
4. Saya mengambil "subjek programming" menggunakan bahasa C++ di kolej, kenapa bukan Bahasa Mesin?
Anda perlu menulis kod seperti
00000101
00
101
bagi mempamirkan satu teks pada skrin bila menggunakan bahasa mesin
. Jika menggunakan bahasa C++ anda boleh menulis arahan seperti cout<<"Hai"; untuk papar teks 'Hai' pada skrin komputer. Arahan dalam C++ lebih mudah di fahami dan di ingati. 5.Bolehkan cout<<"Hai"; di fahami oleh komputer, padahal ia bukan bahasa mesin.?Ia memang tidak boleh di fahami oleh komputer, cout<<"Hai"; perlu di tukar (translate) kepada bahasa mesin.
6. Siapa yang akan tukar arahan cout<<"Hai"; kepada bahasa mesin?
Kita menulis cout<<"Hai"; menggunakan editor seperti Microsoft Visual C++. Dalam editor tersebut telah di sediakan 'translator'.
7. Selain Bahasa C++, apakah terdapat bahasa-bahasa lain?
Banyak, amat banyak dan macam-macam namanya. C++ itu sendiri bermula daripada bahasa yang di beri nama CPL (Combined Programming language) kemudian jadi BCPL (Basic Combined Programming Language) kemudian jadi B kemudian jadi C kemudian jadi C++. Daripada C++ jugak ia di kembang jadi java dan C#.
8. Bagaimana nak menguasai bahasa pengaturcaraan yang begitu banyak?
Anda tak perlu menguasai semua bahasa, yang paling penting ialah menguasai teknik penyelesaian masalah 'problem solving'.
9. Kenapa lari tajuk, daripada programming kepada problem solving?
Ok la.. penat dah nak jawap.. daftar je subjek BCS1214 atau DCT1083. Kat kelas kita cerita...ye..
7/21/2009
Slides/Notes BCS1214 Programming Techniques 1
Students are advised to make a hardcopy (print) of the following teaching materials.
Title
1. Steps to run Microsoft Visual C++
2. Algorithma
2.1 Pseudocode
2.2 Flowchart
Sources: Lecturer's Note
Title
Chapter 0 : An Overview of Computers and Programming Languages
Chapter 1: Basic Elements of C++
Chapter 2: Input / Output
Chapter 3: Control Structures 1 (Selection)
Chapter 4: Control Structures 1 (Repetition)
Chapter 5: User Define Functions
Chapter 6: Arrays
Chapter 9: Pointer
Sources:Books: Introduction to C++ Programming, Brief Edition By D.S. Malik
TitleFile Input/Output
Sources:C++ From the Ground UP
Title
1. Steps to run Microsoft Visual C++
2. Algorithma
2.1 Pseudocode
2.2 Flowchart
Sources: Lecturer's Note
Title
Chapter 0 : An Overview of Computers and Programming Languages
Chapter 1: Basic Elements of C++
Chapter 2: Input / Output
Chapter 3: Control Structures 1 (Selection)
Chapter 4: Control Structures 1 (Repetition)
Chapter 5: User Define Functions
Chapter 6: Arrays
Chapter 9: Pointer
Sources:Books: Introduction to C++ Programming, Brief Edition By D.S. Malik
TitleFile Input/Output
Sources:C++ From the Ground UP
7/16/2009
Lesson Plan BCS1214 Programming Techniques 1
Lesson Plan Semester 1, 2009/2010
Name of Course/Module : Programming Techniques I
Name(s) of academic Staff : Mohd Nazri Bin Ibrahim
You may download your Lesson Plan (in word format) here
Rationale for the inclusion of the course/module in the programme:
Programming is a fundamentals subject for computer science. Students will acquire knowledge in computer programming to solve real life computing problems.
Transferable Skills:
·To provide first level introduction to programming skills
·xpose students in using integrated Development Environment Tools
·Acquire fundamental knowledge in computer programming to solve computing problems
·Expose students to real life problems that can be solved efficiently using computer
Assessment Methods and Types / Mark Distribution
Quizzes(Quiz1, Quiz2, Quiz3):10%
Assignments (Asgmt1, Asgmt2, Asgmt 3):30%
Test (Test 1):20%
Final Exam:40%
Main references supporting the course
·D.S. Malik, 2009. Programming with C++: Brief Edition. 1 ed. Course Technology.
Additional references supporting the course
·Deitel. 2007. C++ How to Program, 6th edition. New York: Prentice Hall.
Topics
1. INTRODUCTION TO PROGRAMMING.
1.1 Computer Programming Concepts.
1.2 Problem Solving.
1.3 Flowchart.
1.4 Structured Programming Design.
1.5 Implementation
1.6 Documentation
1.7 Testing and Debugging.
2. OVERVIEW OF C++ LANGUAGE.
2.1 Introduction.
2.2 Typical C++ Development Environment
2.3 C++ Language Elements.
2.4 General Form of a C++ Program
2.5 Variable
2.6 Data Types
2.7 Identifiers
3. INPUT AND OUTPUT
3.1 Using setw and setprecision functions
3.2 Using setiosflags function
3.3 Using cin function
4. SELECTION STATEMENTS
4.1 if selection statement
4.2 if… else Double-Selection Statement
4.3 Switch Multiple-Selection Statement
4.4 Equality, relational and logical operators
4.5 The precedence table
4.6 Assignment Operators
4.7 Increment and Decrement Operators
5. LOOPING STATEMENTS
5.1 while repetition statement
5.2 for repetition statement
5.3 do repetition statement
5.4 Nested Loops
6. FUNCTIONS
6.1 Math Library Functions
6.2 Function definition
6.3 Function invocation
6.4 Argument passing
6.5 Scope of an variable
7. ARRAYS
7.1 Introduction.
7.2 Declaring Arrays
7.3 Examples Using Arrays
7.4 Passing Arrays to Functions
7.5 Searching Arrays with Linear Search
7.6 Sorting Arrays with Insertion Sort
7.7 Multidimensional Arrays
8. Working With Pointers
8.1 Understanding Program Memory
8.2 The Address-of Pointer
8.3 Storing and Retrieving Addresses
8.4 Passing address to Function
8.5 Arrays of Pointers
9. File Input and File Output
9.1 Opening and closing files
9.2 Writing to Files
9.3 Parsing File Input
9.4 Writing to Binary Files
9.5 Reading From Binary Files
Name of Course/Module : Programming Techniques I
Name(s) of academic Staff : Mohd Nazri Bin Ibrahim
You may download your Lesson Plan (in word format) here
Rationale for the inclusion of the course/module in the programme:
Programming is a fundamentals subject for computer science. Students will acquire knowledge in computer programming to solve real life computing problems.
Transferable Skills:
·To provide first level introduction to programming skills
·xpose students in using integrated Development Environment Tools
·Acquire fundamental knowledge in computer programming to solve computing problems
·Expose students to real life problems that can be solved efficiently using computer
Assessment Methods and Types / Mark Distribution
Quizzes(Quiz1, Quiz2, Quiz3):10%
Assignments (Asgmt1, Asgmt2, Asgmt 3):30%
Test (Test 1):20%
Final Exam:40%
Main references supporting the course
·D.S. Malik, 2009. Programming with C++: Brief Edition. 1 ed. Course Technology.
Additional references supporting the course
·Deitel. 2007. C++ How to Program, 6th edition. New York: Prentice Hall.
Topics
1. INTRODUCTION TO PROGRAMMING.
1.1 Computer Programming Concepts.
1.2 Problem Solving.
1.3 Flowchart.
1.4 Structured Programming Design.
1.5 Implementation
1.6 Documentation
1.7 Testing and Debugging.
2. OVERVIEW OF C++ LANGUAGE.
2.1 Introduction.
2.2 Typical C++ Development Environment
2.3 C++ Language Elements.
2.4 General Form of a C++ Program
2.5 Variable
2.6 Data Types
2.7 Identifiers
3. INPUT AND OUTPUT
3.1 Using setw and setprecision functions
3.2 Using setiosflags function
3.3 Using cin function
4. SELECTION STATEMENTS
4.1 if selection statement
4.2 if… else Double-Selection Statement
4.3 Switch Multiple-Selection Statement
4.4 Equality, relational and logical operators
4.5 The precedence table
4.6 Assignment Operators
4.7 Increment and Decrement Operators
5. LOOPING STATEMENTS
5.1 while repetition statement
5.2 for repetition statement
5.3 do repetition statement
5.4 Nested Loops
6. FUNCTIONS
6.1 Math Library Functions
6.2 Function definition
6.3 Function invocation
6.4 Argument passing
6.5 Scope of an variable
7. ARRAYS
7.1 Introduction.
7.2 Declaring Arrays
7.3 Examples Using Arrays
7.4 Passing Arrays to Functions
7.5 Searching Arrays with Linear Search
7.6 Sorting Arrays with Insertion Sort
7.7 Multidimensional Arrays
8. Working With Pointers
8.1 Understanding Program Memory
8.2 The Address-of Pointer
8.3 Storing and Retrieving Addresses
8.4 Passing address to Function
8.5 Arrays of Pointers
9. File Input and File Output
9.1 Opening and closing files
9.2 Writing to Files
9.3 Parsing File Input
9.4 Writing to Binary Files
9.5 Reading From Binary Files
7/15/2009
Selamat Datang Pelajar Baru
Subscribe to:
Posts (Atom)
Cara download Installer windows 10 dalam format ISO
1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan. ...
-
ANSWERS TO CHAPTER EXERCISES (CHAPTER 8) Review Questions 1. List and describe various types of output, including technolog...
-
Based on real life scenario on any local company/ organization which you are very familiar, define the problem that could be addressed thr...
-
A. Response to the following statements by circling either T (TRUE) or F (FALSE). [10M] I. 1. Java enables users...