Showing posts with label tutorials. Show all posts
Showing posts with label tutorials. Show all posts

Saturday, November 5, 2011

Tutorial 4 - Chapter 4

QUESTION 1

a) i) What is a user interface? 2 marks

ii) Explain what is meant by the usability of a user interface. 1 marks

iii) State THREE characteristics of a good user interface. 3 marks


b) i) What is the purpose of a dialogue box? 2 marks

ii) State TWO (2) advantages of having standard layouts for user interfaces. 2 marks

Friday, November 4, 2011

Tutorial 3 - Chapter 3

QUESTION 3
Throughout the question, please credit any valid alternative point.

a) i) What is a serial file? 2 marks

ii) Describe the steps taken to find a particular item in a serial file. 3 marks

b) i) What is data mining? 3 marks

ii) Give TWO (2) points often covered in data protection laws. 2 marks

Friday, October 21, 2011

Tutorial 1 - Chapter 2

QUESTION 1 (Total 10 marks)
a) i) How many different integers can be represented by 4 bits? 1 mark

ii) Convert the hexadecimal value 5A to binary. 1 mark.

iii) Convert the hexadecimal value 5A to decimal (denary). 1 mark.

b) i) What is meant by a floating point number? 2 mark.

ii) Explain why some numbers are stored by computers in floating point format instead of as integers. 2 mark.

c) i) Describe the purpose of the Arithmetic Logic Unit (ALU) in a processor. 2 mark.

ii) Which register holds the address of the next instruction to be fetched into the processor from
memory during the fetch-decode-execute cycle? 1 mark.

QUESTION 2 (Total 10 marks)
a) i) Why are computers are built to work with digital data? 3 mark.

ii) State the number of different whole numbers that can be stored in 8 bits of memory. 1 mark.

iii) Explain what are hexadecimal numbers. 2  mark.

iv) Why do programmers often use hexadecimal numbers to represent values stored in a computer? 2  mark.

b) State TWO (2) tasks performed by the control unit of a microprocessor. 2  mark.

QUESTION 3 (Total 10 marks)
The following is a program written for the Little Man Computer.
0 : INP
1 : STA NUM1
2 : INP
3 : STA NUM2
4 : SUB NUM1
5 : BRP SECOND
6 : LDA NUM1
7 : OUT
8 : BRA END
9 : SECOND LDA NUM2
10 : OUT
11 : END HLT
12 : NUM1 DAT
13 : NUM2 DAT
a) Explain the purpose of the instruction in line 5. (3 marks)

b) Identify TWO labels used in this program. (2 marks)

c) State the purpose of this program. (2 marks)

d) The program is run and the number 5 is input, followed by the number 4. State the contents of the
accumulator and the program counter when the program is terminated.
(2 marks)

e) Define the term instruction set. (2 marks)

Thursday, October 13, 2011

Tutorial 1 - Chapter 1

*update: check the answers on commenting box

Week 3
Tutorial 1: Introduction to Computing – Chapter 1
*Instructions: Please write your answer in a piece of paper. Don’t forget to write your Name, group member and Date.

QUESTION 1

a)
i)
State THREE (3) reasons why computer systems need software.
(3 marks)



___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________

ii)
Explain what real time operation is.
(1 mark)



___________________________________________________________________________________________________

iii)
Identify THREE situations where real-time operation is required
(3 marks)



___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________
b)

Explain how virtual memory allows large programs to be run in a limited amount of RAM
(3 marks)



___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________


Total
10 marks
QUESTION 2

a)
i)
What is the difference between analogue and digital data?
2 marks



___________________________________________________________________________________________________
___________________________________________________________________________________________________
b)
i)
State THREE(3) tasks performed by an operating system?
3 marks





___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________

ii)
What is multiprogramming?
2 marks



___________________________________________________________________________________________________
___________________________________________________________________________________________________

iii)
How can multiprogramming can lead to better use of system resources?
2 marks



___________________________________________________________________________________________________
___________________________________________________________________________________________________

iv)
What is real-time processing?
1 mark



___________________________________________________________________________________________________


Total
10 marks