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 5 años
307
0
1 2 3 4 5 (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

0 comentarios

There are no comments, be the first and leave one below:

Similar

La Guerra Civil Española
maya velasquez
Qué Carrera Estudiar
Diego Santos
Clasificación de estrategias didácticas
Karolaim Gutiérr
Fechas Clave del Franquismo
ausalgu
Tema 4, Los paisajes de España
Mercedes Graves
FORMAS DE HACER NEGOCIOS INTERNACIONALES
yandsbernardo
ANATOMÍA...
Ulises Yo
u3. actividad 2, caracteristicas de el neoliberalismoy globalizacion.
Hermilo gonzalez hernandez
Lectura afectiva básica
darwin jaramillo
Tipos de Investigación Científica
Karen Dubón