
Revisão de lógica de programação
Quiz
•
Instructional Technology
•
9th Grade
•
Practice Problem
•
Medium
Gustavo Deus
Used 2+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a maneira correta de ler uma entrada inteira do usuário em Java?
`int numero = System.in.read();`
`Scanner scanner = new Scanner(System.in); int numero = scanner.nextInt();`
`int numero = Console.readInt();`
`int numero = Input.readInt();`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das seguintes é uma declaração válida de uma variável em Java?
`int 1numero;`
`int numero1;`
`int numero-1;`
`int numero um;`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do seguinte trecho de código? ```java int a = 5; int b = 10; System.out.println(a + b); ```
`15`
`510`
`5 + 10`
`Erro`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das seguintes é uma sintaxe correta para um loop `for` em Java?
`for (int i = 0; i < 10; i++) { }`
`for (int i = 0; i < 10; i--) { }`
`for (int i = 0; i < 10) { }`
`for (int i = 0; i++) { }`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código? ```java int x = 5; if (x > 3) { System.out.println("Maior"); } else { System.out.println("Menor"); } ```
`Maior`
`Menor`
`Erro`
`Sem saída`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual tipo de dado é usado para criar uma variável que deve armazenar texto em Java?
`int`
`String`
`char`
`boolean`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do seguinte trecho de código? ```java int x = 10; int y = 20; int z = x + y; System.out.println(z); ```
`30`
`1020`
`10 + 20`
`Erro`
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
Already have an account?
Similar Resources on Wayground
17 questions
Curso de Verano
Quiz
•
1st - 10th Grade
15 questions
WordPress Quizz
Quiz
•
1st - 12th Grade
15 questions
R6_2.N_Lógica Computacional - Java 2
Quiz
•
2nd Grade - University
16 questions
Examen Tercero de secundaria
Quiz
•
9th Grade
20 questions
Curso de informática - Aulas 9 e 10
Quiz
•
9th Grade
22 questions
Os operadores lógicos
Quiz
•
6th - 12th Grade
23 questions
Tipos de Media Estáticos
Quiz
•
9th - 12th Grade
16 questions
Avaliação2 - 2ºtri 9ºano
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Instructional Technology
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
20 questions
Name That Tune Christmas Edition
Quiz
•
6th - 9th Grade
