Please someone answer these questions. Thanks google com/viswemg/hiewerurl-htps:
ID: 3348653 • Letter: P
Question
Please someone answer these questions. Thanks
google com/viswemg/hiewerurl-htps://www.thecn.com/program/attachment/downlosd/5b3b60233be60710721646/EE20 Open with Assignment Submission on Wednesday 18 July 2018 Q1. Answer the following (10 X1 10 marks) a) The maximum mumber of significant digits in a mumber is called the b) The data type c) The has only two values: true and false data type, is the smallest integral data type, which is used to represent characters d) Ain_ e) You can use to override the order of precedence rules 1n) An expression that has operands of different data types is called a gi A variable is said to be the first time a valuc is placed in it. operator has only one operand. h) State True or False: If you refer to an identifier without declaring it, the compiler will generate an enor message i) What is a named constant? j) Why are comments important in a program?Explanation / Answer
1. The maximum number of significant digits in a number is called as precision. There are two data types namely float which offers single precision and double which offers double precision.
2. The boolean data type accepts only two data values which are true and false.
3. The char data type is the smallest available data type which is used to represent characters.
4. A unary operator has only one operand. Example of a unary operator are increment and decrement operator.
5. You can use parenthesis to override the order of precedence rules. A expression in parenthesis is always evaluated first irrespective of the order of precedence.
6. An expression that has operands of different data types is called a mixed expression.
7. A variable is said to be initialized the first time a value is placed in it. A variable cannot be used anywhere in the program until and unless it is inititalized.
8. If an identifier is referred without declaring it the compiler will generate a syntax error indicating that the identifier is not declared.
9. A named constant is a value which does not change throughout the run of the program. The value is known when the program us written, thereafter the value does not change while the program is running.
As per Chegg's answering guidelines we are supposed to answer only first four subparts of the question at once. Then also i have answered the first 9 questions completely with explanation. Please repost the remaining question separately to get its solution
In case you have any doubts please feel free to ask your doubts in the comments section. I would be happy to clarify it.
DO GIVE A THUMBS UP!!