
LC - Aula 04
Authored by Hugo Brendow
Professional Development
Professional Development
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A estrutura de repetição FOR é usada quando não se sabe exatamente quantas repetições (iterações) serão realizadas.
falso
verdadeiro
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Qual instrução usar para imprimir:
1 2 3 4 5 6 7 8 9
int n = 10;
for(int i; i < n;i=i+1)
{
System.out.print("\t"+i);
}
int n = 10;
for(int i=1; i < n;i=i+1)
{
System.out.print("\t"+i);
}
int n = 9;
for(int i; i < n;i=i+1)
{
System.out.println("\t"+i);
}
int n = 9;
for(int i; i <= n;i=i+1)
{
System.out.println("\t"+i);
}
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
for (int i = 0; i < 5;) {
System.out.println("BEM-VINDO");
i++;
}
Qual a saída deste código?
BEM-VINDO
BEM-VINDO
BEM-VINDO
BEM-VINDO
BEM-VINDO
BEM-VINDO
BEM-VINDO
BEM-VINDO
BEM-VINDO
BEM-VINDOBEMVINDO-BEM-VINDOBEM-VINDOBEM-VINDO
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Quais desses NÃO é uma estrutura de repetição válida para Java?
for
while
do...while
goto
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Qual dessas opções irá imprimir "olá, bem-vindo!" 4 vezes?
for(_____?) {
System.out.println("olá, bem-vindo!");
}
int i = 0; i < 3; i++;
int i = 1; i < 4; i++
int i = 1; i < 4; i--
int i = 1; i < 5; i++
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
int i = 0;
while (i < 5) {
System.out.println(i);
i++;
}
0
1
2
3
4
5
0
1
2
3
4
1
2
3
4
5
5
4
3
2
1
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Um uma estrutura WHILE (ENQUANTO), o comando CONTINUE interrompe o laço de iterações
Falso
Verdadeiro
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
How Far You Know BINUS?
Quiz
•
Professional Development
10 questions
G&V Review-1
Quiz
•
University - Professi...
10 questions
Brain Teaser - Howbury School
Quiz
•
Professional Development
10 questions
Soal Pre Test IKM 4-5 Juli 2023
Quiz
•
Professional Development
15 questions
Atomo e Grandezze
Quiz
•
Professional Development
10 questions
Observación, retención
Quiz
•
Professional Development
10 questions
Jak dobrze znasz Śląska Izbę Lekarską?
Quiz
•
Professional Development
12 questions
Zahtjev za prethodnu odluku - postupovna pitanja
Quiz
•
Professional Development
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Professional Development
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L5_22-23
Lesson
•
KG - Professional Dev...
10 questions
March Quiz
Quiz
•
Professional Development
5 questions
Copy of G5_U6_L8_22-23
Lesson
•
KG - Professional Dev...
10 questions
suffixes FUL OR LESS
Quiz
•
Professional Development