View on GitHub

Computer Architecture and Operating Systems

Course taught at Faculty of Computer Science of Higher School of Economics

Variants: Group 203

  1. Function:
     f(x) = 1 * x + 2 if x < 3
     f(x) = -5**x + 8 if x >= 3
     f(x) = 5 * x**5 - 3 * x**3 + 4 * x**2 + 1 * x if x == 6
     f(x) = 1 if x > 9
    
  2. Function:
     f(x) = -9 if x < 1
     f(x) = 2**x + -5 if x >= 1
     f(x) = 1 * x + 8 if x == 2
     f(x) = 5 * x**6 - 7 * x**3 + 6 * x**2 + 4 * x if x > 3
    
  3. Function:
     f(x) = 6 * x**8 + 2 * x**7 - 4 * x**3 - 7 * x if x < 2
     f(x) = 7 * x + -4 if x >= 2
     f(x) = 3 if x == 3
     f(x) = -5**x + 8 if x > 4
    
  4. Function:
     f(x) = -4 if x < 4
     f(x) = -2 * x + 1 if x >= 4
     f(x) = -2**x + -4 if x == 5
     f(x) = 4 * x**5 - 9 * x**4 - 8 * x**2 + 8 * x if x > 9
    
  5. Function:
     f(x) = -9**x + 8 if x < 1
     f(x) = 4 * x + 3 if x >= 1
     f(x) = 2 * x**8 - 1 * x**5 + 9 * x**3 - 4 * x if x == 2
     f(x) = 7 if x > 7
    
  6. Function:
     f(x) = -8 if x < 2
     f(x) = 7 * x**7 - 8 * x**6 - 1 * x**5 + 4 * x if x >= 2
     f(x) = 1 * x + 5 if x == 6
     f(x) = -5**x + -2 if x > 8
    
  7. Function:
     f(x) = 9 if x < 1
     f(x) = 4 * x**6 + 6 * x**5 + 5 * x**3 - 10 * x if x >= 1
     f(x) = 3**x + -8 if x == 5
     f(x) = 3 * x + 9 if x > 6
    
  8. Function:
     f(x) = 10 if x < 1
     f(x) = 5**x + 6 if x >= 1
     f(x) = 7 * x**8 - 5 * x**7 + 8 * x**2 + 7 * x if x == 3
     f(x) = 5 * x + -1 if x > 8
    
  9. Function:
     f(x) = -2**x + -1 if x < 5
     f(x) = 7 * x**8 + 4 * x**6 - 1 * x**2 + 8 * x if x >= 5
     f(x) = 9 if x == 6
     f(x) = -5 * x + 4 if x > 7
    
  10. Function:
    f(x) = -8 * x + -9 if x < 1
    f(x) = 7 * x**7 - 9 * x**6 + 6 * x**5 + 5 * x if x >= 1
    f(x) = 2**x + -7 if x == 6
    f(x) = -8 if x > 8
    
  11. Function:
    f(x) = 4 if x < 3
    f(x) = 10 * x + -3 if x >= 3
    f(x) = 1**x + -1 if x == 4
    f(x) = 5 * x**8 - 9 * x**5 - 1 * x**2 - 5 * x if x > 6
    
  12. Function:
    f(x) = -6 * x + -9 if x < 3
    f(x) = 5 * x**8 - 8 * x**7 + 2 * x**6 + 3 * x if x >= 3
    f(x) = -6 if x == 4
    f(x) = 7**x + 7 if x > 8
    
  13. Function:
    f(x) = 1 if x < 5
    f(x) = 6 * x + 10 if x >= 5
    f(x) = 10**x + 3 if x == 6
    f(x) = 5 * x**8 - 6 * x**7 + 7 * x**5 - 1 * x if x > 7
    
  14. Function:
    f(x) = 9 * x**8 + 1 * x**4 + 6 * x**2 + 6 * x if x < 3
    f(x) = 5**x + 9 if x >= 3
    f(x) = -4 * x + -9 if x == 6
    f(x) = 4 if x > 8
    
  15. Function:
    f(x) = 10 * x**8 + 9 * x**6 - 9 * x**3 - 10 * x if x < 5
    f(x) = 7 if x >= 5
    f(x) = -1 * x + 1 if x == 7
    f(x) = -7**x + -5 if x > 9
    
  16. Function:
    f(x) = 10 * x**7 - 6 * x**4 + 8 * x**3 - 7 * x if x < 3
    f(x) = 10 * x + -6 if x >= 3
    f(x) = 6**x + 2 if x == 7
    f(x) = 5 if x > 9
    
  17. Function:
    f(x) = 3 * x**8 - 3 * x**6 + 6 * x**4 - 3 * x if x < 3
    f(x) = 8 if x >= 3
    f(x) = 3 * x + -10 if x == 5
    f(x) = 3**x + 1 if x > 7
    
  18. Function:
    f(x) = -6**x + 5 if x < 2
    f(x) = 10 if x >= 2
    f(x) = 3 * x + -4 if x == 4
    f(x) = 6 * x**8 - 2 * x**7 - 7 * x**6 + 2 * x if x > 7
    
  19. Function:
    f(x) = 3 if x < 1
    f(x) = -1**x + 1 if x >= 1
    f(x) = -9 * x + -8 if x == 6
    f(x) = 3 * x**7 - 7 * x**6 + 10 * x**4 + 10 * x if x > 7
    
  20. Function:
    f(x) = -5 if x < 6
    f(x) = -5**x + -10 if x >= 6
    f(x) = 5 * x**8 + 2 * x**6 - 2 * x**4 + 5 * x if x == 8
    f(x) = -8 * x + 1 if x > 9
    
  21. Function:
    f(x) = 1 if x < 4
    f(x) = 1**x + 4 if x >= 4
    f(x) = 3 * x**8 - 3 * x**4 - 4 * x**2 - 2 * x if x == 5
    f(x) = -10 * x + 3 if x > 9
    
  22. Function:
    f(x) = -10**x + -9 if x < 2
    f(x) = 4 * x + -6 if x >= 2
    f(x) = 8 * x**5 - 6 * x**4 - 3 * x**3 + 10 * x if x == 3
    f(x) = 9 if x > 9
    
  23. Function:
    f(x) = -6 if x < 1
    f(x) = -6**x + -8 if x >= 1
    f(x) = 7 * x + 7 if x == 5
    f(x) = 8 * x**8 + 6 * x**6 + 5 * x**4 + 2 * x if x > 6
    
  24. Function:
    f(x) = -2 if x < 1
    f(x) = 9**x + -7 if x >= 1
    f(x) = -7 * x + 9 if x == 3
    f(x) = 8 * x**8 - 5 * x**7 - 7 * x**5 + 4 * x if x > 5