- 2
- 4
- 6
- 8
Set of multiple choice questions about programming with P10 prize
The programming questions below will give you lots of useful information. If you are interested in learning programming languages, the series of programming language topics will be very helpful for you.
- Question 1. By two letters A and B, people can write some correct names with a length of no more than 2 letters
- Question 2. There are several types of constants
- 2
- 3
- 4
- 5
-
- Question 3. In Pascal, which annotations are placed between the pair of marks?
- {and}
- [and]
- (and)
- / * and * /
-
- Question 4. In the representations below, which representation is the keyword in Pascal?
- End
- Sqrt
- Crt
- LongInt
-
- Question 5. Which of the following is true about a reserved name?
- Reserved name is the name set by the programmer
- The reserved name is the name that has been prescribed by the human resources with its own specific meaning, not used with other meanings
- The reserved name is the name specified by the HRT with its own specific meaning, which can be redefined
- Reserved names are constants or variables
-
- Question 6. Which of the following statements is true for the standard name?
- The standard name is the name given by the programmer
- The standard name is the name that has been prescribed by the human resource with its own specific meaning, not used with other meanings
- The standard name is the name that has been used by the human resource with its own specific meaning and can be redefined
- The standard name is constants or variables
-
- Question 7. Gotoxy function (int x, int y) is a function:
- Place the cursor at line x, column y
- Place the cursor at column x, y line
- Save the coordinates of the screen pointer of column x, y line
- Save the coordinates of the screen pointer x and y lines.
-
- Question 8. What are the results of the following program:
#include
#include
float x [] = {63.2, -45.6, 70.1, 3.6, 14.5};
int n = sizeof (x) / sizeof (float); void main ()
{
clrscr (); int i, j; floar c;
for (i = 0, j = n-1; i
{
c = x [i]; x [i] = x [j]; x [j] = c;
};
printf ('nKay via la: n'); cho (i = 0; i
getch (); return;
};- Results range is: 63.20, -45.60, 70.10, 3.60, 14.50
- The results range are: 14.50, 3.60, 70.10, -45.60, 63.20
- Other results
- Both A and B
-
- Question 9. What are the results of the following program?
#include
#include #include #define EOL 'n' void main ()
{
clrscr ();
char chu [80]; int tong, dem;
for (dem = 0; dem
for (dem = 0; dem
return;
};- Enter a normal character, then switch to uppercase and print to the screen
- Enter a capital letter, then switch to lowercase and print to the screen
- Another result
- Answers a and b
-
- Question 10. What does the math mean?
- Change the sign of a real number or an integer
- Divide two real or integer numbers
- Take the remainder of the division of two integers
- Answers a and b
-
Update 24 May 2019
programmingprogramming exercisesweb programmingcomputer programmingmultiple choicemobile programmingprogramming languagesprogramming applicationsiodine programming
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 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 P14 prize
- Set of multiple choice questions on programming with P3 prize
- Set of multiple choice questions about programming with P17 prize