New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Subject Python Functions Book Back 1 Mark Questions with Solution Part - II

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 5

    1 Marks

    5 x 1 = 5
  1. While defining a function which of the following symbol is used.

    (a)

    ; (semicolon)

    (b)

    . (dot)

    (c)

    : (colon)

    (d)

    $ (dollar)

  2. In which arguments the correct positional order is passed to a function?

    (a)

    Required

    (b)

    Keyword

    (c)

    Default

    (d)

    Variable-length

  3. Read the following statement and choose the correct statement(s).
    (I) In Python, you don’t have to mention the specific data types while defining function.
    (II) Python keywords can be used as function name.

    (a)

    I is correct and II is wrong

    (b)

    Both are correct

    (c)

    I is wrong and II is correct

    (d)

    Both are wrong

  4. Pick the correct one to execute the given statement successfully.
    if ____ : print(x, " is a leap year")

    (a)

    x%2=0

    (b)

    x%4==0

    (c)

    x/4=0

    (d)

    x%4=0

  5. Which of the following keyword is used to define the function testpython(): ?

    (a)

    define

    (b)

    pass

    (c)

    def

    (d)

    while

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

Reviews & Comments about 12th Standard English Medium Computer Science Subject Python Functions Book Back 1 Mark Questions with Solution Part - II updated Book back Questions

Write your Comment