Quiz de Programação em C

Quiz de Programação em C

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Lista no Scratch 9°ano

Lista no Scratch 9°ano

9th Grade

15 Qs

Структурированный тип данных массив

Структурированный тип данных массив

10th Grade - University

11 Qs

Kuis Informatika Algoritma dan Pemrograman Dasar

Kuis Informatika Algoritma dan Pemrograman Dasar

10th Grade - University

10 Qs

Tin học 11_Bài 1. Hệ điều hành

Tin học 11_Bài 1. Hệ điều hành

11th Grade

10 Qs

Quiz sobre React Native

Quiz sobre React Native

12th Grade

15 Qs

Alfabetização Digital

Alfabetização Digital

9th - 12th Grade

15 Qs

Quiz sur le langage PHP

Quiz sur le langage PHP

12th Grade

15 Qs

Colab

Colab

9th Grade

15 Qs

Quiz de Programação em C

Quiz de Programação em C

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Practice Problem

Hard

Created by

FELIPE OLIVEIRA SOUZA

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes estruturas de controle é usada para repetir um bloco de código enquanto uma condição for verdadeira?

if

for

while

switch

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a sintaxe correta para declarar uma função em C que retorna um inteiro e recebe dois parâmetros inteiros?

int funcao(int a, int b);

void funcao(int a, int b);

int funcao(void);

funcao(int a, int b);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a saída do seguinte código em C? ```c char str[] = "Hello, World!"; printf("%c", str[7]); ```

H

e

W

o

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a sintaxe correta para declarar um ponteiro para um inteiro em C?

int *p;

int p*;

*int p;

int p;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a saída do seguinte código em C? ```c int x = 5; int y = 10; int *p = &x; int *q = &y; *p = *q; printf("%d", x); ```

5

10

0

15

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes opções é usada para liberar a memória alocada dinamicamente em C?

free

delete

remove

release

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes estruturas de dados é usada para implementar uma pilha?

Array

Lista encadeada

Ambas as opções acima

Nenhuma das opções acima

Create a free account and access millions of resources

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?