UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES

advertisement
[CRT 10]
UNIVERSITY OF BOLTON
CREATIVE TECHNOLOGIES
TRIMESTER 2 EXAMINATIONS 2013/2014
COMPUTER PLATFORMS
MODULE NO: CPU4004
Date: Friday 9th May 2014
Time: 10.00 – 12.00 (2 hours)
INSTRUCTIONS TO CANDIDATES:
Answer ALL the questions in
PART ONE and any THREE
questions in PART TWO
All questions in PART TWO carry
equal marks
Marks for parts of questions in
PART TWO are shown in brackets.
Page 2 of 8
Creative Technologies
Semester 2 Examination 2013/2014
Computer Platforms
Module No. CPU4004
PART ONE
QUESTION 1
This is a multiple choice question consisting of twenty parts each carrying two marks.
Each part has four possible answers of which ONLY ONE is correct. To indicate your
selection write the question number and your answer in the answer book. Do not
write your answers on the question paper.
EXAMPLE QUESTION
1x.
Which month has fewer than 30 days?
a.
January
b.
February
c.
March
d.
April
Write: 1x. b
__________________________________________________________________
1a.
Which of the following is an API that is compatible with variants of Linux and
other operating systems?
a.
b.
c.
d.
1b.
MINIX
POSIX
USENIX
XENIX
Identify the command that allows you to list the directory contents at the Linux
command line?
a.
b.
c.
d.
ls
cls
dir
list
1c. Which of the following commands is useful when creating an ext3 file system on
a partition with less than 4GB of space?
a.
b.
c.
d.
mkfs.small /dev/sda
mkfe2fs – T small /dev/sda
mke2fs –j –T small /dev/sda
mkfs –s -j /dev/sda
Question 1 continued over the page…
Page 3 of 8
Creative Technologies
Semester 2 Examination 2013/2014
Computer Platforms
Module No. CPU4004
Question 1 continued…
1d. Which one of the following statements is FALSE?
a.
b.
c.
d.
Each hard disk can hold four primary partitions.
An extended partition can contain several logical partitions.
Each hard drive must have an extended partition.
Each hard drive can only have one extended partition.
1e. Which of the following answers best explains why cache memory is used?
a.
b.
c.
d.
1f.
Which one of the following PC file systems gives the best performance with
large files on a win32 platform?
a.
b.
c.
d.
1g.
Because it is faster to access than main memory.
Because it is cheaper than main memory.
Because it is smaller than main memory.
Because it holds data even if the power is turned off.
FAT12
EXT3
FAT32
NTFS
Which one of the following directories holds the user files of an installed Linux
system?
a.
b.
c.
d.
/usr
/var
/home
/bin
Question 1 continued over the page…
Page 4 of 8
Creative Technologies
Semester 2 Examination 2013/2014
Computer Platforms
Module No. CPU4004
Question 1 continued…
1h.
Which of these statements correctly describes RAID 4?
a.
b.
c.
d.
1i.
Which one of the following is a mobile phone operating system?
a.
b.
c.
d.
1j.
ext2
ext3
ext4
NTFS
To change from C: drive to D: drive via the windows command line, which of
the following is the correct command?
a.
b.
c.
d.
1l.
OS/2
RTOS
iOS
BSD
Which of the following is not a journal based file system?
a.
b.
c.
d.
1k.
Memory Style Error Correcting Code
Block Interleaved Parity
Bit Interleave Parity
Block Interleaved Parity Distribution
cd d:
d:
chdir d:
md d:
Which of these is not a solution to the Dynamic Storage-Allocation Problem?
a.
b.
c.
d.
First fit
Best fit
Ideal fit
Worst fit
Question 1 continued over the page…
Page 5 of 8
Creative Technologies
Semester 2 Examination 2013/2014
Computer Platforms
Module No. CPU4004
Question 1 continued…
1m.
Which of these statements best describes External Fragmentation?
a.
b.
c.
d.
1n.
To update the system time and date within the Linux OS the date command is
used. Identify the correct syntax that the command uses where Y= Year, h =
hour, M=month , m= minute and D=Day.
a.
b.
c.
d.
1o.
DDMMhhmmYYYY
MMDDYYYYhhmm
MMDDhhmmYYYY
hhmmMMDDYYYY
Where in the Linux OS are the source files for the kernel located
a.
b.
c.
d.
1p.
Allocated memory may be slightly larger than requested memory.
Total memory space exists to satisfy request, but is not contiguous.
The inability of a file system to layout related data contiguously.
External Fragmentation is the result of incorrectly un-mounting external
devices.
/usr/source/kernel
/usr/src/linux
/usr/source/linux
/usr/portage/sources
Which of the following can be used by administrators to automatically
distribute IP addresses across the network?
a.
b.
c.
d.
FTP
DNS
DHCP
SSH
Question 1 continued over the page…
Page 6 of 8
Creative Technologies
Semester 2 Examination 2013/2014
Computer Platforms
Module No. CPU4004
Question 1 continued…
1q.
Which one of the following is used by provide redundancy in case of a hard
disk failure?
a.
b.
c.
d.
1r.
Which of the following can be used to administrators to issue commands to a
machine across the network?
a.
b.
c.
d.
1s.
FTP
DNS
DHCP
SSH
Which one of the following is the main advantage of Virtualization over Dual
Booting?
a.
b.
c.
d.
1t.
Striping
Formatting
Fragmenting
Mirroring
It allows more than one operating system to be installed.
It allows each operating system to be installed in a separate partition.
It makes more memory available to the operating systems.
It allows both operating systems to run at the same time.
Which one of the following statements best describes the kernel?
A
b.
c.
d.
A program that checks whether the user is allowed to log onto the
system.
A program that is used to define the partitions of a disk drive.
A Program that provides a list of parameters needed to set up a device.
A single program running at all times on the computer.
END OF PART ONE
PLEASE TURN THE PAGE FOR PART TWO
Page 7 of 8
Creative Technologies
Semester 2 Examination 2013/2014
Computer Platforms
Module No. CPU4004
PART TWO
Answer three complete questions from this section.
__________________________________________________________________
QUESTION 2
2a.
With the aid of a diagram describe the various states that a process can be in
and state how a process is represented by the operating system.
(12 Marks)
2.b
Briefly describe the two fundamental models of inter-process communication.
(4 marks)
2c.
List and describe the benefits of multithreaded programming.
(4 marks)
QUESTION 3
3a.
What are the three main purposes of an operating system?
(3 marks)
3b.
Describe, in the context of memory management, the process of swapping
and briefly the approach to swapping taken by Unix type operating systems.
You may use diagrams to aid your description.
(12 Marks)
3c.
Discuss the differences between a Micro Kernel and a modular Kernel
outlining the benefits of each one.
(5 marks)
PLEASE TURN THE PAGE
Page 8 of 8
Creative Technologies
Semester 2 Examination 2013/2014
Computer Platforms
Module No. CPU4004
QUESTION 4
4a.
Discuss the differences between security and protection from the perspective
of an operating system.
(6 marks)
4b.
Look at the following output from the command ls –l
-rwx---r--rw-rw-r--rwxrwx---rw-r--r--rwxrwx--x
drwxrwx---
4c.
2
2
2
1
1
2
Brian
Adam
Dave
Phil
martin
susan
lecturers
admins
lecturers
users
lecturers
admins
2048
12040
172
0
15228
16342
Jan
Aug
May
Jan
Jan
Mar
2
5
17
22
6
21
2011
2010
2011
2012
2010
2011
Report1
adminpolicy
assignment1
fifo1
test1
labtests
(i)
Which of these files is a directory? State the reason for your choice.
(2 marks)
(ii)
Who is allowed to read file Report1?
(iii)
What permissions does user susan have on file adminpolicy? Explain
your reasoning.
(2 marks)
(iv)
What would happen if Brian tried to list the directory which you
identified in part (i)? Briefly explain the reasoning behind your answer.
( 2 marks)
(2 marks)
How does the distinction between kernel mode and usermode provide a
rudimentary form of protection within an operating system?
(6 Marks)
QUESTION 5
5a. Briefly describe with the aid of a labeled diagram the storage hierarchy
discussing the differences between main memory and secondary storage.
(10 marks)
5b. Discuss the implementation of the proc virtual file system within the Linux
operating system.
(10 Marks)
END OF QUESTIONS
Download