Lecture #1

Description

9/2/2017
Savannah Smith
Quiz by Savannah Smith, updated more than 1 year ago
Savannah Smith
Created by Savannah Smith over 6 years ago
13
0

Resource summary

Question 1

Question
Given the input 10 the cycle length of collatz is [blank_start]<blank>[blank_end]
Answer
  • 7

Question 2

Question
// is the symbol for true division
Answer
  • True
  • False

Question 3

Question
What are assertions NOT good for?
Answer
  • User Error
  • Testing
  • Pre-condition checking
  • Post-condition checking

Question 4

Question
When an assertion fails, what information does it provide? [blank_start]Traceback[blank_end]
Answer
  • Traceback

Question 5

Question
What turns off all assertions?
Answer
  • -O
  • -v
  • -w
  • -t

Question 6

Question
What input causes a bug? cycle_length([blank_start]1[blank_end])
Answer
  • 1

Question 7

Question
When running a Docker image can you map a part of the local file system to a part of the file system in Docker?
Answer
  • True
  • False
Show full summary Hide full summary

Similar

Mathematics
kristycook
1.1 Introduction to Cells
Elisabeth Morell
Dividing whole numbers L1
Lee Holness
Docker
Dan Fletcher
Study on IoT systems design
Tomasz Cieplak
Mitosis
Keera
Young and Wilmott (1973)
Fionnghuala Malone
Click if you are good at math! | Math |
GoConqr GoConqr
Domestic Division of Labour
Fionnghuala Malone
3rd Grade Multiplication/ Division
Debra Fay
Fractions and percentages
Adam Southwell