Which code segment should you use?
You are writing an application that uses the sqrt function. The program must reference the function using the name squareRoot. You need to import the function. Which code segment should you use? A. import math.sqrt as squareRoot B. import sqrt from math as squareRoot C. from math import sqrt as squareRoot D. from math.sqrt as […]
Which two math functions should you use?
You are creating a function that manipulates a number. The function has the following requirements: • A float is passed into the function • The function must take the absolute value of the float • Any decimal points after the integer must be removed Which two math functions should you use? Each correct answer is […]
Which two code segments should you use?
You develop a Python application for your company. A list named employees contains 200 employee names, the last five being company management. You need to slice the list to display all employees excluding management. Which two code segments should you use? Each correct answer presents a complete solution. (Choose two.) A. employees [1:-4] B. employees […]
Which code should you use at line 03?
You are creating a Python program that shows a congratulation message to employees on their service anniversary. You need to calculate the number of years of service and print a congratulatory message. You have written the following code. Line numbers are included for reference only. You need to complete the program. Which code should you […]
Which code segment should you use?
The ABC company has hired you as an intern on the coding team that creates e-commerce applications. You must write a script that asks the user for a value. The value must be used as a whole number in a calculation, even if the user enters a decimal value. You need to write the code […]
Which of the following is used to display a trend based on adjacent data in a clear and compact graphical repr
Which of the following is used to display a trend based on adjacent data in a clear and compact graphical representation by taking up a small amount of space? A. Trendline B. Line chart C. Sparkline D. Backstage view Explanation: A sparkline is defined as a tiny chart in the background of a cell. Unlike […]
Which of the following will you use to accomplish the task?
You work as an Office Manager for Blue Well Inc. The company has a Windows-based network. You have two budget situations in which one is the worst case and the other is the best case. You want to create both situations on the same worksheet and then switch between them with the change in requirements. […]
Which of the following formulas will you enter in order to accomplish the task?
You work as a Sales Manager for Maini Industries. Your company manufactures and sells construction equipment. You have to create a report that will show the highest selling items of each month. The report will be in the following format: In a workbook, you create a table named Item_table as shown below: You fill in […]
Which of the following are the reasons that are causing the above problem?
You work as an Office Assistant for Tech Perfect Inc. You are working in the spreadsheet of the company’s high selling products. You input a formula for calculating the monthly sell of a particular product but your Excel cell shows a string of # symbols instead of returning a value as shown below: Which of […]
Which of the following steps will you take to accomplish the task with the least administrative effort?
You work as an Office Assistant for Tech Tree Inc. You have created a report in a workbook in Microsoft Excel 2010. You have included various subtotals in a worksheet in the report to verify data accuracy. You want to remove all subtotals from the sheet before you send it to your manager. Which of […]