Set of multiple choice questions on programming with P14 prize
- 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 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
May be interested
- What test you know about operating system P12you love to learn the knowledge about the operating system. if you feel depressed when reading long articles, try the following multiple choice questions of network administrator. there are many good quizzes to learn.
- Multiple choice questions about network security implementation have P2 answerssecurity of information and network security is essential in today's 4.0 technology era. to help readers have more useful knowledge on this topic, the quiz below network administrators will send you interesting questions.
- Multiple choice questions on network security implementation have P3 answerswhat do you know about network security deployment? if you are a person who is studying and working on information technology, you probably can't ignore the very interesting knowledge that the network administrator wants to share below.
- What do you know about P17 software technologyin the quiz below, the network administrator will send you the topic of software technology. for those who are working on the software, certainly will not ignore our series of tests.
- Test of database security P10database is a data collection organized in a structured way related to each other and stored in a computer. the database is designed and built to allow users to store data, retrieve information or update data. here, please read more about this topic through our quiz below.
- Multiple choice questions on network security deployment have the answer P4please read our knowledge and interesting multiple choice questions about our network security deployment below. the question set will have 10 sentences to try.