Tuesday 23 April 2013

Junior instructor question and answers

Junior instructor question and answers

1.What are the types of linkages?
  • [A]Internal and External
  • [B]External, Internal and None
  • [C]External and None
  • [D]Internal
show answer <== click Here


2. Which of the following special symbol allowed in a variable name?
  • [A] * (asterisk)
  • [B]| (pipeline)
  • [C]- (hyphen)
  • [D]_ (underscore)
show answer <== click Here


3.How would you round off a value from 1.66 to 2.0?
  • [A]ceil(1.66)
  • [B]floor(1.66)
  • [C]roundup(1.66)
  • [D] roundto(1.66)
show answer <== click Here


4. By default a real number is treated as a
  • [A] float
  • [B] double
  • [C]long double
  • [D]far double
show answer <== click Here


5. When we mention the prototype of a function?
  • [A]Defining
  • [B]Declaring
  • [C]Prototyping
  • [D] Calling
show answer <== click Here


6.A float is ---------- bytes wide
  • [A]2
  • [B]4
  • [C]6
  • [D]8
show answer <== click Here


7.A double is ----------bytes wide.
  • [A]2
  • [B]4
  • [C]6
  • [D]8
show answer <== click Here


8. What are the different types of real data type in C ?
  • [A]float, double
  • [B]short int, double, long int
  • [C]float, double, long double
  • [D]double, long int, float
show answer <== click Here


9. The operator used to get value at address stored in a pointer variable is
  • [A] *
  • [B]&
  • [C]&&
  • [D]||
show answer <== click Here


10.Which bitwise operator is suitable for turning off a particular bit in a number?
  • [A] && operator
  • [B]& operator
  • [C]|| operator
  • [D]! operator
show answer <== click Here