Which of the following is part of the library header file? (Check all applicable answers)   Function prototypes   Definition of constants   Typedef and Structure definitions   All

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter6: User-defined Functions
Section: Chapter Questions
Problem 1TF: Mark the following statements as true or false: a. To use a predefined function in a program, you...
icon
Related questions
Question

Which of the following is part of the library header file? (Check all applicable answers)

 
Question 1 - Which of the following is part of the library header file? (Check all applicable answers)
 
Function prototypes
 
Definition of constants
 
Typedef and Structure definitions
 
All
 
 
2)

Which of the following is NOT true about libraries?

 
Question 2 - Which of the following is NOT true about libraries?
 
It is bad to use a library when its utility to a given problem is minimal
 
A library header file does not contain code for any of the functions
 
Using library saves time in programming
 
None
 
 
3)

Which of the following functions can be used to flush the buffer?

 
Question 3 - Which of the following functions can be used to flush the buffer?
 
flush()
 
clear()
 
refresh()
 
move()
 
 
4)

The curses library is a basic graphics library for use on a character terminal screen.

 
Question 4 - The curses library is a basic graphics library for use on a character terminal screen. True
False
 
 
5)

scanf() function in the C standard input library is line buffered.

 
Question 5 - scanf() function in the C standard input library is line buffered.
True
False
 
 
6)

Which of the following curses library functions involved with the graphics operation?

 
Question 6 - Which of the following curses library functions involved with the graphics operation?
 
initscr()
 
endwin()
 
clear()
 
All of the above.
 
 
7)

Which library needs to be linked to compile the curses library calls?

 
Question 7 - Which library needs to be linked to compile the curses library calls?
 
lnclear
 
lninit
 
lncurses
 
lngraphics
 
 
8)

How many important concepts are in the I/O controlling?

 
Question 8 - How many important concepts are in the I/O controlling?
 
4
 
1
 
3
 
2
 
 
9)

What is the most commonly used command to package object code files into library files? 

 
Question 9 - What is the most commonly used command to package object code files into library files? 
 
ln
 
gcc
 
ls
 
ar
 
 
10)
Libraries should be used to help overcome problems, not just because they are available.
 
Question 10 - Libraries should be used to help overcome problems, not just because they are available. True
False
 
 
11)

A scripting language is a very high level programming language.

 
Question 11 - A scripting language is a very high level programming language. True
False
 
 
12)
Most scripting languages do not distinguish between integers, real values, strings, and other data types.
 
Question 12 - Most scripting languages do not distinguish between integers, real values, strings, and other data types. True
False
 
 
13)

Script languages tend to be good for

 
Question 13 - Script languages tend to be good for
 
Automating execution of other programs
 
Rapid prototype programming
 
Creating log files
 
All of the above.
 
 
14)

Scripting languages require compilation and execution steps.

 
Question 14 - Scripting languages require compilation and execution steps. True
False
 
 
15)

Which one is / are true?

 
Question 15 - Which one is / are true?
 
Shell scripting is most commonly used for system administration tasks.
 
Perl is most commonly used to “glue” together other programs, especially for web server/client and database interactions.
 
MATLAB is most commonly used for batch processing of tabular data and for generating large numbers of plots.
 
All of the above.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Types of Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr