Set of multiple choice questions on programming with P14 prize
You are a regular person writing about programming code, so are you confident with your knowledge? Try checking with our multiple choice questions below.
- Question 1. Choose a wrong statement:
-
- String is an array of characters.
-
- The period is the number of characters and is the same code.
-
We are the characters and the code is the same NULL
- String is array of values 2 (1 byte)
-
- Question 2. Which of the following formats can be used to export unsigned integers:
- '% d'
- % unsigned '.
- '% i'.
- '% u'.
-
- Question 3. Which of the following formats is used to display a real number:
- '% f'
- '% u'
- '% i'
- '% float'
-
- Question 4. What are the math operators:
- +, /,%
- +, -, *, /,%, ++, -,>, <
- &&, ||
- +, -, *, /,%, =,! =
-
- Sentence 5. A variable must begin with:
- A character is usually like letters or underscores
- An underscore
- A numeric character
- An operator like: +, - .
-
- Question 6. Select the result of the following code:
for (int i = 1; i <10; i ++)
for (int j = 1; j <10; j ++)
ì (j% i == 0) printf ('Hellon');- 6 string 'Hello'
- 12 strings 'Hello'
-
23 'Hello' strings
- There is no output to the screen
-
- Question 7. What is the value of variable n?
int n = 0;
for (int i = 0; i <10; i + = 4) n + = i;- 8
- twelfth
- 16
- 20
-
- Question 8. The size of the array is:
-
Maximum number of elements of the array
- Memory size will be allocated to the array
- Both sentences are true
- Both sentences are wrong
-
- Question 9. What is the best statement about fluctuations:
- Only develop during program implementation
- When running the program, the variable area, device size and device address may change
- After use, it can be freed to save memory space
- All answers above
-
- Question 10. Which of the following statements is incorrect when it comes to files:
- The file is the completed data stored in the external memory by a user or a program
- The operating system recognizes a file thanks to its full name including the path and file name
- 'C: tmTEN.txt' - Form of file description in C
- 'C: /tm/TEN.txt' - The file description format in C
-
3.5 ★ | 2 Vote
You should read it
- Set of multiple choice questions about programming with P12
- Set of multiple choice questions for programming with P15 prize
- Set of multiple choice questions about programming with P10 prize
- Set of multiple choice questions about programming with P7 prize
- P13 programming set of multiple choice questions
- Set of multiple-choice questions on award-winning programming P5
- Set of multiple choice questions about programming with P6
- Set of multiple choice questions on programming with P16 prize
- A set of multiple choice questions for programming has a P2 prize
- Set of multiple choice questions for programming with P8 prizes
- Set of multiple choice questions on programming with P3 prize
- Set of multiple choice questions about programming with P17 prize
May be interested
What test you know about operating system P12
Multiple choice questions about network security implementation have P2 answers
Multiple choice questions on network security implementation have P3 answers
What do you know about P17 software technology
Test of database security P10
Multiple choice questions on network security deployment have the answer P4