1. The process of converting one predefined type into another is called :
- Typecasting
- Type conversion
- Type convection
- None of these
Answer
Type conversion
2. Which operator is used to string together several expressions?
- comma, operator
- Arithmetic operator
- Relational operator
- Conditional operator
Answer
comma, operator
3. Which operator is having the right to left associativity in the following?
- Type cost
- Addition and substraction
- Function call
- Array subscripting
4. Suppose A , B , C are integers variables A = 3 , B = 3 , C = -5 and X , Y , Z are floating point variables where X = 8.8 , y = 3.5 , z = 5.2 .. Determine the value of the expression ( A * C ) % B ?
5. What is the value of the variable a3 after execution of the following code ? String al , a2 , a3 al = ” 45 ” ; a2 = ” 31 ” , a3 = a2 + al ;
6. Which of the following is an uninitialised Variable ?
- char ch;
- float f1 = 13.1239 ;
- Char ch = ‘ a ‘ ;
- int a = 13 :
7. What is this operator called?
- Relational
- Casting operator
- Conditional
- None of the mentioned
Answer
Conditional
8. Evaluate the following C # expression where a , b , c are integers and d , j are floating point numbers . The value of a = 5 , b = 3 and d , = 1.5 then the value of j = ( + + b ) * b – a is :
9. The operations being came out on dutus , are
- Anthmatic
- Assignment Statement
- operators
- Expression
10. How many types are there in increment / its operand decrement operators Ye ) Increment operator ++ adds 1 to its
11. Any valid combination of operators,
- Expressions
- Modifier
- Structure
- Data type
12. The && and 1l operators
- combine two boolean values
- compare two boolean values
- combine two numeric values
- None of this
Answer
combine two numeric values