Multiple Choice Questions-Brief Overview python

Descrição

Quiz sobre Multiple Choice Questions-Brief Overview python, criado por Aparna Dhirde em 13-03-2020.
Aparna Dhirde
Quiz por Aparna Dhirde, atualizado more than 1 year ago
Aparna Dhirde
Criado por Aparna Dhirde mais de 4 anos atrás
28
0

Resumo de Recurso

Questão 1

Questão
User Define name called ……….
Responda
  • Identifier
  • constant
  • syntax
  • expression

Questão 2

Questão
If we overcome the rules of the programming language, we get.........
Responda
  • Runtime error
  • Syntax error
  • Logical error
  • None of the above

Questão 3

Questão
Correcting the program code:
Responda
  • Testing
  • Syntax error
  • Runtime error
  • Debugging

Questão 4

Questão
Designing the problem
Responda
  • Testing
  • Debugging
  • logical error
  • Algorithm

Questão 5

Questão
Algorithm when translated into a programming language is called......
Responda
  • Flowchart
  • Identifier
  • Code
  • debugging

Questão 6

Questão
Which is mapping data type
Responda
  • list
  • tuple
  • string
  • dictionary

Questão 7

Questão
Leading white space at the beginning of each statement, which is used to determine the group of statement.
Responda
  • Testing
  • debugging
  • indentation
  • None of the above

Questão 8

Questão
It is a combination of Operators, Operands and Constants.
Responda
  • Identifier
  • Expression
  • Syntax
  • Task

Questão 9

Questão
Which operations result in 8?
Responda
  • 65 // 8
  • 17 % 9
  • 2 * * 4
  • 64 * * 0.5

Questão 10

Questão
If the value of a = 20 and b = 20, then a+=b will assign ________ to a
Responda
  • 40
  • 30
  • 20
  • 10

Questão 11

Questão
The ____________ operator is used to find out if division of two number yields any remainder
Responda
  • /
  • +
  • %
  • //

Questão 12

Questão
The __________ data type allows only True/False values
Responda
  • boo
  • boolean
  • Boolean
  • None

Questão 13

Questão
What will be the output of the following Python code snippet? not(10<20) and not (10>30)
Responda
  • true
  • false
  • error
  • no output

Questão 14

Questão
Which of the following is a valid for loop in Python?.
Responda
  • for(i=0; i < n; i++)
  • for i in range(0,5):
  • for i in range(0,5)
  • for i in range(5)

Questão 15

Questão
A while loop in Python is used for what type of iteration?.
Responda
  • indefinite
  • discriminant
  • definite
  • indeterminate

Questão 16

Questão
When does the else statement written after loop executes?.
Responda
  • When break statement is executed in the loop
  • When loop condition becomes false
  • Else statement is always executed
  • None of the above

Questão 17

Questão
for loop in python are work on
Responda
  • range
  • iteration
  • Both of the above
  • None of the above

Questão 18

Questão
To break the infinite loop , which keyword we use ?
Responda
  • continue
  • break
  • exit
  • none of the above

Questão 19

Questão
Which of the following is the loop in python ?
Responda
  • for
  • while
  • do while
  • Both a and b

Questão 20

Questão
To continue the infinite loop , which keyword we use ?
Responda
  • continue
  • break
  • exit
  • none of the above

Semelhante

NA CONSTITUIÇÃO - Princípios Gerais
daniel_cal
Cap. 01 - Sistemática e Classificação Biológica
renpv
Direito Administrativo - Visão Geral
tiago meira de almeida
Processo Administrativo Federal - Quiz I
tiago meira de almeida
Vírus
Alessandra S.
Progressão Aritmética (P.A.)
claudiac_
Citologia
GoConqr suporte .
LEI 8080
Camila Costa
Anatomia e Fisiologia do Sistema Reprodutor Feminino
Ana Inês Kruecck Quintas
Endotérmico ou Exotérmico?
Andrea Borges