
Quiz sobre Variáveis e Funções
Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
CLEYTON PINHEIRO
Used 4+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a sintaxe correta para declarar uma variável inteira chamada "idade" no Portugol Web Studio?
`inteiro idade;`
`int idade;`
`variavel idade: inteiro;`
`idade: inteiro;`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você atribui o valor 25 a uma variável chamada "altura" no Portugol Web Studio?
`inteiro altura = 25;`
` inteiro altura := 25;`
` int 25 -> altura;`
`int altura <- 25;`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a função de entrada de dados no Portugol Web Studio?
`escrever()`
`ler()`
`input()`
`scan()`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a estrutura correta de uma função que retorna um valor inteiro no Portugol Web Studio?
`funcao minhaFuncao() { }`
`inteiro funcao minhaFuncao() { }`
`funcao minhaFuncao() inteiro { }`
`minhaFuncao() funcao inteiro { }`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você passa um parâmetro do tipo real para uma função no Portugol Web Studio?
`funcao exemplo(real parametro) { }`
`funcao exemplo(parametro: real) { }`
`funcao exemplo(real: parametro) { }`
`funcao exemplo(parametro real) { }`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código no Portugol Web Studio? `portugol inteiro x := 10 escreva(x) `
`x`
`10`
`inteiro`
`erro`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a sintaxe correta para uma função que não retorna valor no Portugol Web Studio?
`funcao semRetorno() { }`
`funcao vazio semRetorno() { }`
`funcao semRetorno() vazio { }`
`semRetorno() funcao { }`
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Translations, Reflections & Rotations
Quiz
•
8th - 10th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
