3TDS - Programação Backend - Aula 81

Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
JOAO MONTEIRO
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que acontece quando uma exceção não é tratada em um programa Java?
O programa ignora a exceção e continua normalmente.
O programa é encerrado abruptamente.
A exceção é automaticamente resolvida pelo Java.
O programa reinicia automaticamente.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das alternativas abaixo representa corretamente a declaração de um bloco try-catch em Java?
try { ... } catch (Exception e) { ... }
try (Exception e) { ... } catch { ... }
catch { ... } try { ... }
try { ... } finally { ... }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que significa UTF-8 em relação à codificação de caracteres?
Um tipo de exceção em Java.
Um padrão de codificação que representa caracteres usando 8 bits fixos.
Um padrão de codificação que usa de 1 a 4 bytes para representar caracteres.
Um método de compressão de arquivos.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Por que é importante especificar o charset ao ler ou gravar arquivos de texto?
Para garantir que os números sejam formatados corretamente.
Para garantir que os caracteres sejam interpretados corretamente.
Para aumentar a velocidade de leitura e gravação.
Para evitar o uso de memória excessiva.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual classe Java é usada para especificar explicitamente o charset ao ler um arquivo de texto?
FileReader
InputStreamReader
FileInputStream
Scanner
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que é um charset em programação?
Um tipo de variável.
Um conjunto de regras para mapear caracteres para bytes.
Um método de tratamento de exceções.
Um tipo de arquivo executável.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo representa um problema comum ao não definir corretamente o encoding ao salvar um arquivo de texto?
O arquivo fica ilegível ou com caracteres estranhos.
O arquivo é automaticamente criptografado.
O arquivo é excluído.
O arquivo é compactado.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
2TDS - Programação Frontend - 1002

Quiz
•
12th Grade
15 questions
Motherboard Functionality Quiz

Quiz
•
8th Grade - University
15 questions
Redes de Computadores - Aula 1 e 2

Quiz
•
12th Grade
15 questions
Quiz sobre Funções em C

Quiz
•
12th Grade
5 questions
3TDS - Programação Backend - Aula 01

Quiz
•
12th Grade
12 questions
Computação Básica, Hardware e Software

Quiz
•
12th Grade - University
10 questions
Revisao

Quiz
•
12th Grade
10 questions
Quiz aula 7

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade