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

Quiz

chapter 6 review

Naina Minhas 19 perguntas Atualizado em 13 dez 2022

Fazer o quiz

Perguntas do quiz (19)

  1. 1Which of the following statements is true after the execution of the following statement?
    y = abs(x)
    1. Ay contains the absolute value of x
    2. Bx contains the absolute value of y
    3. Cx contains the absolute value of the value in y
    4. Dy contains the absolute value of the value in x
    5. ENone of the above
  2. 2What is the data type of the value returned by the random library function?
    1. AString
    2. BInteger
    3. CBoolean
    4. DReal
    5. ENone of these
  3. 3This statement causes a function to end and sends a value back to the part of the program that called the function.
    1. AEnd
    2. BSend
    3. CExit
    4. DReturn
  4. 4This is an example of a data type conversion function.
    1. Asqrt.
    2. BtoReal
    3. Csubstring
    4. DisNumeric
  5. 5The term ________________ is used to describe any mechanism that accepts input performs some operation that cannot be seen on the input and produces output.
    1. ABlack box
    2. BWhite cube
    3. CBlack cube
    4. DNone of the above
  6. 6Random numbers are commonly used in which type of program?
    1. AGames
    2. BStatistical analysis
    3. CData encryption
    4. DSimulations
    5. Eall of these
  7. 7A __________ is a module that returns a value back to the part of the program that called it.
    1. Astructure
    2. Bdecision
    3. Cfunction
    4. Dloop
  8. 8Which function accepts two strings as arguments returns 'True' if the first string contains the second string and otherwise returns 'False'?
    1. AContains
    2. BAppend
    3. CSubstring
    4. DConcatenate
    5. ENone of the above
  9. 9This part of a function definition specifies the data type of the value that the function returns.
    1. Aheader
    2. Bfooter
    3. Cbody
    4. DReturn statement.
  10. 10The ________ function does the same thing as using the mathematical ^ operator.
    1. Aabs
    2. Bpow
    3. Cround
    4. Dcos
    5. Esqrt

Informações

Descrição
Computer Science Quiz sobre chapter 6 review, criado por Naina Minhas em 16-10-2022.
Idioma
English
Visualizações
4
Histórico
Criado em 16 out 2022 · atualizado em 13 dez 2022
Etiquetas
computer science
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?