1 |
C is strongly typed language, it means that: |
- A. Every program must be compiled before execution
- B. Every variable must be declared before it is being used
- C. The variable declaration also defines the variable
- D. Sufficient data types are available to manipulate each type of data
|
2 |
Variable are created in: |
- A. RAM
- B. ROM
- C. Hard Disk
- D. USB
|
3 |
How many primary keys can a table have |
- A. One
- B. At least one but not more than two
- C. Between 1-5
- D. No limit
|
4 |
The number of bytes used by float data type in C is: |
|
5 |
Which of the following data type offers the highest precisions |
- A. Float
- B. Long int
- C. Long double
- D. Unsigned long unit
|
6 |
A candidate key is |
- A. Primary key
- B. The primary key selected to be the key of relation
- C. A group attribute that can be the primary key
- D. All of them
|
7 |
Relational operators are used to |
- A. Establish a relationship among variables
- B. Compare two values
- C. Construct compound condition
- D. Performs arithmetic operators
|
8 |
Which of the following statement is correct? |
- A. float num1;num2;
- B. int day,night;
- C. int continue=5.0;
- D. string black='white';
|
9 |
What happens when the result of a calculation exceeds the capacity of data type? |
- A. System error
- B. Logic error
- C. Syntax error
- D. Over flow
|
10 |
The number of digits after a decimal point is called: |
- A. Significance
- B. Precision
- C. Range
- D. Scope
|