Podcast
Questions and Answers
What is the total number of bits in a float and a double combined?
What is the total number of bits in a float and a double combined?
- 64
- 96
- 80
- 96 + 32 (correct)
According to IEEE 754, what is the number of bits in the significand of a double?
According to IEEE 754, what is the number of bits in the significand of a double?
- 52 (correct)
- 32
- 64
- 23
Why can't float and double types store all possible floating-point values exactly?
Why can't float and double types store all possible floating-point values exactly?
- Because of unlimited number of bits in the significand
- Because of the sign bit
- Because of the exponent
- Because of limited number of bits in the significand (correct)
What determines the range of values that a type can store?
What determines the range of values that a type can store?
What is the purpose of a declaration in C?
What is the purpose of a declaration in C?
What is the purpose of the brackets in a declaration?
What is the purpose of the brackets in a declaration?
What is the purpose of a semi-colon in a declaration?
What is the purpose of a semi-colon in a declaration?
How do we group identifiers of variables that share the same type in a declaration?
How do we group identifiers of variables that share the same type in a declaration?
What naming conventions must an identifier for a variable satisfy?
What naming conventions must an identifier for a variable satisfy?
What is the minimum number of bits required to represent a short int in a 32-bit environment?
What is the minimum number of bits required to represent a short int in a 32-bit environment?
Why should we avoid using C++ reserved words in C?
Why should we avoid using C++ reserved words in C?
What is the purpose of the const qualifier in C?
What is the purpose of the const qualifier in C?
How does C store characters and symbols?
How does C store characters and symbols?
What is the primary purpose of a type in a typed programming language?
What is the primary purpose of a type in a typed programming language?
What is the main difference between ASCII and EBCDIC collating sequences?
What is the main difference between ASCII and EBCDIC collating sequences?
What is the purpose of the 2's complement rule in storing negative integers?
What is the purpose of the 2's complement rule in storing negative integers?
What is the relation between a type and raw memory?
What is the relation between a type and raw memory?
What is the size of a char type in C?
What is the size of a char type in C?
What is the minimum number of bits required to represent a long long int in a 32-bit environment?
What is the minimum number of bits required to represent a long long int in a 32-bit environment?
What is the main difference between a float and a double in C?
What is the main difference between a float and a double in C?
What is the purpose of the type system in a typed programming language?
What is the purpose of the type system in a typed programming language?
What is the purpose of the IEEE Standard 754 for Binary and Floating-Point Arithmetic?
What is the purpose of the IEEE Standard 754 for Binary and Floating-Point Arithmetic?
What is the primary difference between a char and an int type in C?
What is the primary difference between a char and an int type in C?
What is the purpose of identifying the contents of a variable using a type in C?
What is the purpose of identifying the contents of a variable using a type in C?
How does C store integral data?
How does C store integral data?
How many types of arithmetic types are described in this chapter?
How many types of arithmetic types are described in this chapter?
What is the purpose of the size specifiers in C?
What is the purpose of the size specifiers in C?
What is the primary purpose of the four most common types in the C language?
What is the primary purpose of the four most common types in the C language?
What is the relationship between the type of a variable and the range of values that can be stored in it?
What is the relationship between the type of a variable and the range of values that can be stored in it?
What is the benefit of using different types to store different information in C?
What is the benefit of using different types to store different information in C?
Flashcards are hidden until you start studying