
3/07/2012
3/06/2012
Contoh soalan BCS1303
2.Briefly explain basic functional units of a computer. p2
3. Explain the following instruction:- p7
i.
Add LOCA,R0
ii.
Load LOCA,R1
Add R1,R0
4.What is BUS? Give an advantage and disadvantage of single BUS. Give an advantage and disadvantage of multiple BUS.p9
5.What is computer performance? How it is measured? p12
6.What is distributed computing (please Google for answer)
7.List the steps needed to executed the machine instruction
Add LOCA,R0
in terms of transfer between the components shown in following figure (pls refer to figure 1.3 in text book) and some sample control commands. Assume that the instruction itself is stored in the main memory at location INSTR and that this address is initially in register PC. The first two steps might be expressed as:-
i. Transfer the content of register PC to register MAR
ii. Issue a Read command to the main memory, and then wait until it has transferred the requested word into register MDR.
remember to include the steps needed to update the content of PC from INSTR to INSTR+1 so that the next instruction can be fetched.
answer
Transfer the contents of register PC to register MAR
Issue a Read command to memory, and then wait until it has transferred the requested word into register MDR
Transfer the instruction from MDR into IR and decode it
Transfer the address LOCA from IR to MAR
Issue a Read command and wait until MDR is loaded
Transfer contents of MDR to the ALU
Transfer contents of R0 to the ALU
Perform addition of the two operands in the ALU and transfer result into R0
Transfer contents of PC to ALU
Add 1 to operand in ALU and transfer incremented address to PC
8. What is word length? p 22
9.Explain the difference between Big-endian and Little-endian assignment. p25
10. Explain the following expression:- p 27
i. R1 <-- [LOC]
ii C=A+B
iii. C <-- [A] +[B]
iv. Add A,B,C
11. Consider the following figure (pls refer to figure 3.1 in textbook). Explain the function of following register:-
PC, MAR, MDR, Y, Z,
2/29/2012
DCT 1013 Intro to IT - Contoh Soalan Ujian 1
What is computer?
List and describe the five components of Computer.
What is Network?
What is System Software?
What is Application Software
What are the differences among the Sizes and Function in the following categories : Personnel computer (desktop), mobile computer super computer and embedded computers.
Chapter 2 - WWW and Internet
What is Network?
What is Internet?
What is Internet Access Provider?
How do you use a search engine to search for information on the web, and what is differences between a search engine and subject directory?
Chapter 3 - Application Software
What are the four categories of Application Software?
Give an example of widely used business program for the following categories:-
-Word Processing
- Spreadsheet Software
- Presentation Software
-Database Software
Give an example of widely used Graphic and Multimedia Programs:-
-Computer-aided Design
-Desktop Publishing Software
-Web Authoring Software
Chapter 4 The Component of System Unit
What is the purpose of power supply and how does it keep cool?
Chapter 5 Input & Output
What is input device? What is output device? Five one example of each.
What factors affect the quality of an LCD monitor or LCD screen?
How is Nonimpact printer Different from an Impact Printer?
2/20/2012
QUIZ 1 SOLUTION DCT1013
1.T
2.F
3.T
4.T
5.F
6.T
7.T
8.T
9.F
9.T
10.F
11.F
MULTIPLE CHOICE
1.B
2.A
3.B
4.B
5.C
6.B
7.A
8.D
2/13/2012
"Hari Kekasih"
Adakah anda merayakan hari kekasih / Valentine's Day. Jika anda beragama islam- perbuatan tersebut adalah ditegah. Fatwa Kebangsaan telah di keluarkan, dan berikut adalah keratannya.."Muzakarah Jawatankuasa Fatwa Majlis Kebangsaan Bagi Hal Ehwal Ugama Islam Malaysia Kali Ke-71 yang bersidang pada 22-24 Nov 2005 telah membincangkan Hukum Orang Islam Menyambut Perayaan Valentine's Day. Muzakarah berpandangan bahawa ajaran Islam amat mengutamakan kasih sayang dan tidak ada hari tertentu di dalam Islam bagi meraikannya.
Oleh itu, Muzakarah bersetuju memutuskan bahawa amalan merayakan Valentine’s Day tidak pernah dianjurkan oleh Islam. Roh perayaan tersebut mempunyai unsur-unsur Kristian dan amalannya yang bercampur dengan perbuatan maksiat adalah bercanggah dan dilarang oleh Islam."
..selanjutnya baca di sini...
2/05/2012
Assignment BCS1303
1. 1. Briefly explain the basic functional units of a computer.
2. 2.Explain the connections between the processor and the main memory
3. 3.Lists seven system software functions.
4. 4.A processor cache as shown below is used in most computers to reduce program execution time. Suppose that execution time for a program is directly propotional to instruction access time, and that access to an instruction in the cache is six time faster than access to an instruction in the main memory. Assume that an instruction is found in the cache with probability 0.9, and also assume that if ann instruction is not found in the cache and it must first be fetched form the main memory to the cache and then fetched from the cache to be executed. Compute the ration of a program execution time without the cache to program execution time with the cache. This ratio is usually defined as the speedup factor resulting from the presence of the cache.
5. 5.If the size of a cache is double, assume that the probability of not finding a requested instruction there is cut in half. Repeat question 4 for a double cache.
1/28/2012
BCT 1113 COMPUTER PROGRAMMING Assignment 1
1. Develop a program to input height and length of a right triangle and calculate and print the area of a right triangle.
Area of right triangle = (height x length) /2
1.1 Algorithm (Flowchart and Pseudocode)
1.2 C++ Program
2. Write a program that prompts for and read your age in years and output your ages in days. You may assume that there are 365 days in a year.
2.1 Algorithm (Flowchart and Pseudocode)
2.2 C++ Program
3. Write a program which inputs 3 numbers, and outputs their sum, product and average. Start with a flow chart and pseudocode.
B. You are required to provide (i) Algorithm (Flowchart AND Pseudocode) for each of the following problem.
3.1 Algorithm (Flowchart and Pseudocode)
3.2 C++ Program
4. Write a program that input a grade. If the grade is less than 0 or greater than 100, your program should print the appropriate message informing the user that an invalid grade has been entered.
4.1 Algorithm (Flowchart and Pseudocode)
5. Write a program that read an integer from the user and determines and print whether it is odd or even (Hint: Use modulus operator)
5.1 Algorithm (Flowchart and Pseudocode)
Due date: 12 February 2012
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. ...
-
1.TOPUP Cepat Susut Jika anda merasa topup prepaid anda cepat susut walaupun tak banyak call- ada baiknya anda semak log call/sms/content ...
-
Section 8 The String Class 8.1 Suppose that s1 , s2 , s3 , and s4 are four strings, given as follows: String s1 = ...
-
1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan. ...