Want to see correct answers?
Login or join for free!

Search Results for python - All Grades

43 questions match "python". Refine Your Search

Select questions to add to a test using the checkbox above each question. Remember to click the add selected questions to a test button before moving to another page.

Previous Page 2 of 3 Next
Grade 11 Business Technology
A list contains items separated by
  1. spaces.
  2. commas.
  3. brackets.
  4. semicolons.
Grade 11 Business Technology
Grade 11 Business Technology
If a = 0110 0011, and b = 0101 0010, then a&b =
  1. 0011 0001.
  2. 0100 0010.
  3. 0011 0010.
  4. 0111 0011.
Grade 11 Business Technology
Identify the code that will print “Hello, world!”?
  1. Print “Hello, world!”
  2. print “Hello, world!”
  3. print (Hello, world!)
  4. print (“Hello, world!”)
Grade 11 Business Technology
Which of the following lines of code will produce an error?
  1. list[2] = 1000
  2. tuple[2] = 1000
  3. list = [123, ‘hello’, 99, 10.0]
  4. tuple = (123, ‘hello’, 99, 10.0)
Grade 11 Business Technology
Grade 11 Business Technology
Which command prints the first character of a string?
  1. print string
  2. print string[1]
  3. print string[0]
  4. print string[0:1]]
Grade 11 Business Technology
Grade 11 Business Technology
Grade 11 Business Technology
Grade 11 Business Technology
Continuing Education Business Technology
Grade 11 Business Technology
Previous Page 2 of 3 Next
You need to have at least 5 reputation to vote a question down. Learn How To Earn Badges.