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.

  1. Question 1. By two letters A and B, people can write some correct names with a length of no more than 2 letters
    1. 2
    2. 4
    3. 6
    4. 8
  2. Question 2. There are several types of constants
    1. 2
    2. 3
    3. 4
    4. 5
  3. Question 3. In Pascal, which annotations are placed between the pair of marks?
    1. {and}
    2. [and]
    3. (and)
    4. / * and * /
  4. Question 4. In the representations below, which representation is the keyword in Pascal?
    1. End
    2. Sqrt
    3. Crt
    4. LongInt
  5. Question 5. Which of the following is true about a reserved name?
    1. Reserved name is the name set by the programmer
    2. The reserved name is the name that has been prescribed by the human resources with its own specific meaning, not used with other meanings
    3. The reserved name is the name specified by the HRT with its own specific meaning, which can be redefined
    4. Reserved names are constants or variables
  6. Question 6. Which of the following statements is true for the standard name?
    1. The standard name is the name given by the programmer
    2. The standard name is the name that has been prescribed by the human resource with its own specific meaning, not used with other meanings
    3. The standard name is the name that has been used by the human resource with its own specific meaning and can be redefined
    4. The standard name is constants or variables
  7. Question 7. Gotoxy function (int x, int y) is a function:
    1. Place the cursor at line x, column y
    2. Place the cursor at column x, y line
    3. Save the coordinates of the screen pointer of column x, y line
    4. Save the coordinates of the screen pointer x and y lines.
  8. 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;

    };
    1. Results range is: 63.20, -45.60, 70.10, 3.60, 14.50
    2. The results range are: 14.50, 3.60, 70.10, -45.60, 63.20
    3. Other results
    4. Both A and B
  9. 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;

    };
    1. Enter a normal character, then switch to uppercase and print to the screen
    2. Enter a capital letter, then switch to lowercase and print to the screen
    3. Another result
    4. Answers a and b
  10. Question 10. What does the math mean?
    1. Change the sign of a real number or an integer
    2. Divide two real or integer numbers
    3. Take the remainder of the division of two integers
    4. Answers a and b
Update 24 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile