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
- Set of multiple choice questions on programming with P9multiple choice questions about programming help you gain more useful knowledge for yourself in the process of learning and working. there will be 10 questions for you to test your knowledge. let's start.
- Set of multiple choice questions about programming with P12the programming test questions below will provide you with useful knowledge on this topic. if you want to study programming, you should not ignore the series of programming tests of network administration.
- Set of multiple-choice questions on award-winning programming P5serializing programming tests, in the following article, readers will be able to expand their knowledge with more interesting questions. let's start.
- Set of multiple choice questions about programming with P6the following network administrators will continue to send you interesting questions about programming. if you love this topic, then try your knowledge.
- Multiple choice questions about programming with P1 prizeprogramming is the use of programming languages and tools and utilities to write code, build practical programs and applications on your computer to serve your life. the following is an invitation to test your knowledge with our following series of articles.
- Multiple choice questions about Javascript languageif you are a beginner of these programming languages, the following multiple-choice questions of network administrator will be very suitable for you to support knowledge.
- Guide to creating multiple choice questions on VnEduone of the outstanding features of vnedu is to create multiple choice questions quickly. using vnedu, teachers will not worry about test questions that are identical to multiple choice questions, can add and edit questions easily to make midterm or final exam questions, ...
- P13 programming set of multiple choice questionsyou are a fan of programming languages and want to learn more about this topic. to give you an interesting reading about programming, in this article, the network administrator will send you a good quiz about this topic. invite your reference.
- A set of JavaScript multiple-choice questions has P4 answersplease read your knowledge and multiple choice questions around the javascript topic that the network administrator has edited below. the set of questions includes 10 sentences to try.
- A set of JavaScript multiple-choice questions with P2 answerslocated in the series of tests on programming languages, in the basic knowledge test below network administrators will send you questions with javascript topics.