A predefined procedure that returns a value is called a: C. Function
A function can be defined as a set of commands (instructions) which can be run on a computer by calling it by its name. Thus, you can run series of command (instruction) as a function by calling its name.
In Computer programming, a group of organized, reusable series of command (instruction) that are written to instruct a computer for the performance of a particular task is generally referred to as a function.
Generally, a function is characterized by the following;
A function accepts data as an input.A function processes data.It returns a single output or a set of results depending on the code.In conclusion, a function is a predefined procedure that returns a value or series of value and it can be used to perform a single but related action.
Read more: brainly.com/question/23838498
Consider the following relational database that stores information about bars and customers: Drinker (name, address) Bar (name, address) Beer (name, brewer) Frequents (drinker, bar, times a week) Likes (drinker, beer) Serves (bar, beer, price) Write the following queries in relational algebra: 1. Find all drinkers who frequent only those bars that serve some beers they like. 2. Find all drinkers who frequent every bar that serves some beers they like.3. Find those drinkers who enjoy exactly the same set of beers as Amy.
Answer:
simeso
le
Explanation:
I want to write a Java program to display the multiplication table for the number entered by the user and the values doesn’t exceed 100 .For example if the user enter 3 the output should be like this :
3
6
9
12
15
18
21
24
27
30
33
36
39
42
45
48
51
54
57
60
63
66
69
72
75
78
81
84
87
90
93
96
99
Answer:
yes that is correct
Explanation:
hopefully this helps good luck
A tactful representation of opposing views is essential when writing for the opposition. True or false
narrative report in computer system servicing
Computer servicing is the process of maintaining and repairing computers and computer peripherals. It can involve anything from malware removal and software updates to hardware repairs and troubleshooting. Servicing is often performed by IT professionals.
Return a formatted string with numbers The function below takes three numerical inputs: num1, num2, and num3. Implement it to return a formatted string with an underscore between the first two numbers and space, exclamation point, and another space between the second and third number. For example, if the inputs are 1, 2, and 3, then the function should return the string '1_2 ! 3'.
Answer:
In Python:
def ret_formatted(num1,num2,num3):
result = str(num1)+"_"+str(num2)+" ! "+str(num3)
return result
Explanation:
This defines the function
def ret_formatted(num1,num2,num3):
This generates the output string
result = str(num1)+"_"+str(num2)+" ! "+str(num3)
This returns the result string
return result
Use cin to read integers from input until 999 is read. For each remaining integer read before 999, if the integer is equal to 25, output "25 occurs" followed by a newline and increment numDetections.
Ex: If the input is 25 25 -6 25 25 999, then the output is:
25 occurs
25 occurs
25 occurs
25 occurs
4 time(s)
Ex: If the input is 25 25 -6 25 25 999, then the output is:4 time(s)
What is the code about?By using a while loop in this code, we can utilize the cin function to retrieve integers from input until the sentinel value 999 is reached. We verify the equality of every integer read with the value of 25.
Therefore, We issue the statement "25 is present" and increase the numDetections count if applicable. After completion of integer reading, we display the overall count of occurrences of the value 25. It should be noted that we utilize "endl" to add a line break character at the end of every line of output.
Learn more about code from
https://brainly.com/question/26134656
#SPJ1
what is the purpose of primary manufacturing processes?
Answer:
Primary manufacturing processes are used to turn a raw material into an industrial material. Here's one type of primary manufacturing process 1)Chemical processes- using chemicals to change a raw material into an industrial material.
Answer:
used to turn a raw material into an industrial material.
Explanation:
Write a recursive function stringReverse that takes a string and a starting subscript as arguments, prints the string backward and returns nothing. The function should stop processing and return when the end of the string is encountered. Note that like an array, the square brackets ( [ ] ) operator can be used to iterate through the characters in a string.
Answer:
void stringReverse(string s, int start){
if(s[start]=='\0'){
return;
}
else{
stringReverse(s.substr(1,s.length()-1),start+1);
cout<<s[start];
}
}
Explanation:
Why does excel include so many different ways to execute the same commands ?.
Excel includes so many different ways to execute the same commands for sake of flexibility and speed.
What is excel?Microsoft Excel is a spreadsheet program developed by Microsoft that is available for Windows, macOS, Android, and iOS. It includes calculating or computation skills, graphing tools, pivot tables, and Visual Basic for Applications, a macro programming language. Excel is part of the Microsoft Office software suite.
Excel is a spreadsheet program that is used to store, analyze, and report on enormous quantities of data. Accounting teams frequently use it for financial analysis, but it can be used by any professional to handle vast and cumbersome information. Balance sheets, budgets, and editorial calendars are examples of Excel applications.
Learn more about excel:
https://brainly.com/question/24202382
#SPJ1
The system of rules that governs how we assign meaning to the morphemes we use is called __________. syntax semantics phonology regularization
Semantics
Explanation:In linguistics, syntax is the study of phrases and sentences. It also describes the set of rules of grammar that these sentences obey. It doesn't describe or govern the way meanings are assigned to morphemes - the smallest meaningful unit of a language.
Semantics on the other hand is the study of the meaning of sentences. It contains a system of rules governing how meanings are given to morphemes, phrases and sentences.
Phonology is a great branch in linguistics that deals with the study of speech sounds in languages.
Regularization is another branch in linguistics that observe languages in the bid to replace irregular forms in syntax, semantics and even morphology in that language with the regular forms.
Out of the described options, the one that has to do with meanings of morphemes is Semantics.
Answer:
Semantics is the correct answer.
In the context of a resume, which of the following statements most effectively features the skill being described?
A: Programming skills
B: Applied programming skills during internship
C: Reprogrammed operating systems during freshman internship
D: Reprogrammed operating systems
Option C, "Reprogrammed operating systems during freshman internship," most effectively features the skill of programming.
Why is option C correct?This statement not only mentions the skill of programming but also specifies the application of the skill and the level of proficiency achieved (i.e., reprogramming operating systems).
This provides more context and detail compared to option A, which is too general, and options B and D, which are less specific and don't provide as much detail about the applicant's level of proficiency.
Read more about resumes here:
https://brainly.com/question/30208587
#SPJ1
PHP server scripts are surrounded by delimiters, which? *
Answer:
The default delimeters are <?php ... ?>
Explanation:
They can however be adjusted. It is common enough to find it written instead as:
<? ... ?>
But from the question your answering, the third option is correct.
What is the main purpose of QBE
it is to give people confidence to achieve their ambitions.
Hope this Helped :T
Answer:
QBE purpose is to give people the confidence to achieve their ambitions.
Which action can users perform on all webmail sites and email programs?
A. Download images from the internet.
B. Store and organize contacts.
C. Find anyone's email address online.
D. Display web pages within an email.
Answer: B. Store and organize contacts
Explanation:
I did the quiz myself and it was correct, hope this helps you all. :)
Mission statement base on shoes company ? Help me
Here are 2 examples:
- Bringing comfortable walking, running, biking, and adventuring to the world.
- Transforming the way you live your life, two soles at a time.
A mission statement should be focused on what a company is about at its core roots. What's the driver for why the company does what it does? Often it is related to why a company is relevant in its industry.
Need help with this python question I’m stuck
It should be noted that the program based on the information is given below
How to depict the programdef classify_interstate_highway(highway_number):
"""Classifies an interstate highway as primary or auxiliary, and if auxiliary, indicates what primary highway it serves. Also indicates if the (primary) highway runs north/south or east/west.
Args:
highway_number: The number of the interstate highway.
Returns:
A tuple of three elements:
* The type of the highway ('primary' or 'auxiliary').
* If the highway is auxiliary, the number of the primary highway it serves.
* The direction of travel of the primary highway ('north/south' or 'east/west').
Raises:
ValueError: If the highway number is not a valid interstate highway number.
"""
if not isinstance(highway_number, int):
raise ValueError('highway_number must be an integer')
if highway_number < 1 or highway_number > 999:
raise ValueError('highway_number must be between 1 and 999')
if highway_number < 100:
type_ = 'primary'
direction = 'north/south' if highway_number % 2 == 1 else 'east/west'
else:
type_ = 'auxiliary'
primary_number = highway_number % 100
direction = 'north/south' if primary_number % 2 == 1 else 'east/west'
return type_, primary_number, direction
def main():
highway_number = input('Enter an interstate highway number: ')
type_, primary_number, direction = classify_interstate_highway(highway_number)
print('I-{} is {}'.format(highway_number, type_))
if type_ == 'auxiliary':
print('It serves I-{}'.format(primary_number))
print('It runs {}'.format(direction))
if __name__ == '__main__':
main()
Learn more about program on
https://brainly.com/question/26642771
#SPJ1
Write code in java that takes input from the user for the radius (double) of a circle, and create a circle with that radius. The program should then print a sentence with the circumference and area of the circle. You should use the appropriate Circle methods to obtain the circumference and area of the circle rather than calculating these values yourself.
Sample run:
Enter the radius of the circle:
> 3
A circle with a radius 3.0 has a circumference of 18.84955592153876 and an area of 28.274333882308138
Answer:
Explanation:
import java.util.Scanner;
public class Circumference {
public static void main(String[] args){
Scanner input = new Scanner(System.in);
System.out.print(“Enter the radius of the circle: ");
double userInput = input.nextDouble();
//create a new instance of the Circumference Class
Circumference c = new Circumference();
System.out.println(“A circle with a radius of “ + userInput + “ has a circumference of ” + c.getCircumference(userInput) + "and an area of " + c.getArea(userInput);
}
public double getCircumference(double radius){
return 2.0 * Math.PI * radius; //formula for calculating circumference
}
public double getArea(double radius){
return radius * radius * Math.PI; //formula for finding area
}
}
/* Formatting may be a lil weird in the main method(), if your getting errors just comment the print statement and re-type it yourself :)*/
Declare an eight by eight two-dimensional array of strings named chessboard.
Answer:SOLUTION:
String [][] chessboard = new String [8][8];
Drag the tiles to the correct boxes to complete the pairs.
Match the elements of a network to their descriptions.
Answer:
software
client devices
hardware
Explanation:
Plzzzzzzzzzzzzz give me brainiest
flow chart to read 50 numbers and print summation of even numbers only
The sum of terms in an arithmetic progression formula is used to get the sum of even numbers formula. Sum of Even Numbers Formula is written as n(n+1), where n is the total number of entries in the series.
What is print summation of even numbers only?Python comes with a built-in method called sum() that adds up the values in the list. Syntax: sum (iterable, start) (iterable, start) Iterable:
Most importantly, iterable should be numbers. Start: This start is added to the total of the iterable's numbers.
Therefore, By definition, when a number is divided by two, there is never a remainder. There will therefore be no residue when it is added to another even integer.
Learn more about summation here:
https://brainly.com/question/29334900
#SPJ1
from which family does Ms word 2010 belong to
Answer:
Microsoft Word 2010 belongs to the Microsoft Office 2010 suite.
Explanation:
Microsoft Word 2010 was released as part of the Microsoft Office 2010 suite, which was launched in June 2010. The suite included various applications such as Word, Excel, PowerPoint, Outlook, and others. Microsoft Word 2010 specifically is a word processing software designed to create and edit text-based documents. It introduced several new features and improvements compared to its predecessor, Word 2007. These enhancements included an improved user interface, enhanced collaboration tools, new formatting options, an improved navigation pane, and improved graphics capabilities. Therefore, Microsoft Word 2010 is part of the Microsoft Office 2010 family of software applications.
Drag each label to the correct location on the table.
Match the correct features to virtualization and cloud computing.
allows multiple operating systems
to run on a single machine
consolidates hardware devices into
a physical server
allows users to access data from anywhere
includes services such as platform
as a service and desktop as a service
uses a hypervisor that can be type 1 or type 2
allows users to run software applications
on web browsers without installing
the application locally
Match the correct features to virtualization and cloud computing is allows multiple operating systems to consolidates hardware and uses a hypervisor to allows users to access
Divide the statement in virtualization and cloud computing ?
sing virtualization, different operating systems can operate on a single machine using a type 1 or type 2 hypervisor.
Users can access data from anywhere using cloud computing, which combines hardware devices into a physical server and offers services like platform as a service and desktop as a service. Users can execute software applications on web browsers without having to install them locally.
Know more about virtualization Visit:
brainly.com/question/31037702
#SPJ1
what is document formatting?
Answer:
Document formatting refers to the process of designing and arranging the content, layout, style, and structure of a document to make it more readable, visually appealing, and professional-looking. Document formatting involves applying different formatting techniques such as setting margins, adding page numbers, adjusting font size and style, indenting paragraphs, adding headings and subheadings, using bullet points and numbered lists, and incorporating images, tables, and charts to enhance the presentation of the document.
Explanation:
A square QR code contains 40×40 tiny squares (pixels) where each tiny square represents a 0 or a 1. Calculate how many bytes of data can be stored on the QR code
Answer:
Explanation:
QR Codes are made of multiple rows and columns. The combination of these rows and columns makes a grid of modules (squares). There can be a maximum of 177 rows and 177 columns which means the maximum possible number of modules is 31,329. With the eye, these are just small squares and mean very little, but the exact arrangement of those modules allows the QR Code to encode its data. This means that, unlike traditional barcodes which are 1 dimensional and use 1 row of lines, QR Codes use 2 dimensions which allows them to store a lot more data in the same area of space.
Upload the software you wish to review for this project's submission and the detailed, professional-quality code review for the case study that you chose. You can upload a PDF, a program source file, a zip of several source files, or a URL to this assignment GitHub repository.
Prepare a detailed code review and analysis of the code that you have selected. The syllabus contains the details and requirements for this (see the CASE STUDY section). Be sure to cover, at minimum, each bullet point shown in the syllabus. Your submission must be in Microsoft Word format.
The case study involves a detailed, professional-quality code review. Students should take some time to find source code (not written by them) they wish to review. (This is a great opportunity to participate in open source development; you can review some code found on GitHub (or elsewhere), and if you find any improvements, you can submit them as pull-requests.)
Using for loop write an alogarithm flow program to find simple interest fo three steps?
Answer:
The difference between a shallow and a deep depth of field is how much of your photo is in focus.
Explanation:
Print numbers 0, 1, 2, ..., userNum as shown, with each number indented by that number of spaces. For each printed line, print the leading spaces, then the number, and then a newline. Hint: Use i and j as loop variables (initialize i and j explicitly). Note: Avoid any other spaces like spaces after the printed number. Ex: userNum = 3 prints:
0
1
2
3
Answer:
Here is an example of how you could use Java to print the numbers 0, 1, 2, ..., userNum as shown, with each number indented by that number of spaces:
import java.util.Scanner;
public class NumberIndent {
public static void main(String[] args) {
// Create a Scanner object to read input from the user
Scanner input = new Scanner(System.in);
// Prompt the user to enter a number
System.out.print("Enter a number: ");
int userNum = input.nextInt();
// Use two loop variables, i and j, to print the numbers
for (int i = 0; i <= userNum; i++) {
for (int j = 0; j < i; j++) {
// Print a space for each iteration of the inner loop
System.out.print(" ");
}
// Print the number after the spaces
System.out.println(i);
}
}
}
Explanation:
This code uses a nested for loop to print the numbers 0, 1, 2, ..., userNum, with each number indented by that number of spaces. The outer loop iterates through the numbers, and the inner loop prints a space for each iteration of the outer loop. Finally, the number is printed after the spaces.
I hope this helps! Let me know if you have any questions.
Write the logical steps taken by a computer system along with the roles of its main units in each step while transforming input data to useful information for presentation to a user
Answer:
Computers, in simple words, are machines that perform a set of functions according to their users’ directions. Going by this definition, several electronic devices, from laptops to calculators, are computers.
Explanation:
hope It helps!
Which of the following activities is permissible for IT professionals in the conduct of computer access and authorizations?
viewing explicit content on a company computer
posting updates to social media networks during slow periods at work
using another company’s copyrighted images for the company’s website
using the company’s e-mail software to send work-related e-mails
Answer:
D
Explanation:
Answer: A, B, C, D
Explanation:
computer are heplful for income generating activities whyyy?
Answer:
Because it is sustainable. You can destroy real currency but computer currency is unbreakable so you can send each other their pay without the worries of broken cash