Test on C programming P6

Are you a fan of C programming language and want to learn about this programming language? The quiz below The network administrator has edited and sent you questions about this topic, invite you to experience.
  1. Question 1. When is the code block (x <100) executed?
    1. When x is less than one hundred
    2. When x is greater than one hundred
    3. When x equals one hundred
    4. While it wants to
  2. Question 2. How many times will the while loop repeat?
    1. 0
    2. first
    3. Infinite
    4. Turn
  3. Question 3. The return type of the function with the prototype: 'int func (char x, float v, double t);
    1. char
    2. int
    3. float
    4. double
  4. Question 4. What is the result of the following command?
     #include 
     void main () 

    {

    int x = 0;

    switch (x)

    {

    case 1: printf ("One");

    case 0: printf ("Zero");

    case 2: printf ("Hello World");

    }

    }
    1. One
    2. Is not
    3. Hello the world
    4. Zero Hello World
  5. Question 5. Which of the following is the correct declaration of a cursor?
    1. int x
    2. int & x
    3. ptr x
    4. int * x
  6. Question 6. Graphic mode includes the following issues:
    1. How many colors
    2. What colors are included?
    3. How much is the screen resolution?
    4. All 3 plans on
  7. Question 7. In graphic mode, which of the following functions establishes the font type and size:
    1. outtextxy (int x, int int, char far * textstring);
    2. outtext (char far * textstring);
    3. settextstyle (int font, int direction, int charsize);
    4. All 3 answers above
  8. Question 8. What is the best thing to say about floodfill functions (int x, int y, int Border);
    1. Use to color a circle containing points (x, y)
    2. Use to color a rectangle containing points (x, y)
    3. Use to fill polygons containing points (x, y)
    4. Used to color any closed domain containing points (x, y)
  9. Question 9. The clip parameter in setviewport function (int x1, y1 int, int x2, int y2, int clip); what issue:
    1. Allows to display or not to display brush strokes inside viewport
    2. Allows to display or not to display brush strokes outside the viewport
    3. Both are correct
    4. Both are wrong
  10. Question 10. What setset (int color) function does:
    1. Set background color
    2. Set the current drawing color
    3. Both of these are true
    4. Both are wrong
4.5 ★ | 2 Vote