8/19/2013

DCT1043COA Assignment 1



1. What, in general terms, is the distinction between computer organization and computer
architecture?
2. What, in general terms, is the distinction between computer structure and computer
function?

3. List and briefly define the main structural components of a computer.

4. List and briefly define the main structural components of a processor.

 5. What are some applications for ROM?

 6. What are the differences among EPROM, EEPROM, and flash memory?

7. What is cache and Why use cache?



Both hardcopy and softcopy of the assignment should be submitted BEFORE the 3rd September 2013. Plagiarism will not be tolerated. Late submission will not be entertained.


7/24/2013

DCT1083 Programming Fundamentals : Chapter 1 Exercise

A. State whether the following are valid identifiers or invalid identifier. If the identifier names are valid, state why.

(example) 1m234 - invalid: begins with a number

power                          Valid; mnemonic
add_5                          Valid; mnemonic
a2b3c4d5                    Valid; not mnemonic
abcd                            Valid; not mnemonic                 
return                                Invalid; C++ keyword
123435                        Invalid; begins with a number
amount                        Valid; mnemonic
1A2345                        Invalid; begins with a number
while                          Invalid; C++ keyword
int                              Invalid; C++ keyword
$taxes                        Invalid; begins with a special character



contoh jawapan untuk soalan 2 (b).
#include
using namespace std;

int main()
{
  cout << "The time has come.";
  return 0;
}



7/22/2013

DCT1043 COA Exercise Chapter 1 & 2



CHAPTER 1 & 2

1. In your own words, describe what software is, supporting your answer with appropriate example. (3 marks).


2.The history of computers can be divided into generations, with each generation defined by a technological breakthrough. List 6 generations of computers. (6 marks).



3.List 3 Input/ Output Devices (3 marks).
 

4. Convert these binary values to decimals (4 marks).



i.1010101
ii. 100111

5.Convert these decimal values to binary (4 marks).

i.    82
ii.    175

7/16/2013

DCT 2112 Programming Practical. Flowchart Exercise 17/7/13


An electric supply company charges the following rates for its customers:-

No. of unit consumed                              Charges/unit (RM)
1-200                                                           2.50
201 - 500                                                     3.50                                                  
over 501                                                       5.00

If the consumer pays his bill within 15 days from the bill date, 10% discount is given
. If he makes the payment after 15 days from the bill date, 5% surcharge is levied. Draw a flowchart to calculated the net amount of the bill for each consumer and print it.

the above flowchart not considered the calculation of discount and levied

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.  ...