Aparna Dhirde
Test por , creado hace más de 1 año

Test sobre Multiple Choice Questions-Brief Overview python, creado por Aparna Dhirde el 13/03/2020.

26
0
0
Aparna Dhirde
Creado por Aparna Dhirde hace más de 4 años
Cerrar

Multiple Choice Questions-Brief Overview python

Pregunta 1 de 20

1

User Define name called ……….

Selecciona una de las siguientes respuestas posibles:

  • Identifier

  • constant

  • syntax

  • expression

Explicación

Pregunta 2 de 20

1

If we overcome the rules of the programming language, we get.........

Selecciona una de las siguientes respuestas posibles:

  • Runtime error

  • Syntax error

  • Logical error

  • None of the above

Explicación

Pregunta 3 de 20

1

Correcting the program code:

Selecciona una de las siguientes respuestas posibles:

  • Testing

  • Syntax error

  • Runtime error

  • Debugging

Explicación

Pregunta 4 de 20

1

Designing the problem

Selecciona una de las siguientes respuestas posibles:

  • Testing

  • Debugging

  • logical error

  • Algorithm

Explicación

Pregunta 5 de 20

1

Algorithm when translated into a programming language is called......

Selecciona una de las siguientes respuestas posibles:

  • Flowchart

  • Identifier

  • Code

  • debugging

Explicación

Pregunta 6 de 20

1

Which is mapping data type

Selecciona una de las siguientes respuestas posibles:

  • list

  • tuple

  • string

  • dictionary

Explicación

Pregunta 7 de 20

1

Leading white space at the beginning of each statement, which is used to
determine the group of statement.

Selecciona una de las siguientes respuestas posibles:

  • Testing

  • debugging

  • indentation

  • None of the above

Explicación

Pregunta 8 de 20

1

It is a combination of Operators, Operands and Constants.

Selecciona una de las siguientes respuestas posibles:

  • Identifier

  • Expression

  • Syntax

  • Task

Explicación

Pregunta 9 de 20

1

Which operations result in 8?

Selecciona una de las siguientes respuestas posibles:

  • 65 // 8

  • 17 % 9

  • 2 * * 4

  • 64 * * 0.5

Explicación

Pregunta 10 de 20

1

If the value of a = 20 and b = 20, then a+=b will assign ________ to a

Selecciona una de las siguientes respuestas posibles:

  • 40

  • 30

  • 20

  • 10

Explicación

Pregunta 11 de 20

1

The ____________ operator is used to find out if division of two number
yields any remainder

Selecciona una de las siguientes respuestas posibles:

  • /

  • +

  • %

  • //

Explicación

Pregunta 12 de 20

1

The __________ data type allows only True/False values

Selecciona una de las siguientes respuestas posibles:

  • boo

  • boolean

  • Boolean

  • None

Explicación

Pregunta 13 de 20

1

What will be the output of the following Python code snippet?
not(10<20) and not (10>30)

Selecciona una de las siguientes respuestas posibles:

  • true

  • false

  • error

  • no output

Explicación

Pregunta 14 de 20

1

Which of the following is a valid for loop in Python?.

Selecciona una de las siguientes respuestas posibles:

  • for(i=0; i < n; i++)

  • for i in range(0,5):

  • for i in range(0,5)

  • for i in range(5)

Explicación

Pregunta 15 de 20

1

A while loop in Python is used for what type of iteration?.

Selecciona una de las siguientes respuestas posibles:

  • indefinite

  • discriminant

  • definite

  • indeterminate

Explicación

Pregunta 16 de 20

1

When does the else statement written after loop executes?.

Selecciona una de las siguientes respuestas posibles:

  • When break statement is executed in the loop

  • When loop condition becomes false

  • Else statement is always executed

  • None of the above

Explicación

Pregunta 17 de 20

1

for loop in python are work on

Selecciona una de las siguientes respuestas posibles:

  • range

  • iteration

  • Both of the above

  • None of the above

Explicación

Pregunta 18 de 20

1

To break the infinite loop , which keyword we use ?

Selecciona una de las siguientes respuestas posibles:

  • continue

  • break

  • exit

  • none of the above

Explicación

Pregunta 19 de 20

1

Which of the following is the loop in python ?

Selecciona una de las siguientes respuestas posibles:

  • for

  • while

  • do while

  • Both a and b

Explicación

Pregunta 20 de 20

1

To continue the infinite loop , which keyword we use ?

Selecciona una de las siguientes respuestas posibles:

  • continue

  • break

  • exit

  • none of the above

Explicación