Online Test on -Getting start with python

Descripción

Test sobre Online Test on -Getting start with python, creado por Aparna Dhirde el 13/03/2020.
Aparna Dhirde
Test por Aparna Dhirde, actualizado hace más de 1 año
Aparna Dhirde
Creado por Aparna Dhirde hace más de 4 años
297
0

Resumen del Recurso

Pregunta 1

Pregunta
What is answer of this expression, 22 % 3 is?
Respuesta
  • 7
  • 1
  • 0
  • 5

Pregunta 2

Pregunta
What is the output of this expression, 3*1**3?
Respuesta
  • 27
  • 9
  • 3
  • 1

Pregunta 3

Pregunta
What is the maximum possible length of an identifier?
Respuesta
  • 31 characters
  • 63 characters
  • 79 characters
  • none of the mentioned

Pregunta 4

Pregunta
What is the output of the code shown below? not(3>4) not(1&1)
Respuesta
  • TrueTrue
  • TrueFalse
  • FalseTrue
  • FalseFalse

Pregunta 5

Pregunta
Select the reserved keyword in python
Respuesta
  • else
  • import
  • raise
  • All of these

Pregunta 6

Pregunta
Which of the following symbols are used for comments in Python?
Respuesta
  • //
  • ''
  • /**/
  • #

Pregunta 7

Pregunta
Are nested if-else are allowed in Python?
Respuesta
  • True
  • False

Pregunta 8

Pregunta
a = 8.6 b = 2 print a//b
Respuesta
  • 4.3
  • 4.0
  • 4
  • compilation error

Pregunta 9

Pregunta
Which statement is correct....??
Respuesta
  • List is mutable && Tuple is immutable
  • List is immutable && Tuple is mutable
  • Both are Immutable
  • Both are Mutable.

Pregunta 10

Pregunta
Which of the following data type is used to store values in key and value format?
Respuesta
  • Class
  • List
  • Tuple
  • Dictionary

Pregunta 11

Pregunta
Which of the following operators is used to get accurate result (i.e fraction part also) in case of division ?
Respuesta
  • //
  • %
  • /
  • None of the above

Pregunta 12

Pregunta
19 % 2 in python
Respuesta
  • 17
  • 2
  • 0
  • None of these

Pregunta 13

Pregunta
What is the associativity of Operators with the same precedence?
Respuesta
  • Depends on operators
  • Left to Right
  • Right to Left
  • Depends on Python Compiler

Pregunta 14

Pregunta
Which of the following has more precedence?
Respuesta
  • +
  • /
  • -
  • ()

Pregunta 15

Pregunta
Tuple is mutable.
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

Cómo Preparar los Exámenes
maya velasquez
Tabla Periódica de los Elementos
maya velasquez
Mind Mapping: 10 Estrategias para Docentes
maya velasquez
antonimos I
Kioshi Gonzales
Presidentes deMéxico (1964-2018)
Raúl Fox
Animales vertebrados: clasificación y características
Reyna Isabel Mayorga
Glucólisis
Nadim Bissar
TEMA 1.2. LA ESPECIALIDAD FUNDAMENTAL TRANSMISIONES, PRESENTE Y FUTURO
antonio del valle
Arquitectura Von Neumann: Maquina Secuencial de Programa Almacenado
Jhon Jairo Ponton
EL IMPERIALISMO
andrea acosta
TUBERCULOSIS
Mary Coronel