Qual é a sintaxe correta para declarar uma variável inteira chamada "idade" no Portugol Web Studio?

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
`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
Similar Resources on Quizizz
10 questions
Prova 1° Trimestre - 1° Bloco - PDS

Quiz
•
10th Grade
10 questions
Se liga 1º trimestre 1º Ano

Quiz
•
10th Grade
8 questions
Quiz sobre P5.js e JavaScript

Quiz
•
1st Grade - University
15 questions
8° PC QUIZIZZ - Aula 48

Quiz
•
10th Grade
10 questions
Тест

Quiz
•
9th - 12th Grade
15 questions
KLS X-Komponen Sistem Komputer

Quiz
•
10th Grade
10 questions
Conceitos de lógica usando Portugo Studio

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University