GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Review the code below.  What is the data type of the variabl…

Review the code below.  What is the data type of the variable x?               def function_a(y):   print(“hello”)   return y, 6     x = function_a(5)

Read Details

Refer to the “Parameters” tab in the exam’s Excel file.Requi…

Refer to the “Parameters” tab in the exam’s Excel file.Required: Briefly, but clearly, describe in executive summary form, the nature of the forecasted scenario that is being modeled. (10 points)

Read Details

Exam Instructions The exam consists of 11 questions worth a…

Exam Instructions The exam consists of 11 questions worth a total of 225 points. Point allocations are shown. The exam is 3 hours long. NO late submissions! NO exceptions! NO excuses. NO “I had” technical difficulties.” The exam is open course lecture notes, which means Professor Wasley’s lecture notes ONLY. NO other sources are allowed. You MUST answer the exam questions directly on BB. Your answers to the calculation-oriented questions must be entered into the Excel file on BB. For ALL calculation-oriented questions, the cells in the Excel file MUST show ALL of your work. ALL OF THE STEPS/NUMBERS USED TO GET YOUR ANSWER. IF YOU DO NOT SHOW YOUR WORK, YOU WILL NOT EARN FULL CREDIT, OR PARTIAL CREDIT, BECAUSE THE GRADER MUST BE ABLE TO VERIFY YOUR WORK. To be clear, to potentially receive partial credit you MUST show ALL of your work. The grader cannot assign any credit if you do not show your work. Under NO circumstances does the grader attempt to infer what you did. The grader cannot grade what you don’t show.  At the end of the exam, you will submit your Exam Excel file answer sheet. Exam’s Excel File: (required for exam) Exam Excel File..xlsx

Read Details

# assume we have a db_cursor objecti = int(input(“Enter the…

# assume we have a db_cursor objecti = int(input(“Enter the isbn you wish to update: “))p = float(input(“Enter the new price: “))sql = “update book set price = ? where isbn = ?”   What should we do next in our code?

Read Details

What is true about the code below?       def __str__(self): …

What is true about the code below?       def __str__(self):        print(“{:s} {:s}”.format(self.fname, self.lname))

Read Details

(If you like, you can enter your answer to Q7 in the Exam’s…

(If you like, you can enter your answer to Q7 in the Exam’s Excel file.)Verify that YY36’s forecasted Capital Expenditures of $4,495.3 shown in the Statement of Cash Flows was correctly calculated. (10 points) 

Read Details

(If you like, you can enter your answer to Q8 in the Exam’s…

(If you like, you can enter your answer to Q8 in the Exam’s Excel file.)Verify that YY36’s forecasted Interest Expense of $1,200.56 reported in the Income Statement was correctly calculated. (15 points)

Read Details

Assume we have the following transfer_from method:       def…

Assume we have the following transfer_from method:       def transfer_from(self, amount, to_account):        self.withdraw(amount)        to_account.deposit(amount)   In the main function, assume we have the code below.  If we want to transfer 100.00 from acct2 to acct1, what new statement should we write?       acct1 = BankAccount(123, ‘Joe’, ‘Smith’)     acct1.deposit(500.00)     acct2 = BankAccount(234, ‘Jane’, ‘Doe’)     acct2.deposit(500.00)  

Read Details

After which of these database commands should do a commit? 

After which of these database commands should do a commit? 

Read Details

Given the following code, what class method within ClassB is…

Given the following code, what class method within ClassB is automatically called when the print statement is called?   b = ClassB() print(b)

Read Details

Posts pagination

Newer posts 1 … 37,515 37,516 37,517 37,518 37,519 … 76,642 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top