Aparna Dhirde
Quiz por , criado more than 1 year ago

Quiz sobre Multiple Choice Questions-Brief Overview python, criado por Aparna Dhirde em 13-03-2020.

28
0
0
Aparna Dhirde
Criado por Aparna Dhirde mais de 4 anos atrás
Fechar

Multiple Choice Questions-Brief Overview python

Questão 1 de 20

1

User Define name called ……….

Selecione uma das seguintes:

  • Identifier

  • constant

  • syntax

  • expression

Explicação

Questão 2 de 20

1

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

Selecione uma das seguintes:

  • Runtime error

  • Syntax error

  • Logical error

  • None of the above

Explicação

Questão 3 de 20

1

Correcting the program code:

Selecione uma das seguintes:

  • Testing

  • Syntax error

  • Runtime error

  • Debugging

Explicação

Questão 4 de 20

1

Designing the problem

Selecione uma das seguintes:

  • Testing

  • Debugging

  • logical error

  • Algorithm

Explicação

Questão 5 de 20

1

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

Selecione uma das seguintes:

  • Flowchart

  • Identifier

  • Code

  • debugging

Explicação

Questão 6 de 20

1

Which is mapping data type

Selecione uma das seguintes:

  • list

  • tuple

  • string

  • dictionary

Explicação

Questão 7 de 20

1

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

Selecione uma das seguintes:

  • Testing

  • debugging

  • indentation

  • None of the above

Explicação

Questão 8 de 20

1

It is a combination of Operators, Operands and Constants.

Selecione uma das seguintes:

  • Identifier

  • Expression

  • Syntax

  • Task

Explicação

Questão 9 de 20

1

Which operations result in 8?

Selecione uma das seguintes:

  • 65 // 8

  • 17 % 9

  • 2 * * 4

  • 64 * * 0.5

Explicação

Questão 10 de 20

1

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

Selecione uma das seguintes:

  • 40

  • 30

  • 20

  • 10

Explicação

Questão 11 de 20

1

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

Selecione uma das seguintes:

  • /

  • +

  • %

  • //

Explicação

Questão 12 de 20

1

The __________ data type allows only True/False values

Selecione uma das seguintes:

  • boo

  • boolean

  • Boolean

  • None

Explicação

Questão 13 de 20

1

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

Selecione uma das seguintes:

  • true

  • false

  • error

  • no output

Explicação

Questão 14 de 20

1

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

Selecione uma das seguintes:

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

  • for i in range(0,5):

  • for i in range(0,5)

  • for i in range(5)

Explicação

Questão 15 de 20

1

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

Selecione uma das seguintes:

  • indefinite

  • discriminant

  • definite

  • indeterminate

Explicação

Questão 16 de 20

1

When does the else statement written after loop executes?.

Selecione uma das seguintes:

  • When break statement is executed in the loop

  • When loop condition becomes false

  • Else statement is always executed

  • None of the above

Explicação

Questão 17 de 20

1

for loop in python are work on

Selecione uma das seguintes:

  • range

  • iteration

  • Both of the above

  • None of the above

Explicação

Questão 18 de 20

1

To break the infinite loop , which keyword we use ?

Selecione uma das seguintes:

  • continue

  • break

  • exit

  • none of the above

Explicação

Questão 19 de 20

1

Which of the following is the loop in python ?

Selecione uma das seguintes:

  • for

  • while

  • do while

  • Both a and b

Explicação

Questão 20 de 20

1

To continue the infinite loop , which keyword we use ?

Selecione uma das seguintes:

  • continue

  • break

  • exit

  • none of the above

Explicação