
Se Liga - Lógica Computacional
Authored by MARCIO PEREIRA
Information Technology (IT)
11th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Qual é a estrutura básica de um condicional 'if' em JavaScript?
if (condicao) { // Código }
for (let i = 0; i < limite; i++) { // Código }
while (condicao) { // Código }
switch (expressao) { case valor: // Código }
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Qual é a finalidade de um loop 'for'?
Repetir ações enquanto uma condição for verdadeira
Repetir ações um número determinado de vezes
Interromper a execução de um programa
Executar ações com base em condições
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Como se verifica se um número é par ou ímpar?
if (numero % 2 === 0) { console.log('Par') } else { console.log('Ímpar') }
if (numero % 3 === 0) { console.log('Par') } else { console.log('Ímpar') }
if (numero % 10 === 0) { console.log('Par') } else { console.log('Ímpar') }
if (numero % 5 === 0) { console.log('Par') } else { console.log('Ímpar') }
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Qual é a estrutura básica de um loop 'while'?
while (condicao) { // Código }
for (let i = 0; i < limite; i++) { // Código }
do { // Código } while (condicao);
if (condicao) { // Código }
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Como se verifica se um ano é bissexto?
if ((ano % 4 === 0 && ano % 100 !== 0) || ano % 400 === 0)
if (ano % 2 === 0)
if (ano % 5 === 0)
if (ano % 10 === 0)
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Qual código imprime os números de 1 a 10?
for (let i = 1; i <= 10; i++) { console.log(i); }
while (i <= 10) { console.log(i); i++; }
if (i <= 10) { console.log(i); }
do { console.log(i); i++; } while (i <= 10);
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Como se imprime a tabuada do número 8?
while (i <= 10) { console.log(`8 x ${i} = ${8 * i}`); i++; }
do { console.log(`8 x ${i} = ${8 * i}`); i++; } while (i <= 10);
for (let i = 1; i <= 10; i++) { console.log(`8 x ${i} = ${8 * i}`); }
if (i <= 10) { console.log(`8 x ${i} = ${8 * i}`); }
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
EXCEL
Quiz
•
9th - 12th Grade
10 questions
Informatika2
Quiz
•
11th Grade
10 questions
Logical Reasoning & Learning to Code
Quiz
•
11th Grade
10 questions
Programação e Robótica - Recuperação 1
Quiz
•
11th Grade
10 questions
BÀI 18. THỰC HÀNH XÁC ĐỊNH CẤU TRÚC BẢNG VÀ CÁC TRƯỜNG KHÓA
Quiz
•
11th Grade
15 questions
6-sinfl. Ofis dasturlari va Scratch
Quiz
•
6th Grade - University
20 questions
quiz1B1
Quiz
•
7th Grade - University
15 questions
5-sinf. Kompyuter va Internet Asoslari
Quiz
•
5th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
15 questions
ACT Reading Practice
Quiz
•
11th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade