O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

PCEP

Khudaija Siddiqui 6 perguntas

Fazer o quiz

Perguntas do quiz (6)

  1. 1What will be the value of the i variable once the loop has been executed?

    i = 0
    while i != 0:
    i = i - 1
    else:
    i = i + 1
    1. A0
    2. B1
    3. C2
    4. Dthe variable becomes unavailable
  2. 2An operator able to perform bitwise shifts is coded as (Select two answers)
    1. A--
    2. B++
    3. C<<
    4. D>>
  3. 3What will the value of the i variable be when the following loop finishes its execution?
    for i in range(10):
    pass
    1. A10
    2. Bthe variable becomes unavailable
    3. C11
    4. D9
  4. 4The following expression evaluates to:
    1+-2
    1. Aequal to 1
    2. Binvalid
    3. Cequal to 2
    4. Dequal to -1
  5. 5A compiler is a program designed to:
    1. Arearrange the source code to make it clearer
    2. Bcheck the source code in order to see if it's correct
    3. Cexecute the source code
    4. Dtranslate the source code into machine code
  6. 6What is the output of the following piece of code?

    a = 'ant'
    b = 'bat'
    c = 'camel'
    print(a,b,c, sep = '"')
    1. Aant' bat' camel
    2. Bant"bat" camel
    3. Cantbatcamel
    4. Dprint(a,b,c, sep='"')

Informações

Descrição
2º de Bachillerato python Quiz sobre PCEP, criado por Khudaija Siddiqui em 31-10-2021.
Idioma
English
Visualizações
0
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?