GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

What function call should we use to get this chessboard outp…

What function call should we use to get this chessboard output where ‘P’ is the last character printed (except for special characters).  There are 8 rows and each row contains 8 characters. # # # # # # # ## # # # # # # ## # # # # # # ## # # #  # # # P

Read Details

In Python, what will type(get_budget(get_id(“Parks”),2024))…

In Python, what will type(get_budget(get_id(“Parks”),2024)) evaluate to?

Read Details

You are given the following function: def my_func(x,y):   if…

You are given the following function: def my_func(x,y):   if y == 0 or x == 0:      return “division by zero not allowed”   elif x < y:     return y / x    else:     return x / y What will be the return value of my_func(2,1)?

Read Details

What values are printed:   i = 0while i < 10:    i = i + 1  ...

What values are printed:   i = 0while i < 10:    i = i + 1    if i % 2 != 0:        continue    print(i)  

Read Details

What function call will create the following chessboard when…

What function call will create the following chessboard when ‘Q’ is the first character printed? There are 4 rows printed and each row contains 4 characters.  Q # # ## #  # #

Read Details

What does this expression evaluate to: “hi” + “5”

What does this expression evaluate to: “hi” + “5”

Read Details

Which of the following code snippets will produce this outpu…

Which of the following code snippets will produce this output: CS220    is “great” Please note that the spaces between “220” and “is” is equivalent to one tab.

Read Details

How would you modify the expression 2 + 4 * 5 + 10 to get a…

How would you modify the expression 2 + 4 * 5 + 10 to get a result of 40 in Excel?

Read Details

If you have a formula in Excel as =MAXIFS(A2:C2, A3:C3, “>50…

If you have a formula in Excel as =MAXIFS(A2:C2, A3:C3, “>50”), what will the formula return if the values in row 2 are: A2 = 40, B2 = 60, C2 = 80 and the values in row 3 are: A3 = 45, B3 = 55, C3 = 30?

Read Details

In this example, students with a score of 90 or above will r…

In this example, students with a score of 90 or above will receive a High Pass result. Otherwise, if their score is 70 or above, they will receive a Pass result. Below that, they’ll receive a Fail unless there is no grade at all, in which case they’ll receive an Incomplete. Which of these formulas in D3 would produce those results?

Read Details

Posts pagination

Newer posts 1 … 34,340 34,341 34,342 34,343 34,344 … 91,065 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top