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

Quiz

Python programming language

Sam Gue 10 perguntas 5,0 (1 avaliação)

Fazer o quiz

Perguntas do quiz (10)

  1. 1Variables: How do you form a variable?
    1. Avariable_name = ("variable_content")
    2. Bvariable_name = ["variable_content"]
    3. Cvariable_name = {"variable_content"}
    4. Dvariable_name = "variable_content"
  2. 2If statements: What follows an if statement?
    1. AA colon :
    2. BAn equals =
    3. CA semi-colon ;
  3. 3If statements: what are the other statements?
    1. AElseif and Else
    2. BElif and Else
  4. 4Loops: How do you form a while loop?
    1. Awhile 'X' then:
    2. Bwhile 'X':
  5. 5Loops: What will this 'for loop' do?: for i in range(5):
    1. Arepeat the number five forever
    2. Brepeat something five times
    3. Crepeat five things, five times
  6. 6String indexing: print(word[3]), what will happen?
    1. Ait will print word three times
    2. Bit will print the third letter in word
    3. Cit will print the third item in the list: word
    4. Dit will print the fourth letter in word
  7. 7Lists: how do you add something to a list?
    1. Alist_name.add(value)
    2. Blist_name.input(value)
    3. Cappend(value).list_name
    4. Dlist_name.append(value)
  8. 8Functions: How do you form a user defined function?
    1. Adefine function_name():
      return X
    2. Bdef function_name():
      return X
  9. 9Text Files: How do you open and close a reading text file?
    1. Afile_name.open("X.txt", "r")
    2. Bfile_name.open("X.txt", "r+")
    3. Cfile_name.open("X.txt", "w")
    4. Dfile_name.open("X.txt", "a")
  10. 10Procedures: What does a procedure lack as opposed to a User Defined Function
    1. Areturn X
    2. Bdef procedure_name():

Informações

Descrição
Quiz sobre Python programming language, criado por Sam Gue em 25-05-2014.
Autor
Sam Gue
Idioma
English
Visualizações
60
Etiquetas
a level
Avaliação
5,0 de 5 · 1 avaliação
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?