Thursday, November 27, 2008

BSNL TTA exam questions for 2009


Q. Main memory is collection of –

(a)Instructions (b) Data

(c) Instructions and data (d) Address

Ans: (c)

**Q. Operating system used to complete the task in specified time constraint?

(a) Distributed OS

(b) Multi programming OS

(c) Real-time OS

(d) Time-Sharing OS.

Ans-(c)

Q. The methods of reading the instructions from main memory is called:-

(a) Memory reading (b) data reading

(c) Relative reading (d) instructions fetching.

Ans: (d)

Q. The scheduling queue which keeps all those process those are ready to execute?

(a) Suspended Queue

(b) Device Queue

(c) Ready Queue

(d) Job Queue

Ans: - (c)

***Q. The scheduling queue which keeps all the suspended process

(a) Suspended Queue

(b) Device Queue

(c) Ready Queue

(d) Job Queue

Ans: - (a)

Q. Memory Location or address from which the data is to be retrieve is specified by the register-

(a) MAR (b) MDR

(c) SP (d) PC

Ans- (a) Memory Address register (MAR)

**Q. Memory Location or address where retrieved data is stored specified by the register-

(a) MAR (b) MDR

(c) SP (d) PC

Ans: - (b) Memory Data Register (MDR).


Q. Memory Address which gives the address of next instruction to be executed.

(a) MAR (b) MDR

(c) SP (d) PC


Ans: - (d)

Q. Which register can be implicitly used as an operand---?

(a) MBR (b) MDR

(c) Accumulator (d) any general purpose registers

Ans- (c) Accumulator


Q. Turnaround time is defined as:

(a) Waiting time.

(b) Suspended time.

(c) total time spent by process inside a system.

(d) Waiting time + suspended time

Ans: - (c).

Q. which one can improve the performance of scheduling algorithm

(a) Time in waiting suspended Queue

(b) Time in waiting ready Queue.

(c) Time spent by a process in execution.

(d) Response time

Ans: - (b)

***Solution:- Turnaround time(TAT) = Time in waiting suspended Queue + Time in waiting ready Queue + Time spent by a process in execution.

Here Time spent by a process in execution depends on speed of processor so it does not affect the scheduling algorithm and time in waiting suspended Queue also does not affect TAT. So waiting in ready queue can only improve the performance of scheduling algorithm.



BSNL TTA EXAM MODEL QUESTIONS ON BASIC ELECTRICAL

Q. The specific resistance of a wire depends on:-

    (a) Nature of the material   (b) length

    (c) Cross-sectional area      (d) dimension.

Ans: - (a)

 Q. The electric current is due to the flow of

  (a) Positive charge only

  (b) Negative charge only

  (c) Both positive and negative charge

  (d) Neutral particles only

Ans: - (c)

Q. Resistance of a material always decreases if  

    (a) Number of free electrons becomes less

    (b) Temperature of the material is decreased

    (c) Temperature of the material is increased

    (d) Number of free electrons becomes more

Ans: - (d).

 

Q. Variable resistance is

    (a) Wire wound resister

    (b) Thick film resistor

     (c) Thin film resistor

     (d) All above

Ans: - (a)

 Q. Which material has highest dielectric constant?

                   (a) Oil

                   (b) Glass

                   (c) Vacuum

                   (d) Water

Ans: - (c)

 Q Heat in the conductor is produced on the passage of electric current due to conductor possessing

                   (a) Capacitance

                   (b) Inductance

                   (c) Impedance

                   (d) Resistance

Ans: - (d)

Q. Two parallel conductors carrying current in the opposite direction will produce mutual

                   (a) Attraction

                   (b) Repulsion

                   (c) No effect

                   (d) Depends on situation

Ans: - (b)

 

Q. In case of liquids, ohm’s law is

                   (a) Fully obeyed

                   (b) No relation between current and potential difference

                   (c)  Partially obeyed

                             (d) Not obeyed at all

 Ans: - (a)

 

Q. Current flows between two points due to difference in

                   (a) Resistance

                   (b) Potential difference

                   (c) Charge

                   (d) None

Ans: (b)

 

Q. The ratio of mass of proton and that of electron is roughly

                   (a) 184        (b) 1800   (c) 1840   (d) 84

Ans: (c)

 

Q. Semiconductors have the value of temperature coefficient of resistance:

                   (a) Negative       (b) Positive

                   (c) Zero              (d) none

 Ans: - (b)

 Q. The current in the circuit is constant and resistance is doubled then power increases

                   (a) ½ times

                   (b) 2 times

                   (c) 4 times

                   (d) ¼ times

Ans: - (b)

 

Q. If temperature is increased then resistance of carbon

                   (a) Increases

                   (b) Becomes constant

                   (c) Decreases

                   (d) Remains same

Ans: - (c) Decreases

 

Q. Two 0.5 kilo ohms, 1W resistors are connected in series. They have equivalent resistance of   1.0 kilo ohms then power consumed will be

                   (a) .25 W     (b) 1.0 W

                   (c) 10 W      (d) 25 W

Ans: - (a)

 

Q. Specific resistance of a substance is expressed in

                   (a) m/ohms    (b) ohm/m

                   (c) k/ohm       (d) ohm/k

Ans: - (b)

 

Q. Which material is not used as the fuse material?

(a) Silicon         (b) Carbon

                   (c) Aluminum   (d) Copper

Ans: - (b)

 

Q. The electric field strength of a charge

                   (a) Decreases with distance

                   (b) Increases with distance

                   (c) Decreases with square of the distance

                   (d) Increases with square of distance  

Ans:-  (c)

Q. Electrical appliances are not connected in series because

                   (a) Don’t makes the appliances independent to each other

                   (b)  Power loss is more

                   (c) Provide high resistance

                   (d) None

Ans: - (a)

 

Q. The e.m.f. of a cell depends upon: -

                   (a) External resistance

                   (b) Internal resistance

                   (c) Current in the cell

                   (d) Electrode of the cell

Ans: (c)

 

Q. Kirchhoff’s current law at the junction deals with

                   (a) Conservation of energy

                   (b) Conservation of charge

                   (c) Conservation of momentum

                   (d) None

Ans: - (b)

 

 

Wednesday, November 26, 2008

computer science question for government service exam

***Q. which one is not the solution to critical section problem?

(a) Deadlock avoidance (b) Mutual exclusion

(c) Progress requirement (d) Bounded waiting

Ans: - (a)

Q. Which increases the CPU efficiency?

(a) Multiprogramming (b) Time-sharing system

(c)Multitasking system (d) All

Ans: - (d)

***Q. When one process is executing in its critical section no other will be allowed into critical section is specified by the condition?


(a) Critical section waiting

(b) Mutual exclusion

(c) Progress requirement.

(d) Bounded waiting.

Ans: - (b)

Q. The principle of locality is used in case of?

(a) Primary memory (b) Virtual Memory

(c) Cache memory (d) Secondary memory.

Ans: - (c)

Q. CPU scheduling is the concept relative to which operating System

(a) Time-sharing OS

(b) Multiprocessor

(c) Batched operating system

(d) Multiprogramming OS.

Ans: - (d)

***Q. In which situation result of operation can not be controlled by programmer?

(a) Race condition. (b) Critical section problem

(c) Semaphore problem (d) (a) & (b)

Ans: - (a)

Q. Which of the following is not the part of operating system?

(a) Job control program (b) Supervisor

(c) Performance monitor (d) Accounting.

Ans: - (c).

Q. Trap is which type of interrupt:-

(a) Hardware (b) Synchronous

(c) Asynchronous (d) operating system’s

Ans:- (b)

****Q. Which is responsible for Running to waiting state of a program?

(a) Time slice expires.

(b) I/O operation.

(c) Process termination.

(d) Interrupt occur

Ans: - (b)

NOTE: - I/O operation and when a process creates child process is responsible for transition of a process from Running state to waiting state.

Q. Scheduling is the process of?

(a) Execute the job faster.

(b) Providing time to execute the task.

(c) Allowing different jobs to use the processor.

(d) Not related to performance

Ans: - (c)

Q. Number of jobs competed in unit amount of time is called

(a) Speedup (b) Efficiency

(c) Throughput (d) Performance

Ans: - (c)

***Q. Scheduler responsible for loading jobs into ready queue is?

(a) Short-term (b) Medium-term

(c) Long –term (d) all

Ans: (c)

Q. Which scheduling policy is suitable for interactive or time-sharing system?

(a) Multilevel Queue Scheduling

(b) Round-robin Scheduling

(c) SJF policy

(d) None

Ans: - (b)

Q. What is the role of dispatcher?

(a) Put task in Ready queue

(b) To select a job

(c) Never changes the task priorities

(d) To give the control to the process selected by CPU

Ans: - (d)

*** Q. Which scheduler is in -charge of ready to running state transition of process?

(a) Short-term (b) Medium-term

(c) Long –term (d) all

Ans: - (a)

**** Q. Which scheduler is performing swapping function?

(a) Short-term (b) Medium-term

(c) Long –term (d) all

Ans: - (b)

Q. Context switching is concept related to

(a) Spooling

(b) Poling

(c) Interrupt handling

(d) Interrupt servicing.

Ans: - (c)


Q. A critical section is a program segment which supports

(a) Deadlock avoidance.

(b) Resource preemption.

(c) Modification to shared resources

(d) Sharing of resource

Ans: - (c)