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

Quiz

ITE3711 New

itso Lucypay 63 questions Updated 28 Nov 2024

Take the quiz

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

Questions in this quiz (63)

  1. 1What is the result of 2 + 3 * 4 in Python?
    1. A12
    2. B14
    3. C20
    4. D18
  2. 2Which of the following is a valid variable name in Python?
    1. A1variable
    2. Bmy_variable
    3. Cvariable-1
    4. Dvar&ble
  3. 3What will be the output of print("Hello" * 3) in Python?
    1. AHelloHelloHello
    2. B9
    3. CHello 3 times
    4. DRasengan
  4. 4In Python, which statement is used to make a decision based on a condition?
    1. Afor
    2. Bswitch
    3. Cif
    4. Dmizu no ko kyuu ichi no kata mina mo giri
  5. 5How do you define a function in Python?
    1. Afunction myFunction():
    2. Bdefine myFunction():
    3. Cdef myFunction():
    4. Dfunc myFunction():
  6. 6 What is the correct way to call a function named my_function with two arguments in Python?
    1. Acall my_function()
    2. Bfunction my_function()
    3. Cmy_function(arguments)
    4. Dmy_function(arg1, arg2)
  7. 7What will the following code snippet output: 5 > 3 and 10 < 20?
    1. ATrue
    2. BFalse
    3. CError
    4. Dsan no kata ryuu ryuu mai
  8. 8Which data type can not execute a calculation in Python?
    1. Astring
    2. Binteger
    3. Cfloat
    4. Dall of above
  9. 9What does the "return" statement do in a function?
    1. ATerminates the function
    2. BReturns a value from the function
    3. CPrints a message
    4. DSkips the function
  10. 10What is the result of range(7) in Python?
    1. A1,2,3,4,5,6
    2. B0,1,2,3,4,5,6
    3. C0,1,2,3,4,5,6,7
    4. D1,2,3,4,5,6,7

Information

Description
IT114126 please search!!!
Language
English
Views
407
History
Created on 24 Oct 2024 · updated on 28 Nov 2024
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?