Qual é a sintaxe correta em C para apresentar uma mensagem:
printf("Hello, World!")
Teste Diagnóstico 11º TI

Quiz
•
Information Technology (IT)
•
11th Grade
•
Easy
Isabel Poças
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
printf("Hello, World!");
print("Hello, World!");
echo("Hello, World!");
write("Hello, World!");
2.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Qual das seguintes opções é um tipo de dados em C?
integer
float
char
todos as hipóteses
nenhuma das hipóteses
3.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Como se declara uma variável inteira em C?
int num;
integer num;
num int;
var num: int;
4.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
O que faz o operador '==' em C?
Atribui um valor a uma variável.
Verifica a igualdade entre duas variáveis ou valores.
Soma duas variáveis.
Nenhuma das hipóteses
5.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Qual é a função usada para alocar memória dinamicamente em C?
alloc()
malloc()
new()
calloc()
6.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Qual é a estrutura correta para uma instrução if em C?
if x > 10 then
if x > 10 {}
if [x > 10]
if (x > 10)
7.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Qual das seguintes afirmações é verdadeira sobre a estrutura switch em C?
É um ciclo finito.
É sempre obrigatório usar default.
Pode ser usado para várias variáveis.
Não é necessário usar o break.
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Aula 09

Quiz
•
9th - 12th Grade
8 questions
teste sobre cibersegurança

Quiz
•
9th - 12th Grade
10 questions
Quiz aula 8

Quiz
•
9th - 12th Grade
10 questions
2TDS - Banco de Dados - 1002

Quiz
•
11th Grade
10 questions
2TDS - Banco de Dados - Aula 10

Quiz
•
11th Grade
10 questions
Aula 5

Quiz
•
9th - 12th Grade
12 questions
Planning Poker

Quiz
•
2nd Grade - University
8 questions
Microsoft Word na criação de currículos

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University