New ! Computer Science MCQ Practise Tests



11th Standard Computer Science Functions English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:10:00 Hrs
Total Marks : 10

    Answer all the questions

    10 x 1 = 10
  1. Which function is used to check whether a character is alphanumeric or not:

    (a)

    isalpha ( )

    (b)

    isdigit ()

    (c)

    isalnum ()

    (d)

    islower ()

  2. Which of the following function is with a return value and without any argument?

    (a)

    x=display(int, int)

    (b)

    x=display()

    (c)

    y=display(float)

    (d)

    display(int)

  3. Which of the following is the scope operator?

    (a)

    >

    (b)

    &

    (c)

    %

    (d)

    ::

  4. How many types of functions are there in C++?

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    many

  5. Which functions reads a string from standard input and stores it into the string pointer by the variable?

    (a)

    getch ()

    (b)

    getstring

    (c)

    gets()

    (d)

    String()

  6. How many arguments taken by strcpy () function?

    (a)

    2

    (b)

    3

    (c)

    4

    (d)

    1

  7. Which of the following statement is true or false?
    (i) Strcat ( ) function appends copy of the character string pointed by the source to the memory location pointed by target.
    (ii) strcpy () function appends copy of the character string pointed by the source to the end of the string pointed by the target.
    (iii) strcmp ( ) and strlen ( ) function takes two arguments.
    (iv) strcmp ( ) function compares the contents of strings lexicographically

    (a)

    (i) true, (ii) false, (iii) false, (iv) true

    (b)

    (i) false, (ii) true, (iii) false, (iv) false

    (c)

    (i) false, (ii) false, (iii) false, (iv) true

    (d)

    (i) false, (ii) false, (iii) false, (iv) false

  8. Which of the following function appends copy of the character string pointed by the source to the end of string pointed by the target?

    (a)

    strcpy ()

    (b)

    strpaste ()

    (c)

    strcat ()

    (d)

    concat ()

  9. Which of the following function returns the square root of the given value of the argument?

    (a)

    sqr ()

    (b)

    sqrt ()

    (c)

    square ()

    (d)

    sqroot ()

  10. Which of the following is not a return type of pow() function?

    (a)

    integer

    (b)

    double

    (c)

    float

    (d)

    long double

*****************************************

Reviews & Comments about 11th Standard Computer Science Functions English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

Write your Comment