GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

If the following code is run:movie = “Deadpool and Wolverine…

If the following code is run:movie = “Deadpool and Wolverine”What is the value of the following expression:( movie [0] + movie [8:14] )

Read Details

Given the following code:i = 1c = 0r = range (2, 10, 2)while…

Given the following code:i = 1c = 0r = range (2, 10, 2)while i < len (r): c = c + r [i] i = i + 1What is the value of the following expression:c

Read Details

Part 7 – Advanced Collections

Part 7 – Advanced Collections

Read Details

Part 5 – Collections

Part 5 – Collections

Read Details

Given the following code: burger_price = 5 fries_price = 10…

Given the following code: burger_price = 5 fries_price = 10 drink_price = 5 if (burger_price == fries_price or burger_price == drink_price) and not (fries_price == drink_price):   print(“Price check passed”) else:   print(“Price check failed”) The correct output to the screen is: [BLANK-1]

Read Details

Given the following code:class Employee: def __init__ ( self…

Given the following code:class Employee: def __init__ ( self, name, position = “Intern” ): self.name = name self.position = positionemployee1 = Employee ( “John”, “Manager” )print ( employee1.position )What output is printed to the screen?

Read Details

In Python, a function must be defined – and loaded into memo…

In Python, a function must be defined – and loaded into memory – before it is called.

Read Details

Given the following list of Care Bears:careBears = [ “Grumpy…

Given the following list of Care Bears:careBears = [ “Grumpy Bear”, “Share Bear”, “Cheer Bear”, “Good Luck Bear”, “Funshine Bear” ]What is the value of the following expression:careBears [3]

Read Details

Choose the best word to complete the sentence below: Using n…

Choose the best word to complete the sentence below: Using new technology, in 2015 a French scientist discovered an image underneath the “Mona Lisa.” An earlier portrait was ____________ under DaVinci’s famous painting.

Read Details

Choose the best word to complete the sentence below: In some…

Choose the best word to complete the sentence below: In some countries, citizens are forced to serve in the military, but in the United States, military service is ____________. You serve if you want to.

Read Details

Posts pagination

Newer posts 1 … 37,418 37,419 37,420 37,421 37,422 … 71,761 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top