TEST BANKS & SOLUTION MANUALS
LIST OF PRODUCTS
GUIDE
CONTACT US
Test Bank
Login / Register
1 item / $20.00
Menu
Test Bank testbank logo2
1 item / $20.00
  • Home
  • Health Professions
    • Nursing
    • Pharmacology/Surgical
    • Surgical Technology
    • Health and Disease
    • Blood Banking
    • Medical
    • Medicine
    • Emergency Care
    • Nutritional Care
    • Dental Materials
    • Cancer
    • Drug
  • Business & Management
    • Accounting
    • Marketing
    • Management
    • Statistics
    • Auditing
    • Business
    • Business Statistics
    • Banking
    • Financial
    • Financial Accounting
    • Personal Finance
    • Investment
    • Taxation of Business
  • Exams
    • Physical/Examination
  • Science & Technology
    • Biology
    • Chemistry
    • Biochemistry
    • Basic Chemistry
    • Environmental Science
    • Geography
    • Math
    • Psychology
    • Anatomy & Physiology
    • Astronomy
    • Information Technology
    • Microbiology/Biology
    • Neuropsychology
    • Pediatric Primary
    • Research Method
  • Engineering
    • Information Technology
    • Computing Technology
    • Data Analysis
    • Database
    • Web Design
    • Web Development
  • Humanities
    • Communication
    • Economics
    • Education
    • History
    • Sociology
    • Human Development
    • Human Physiology
    • Human Sexuality
    • Politics
    • Criminology
    • Criminal Justic
    • Art
    • Leadership
    • Learning
    • Legal Environment
    • Lifespan
    • Relationship
  • Blog
“New Perspectives On HTML CSS And XML Comprehensive 4th Edition By Patrick Carey – Test Bank” has been added to your cart. View cart
-43%
C How To Program 8th Edition By Deitel Deitel – Test Bank
Click to enlarge
Home » Shop » C How To Program 8th Edition By Deitel & Deitel – Test Bank
THINK Marketing 3rd Edition By Keith J. Tuckwell – Test Bank
THINK Marketing 3rd Edition By Keith J. Tuckwell – Test Bank $35.00 Original price was: $35.00.$20.00Current price is: $20.00.
Back to products
Intimate Relationships 8Th Edition By Rowland Miller – Test Bank
Intimate Relationships 8Th Edition By Rowland Miller – Test Bank $35.00 Original price was: $35.00.$20.00Current price is: $20.00.

C How To Program 8th Edition By Deitel & Deitel – Test Bank

$35.00 Original price was: $35.00.$20.00Current price is: $20.00.

This is not a Textbook. Please check the free sample before buying.

Edition: 8th Edition

Format: Downloadable ZIP Fille

Resource Type: Test bank

Duration: Unlimited downloads

Delivery: Instant Download

Add to wishlist
Category: Web Development
Share:
  • Description
  • Reviews (0)
  • Instant Delivery By Mail
Description

11.1 Introduction

11.1 ________ are used for permanent retention of large amounts of data.
(a) Structures
(b) Arrays
(c) Records
(d) Files
ANS: (d)

11.2 Which of the following is false?
a) Storage of data in memory variables is temporary; all such data is lost when a program terminates.
b) Computers store files on primary storage devices, typically disk storage devices.
c) Files are used for permanent retention of data (typically large amounts of data).
d) Storage of data in memory arrays is temporary; all such data is lost when a program terminates.
ANS: (b)

11.2 Files and Streams

11.3 Which of the following is not a stream associated with C files?
(a) stdin
(b) stdout
(c) stdchar
(d) stderr
ANS: (c)

11.4 Which of the following is not part of the FILE structure specified in <stdio.h>?
(a) file descriptor
(b) open file table
(c) read/write methods
(d) file control block
ANS: (c)

11.5 C views each file simply as a sequential stream of __________.
a) bits
b) bytes
c) fields
d) records
ANS: (b)

11.6 Which of the following is not automatically opened when a C program begins?
a) standard error
b) standard output
c) standard dialog
d) standard input
ANS: (c)

11.7 __________ provide communication channels between files and programs.
a) Streams
b) Records
c) File descriptors
d) File control blocks (FCBs)
ANS: (a)

11.8 The standard __________ stream enables a program to read data from the keyboard.
a) read
b) keyboard
c) dialog
d) input
ANS: (d)

11.9 Function __________ reads one character from a file.
a) fgetcharacter
b) fgetc
c) fgetchar
d) fgetbyte
ANS: (b)

11.10 Function fputs writes a __________ to a file.
a) character
b) stream
c) line
d) standard output
ANS: (c)

11.3 Creating a Sequential-Access File

11.11 Which mode would you use if you wanted to open a file for both reading and writing?
(a) r+
(b) w+
(c) a+
(d) all of these
ANS: (d)

11.12 If an error occurs while opening a file in any mode, function fopen returns ________.
(a) true
(b) NULL
(c) false
(d) -1
ANS: (b)

11.13 Which statement is true?
a) C imposes no structure on a file.
b) C imposes record structure on a file.
c) C imposes sequential access on a file.
d) C imposes hierarchical access on a file.
ANS: (a)

11.14 Which statement is false?
a) The programmer must provide any file structure to meet the requirements of each particular application.
b) A programmer can impose a record structure on a file.
c) Records must be written to a C file in order by record key.
d) The notion of a record of a file does not exist in C.
ANS: (c)

11.15 Which of the following statements is false?
a) The programmer must know the specifics of the FILE structure to use files.
b) The FILE structure for a file leads indirectly to the operating system’s file control block (FCB) for a file.
c) If a file does not exist and is opened for writing fopen creates the file.
d) A C program administers each file with a separate FILE structure.
ANS: (a)

11.16 Before a file can be accessed it must first be
a) copied
b) read
c) written
d) opened
ANS: (d)

11.17 If an existing file is opened for writing __________.
a) the contents of the file are preserved
b) the contents of the file are discarded and an error code is returned
c) the contents of the file are discarded without warning
d) the newly written data is appended to the end of the file
ANS: (c)

11.18 Function feof __________.
a) forces an end-of-file condition
b) determines whether the end-of-file indicator is set for a file
c) sets the end-of-file indicator for a file
d) flushes the contents of the file from the current position to the end
ANS: (b)

11.19 Which statement is true?
a) Function fprintf is equivalent to printf.
b) Function fprintf is equivalent to printf except that fprintf also receives as an argument a file pointer for the file to which the data will be written.
c) Function fprintf is equivalent to printf except that fprintf also receives as an argument a file control block for the file to which the data will be written.
d) Function fprintf is equivalent to printf except that fprintf also disables the file end-of-file indicator.
ANS: (b)

Reviews (0)

Reviews

There are no reviews yet.

Be the first to review “C How To Program 8th Edition By Deitel & Deitel – Test Bank” Cancel reply

Your email address will not be published. Required fields are marked *

Instant Delivery By Mail

Related products

-43%
C For Engineers And Scientists 4th Edition By Gary J. Bronson – Test Bank
Quick view
Add to wishlist
Add to cart

C++ For Engineers And Scientists 4th Edition By Gary J. Bronson – Test Bank

$35.00 Original price was: $35.00.$20.00Current price is: $20.00.
-43%
Absolute C 5th Edition By Walter Savitch – Test Bank
Quick view
Add to wishlist
Add to cart

Absolute C++ 5th Edition By Walter Savitch – Test Bank

$35.00 Original price was: $35.00.$20.00Current price is: $20.00.
-43%
New Perspectives On HTML CSS And XML Comprehensive 4th Edition By Patrick Carey – Test Bank
Quick view
Add to wishlist
Add to cart

New Perspectives On HTML CSS And XML Comprehensive 4th Edition By Patrick Carey – Test Bank

$35.00 Original price was: $35.00.$20.00Current price is: $20.00.
-43%
Absolute Java 5th Edition By Walter Savitch – Test Bank
Quick view
Add to wishlist
Add to cart

Absolute Java 5th Edition By Walter Savitch – Test Bank

$35.00 Original price was: $35.00.$20.00Current price is: $20.00.
-43%
MCSE Guide To Designing A Microsoft Windows Server 2003 1st Edition By Jay – Test Bank
Quick view
Add to wishlist
Add to cart

MCSE Guide To Designing A Microsoft Windows Server 2003 1st Edition By Jay – Test Bank

$35.00 Original price was: $35.00.$20.00Current price is: $20.00.
-43%
Programmable Logic Controllers 5th Edition By Frank Petruzella – Test Bank
Quick view
Add to wishlist
Add to cart

Programmable Logic Controllers 5th Edition By Frank Petruzella – Test Bank

$35.00 Original price was: $35.00.$20.00Current price is: $20.00.
-43%
JAVA FOUNDATIONS 3rd EDITION BY JOHN LEWIS – Test Bank
Quick view
Add to wishlist
Add to cart

JAVA FOUNDATIONS 3rd EDITION BY JOHN LEWIS – Test Bank

$35.00 Original price was: $35.00.$20.00Current price is: $20.00.
-43%
C Programming Principles And Practices International 4th Edition By Gary – Test Bank
Quick view
Add to wishlist
Add to cart

C++ Programming Principles And Practices International 4th Edition By Gary – Test Bank

$35.00 Original price was: $35.00.$20.00Current price is: $20.00.
Test Bank
  • 3277 S WHITE RD SAN JOSE, CA 95148
  • Phone: (064) 332-1233
  • admin@testbank.ltd
MAIN
  • Home
  • Blog
  • Guide
  • FAQs
  • Contact us
  • Account
Categories
  • Test Banks & Solutions
  • List of Products
  • Nursing Test Bank
  • Accounting Test Bank
  • Exams Test Bank
  • Surgical Test Bank
NEED HELP?
  • Privacy Policy
  • Refund & Returns
  • Terms And Conditions
  • Shipping Policy
  • Billing Term Conditions
  • Submit your Request
NEW REQUEST

We have the biggest collection of authentic Test Banks with many more being uploaded every day so if you can’t find your desired Test Bank or Solution Manual then please Submit Request and we will send it to your inbox.

Test Bank 2023 All Right Reserved
payments
  • Home
  • Health Professions
    • Nursing
    • Pharmacology/Surgical
    • Surgical Technology
    • Health and Disease
    • Blood Banking
    • Medical
    • Medicine
    • Emergency Care
    • Nutritional Care
    • Dental Materials
    • Cancer
    • Drug
  • Business & Management
    • Accounting
    • Marketing
    • Management
    • Statistics
    • Auditing
    • Business
    • Business Statistics
    • Banking
    • Financial
    • Financial Accounting
    • Personal Finance
    • Investment
    • Taxation of Business
  • Exams
    • Physical/Examination
  • Science & Technology
    • Biology
    • Chemistry
    • Biochemistry
    • Basic Chemistry
    • Environmental Science
    • Geography
    • Math
    • Psychology
    • Anatomy & Physiology
    • Astronomy
    • Information Technology
    • Microbiology/Biology
    • Neuropsychology
    • Pediatric Primary
    • Research Method
  • Engineering
    • Information Technology
    • Computing Technology
    • Data Analysis
    • Database
    • Web Design
    • Web Development
  • Humanities
    • Communication
    • Economics
    • Education
    • History
    • Sociology
    • Human Development
    • Human Physiology
    • Human Sexuality
    • Politics
    • Criminology
    • Criminal Justic
    • Art
    • Leadership
    • Learning
    • Legal Environment
    • Lifespan
    • Relationship
  • Blog
  • Wishlist
  • Login / Register
Shopping cart
close

Sign in

close

Lost your password?

No account yet?

Create an Account
Start typing to see products you are looking for.
Shop
Wishlist
1 item Cart
My account