1.Write a procedure named maximums which takes a list of lists of numbers and produces a new list containing only the ma
Posted: Wed Apr 27, 2022 5:03 pm
1.Write a procedure named maximums which takes a list of lists
of numbers and produces a new list containing only the maximum
value from each of the lists of numbers. You may use findMax from
#6 in your solution. For example, if the input was: '((1 2 3) (6 4
5) (8 9)) -> '(3 6 9)
2Write a procedure named decimalToBinary that takes a number as
a parameter and produces a list representation of the binary
equivalent of the input. For example, if the input was 13 -> '(1
1 0 1)
3Write a procedure named binaryToDecimal that takes a list
representation of a binary number as a parameter and produces the
decimal equivalent. For example, if the input was '(1 1 0 1) ->
13
4.What is the difference between JSON and XML and why has JSON
become the modern standard?
of numbers and produces a new list containing only the maximum
value from each of the lists of numbers. You may use findMax from
#6 in your solution. For example, if the input was: '((1 2 3) (6 4
5) (8 9)) -> '(3 6 9)
2Write a procedure named decimalToBinary that takes a number as
a parameter and produces a list representation of the binary
equivalent of the input. For example, if the input was 13 -> '(1
1 0 1)
3Write a procedure named binaryToDecimal that takes a list
representation of a binary number as a parameter and produces the
decimal equivalent. For example, if the input was '(1 1 0 1) ->
13
4.What is the difference between JSON and XML and why has JSON
become the modern standard?