
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
Similar Resources on Wayground
10 questions
Conceitos de lógica usando Portugo Studio

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

Quiz
•
1st Grade - University
10 questions
Manajemen Proyek Rekayasa Perangkat Lunak

Quiz
•
10th Grade
10 questions
Estilos e Cores no CSS

Quiz
•
10th Grade
15 questions
Introdução à Programação: Algoritmos e Conceitos Básicos

Quiz
•
10th Grade
15 questions
quizizz

Quiz
•
10th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

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

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
13 questions
25-26 Behavior Expectations Matrix

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

Interactive video
•
6th - 10th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University