UNPKG

course-renderer

Version:

Manages CA School Courses file system storage and HTML conversion

379 lines (190 loc) 6.11 kB
/// type=MS, answer=[1,2,3] 1. Which of the following is true about an integer? - It has least one digit - It has one decimal point - It can either positive or a negative number - It has null value - It has more than one decimal point /// type=SS, answer=[3] 2. Which of the following pairs are integers? - `1.5` and `-1.5` - `0.00` and `-0.00` - `1` and `-1` - `null` and `empty` - `2%` and `-2%` /// type=TI, answer=[10] 3. Rewrite the following as a valid integer: `10.0` /// type=MS, answer=[1,2,3] 4. Which of the following are valid integers? - `1234` - `-1234` - `0` - `1,000` - `1.0` /// type=TI, answer=[-100] 5. Rewrite the following as a valid integer: `-100.0` /// type=SS, answer=[1] 6. `-12.5` is not a valid integer because? - it has decimal point - it is a negative number - it has more than one digit - it is bigger than `-2147483648` - it is less than `2147483648` /// type=MS, answer=[1,2,3,4] 7. Which of the following best describes an integer? - It has at least one digit number - It is a non-decimal point number between `-2147483648` and `2147483648` - It does not have decimal point - It can either be positive or a negative number - It is has one decimal point /// type=SS, answer=[3] 8. Which of the following lists contain only integers? - `["abc", "xyz0", "+z"]` - `[2a.5, 100.0, 99.1]` - `[-188, 0, 123]` - `["0x1", null, "null"]` - `[50.1%, 10.3%, 80.6%]` /// type=SS, answer=[3] 9. `[10, 100, 200, 5]` This lists contains only? - negative numbers - decimal point numbers - positive numbers - special numbers - infinite numbers /// type=MS, answer=[1,2,3,4,5] 10. `2147480000` is a valid integer because? - it has no decimal point - it is a positive number - it has more than one digit - it is bigger than `-2147483648` - it is less than `2147483648` /// type=SS, answer=[3] 11. What is the minimum value of an integer? - `0` - `-100000000` - `-2147483648` - `-1` - `1` /// type=MS, answer=[2,4] 12. Which are not true about integers? - They have no decimal point - They have least one decimal point - They have at least has one digit - They can be a negative number - They can be a positive number /// type=SS, answer=[5] 13. Which of the following lists contains a non-integer value? - `[-2, -100, 2000, -1.5]` - `[1, 2, 3, null]` - `[0, 100, 200, -2150000000]` - `[1000, 2000, 2150000000, 40000]` - `[0, -1, -2147483648, 2147483648]` /// type=MS, answer=[1,4] 14. Which of the following lists contains only integer value? - `["ingteger", "hello", "not me"]` - `[0, 50, -1]` - `[10000, 100000, 1000000000]` - `[10.5, "one", null]` - `[-1000, -456, 123456]` /// type=SS, answer=[2] 15. What is the maximum value of an integer? - `1000000` - `2147483648` - `2150000000` - `0` - `1000000000` /// type=SS, answer=[3] 16. The following integer is invalid because? `2150000000` - it is a positive number - it has no decimal point - it is greater than `2147483648` - it is less than `-2147483648` - it has more than one `0` /// type=SS, answer=[3] 17. Which of the following best describes an integer? - It is either positive or negative number with at least one decimal point - It has null value - It is either positive or negative number with at least one digit - It has one decimal point - It has one or more letters /// type=TI, answer=[2000000] 18. Rewrite the following as a valid integer: `2,000,000` /// type=SS, answer=[2] 19. `3.5` is an invalid integer because? - it is a positive number - it has decimal point - it has more than one digit - it is bigger than `0` - it is less than `2147483648` /// type=MS, answer=[2,3] 20. Which of the following does not describe an integer? - It has more than one digit with no decimal point - It has more than one digit with one or more decimal points - It has more than one digit with at least one decimal point - It can be zero (`0`) - It starts with a letter /// type=MS, answer=[1,3,4,5] 21. `0` is a valid integer because? - it is a positive number - it has decimal point - it has at least one digit - it is bigger than `-2147483648` - it is less than `2147483648` /// type=MS, answer=[2,4] 22. Which of the following list contains valid integers only? - `["one", "two", "three"]` - `[0, -1, 23456]` - `[-1.5, 2.5, 3.0]` - `[123, 10000, -20000]` - `[-5678, 900, 0.1]` /// type=MS, answer=[2,4,5] 23. Which of the following does not describe an integer? - It has least one digit - It has one decimal point - It can either positive or a negative number - It has null value - It has more than one decimal point /// type=SS, answer=[5] 24. Which of the following is not true about an integer? - It has at least one digit number - It is a non-decimal point number between `-2147483648` and `2147483648` - It does not have decimal point - It can either be positive or a negative number - It is has one decimal point /// type=MS, answer=[1,2,3,4] 25. Which of the following are valid integers? - `0` - `-1` - `-2000000` - `2000000` - `2.5` /// type=SS, answer=[1] 26. What is the minimum and maximum value of an integer? - `-2147483648` and `2147483648` - `-1` and `1000000` - `-.0` and `100000.0` - `-100000` and `100000` - `-0` and `5000000` /// type=SS, answer=[2] 27. `54,000` is an invalid integer because? - it has decimal point - it has a comma - it has more than one digit - it is a positive number - it contains `0` /// type=MS, answer=[2,4] 28. Which of the following is an invalid integer? - `100,000` - `-10000` - `null` - `100000` - `2.5` /// type=MS, answer=[1,2,3] 29. `2147483647` is a valid integer because? - it is a positive number - it has no decimal point - it is less than `2147483648` - it is lesser than `-2147483648` - it is a negative number /// type=TI, answer=[1000000] 30. Rewrite the following as a valid integer: `1,000,000.0`