Saturday, October 27, 2007

Computer System Structures Interview Questions Part5

0 comments
59) Question: From the given data
Bytes/Sector = 500
Sectors/Track = 50
Tracks/Platter = 150
Platters/ Hard Disk = 10
Data Transfer rate = 10 millisecs per byte
Total number of millisecs taken to transfer all the bytes in the hard disk?
1) 500 x 50 x 10 x 10
2) 500 x 50 x 150 x 10
3) 500 x 50 x 150 x 10 x10
4) 500 x 150 x 10 x10
Answer: 3
60) From the given data
Bytes/Sector = 500
Sectors/Track = 50
Tracks/Platter = 150
Platters/ Hard Disk = 10
Data Transfer rate = 10 millisecs per byte
Total number of millisecs taken to transfer the bytes from one single platter?
1) 500 x 50 x 150 x 10
2) 500 x 50 x 10
3) 500 x 150 x 50 x 10
4) 500 x 150 x 10 x10
Answer: 1
61) From the given data
Bytes/Sector = 500
Sectors/Track = 50
Tracks/Platter = 150
Platters/ Hard Disk = 10
Data Transfer rate = 10 millisecs per byte
Total number of milliseconds taken to transfer all the bytes from a cylinder cylinder?
1) 500 x 50 x 10 x 10
2) 500 x 150 x 50
3) 500 x 150 x 10 x10
4) 50 x 150 x 10 x10
Answer: 1
62) In a Hard disk,
Bytes per sector = 512
Sectors/track = 63
Number of Magnetic disks = 5
Tracks / platter = 50
Total number of bytes in a cylinder is ________
13) 512X 63X 5
14) 512X 50X 5
15) 512X 63 X 50
16) 512 X 5
Answer: 1
63) In a Hard disk,
Bytes per sector = 512
Sectors/track = 63
Number of Magnetic disks = 5
Tracks / platter = 50
The total number of bytes/platter is _____
17) 512X 63X 5
18) 512X 50X 5
19) 512X 63 X 50
20) 512 X 5
Answer: 3
64) In a Hard disk,
Bytes per sector = 512
Sectors/track = 63
Number of Magnetic disks = 5
Tracks / platter = 50
The total number of cylinders in the hard disk is_______.
1) 63
2) 50
3) 512
4) 63 X 5
Answer: 2
65)The size of single unit of allocation on disk is called ____.
5) Sector size
6) Page size
7) Segment size
8) File size
Answer: 1
66) MS-DOS supports multiprogramming fully. True / False?
Answer: False
67) Which of the following is crucial time while accessing data on the disk?

1) Seek time
2) Rotational time
3) Transmission time
4) Waiting time

Ans: 1

68) A __________ is software that manages the time of a microprocessor to ensure that all time critical events are processed as efficiently as possible. This software allows the system activities to be divided into multiple independent elements called tasks.

1) Kernel
2) Shell
3) Processor
4) Device Driver

Ans: - 1

Computer System Structures Interview Questions Part4

0 comments
47) ________ is/are only storage media that the CPU can access directly.
1) Main memory
2) Storage memory
3) both
4) None
Answer: 1
Level:1

48) _________ is the extension of main memory that provides large non volatile storage capacity.
1) Secondary storage
2) RAM
3) Cache
4) None
Answer: 1
Level:1

49) Which of the following is a volatile storage medium?
1) Hard disc
2) RAM
3) Magnetic tapes
4) Compact disc
Answer: 2
Level:1

50) Which of the following is a non- volatile storage medium?
1) Cache
2) RAM
3) CPU Registers
4) Hard disc
Answer: 4
Level:1

51) DMA stands for______
1) Direct Memory Access
2) Directory Memory Access
3) Differential Memory Access
4) All the above
Answer: 1
Level:1

52) A _____ is a memory that stores data while they are transferred between two devices or between a device and an application.
1) Buffer
2) Cache
3) Hard disc
4) Compact disc
Answer: 1
Level:1

53) Question: From the given data
Bytes/Sector = 500
Sectors/Track = 50
Tracks/Platter = 150
Platters/ Hard Disk = 10
Total number of bytes in the hard disk?
1) 500 x 50 x 10
2) 500 x 50 x 150
3) 500 x 50 x 150 x 10
4) 500 x 150 x 10
Answer: 3
54) Question: From the given data
Bytes/Sector = 500
Sectors/Track = 50
Tracks/Platter = 150
Platters/ Hard Disk = 10

Total number bytes in a platter?
1) 500 x 50 x 150
2) 500 x 50 x 10
3) 500 x 150 x 50 x 10
4) 500 x 150 x 10
Answer: 1
55) Question: From the given data
Bytes/Sector = 500
Sectors/Track = 50
Tracks/Platter = 150
Platters/ Hard Disk = 10
Total number of bytes per cylinder?
1) 500 x 50 x 10
2) 500 x 150 x 50
3) 500 x 150 x 10
4) 50 x 150 x 10
Answer: 1
56) Question: From the given data
Bytes/Sector = 750
Sectors/Track = 100
Tracks/Platter = 150
Platters/ Hard Disk = 50
Total number of bytes in the hard disk?
1) 750 x 100 x 50
2) 750 x 100 x 150
3) 750 x 100 x 150 x 50
4) 750 x 150 x 50
Answer: 3
57) From the given data
Bytes/Sector = 750
Sectors/Track = 100
Tracks/Platter = 150
Platters/ Hard Disk = 50
Total number bytes in a platter?
1) 750 x 100 x 150
2) 750 x 100 x 50
3) 750 x 150 x 100 x 50
4) 750 x 150 x 50
Answer: 1
58) From the given data
Bytes/Sector = 750
Sectors/Track = 100
Tracks/Platter = 150
Platters/ Hard Disk = 50
Total number of bytes per cylinder?
1) 750 x 100 x 50
2) 750 x 150 x 100
3) 750 x 150 x 50
4) 100 x 150 x 50
Answer: 1

Computer System Structures Interview Questions Part3

0 comments
24) Recursion or large arrays of local variables avoided by kernel programmers because The kernel stack is usually a limited resource. A stack overflow crashes the entire machine.
T/F
Answer: True
Exp: by def
Level:1


25) What is the purpose of system calls?
a) system calls allow user-level processes to request services of the operating system.
b) system calls acts as traps.
c) both a and b
d) none of the above
answer : a
Exp: by def
Level:1


26) What are the major activities of an operating system in regard to process management?
a. The creation and deletion of both user and system processes
b. The suspension and resumption of processes
c. The provision of mechanisms for process synchronization
d. The provision of mechanisms for process communication
e. The provision of mechanisms for deadlock handling

a) a,b,c
b) a,b,d
c) a,b,c,e
d) a,b,c,d,e
answer:d
Level:1

27) What are the major activities of an operating system in regard to memory management?
a. Keep track of which parts of memory are currently being used and by whom.
b. Decide which processes are to be loaded into memory when memory space becomes available.
c. Allocate and deallocate memory space as needed.
d. Interrupt processes when executing

1) a and b
2) a,b and c
3) a and c
4) Only c

Answer:2
Level:1

28) The major activities of an operating system in regard to secondary-storage management?
a) Free-space management.
b) Storage allocation.
c) Interrupt processes while executing
d) Disk scheduling.


1) a and b
2) a,b and c
3) a,b and d
4) Only c

Answer:3
Level:1




29) Which of the following are true regarding the command interpreter?
a) the command interpreter reads commands from the user or from a file of commands and executes them
b) command interpreter is subject to changes
c) acts as an interface between primary and secondary memory

1) a and b
2) a,b and c
3) a and c
4) Only a

. Answer:1
It reads commands from the user or from a file of commands
and executes them, usually by turning them into one or more system
calls. It is usually not part of the kernel since the command interpreter
is subject to changes.
Level:2

30) What system calls have to be executed by a command interpreter or shell in order to start a new process in unix?
a) fork
b) ps
c) fork followed by exec
d) none of the above
Answer:c
process. The fork call clones the currently executing process, while the exec call overlays a new process based on a different executable over the calling process.
Level:1


31) Which of the following are trueregarding system programs and system calls?
a) System programs can be thought of as bundles of useful
system calls.
b) system calls provide basic functionality to users so that users do not need to write their own programs to solve common problems.
c) system calls can be defined by the user

1) a and b
2) a,b and c
3) a,b and d
4) Only b

Answer:1
Level:2

32) What is the main advantage of the layered approach to system design?
a) the system is easier to debug and modify because changes affect only limited sections of the system rather than touching all sections of the operating system.
b) Information is kept only where it is needed and is accessible only within a defined and restricted area, so any bugs affecting that data must be limited to a specific module or layer. c) microkernel approach helps increases the degree of multiprogramming.

1) a,b,c
2) a,b
3) Only a
4) None

Answer: 2
Level:2

33) what are the services provided by an operating system.
a. Program execution.
b. I/O handling
c. File-system manipulation.
d. commmunications
e. error detection

a) a,b,c,d
b) b,c,d,e
c) a,b,c,d,e
d) b,c,e
Answer:c
Level:1

34) What are the main advantages of the microkernel approach to system design?

a) adding a new service does not require modifying the kernel
(b) it is more secure as more operations are done in user mode than in kernel mode
(c) microkernel approach helps increases the degree of multiprogramming.
d) a simpler kernel design and functionality typically results in a more reliable operating system.



1) a,b,d
2) b,c,d
3) a,b,c,d
4) Only a

Answer:1
Level:2

35) some systems store the operating system in firmware, and others on disk?
for PDAs,cellular telephones etc a disk with a file system may be not be available for the device.hence they are stored in firmaware.
T/F.
Answer: True
Level:2

36) How could a system be designed to allow a choice of operating systems to boot from? What would the bootstrap program need to do?
a) during boot-up, a special program (which we will call the boot manager) will determine which operating system to boot into.
b) the boot-strap loader will load the operating system selected at the start-up.
c) only a
d) both a and b.

Answer:c

Exp: Consider a system that would like to run both Windows
XP and three different distributions of Linux (e.g., RedHat, Debian, and
Mandrake). Each operating system will be stored on disk. During system
boot-up, a special program (which we will call the boot manager) will
determine which operating system to boot into. This means that rather
initially booting to an operating system, the boot manager will first run
during system startup. It is this boot manager that is responsible for
determining which system to boot into. Typically boot managers must
be stored at certain locations of the hard disk to be recognized during
system startup. Boot managers often provide the user with a selection of
systems to boot into; boot managers are also typically designed to boot
into a default operating system if no choice is selected
Level:2


37) The following are the secondary storage media.
1) Magnetic tapes
2) Magnetic disks
3) Ram
4) None

Answer: 1 and 2
Level:1

38) Which of the following are Non volatile storage devices
a) Magnetic Tapes
b) Main memory
c) Optical disk
d) Secondary Memory

1) a and b
2) a,b and c
3) a,b and d
4) Only c

Answer: 3
Level:1

39) Electronic disk, Main memory, Magnetic disk and Cache are volatile. True/False
Answer: False
Level:1

40) ______: a secondary storage device, which holds data in bulk and it, holds data in magnetic medium of the disk.
1) Hard disc
2) Compact disc
3) RAM
4) CPU Registers
Answer: 1
Level:1

41) A ________ is a secondary (optical) storage device.
1) Hard disc
2) Compact disc
3) RAM
4) CPU Register
Answer: 2
Level:1

42) ________ is the type of memory access in main memory (RAM).
1) Sequential access
2) DMA
3) Both
4) None
Answer: 2
Level:1

43) Which of the following is a volatile storage medium?
1) Hard disc
2) Cache
3) Magnetic tapes
4) Compact disc
Answer: 2
Level:1

44) The _________ is the additional time waiting for the disc to rotate the desired sector to the disc head
1) Rotational latency
2) Bandwidth
3) Seek time
4) None
Answer: 1
Level:1

45) ________: keep in memory only those instructions and data that are needed at any given time.
Needed when the process is larger than the amount of memory allocated to it.
1) Overlays
2) Studs
3) Cache
4) None
Answer: 1
Level:2

46) For Virtual memory implementation the OS uses ________
1) Compact disc
2) Floppy drives
3) Hard disc
4) Cache
Answer: 3
Level:2

Computer System Structures Interview Questions Part12

0 comments
10) the memory hierarchy is
a. Registers, cache, main memory, magnetic disk, CDROM, tape
b. Cache, , main memo ry, magnetic disk, Registers, CDROM, tape
c. Cache, Registers, main memory, magnetic disk, CDROM, tape
4) Main memory, Registers, cache, magnetic disk, CDROM, tape
Answer: 1
Exp: internal architecture
Level:2


11) The CPU uses poling to watch the control bit, constantly looping to see whether the device is ready. This method of operations is called___________
1) Progrmmed I/O
2) I/O interrupt
3) I/O operation request
4) None
Answer: 1
Exp: by the definition of the Programmed I/O
Level:2

12) The memory buffer used to accommodate a speed differential is called a _____
1) Main memory
2) Cache memery
3) CPU Register
4) Optical disk
Answer: 2
Exp: by def
Level:1


13) The set of tracks that are at one arm position forms a ________
1) sector
2) cylinder
3) platter
4) Spindel
Answer: Cylinder
Exp: by def
Level:1


14) ____ is the rate at which data flow between the drive and the computer.
1) bit rate
2) transfer rate
3) data rate
4) None
Answer: Transfer rate
Exp: by def
Level:1
15) The positioning time is also called ___
a. Seek time
b. Rotational latency
c. Transfer rate
d. Random access time
Answer:4
Exp: ( by definition of random access time)
Level:1


16) Time to move the disc arm to the desired cylinder is called____
1) seek time
2) wait time
3) turn around time
4) None
Answer: Seek time
Exp: ( by definition of the seek time)
Level:1

17) The time for the desired sector to rotate to the disc head is called ____
1) seek time
2) rotational latency
3) sweep time
4) None
Answer: Rotational latency
Exp: ( by definition of rotational latency)
Level:1

18) Even though disc platters are coated with a thin protective layer, sometimes the head will damage the magnetic surface. This accident is called______
1) system crash
2) hardware crash
3) head crash
4) None
Answer: Head crash
Exp: by def
Level:1


19) EIDE stands for
1) Extended indexed directory extensions
2) Enhanced Integrated Drive Electronics
3) Enhanced Integrated Disk Electronics
4) None
Answer: 2
Exp: acronym
Level:2


20) Cache memory is divided into (and loaded in) blocks also called ________
a. Cache blocks
b. Cache lines
c. Both the above
d. None of the above
Answer: 2
Exp: by def
Level:1


21) Modem can convert
1) Digital data to analog signals
2) Analog signals to digital signals.
3) Both the above
4) 2 only
Answer: 3
Exp:n by def

Level:1

22) ______________is the rapid switching of the CPU between processes given the illusion of all processes running concurrently.
a. Multiprogramming
b. Multitasking
c. Timesharing
d. None
Answer: a and b
Exp: by def
Level:1

23) Which of the following instructions (or instruction sequences) should only be allowed in kernel mode?
1. Disable all interrupts.
2. Read the time of day clock.
3. Set the time of day clock.
4. Change the memory map.
5. Write to the hard disk controller register.
6. Write all buffered blocks associated with a file back to disk (fsync).
1) 1,3,4,5 need to be restricted to kernel mode.
2) 1, 6, 3, 2
3) 1, 2, 3, 4, 5
4) 3, 4, 1, 2
Answer: 1
Exp: properties of the kernel mode
Level:2

Advertisement

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com