STARTING OUT W/PROGRAM.LOGIC...-TEXT
STARTING OUT W/PROGRAM.LOGIC...-TEXT
5th Edition
ISBN: 2810022369454
Author: GADDIS
Publisher: PEARSON
bartleby

Videos

Textbook Question
Book Icon
Chapter 6, Problem 1MC

This is a prewritten function that is built into a programming language.

  1. a. standard function
  2. b. library function
  3. c. custom function
  4. d. cafeteria function
Expert Solution & Answer
Check Mark
Program Description Answer

The prewritten function that is used to build into a programming language is a library function.

Hence, the correct answer is option “B”.

Explanation of Solution

Library Function:

  • Many programming languages are come with a library functions which means the functions are already written for the languages. It is called library function.
  • These functions are built into the programming languages and the programmer can call that functions whenever they want to access it.
  • The library functions perform most of the tasks that the programmers normally want to perform so it makes easier for the programmer.

Explanation for incorrect options:

Standard Function:

The standard function is not a valid build-in function.

Hence, the option “A” is wrong.

Custom Function:

The custom function is not a valid build-in function.

Hence, the option “C” is wrong.

The cafeteria function is not a valid build-in function.

Cafeteria Function:

Hence, the option “D” is wrong.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
03:05
Students have asked these similar questions
Why is it even necessary to design functions in computer programming?
How can you tell what information is going into a function and what information is coming out of a function? computer language: C
Computer science Short answer Only theory Define the terms function header, parameter, and argument.

Chapter 6 Solutions

STARTING OUT W/PROGRAM.LOGIC...-TEXT

Ch. 6 - This part of a function definition specifies the...Ch. 6 - This part of a function definition is comprised of...Ch. 6 - In pseudocode, this statement causes a function to...Ch. 6 - This is a design tool that describes the input,...Ch. 6 - This type of function returns either True or...Ch. 6 - This is an example of a data type conversion...Ch. 6 - Prob. 9MCCh. 6 - Prob. 10MCCh. 6 - The code for a library function must appear in a...Ch. 6 - Prob. 2TFCh. 6 - In many languages it is an error to assign a real...Ch. 6 - In some languages you must use a library function...Ch. 6 - Prob. 5TFCh. 6 - What is the difference between a module and a...Ch. 6 - Prob. 2SACh. 6 - Prob. 3SACh. 6 - Prob. 4SACh. 6 - Prob. 5SACh. 6 - Prob. 6SACh. 6 - As shown in this chapter, write a pseudocode...Ch. 6 - The following pseudocode statement calls a...Ch. 6 - A pseudocode program contains the following...Ch. 6 - Design a pseudocode function named timesTen that...Ch. 6 - Design a pseudocode function named getFirstName...Ch. 6 - Assume that a program has two String variables...Ch. 6 - The programmer intends for this pseudocode to...Ch. 6 - Can you find the reason that the following...Ch. 6 - Can you find the reason that the following...Ch. 6 - Feet to Inches One foot equals 12 inches. Design a...Ch. 6 - Math Quiz Design a program that gives simple math...Ch. 6 - Maximum of Two Values Design a function named max...Ch. 6 - Falling Distance When an object is falling because...Ch. 6 - Kinetic Energy In physics, an object that is in...Ch. 6 - Test Average and Grade Write a program that asks...Ch. 6 - Odd/Even Counter In this chapter you saw an...Ch. 6 - Guess the Number Design a number guessing game...Ch. 6 - Prime Numbers A prime number is a number that is...Ch. 6 - Prime Number List This exercise assumes you have...Ch. 6 - Rock, Paper, Scissors Game Design a program that...Ch. 6 - Prob. 13PECh. 6 - ESP Game Design a program that tests your ESP, or...
Knowledge Booster
Background pattern image
Computer Science
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
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
.2: Function Parameters and Arguments - p5.js Tutorial; Author: The Coding Train;https://www.youtube.com/watch?v=zkc417YapfE;License: Standard Youtube License