Write an expression that evaluates to True if and only if is_a_member is False .
  • x > y
  • is_a_member== False
  • x == 0
  • index > last_index
Given two variables , is_empty of type bool , indicating whether a class roster is empty or not, and number_of_credits of type integer , containing the number of credits for a class, write an expression that evaluates to True if the class roster is not empty and the class is one or three credits. More...
  • number_of_men >= number_of_women
  • if worked_overtime== True: pay *= 1.5
  • ...
  • if x > y: max=xelse: max=y
Clunker Motors Inc. is recalling all vehicles from model years 1995-1998 and 2004-2006.Given a variable modelYear write a statement that assigns True to recalled if the value of modelYear falls within the two recall ranges and assigns False otherwise.Do not use an if statement in this exercise!
  • is_empty or number_of_credits == 3
  • ...
  • if worked_overtime== True: pay *= 1.5
  • if isIsosceles == True: isoCount += 1 triangleCount += 1 polygonCount += 1
Given that ph refers to a float , write a statement that compares ph to 7.0 and makes the following assignments (RESPECTIVELY!) to the variables neutral , base , and acid : 0,0,1 if ph is less than 7 0,1,0 if ph is greater than 7 1,0,0 if ph is equal to 7
  • if age < 18: minors += 1elif age < 64: adults += 1else: age > 65 seniors+=1
  • if isIsosceles == True: isoCount += 1 triangleCount += 1 polygonCount += 1
  • if ph < 7: neutral = 0 base = 0 acid = 1elif ph > 7: neutral = 0 base = 1 acid = 0else: neutral = 1 base = 0
  • if x > y: max=xelse: max=y
Write an if/else statement that assigns True to fever if temperature is greater than 98.6; otherwise it assigns False to fever .
  • if age < 18: minors += 1elif age < 64: adults += 1else: age > 65 seniors+=1
  • if outside_temperature > 90: shelf_life -= 4
  • if temperature > 98.6: fever = True
  • if temperature > 98.6: fever = Trueelse: fever=False
Given that the variables x and y have been defined, write an expression that evaluates to True if x is non-negative or y is negative.
  • gross_pay < 10000
  • x>= 0 and y < 0
  • average < 60.5
  • x >= 0 or y < 0
Given two variables , is_empty which is associated with a bool , indicating whether a class roster is empty or not, and number_of_credits which is associated with an int , containing the number of credits for a class, write an expression that evaluates to True if the class roster is not empty and the class is more than two credits.
  • ...
  • number_of_men >= number_of_women
  • if x > y: max=xelse: max=y
  • is_empty or number_of_credits == 3
Given the variables x , y , and z , each associated with an int , write a fragment of code that assigns the smallest of these to min
  • is_empty or number_of_credits == 3
  • if x > y: max=xelse: max=y
  • if worked_overtime== True: pay *= 1.5
  • age < 19 or is_full_time_student == True
Given the already defined variables years_with_company and department , write an expression that evaluates to True if years_with_company is less than 5 and department is not equal to 99.
  • number_of_men >= number_of_women
  • ...
  • x>= 0 and y < 0
  • age < 19 or is_full_time_student == True
Working overtime is defined as having worked more than 40 hours during the week. Given the variable hours_worked , write an expression that evaluates to True if the employee worked overtime.
  • x >= 0 or y < 0
  • gross_pay < 10000
  • number_of_men >= number_of_women
  • hours_worked > 40
Assume that c is a variable has been assigned a string value. Write an expression whose value is true if and only if c is a tab character.
  • x>= 0 and y < 0
  • x >= 0 or y < 0
  • c== "\t"
  • c == " "
Given that the variables x and y have been defined, write an expression that evaluates to True if x is non-negative and y is negative. More...
  • x>= 0 and y < 0
  • average < 60.5
  • age < 19 or is_full_time_student == True
  • x >= 0 or y < 0
Write an expression that evaluates to True if the int associated with width_of_box is not divisible (with no remainder) by the int associated with width_of_book . Assume that the latter is not zero. Write an expression that evaluates to True if the int associated with width_of_box is not divisible (with no remainder) by the int associated with width_of_book . Assume that the latter is not zero.
  • ...
  • x > y
  • x == 0
  • profits==losses
Clunker Motors Inc. is recalling all vehicles from model years 2001-Given a variable modelYear write a statement that assigns True to norecall if the value of modelYear does NOT within the recall range and assigns False otherwise.Do not use an if statement in this exercise!
  • ...
  • if temperature > 98.6: fever = True
  • if isIsosceles == True: isoCount += 1 triangleCount += 1 polygonCount += 1
  • x > y
Given the already defined variables is_full_time_student and age , write an expression that evaluates to True if age is less than 19 or is_full_time_student is True.
  • if worked_overtime== True: pay *= 1.5
  • x>= 0 and y < 0
  • age < 19 or is_full_time_student == True
  • if x > y: max=xelse: max=y
Clunker Motors Inc. is recalling all vehicles from model years 2001-Given a variable modelYear write a statement that assigns True to recalled if the value of modelYear falls within the recall range and assigns False otherwise.Do not use an if statement in this exercise!
  • if ph < 7: neutral = 0 base = 0 acid = 1elif ph > 7: neutral = 0 base = 1 acid = 0else: neutral = 1 base = 0
  • is_empty or number_of_credits == 3
  • ...
  • if isIsosceles == True: isoCount += 1 triangleCount += 1 polygonCount += 1
Write an expression that evaluates to True if the value of index is greater than the value of last_index .
  • index > last_index
  • x == 0
  • is_a_member== False
  • gross_pay < 10000
Write a conditional that multiplies the value associated with pay by one-and-a-half if worked_overtime is associated with True .
  • if age < 18: minors += 1elif age < 64: adults += 1else: age > 65 seniors+=1
  • if outside_temperature > 90: shelf_life -= 4
  • if temperature > 98.6: fever = True
  • on_off_switch= not(on_off_switch)
Given an intvariable gross_pay , write an expression that evaluates to True if and only if gross_pay is less than 10,000.
  • first=max(name1, name2)
  • gross_pay < 10000
  • worked_overtime== True
  • x>= 0 and y < 0
Given the variables number_of_men and number_of_women , write an expression that evaluates to True if the number of men is greater than or equal to the number of women.
  • if worked_overtime== True: pay *= 1.5
  • age < 19 or is_full_time_student == True
  • if x > y: max=xelse: max=y
  • number_of_men >= number_of_women
Write an if/else statement that compares age with 65, adds 1 to senior_citizens if age is greater than or equal to 65 , and adds 1 to non_seniors otherwise.
  • if age < 18: minors += 1elif age < 64: adults += 1else: age > 65 seniors+=1
  • if age >= 65: senior_citizens += 1else: non_seniors += 1
  • if sold_yesterday > sold_today: sales_trend = -1else: sales_trend = 1
  • if outside_temperature > 90: shelf_life -= 4
Write an expression that evaluates to True if and only if the bool associated with worked_overtime is True .
  • profits==losses
  • worked_overtime== True
  • is_a_member== False
  • index > last_index
Write a conditional that assigns True to fever if temperature is greater than 98.6.
  • if temperature > 98.6: fever = Trueelse: fever=False
  • is_a_member== False
  • if temperature > 98.6: fever = True
  • if outside_temperature > 90: shelf_life -= 4
Given the variables name1 and name2 , write a fragment of code that assigns the larger of their associated values to first . (NOTE: "larger" here means alphabetically larger, not "longer". Thus, "mouse" is larger than "elephant" because "mouse" comes later in the dictionary than "elephant"!)
  • workedOvertime= hoursWorked > 40
  • is_empty or number_of_credits == 3
  • if worked_overtime== True: pay *= 1.5
  • if ph < 7: neutral = 0 base = 0 acid = 1elif ph > 7: neutral = 0 base = 1 acid = 0else: neutral = 1 base = 0
Write an if/else statement that compares sold_yesterday and sold_today , and based upon that comparison assigns sales_trend the value -1 (the case where sold_yesterday is greater than sold_today ) or 1.
  • if isIsosceles == True: isoCount += 1 triangleCount += 1 polygonCount += 1
  • if age >= 65: senior_citizens += 1else: non_seniors += 1
  • if temperature > 98.6: fever = Trueelse: fever=False
  • if sold_yesterday > sold_today: sales_trend = -1else: sales_trend = 1
Given x and y , each associated with an int , write a fragment of code that associates the larger of these with another variable named max .
  • x>= 0 and y < 0
  • first=max(name1, name2)
  • if x > y: max=xelse: max=y
  • gross_pay < 10000
Given the variable c , whose associated value is a str , write an expression that is True if and only if c is not equal to a string consisting of a single blank.
  • c != str(" ")
  • average < 60.5
  • age < 19 or is_full_time_student == True
  • number_of_men >= number_of_women
Write an expression that evaluates to True if and only if the variables profits and losses are exactly equal.
  • x >= y
  • profits==losses
  • is_a_member== False
  • worked_overtime== True
Assume that a variable variable , numberOfSides has been initialized. Write a statement that assigns the value True to the variable isQuadrilateral if numberOfSides is exactly 4 and False otherwise.
  • isQuadrilateral = numberOfSides==4
  • if temperature > 98.6: fever = True
  • number_of_men >= number_of_women
  • if worked_overtime== True: pay *= 1.5
Jenny needs to borrow $5,500 for four years. The loan will be repaid in one lump sum at the end of the loan term. Which one of the following interest rates is best for Jenny?
  • 6.5 percent simple interest
  • 4 percent interest, compounded annually
  • Increasing the interest rate
  • Present value
The future value of a lump sum investment will increase if you:
  • discount rate.
  • A decrease in the interest rate
  • increase the time period.
  • Increasing the interest rate
Marcos is investing $5 today at 7 percent interest so he can have $35 later. This $35 is referred to as the:
  • future value.
  • Present value
  • discounting.
  • discount rate.
Jamie earned $14 in interest on her savings account last year. She has decided to leave the $14 in her account so that she can earn interest on the $14 this year. The interest earned on last year's interest earnings is called:
  • interest on interest.
  • 6.5 percent simple interest
  • compounding.
  • Present value
Tomas earned $89 in interest on his savings account last year and has decided to leave the $86 in his account this coming year so it will earn interest. This process of earning interest on prior interest earnings is called:
  • compounding.
  • discount rate.
  • discounting.
  • interest on interest.
Stacey deposits $5,000 into an account that pays 2 percent interest, compounded annually. At the same time, Kurt deposits $5,000 into an account paying 3.5 percent interest, compounded annually. At the end of three years:
  • only on the principal amount originally invested.
  • interest is changed to simple interest from compound interest.
  • Kurt will have a larger account value than Stacey will.
  • Present value
Kendall is investing $3,333 today at 3 percent annual interest for three years. Which one of the following will increase the future value of that amount?
  • A decrease in the interest rate
  • increase the time period.
  • 6.5 percent simple interest
  • Increasing the interest rate
Lisa has $1,000 in cash today. Which one of the following investment options is most apt to double her money?
  • 6.5 percent simple interest
  • 8 percent interest for 9 years
  • 4 percent interest, compounded annually
  • A decrease in the interest rate
Jessica invested $2,000 today in an investment that pays 6.5 percent annual interest. Which one of the following statements is correct, assuming all interest is reinvested?
  • Kurt will have a larger account value than Stacey will.
  • compound interest.
  • 6.5 percent simple interest
  • She could have the same future value and invest less than $2,000 initially if she could earn more than 6.5 percent interest
Lester had $6,270 in his savings account at the beginning of this year. This amount includes both the $6,000 he originally invested at the beginning of last year plus the $270 he earned in interest last year. This year, Lester earned a total of $282.15 in interest even though the interest rate on the account remained constant. This $282.15 is best described as:
  • 8 percent interest for 9 years
  • compound interest.
  • compounding.
  • interest on interest.
Given an interest rate of zero percent, the future value of a lump sum invested today will always:
  • remain constant, regardless of the investment time period.
  • only on the principal amount originally invested.
  • interest is changed to simple interest from compound interest.
  • 4 percent interest, compounded annually
The interest rate used to compute the present value of a future cash flow is called the:
  • discounting.
  • discounted cash flow valuation
  • future value.
  • discount rate.
Which one of the following will increase the present value of a lump sum future amount to be received in 15 years?
  • 4 percent interest, compounded annually
  • A decrease in the interest rate
  • 8 percent interest for 9 years
  • PV = $600 / (1 + .05)6
Rob wants to invest $15,000 for 7 years. Which one of the following rates will provide him with the largest future value?
  • A decrease in the interest rate
  • 8 percent interest for 9 years
  • 6.5 percent simple interest
  • 4 percent interest, compounded annually
Scott has just been given a project that has a specific completion date. After a discussion with top management he finds that while the date is important the cost is more important and a slip in delivery would be acceptable if required to meet the cost targets. The completion date is best classified as
  • Accept
  • Process breakdown structure
  • Scope creep
  • Profit
The WBS is best suited for projects that have a tangible outcome. Which of the following is used when the final outcome of the project is less tangible or is a product of a series of steps or phases?
  • Establish project priorities
  • Define the project scope
  • Process breakdown structure
  • Project priority matrix
All of the following are ways the WBS helps in managing projects
  • When the information will be communicatedHow information should be communicated and to whomWhat methods will be used to gather and store informationWhat information needs to be collected and are there limits as to who has access to it
  • With cost and time estimates the WBS makes it possible to plan, schedule and budget the projectIt provides management with information appropriate to each levelIt can be used to define communication channelsAs it is developed, organizational units and individuals can be assigned responsibility of work packages.
  • It allows the project manager to establish the overall objective of the project
  • It is the tendency for the project scope to expand over timeIt most likely caused by a scope statement that is too broadIt can have both positive and negative impacts on a projectIt can lead to added costs and possible project delays
There are 5 steps involved when defining a project, which of the following is the first?
  • Project priority matrix
  • The project
  • Establish project priorities
  • Define the project scope
The tendency for the project deliverables to expand over time—usually by changing requirements, specifications, and priorities—is called:
  • Scope creep
  • Process breakdown structure
  • The project
  • Project priority matrix
There are 5 steps involved when defining a project, which of the following is the last?
  • Code the WBS for the information system
  • Define the project scope
  • Establish project priorities
  • It is when the cost of the project is more than expected
There are 5 steps involved when defining a project, which of the following is the second?
  • The project
  • Define the project scope
  • Project priority matrix
  • Establish project priorities
All of the following are ways the WBS helps in managing projects EXCEPT
  • It is the tendency for the project scope to expand over timeIt most likely caused by a scope statement that is too broadIt can have both positive and negative impacts on a projectIt can lead to added costs and possible project delays
  • It is when the cost of the project is more than expected
  • It allows the project manager to establish the overall objective of the project
  • With cost and time estimates the WBS makes it possible to plan, schedule and budget the projectIt provides management with information appropriate to each levelIt can be used to define communication channelsAs it is developed, organizational units and individuals can be assigned responsibility of work packages.
All of these should be addressed in a communication plan.
  • It is the tendency for the project scope to expand over timeIt most likely caused by a scope statement that is too broadIt can have both positive and negative impacts on a projectIt can lead to added costs and possible project delays
  • With cost and time estimates the WBS makes it possible to plan, schedule and budget the projectIt provides management with information appropriate to each levelIt can be used to define communication channelsAs it is developed, organizational units and individuals can be assigned responsibility of work packages.
  • It is when the cost of the project is more than expected
  • When the information will be communicatedHow information should be communicated and to whomWhat methods will be used to gather and store informationWhat information needs to be collected and are there limits as to who has access to it
How is project scope defined?
  • What you expect to deliver to your customer when the project is complete
  • It allows the project manager to establish the overall objective of the project
  • When the information will be communicatedHow information should be communicated and to whomWhat methods will be used to gather and store informationWhat information needs to be collected and are there limits as to who has access to it
  • It is when the cost of the project is more than expected
Which of the following is true regarding scope creep?
  • With cost and time estimates the WBS makes it possible to plan, schedule and budget the projectIt provides management with information appropriate to each levelIt can be used to define communication channelsAs it is developed, organizational units and individuals can be assigned responsibility of work packages.
  • When the information will be communicatedHow information should be communicated and to whomWhat methods will be used to gather and store informationWhat information needs to be collected and are there limits as to who has access to it
  • It is the tendency for the project scope to expand over timeIt most likely caused by a scope statement that is too broadIt can have both positive and negative impacts on a projectIt can lead to added costs and possible project delays
  • It is when the cost of the project is more than expected
0 h : 0 m : 1 s

Answered Not Answered Not Visited Correct : 0 Incorrect : 0