Set of multiple choice questions on programming with P3 prize

Invite readers to participate in testing knowledge with questions around the topic of the following programming of Network Administrator. The question set will have 10 questions with 4 answers, please choose the most accurate answer.
  1. Question 1. In the following functions, which function is an unformatted function to print a character string to the screen:
    1. puts ().
    2. printf ().
    3. scanf ().
    4. gets ().
  2. Question 2. Result of the following program:
     #include 'stdio.h' 

    void main ()

    {

    int i; i = 10;

    printf ('% o', i);

    }
    1. 8
    2. ten
    3. twelfth
    4. Other results
  3. Question 3. Using any transmission in the function will not change the value of the variable in the main program:
    1. Transmission by value
    2. Transmission by address value of parameter
    3. Both a and b are correct
    4. A and B are wrong
  4. Question 4. Indicates the value of expression 5> 1
    1. -first
    2. 0
    3. first
    4. No sentence is correct
  5. Question 5. Indicates the value of expression 2 + 4> 2 && 4
    1. 0
    2. first
    3. -first
    4. No sentence is correct
  6. Question 6. Cursor variables can contain:
    1. Memory address of another variable
    2. Value of another variable
    3. Both a and b are correct
    4. A and B are wrong
  7. Question 7. Character data includes:
    1. Digit digits
    2. Alphabetical characters
    3. Special characters
    4. All answers above
  8. Question 8. If the function is called before it defines, what is the condition:
    1. The return type of the function must be of type void
    2. The input type of the function must be of type void
    3. Before calling the function it must be declared
    4. The function only returns the boolean data type
  9. Question 9. What kind of float data can the float data type handle:
    1. 3.4 * 10-38 to 3.4 * 1038.
    2. -32768 to 32767
    3. -128 to 127
    4. 0 . 65535
  10. Question 10. Which of the following data types is not considered to be the basic data type in the C programming language:
    1. Array type
    2. Enum type
    3. Short type int
    4. Unsigned style
4.5 ★ | 2 Vote | 👨 161 Views
« PREV POST
NEXT POST »