GoConqr has a new look! Let us know what you think.

Quiz

Python Basics

Priya Nayak 5 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (5)

  1. 1n = 7
    m = 8
    while n>0:

    if m%2 != 0:
    n = n-1
    else:
    m = m//2
    print(m)
    What is the value of m?
    1. A1
    2. B0
    3. C2
    4. Dnone of the above
  2. 2arr = [2,3,4,9,8]
    b = arr.sort()
    print(b)

    value of b is an array.
    1. ATrue
    2. BFalse
  3. 3a = "Today is Quiz Day"
    a = a.split()
    print(str(a[4])+str(a[2]))

    What will the output be?
    1. AIndex Error
    2. BDayQuiz
    3. CQuizDay
    4. Deither of B and C
  4. 4There are [blank_start]8[blank_end] data types in Python
    1. A8
  5. 5What is used to define a block of code in Python?
    1. AIndentation
    2. BCurly Braces "{}"
    3. CParentheses "()"
    4. DQuotation " "" "

Information

Description
Primary 2 Python Quiz on Python Basics, created by Priya Nayak on 08/06/2018.
Language
English
Views
12
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?