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

Quiz

Python Basics

revanth naidu 25 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (25)

  1. 1[blank_start]print[blank_end]("Hello, World!")
    1. Aprint
  2. 2Select the following parenthesis during input.
    'Hello!,everyone.'
    'Hello!,everyone.'
    "Hello!,everyone."
    1. A" "
    2. B""" """
    3. C''' '''
    4. D' '
  3. 3[blank_start]#[blank_end]This is a Single line comment
    1. A#
  4. 4[blank_start]'''[blank_end]This is a
    multi-lined
    comment'''
    1. A'''
  5. 5myVariableName = "John"
    MyVariableName = "John"
    my_variable_name = "John"
    1. ASnake Case, Camel Case and Pascal Case
    2. BCamel Case, Pascal Case and Snake Case
    3. CPascal Case, Camel Case and Snake Case
  6. 6x, y, z = "Orange", "Banana", "Cherry"
    print(x)
    print(y)
    print(z)
    Select the output in order
    1. ACherry , Orange , Banana
    2. BOrange , Banana , Cherry
    3. CBanana , Cherry , Orange
  7. 7fruits = ["apple", "banana", "cherry"]
    x, y, z = fruits
    print(x)
    print(y)
    print(z)
    1. Abanana , cherry , apple
    2. Bcherry , apple , banana
    3. Capple , banana , cherry
  8. 8x = "Hello World"
    1. Aint
    2. Blist
    3. Cstr
    4. Dset
  9. 9x = 20
    1. Atuple
    2. Blist
    3. Cfloat
    4. Dint
  10. 10x = 20.5
    1. Afloat
    2. Bint
    3. Cstr
    4. Dtuple

Information

Description
Computer Science Quiz on Python Basics, created by revanth naidu on 28/03/2021.
Language
English
Views
2
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?