Quiz de Programação em C

Quiz de Programação em C

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Clones no Scratch 9° ano

Clones no Scratch 9° ano

9th Grade

15 Qs

Ôn tập HKI Công nghệ - Khối 4

Ôn tập HKI Công nghệ - Khối 4

4th Grade - University

10 Qs

AF1 - Segurança da Informação

AF1 - Segurança da Informação

12th Grade - University

10 Qs

QUIZ - Search Engine Optimization (SEO)

QUIZ - Search Engine Optimization (SEO)

12th Grade

11 Qs

Quiz sobre Hardware e Software

Quiz sobre Hardware e Software

2nd Grade - University

15 Qs

Understanding Computer Hardware Basics

Understanding Computer Hardware Basics

12th Grade - University

10 Qs

Matriz de LED

Matriz de LED

9th Grade

15 Qs

Tin 7 Bài 8

Tin 7 Bài 8

7th Grade - University

10 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?