ICS Part 2 Computer Science Chapter 9 Online Test With Answers

image
image
image

ICS Part 2 Computer Science Chapter 9 Online Test

Sr. # Questions Answers Choice
1 What happens when the result of a calculation exceeds the capacity of data type? System error Logic error Syntax error Over flow
2 The number of bytes used by double data type in C is: 2 8 12 16
3 The number of bytes used by float data type in C is: 2 4 121 16
4 The float, long float and double data types are known as: Integer data character data Integral data Real data
5 The data type can handle decimal places is: Long float char string
6 the integer, long and short data types are known as: Integer data types Non-integral data types float data types Non-numeric data types
7 An integer variable can store the value: -1.1 "123" 32898 5.5
8 The number of bytes used by long int data type in C is: 2 4 12 16
9 The number of bytes used by int data type in C is: 2 8 12 16
10 Which is a numeric data type ? float int Both a and b char
11 Which data type is used to store numeric value with no decimal point? int char float All
12 Which statement is true about data types? Data type has no memory requirements Each data type has different memory requirements Each data type has same memory requirements None of the above
13 Which term describes the kind of values that a variable can store? Varaible name Datatype Varaibletype Varaiblesize
14 Which of the following are valid variable names? Long Integer Notlongenough Both B and C
15 Which of the following is NOT a valid identifier? return myInt myInteger total3
Download This Set