Search Header Logo

Teste Diagnóstico 11º TI

Authored by Isabel Poças

Information Technology (IT)

11th Grade

Used 1+ times

Teste Diagnóstico 11º TI
AI

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

10 sec • 2 pts

  1. Qual é a sintaxe correta em C para apresentar uma mensagem:

  2. printf("Hello, World!")

printf("Hello, World!");

print("Hello, World!");

echo("Hello, World!");

write("Hello, World!");

2.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

  1. 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

  1. 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

  1. 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

  1. Qual é a função usada para alocar memória dinamicamente em C?

alloc()

malloc()

new()

calloc()

6.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

  1. 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

  1. 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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?