View on GitHub

Computer Architecture and Operating Systems

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

Variants: Group 201

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