Question

Please answer the following questions in terms of C syntax: [q9_3]: Fill in the blanks in...

Please answer the following questions in terms of C syntax: [q9_3]:

Fill in the blanks in each of the following:

a) Computers store large amounts of data on secondary storage devices as __________.

b) A(n) __________ is composed of several fields.

c) To facilitate the retrieval of specific records from a file, one field in each record is chosen as a(n) __________.

d) A group of related characters that conveys meaning is called a(n) __________.

e) The file pointers for the three streams that are opened automatically when program execution begins are named __________, __________ and __________.

f) Function __________ writes a character to a specified file.

g) Function __________ writes a line to a specified file.

h) Function __________ is generally used to write data to a random-access file.

i) Function __________ repositions the file position pointer to the beginning of the file.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) FILES

b) RECORD

C) Key

D) Field

e) THE STANDARD INPUT, THE STANDARD OUTPUT, THE STANDARD ERROR

f) fputc

g) fputs

h) fwrite

I) fseek, seekset

Add a comment
Know the answer?
Add Answer to:
Please answer the following questions in terms of C syntax: [q9_3]: Fill in the blanks in...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Need this in C The starter code is long, if you know how to do it...

    Need this in C The starter code is long, if you know how to do it in other way please do. Do the best you can please. Here's the starter code: // ----------------------------------------------------------------------- // monsterdb.c // ----------------------------------------------------------------------- #include #include #include // ----------------------------------------------------------------------- // Some defines #define NAME_MAX 64 #define BUFFER_MAX 256 // ----------------------------------------------------------------------- // Structs typedef struct { char name[NAME_MAX]; int hp; int attackPower; int armor; } Character; typedef struct { int size; Character *list; } CharacterContainer; // ----------------------------------------------------------------------- //...

  • A. File I/O using C library functions File I/O in C is achieved using a file...

    A. File I/O using C library functions File I/O in C is achieved using a file pointer to access or modify files. Processing files in C is a four-step process: o Declare a file pointer. o Open the desired file using the pointer. o Read from or write to the file and finally, o Close the file. FILE is a structure defined in <stdio.h>. Files can be opened using the fopen() function. This function takes two arguments, the filename and...

  • Quick C Programming Questions: I) Which of the following is false? A) To pass a structure...

    Quick C Programming Questions: I) Which of the following is false? A) To pass a structure by reference, pass the address of the structure variable. B) A way to pass an array by value is to create a structure with the array as a member then pass the name of the structure. C) To pass a structure by reference, pass the name of the structure variable. D) Passing large structures by reference is more efficient than passing large structures by...

  • True / False & MCQ 1. Which of the following is true? there are 8 bits...

    True / False & MCQ 1. Which of the following is true? there are 8 bits in a byte there are 8 bytes in a bit there are 8 tracks in a sector there are 8 sectors in a track none of the above A disk drive writes data from RAM onto a disk storage medium. Computer software can be divided into two categories; the operating system and the applications system. The microprocessors used on personal computers can only understand...

  • Edit a C program based on the surface code(which is after the question's instruction.) that will...

    Edit a C program based on the surface code(which is after the question's instruction.) that will implement a customer waiting list that might be used by a restaurant. Use the base code to finish the project. When people want to be seated in the restaurant, they give their name and group size to the host/hostess and then wait until those in front of them have been seated. The program must use a linked list to implement the queue-like data structure....

  • For a C program hangman game: Create the function int play_game [play_game ( Game *g )]...

    For a C program hangman game: Create the function int play_game [play_game ( Game *g )] for a C program hangman game. (The existing code for other functions and the program is below, along with what the function needs to do) (Also the link to program files (hangman.h and library file) is below the existing code section. You can use that to check if the code works) What int play_game needs to do mostly involves calling other functions you've already...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT