
Quiz sobre Variáveis e Funções

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
CLEYTON PINHEIRO
Used 4+ times
FREE Resource
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
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University