1 |
By default, type int is considered as: |
- A. single integer
- B. negativeinteger
- C. positiveinteger
- D. originalinteger
|
2 |
Which is wrong return statement. |
- A. Return x
- B. Return (x,y)
- C. Retrun (4,5)
- D. Both b and c
|
3 |
_______ structure allows repetition of a set of instructions: |
- A. loop
- B. conditional
- C. control
- D. data
|
4 |
Which symbol is used to represent the NOT operator ? |
|
5 |
Single-line comments start with: |
- A. //
- B. ==
- C. ??
- D. &&
|
6 |
Which is used to convert high level programming language into machine language ? |
- A. compiler
- B. C language
- C. code programming
- D. internal programming
|
7 |
Which help us to understand our own code even after years of writing it? |
- A. common words
- B. comments
- C. end sensitive
- D. section sensitive
|
8 |
If we want to assocate more than one statements to an if statement, then they need to be enclosed inside a. |
|
9 |
Which is a block of statements that performs a particular task. |
- A. Function
- B. Program
- C. Routine
- D. Block
|
10 |
For initializing a variable, we use ________ operator: |
|