Search Header Logo

C directorios

Authored by Cosmin Dobrescu

Computers

University

Used 2+ times

C directorios
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué biblioteca estándar en C se utiliza para trabajar con directorios?

<dirent.h>

<filedir.h>

<sys/files.h>

<io.h>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué función se utiliza para abrir un directorio en C?

opendir()

fopen()

readdir()

open()

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

¿Qué tipo de estructura devuelve la función opendir()?

FILE*

DIR*

struct stat

struct dirent

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cuando se está explorando un directorio en C, ¿qué función se utiliza para obtener información sobre cada una de las entradas del directorio de manera secuencial?

fread()

readdir()

opendir()

stat()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué estructura contiene información sobre una entrada de un directorio?

struct dirent

struct stat

struct FILE

struct DIR

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué define PATH_MAX en C?

El número máximo de directorios anidados.

El tamaño máximo permitido para una ruta.

La cantidad máxima de archivos en un directorio.

El número máximo de caracteres en un archivo.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

¿Qué biblioteca proporciona la función stat()?

<stdio.h>

<sys/stat.h>

<dirent.h>

<stdlib.h>

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?