Set of multiple choice questions about programming with P10 prize

  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
5 ★ | 1 Vote

May be interested

  • Set of multiple choice questions about programming with P11 prizePhoto of Set of multiple choice questions about programming with P11 prize
    instead of going to the centers to learn about programming, you can completely learn at home with extremely useful multiple-choice questions that the network administrator summarized below.
  • What do you know about software technology P14Photo of What do you know about software technology P14
    the following set of software technology quiz questions will provide you with lots of useful information to apply to your work, which will bring about high efficiency.
  • What test you know about the P8 operating systemPhoto of What test you know about the P8 operating system
    you are learning about computer or mobile operating system. if you feel tired of reading lengthy articles, the multiple choice questions below will help you feel more excited. the following network administrator will send you a series of articles revolving around this topic.
  • What do you know about P15 software technologyPhoto of What do you know about P15 software technology
    as a professional software engineering engineer, you should master the theory of this issue before applying it to practice. the following quiz of network administrator will help you easily learn about this topic.
  • What test you know about operating system P9Photo of What test you know about operating system P9
    in previous posts network administrator has sent you to read the operating system questions to help you test your knowledge on this topic. the next section will continue to be multiple choice questions about the operating system. invite your reference.
  • PowerPoint informatics test P9Photo of PowerPoint informatics test P9
    powerpoint is one of the useful microsoft office applications when you need a presentation. if you are looking to learn about this application, the multiple choice questionnaire below will give you lots of useful information.