Game Preview

Values and Operator(Grade 9)

  •  English    16     Public
    Revision
  •   Study   Slideshow
  • State True or False :- char s ='Ram';
    False
  •  10
  • State True or False :- boolean p="true"
    False
  •  10
  • State True or False :- String str='Mouse'
    False
  •  10
  • State True or False :- float f = 23.54
    True
  •  10
  • State True or False:- char a='A'
    True
  •  10
  • State True or False :- int n =12.5
    False
  •  10
  • State True or False :- boolean b = false
    True
  •  10
  • Mention type of value obtained when executed : int a;float f; double d - (a/f) * d
    double
  •  10
  • Mention type of value obtained when executed : int n, float, char c - x + y * c
    float
  •  10
  • Mention type of value obtained when executed:- int i, short s, float f - (int) (s + f / i)
    int
  •  10
  • Identify type of casting - int i,j; double d; - j = i * d;
    implicit Type conversion
  •  10
  • Identify type of casting - double x; int i; - y = (int) (x*i)
    Explicit type conversion
  •  10
  • Identify type of casting - int a ; Long b =a
    Implicit type casting
  •  10
  • Identify type of casting double d = 12; int b = (int) d;
    Explicit type casting
  •  10
  • Identify the type of literal : '?'
    Char
  •  10
  • Identify the type of literal : false
    boolean
  •  10