Write program to list all english-math and science teachers

Assignment Help Programming Languages
Reference no: EM1355319

Q1) Choose the multiple choice answer and provide an explanation:

Suppose that input consists of a file of teachers. You are told to write a program to list all English, math, and science teachers. Each teacher can teach only one subject. Further suppose the following percentages in the input file:

¦ 10 percent are science teachers.
¦ 20 percent are math teachers.
¦ 25 percent are English teachers.
¦ 45 percent are teachers who teach subjects other than math, science, and English.

In what order should the conditions be tested? (5.9)
a. English, science, math.
b. English, math, science.
c. Science, English, math.
d. Science, math, English.
e. Math, English, science.
f. Math, science, English.
g. The order does not matter.

Reference no: EM1355319

Questions Cloud

Organizational and societal functions of public relations : Organizational and Societal Functions of Public Relations -  From the following list select at least two functions you consider to be organizational functions of PR and two functions you consider to be societal functions.
Integrating formal and informal assessment : Please provide a brief explanation of two ways in which assessment can be used in a counselling practice. Then explain four skills that are needed to further develop to fully integrate formal and informal assessment into a counselling practice.
Cash and accrual accounting : Consider a health care organization with which you are familiar with and explain the difference between cash and accrual accounting in health care setting. Be sure to include a discussion of the revenue recognition and matching principles.
What is the electric field strength at the point : A 1.9 mol sample of hydrogen gas is heated at constant pressure from 302 K to 410 K. Calculate the energy transferred to the gas by heat.
Write program to list all english-math and science teachers : Suppose that input consists of a file of teachers. You are told to write a program to list all English, math, and science teachers. Each teacher can teach only one subject.
Organizational history use in defining the business : Organizational History use in defining the business - Does it make any difference if the organization is a year old or one hundred years?
Elucidate what is the calculation for a stock with a beta : Elucidate what is the calculation for a stock with a beta of -03, 07 and 1.6. Show calculations in 3 separate answeres.
In what region of the electromagnetic spectrum is radiation : A liquid with density of 1.65 x10 cubed kg/m cubed flows through 2 horizontal sections of tubing joined end to end. in the first section, the cross-sectional area is 10 cm2.
Determine the return on total assets : The financial leverage multiplier is an indicator of a corporation utilizing, In the DuPont system, the return on total assets is equal to,

Reviews

Write a Review

Programming Languages Questions & Answers

  Calculating hit ratio for program having loops

Calculate hit ratio for program that loops 10 times from locations 0 - 64.

  Designing class to denote person-s height

Design a class, PersonHeight, to denote the person's height. Our class will include the following members.

  Function to retrieve each of the private data members

Write a class called "Date" with month, day and year as private members. Have constructor that sets default date to 1st January 2000. Have accessor function which retrieves each of the private data members.

  Application to convert kilometers in miles

Application will input number of kilometers, compute number of miles, and display number of miles. You will use a constant to store the kilometers-to-miles conversion factor.

  Recursive method to read in string of characters

Trying to write a recursive method that reads in a string of characters and checks to see if the first character is either a 'D' or and 'E', then is followed by a string of one or more 'F's.

  Program-visual basic to compute tips for services rendered

Write a program in Visual Basic 2010 to compute tips for services rendered. The program should request the person's occupation, the amount of the bill and the percentage tip

  Explaining steps to execute branch instruction

Sketch a flow chart which carefully explains steps that little man follows to execute a branch instruction.

  Program to print chains of numbers within a range

Write a program to print the chains for the numbers within a range that the user specifies.

  Prolog program to reads employee-s number

Write a prolog program that reads an employee's number from the keyboard, number of hours worked and an hourly rate of pay.

  Formula translation

Write a c code that will evaluate the roots of a quadratic equation

  Program to calculate amount person would earn over a period

Write a program that calculates the amount a person would earn over a period of time if his or her salary is one penny the first day.

  Explaining variable in an arrays of ints

Assume that variable A is an arrays of ints. Consider the following code segment.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd